CVM Class Library  8.1
This C++ class library encapsulates concepts of vector and different matrices including square, band, symmetric and hermitian ones in Euclidean space of real and complex numbers.
 All Classes Files Functions Variables Typedefs Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
Randomizer< T > Class Template Reference

Random numbers generator. More...

#include <cvm.h>

Public Member Functions

 ~Randomizer () noexcept
 Destructor.

Static Public Member Functions

static T get (T dFrom, T dTo) noexcept
 Random number.

Detailed Description

template<typename T>
class Randomizer< T >

Random numbers generator.

Definition at line 1736 of file cvm.h.

Constructor & Destructor Documentation

template<typename T >
Randomizer< T >::~Randomizer ( )
inline

Destructor.

See Also
get()

Definition at line 1783 of file cvm.h.

Member Function Documentation

template<typename T >
static T Randomizer< T >::get ( dFrom,
dTo 
)
inlinestatic

Random number.

Returns rundom number between dFrom and dTo.

Parameters
[in]dFromLower limit for random number to generate.
[in]dToUpper limit for random number to generate.
Returns
T Random number as value.

Definition at line 1795 of file cvm.h.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: