Provides methods for mt19937 engine computations in the batch processing mode.
More...
|
static services::SharedPtr
< Batch< algorithmFPType,
method > > | create (size_t seed=777) |
|
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::engines::mt19937::interface1::Batch< algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations of mt19937 engine, double or float |
method | Computation method of the engine, mt19937::Method |
- Enumerations
-
- References
-
virtual services::Status allocateResult |
( |
| ) |
|
|
inlinevirtual |
Allocates memory to store the result of the mt19937 engine
- Returns
- Status of computations
services::SharedPtr<Batch<algorithmFPType, method> > clone |
( |
| ) |
const |
|
inline |
Returns a pointer to the newly allocated mt19937 engine with a copy of input objects and parameters of this mt19937 engine
- Returns
- Pointer to the newly allocated engine
static services::SharedPtr<Batch<algorithmFPType, method> > create |
( |
size_t |
seed = 777 | ) |
|
|
static |
Creates mt19937 engine
- Parameters
-
[in] | seed | Initial condition for mt19937 engine |
- Returns
- Pointer to mt19937 engine
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns method of the engine
- Returns
- Method of the engine
Returns the structure that contains results of mt19937 engine
- Returns
- Structure that contains results of mt19937 engine
services::Status setResult |
( |
const ResultPtr & |
result | ) |
|
|
inline |
Registers user-allocated memory to store results of mt19937 engine
- Parameters
-
[in] | result | Structure to store results of mt19937 engine |
- Returns
- Status of computations
The documentation for this class was generated from the following file: