|
| result_type | min () const |
| | Returns the minimum possible value of a sequence.
|
| result_type | max () const |
| | Returns the maximum possible value of a sequence.
|
| | TKiss (UIntType x0=30903, UIntType y0=30903, UIntType z0=30903, UIntType w0=30903, UIntType carry0=0) |
| | Constructor with initialization of the seed array from the argument values.
|
| void | seed (UIntType *state) |
| | Initialization of the seed array from the state. The generator state state must consist of five elements.
|
| void | seed (UIntType x0) |
| | Initialization of the seed array from the value x0. The seed array of this generator consists of five elements. The first four elements take the value x0. The fifth element takes the zero value.
|
| void | seed (UIntType x0, UIntType y0, UIntType z0, UIntType w0, UIntType carry0) |
| | Initialization of the seed array from the argument values.
|
| UIntType | getState (Integer i) const |
| | Method that returns the i-th component of the generator state. The complete generator state is given by the indices i ranging between 0 and 4 ( 0 < i <= 4 ).
|
| UIntType | operator() () |
| | Overdefinition of the () operator which returns the pseudo-random value. The generator state is modified.
|
| bool | validation (UIntType x) const |
| | Validation function (I don't know what it's for!).
|
| bool | operator== (const TKiss &rhs) const |
| | Overdefinition of the == operator.
|
template<typename UIntType, UIntType val>
class Arcane::random::TKiss< UIntType, val >
Kiss class template. It allows defining Kiss generator classes. The pseudo-random numbers generated are of type UIntType. The generation of these numbers is performed by calling the () operator. The state of the generator is defined by a private member _state[i] of the class, which is an array of five elements (0<i<=4). The seed (state state[i] 0<i<=4 initial of the generator, also called seed array) is initialized by calling the constructor or the various seed methods available.
Definition at line 39 of file TKiss.h.