TiledArray::detail::MakeRandom< ValueType > Struct Template Reference
Documentation
template<typename ValueType>
struct TiledArray::detail::MakeRandom< ValueType >
Struct wrapping the process of generating a random value of type ValueType
MakeRandom contains a single static member function generate_value
, which can be called to generate a random value of type ValueType
between 0 and 1. Users can specialize the MakeRandom class to control how random values of other types are formed.
- Template Parameters
-
ValueType The type of random value to generate
Static Public Member Functions | |
static ValueType | generate_value () |
Generates a random value of type ValueType. More... | |
Member Function Documentation
◆ generate_value()
template<typename ValueType >
|
inlinestatic |
The documentation for this struct was generated from the following file:
- TiledArray/util/random.h