C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Static Public Member Functions | List of all members
Batch< algorithmFPType, method > Class Template Reference

Provides methods for mt19937 engine computations in the batch processing mode. More...

Static Public Member Functions

static services::SharedPtr
< Batch< algorithmFPType,
method > > 
create (size_t seed=777)
 

Class Declaration

template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::engines::mt19937::interface1::Batch< algorithmFPType, method >

Template Parameters
algorithmFPTypeData type to use in intermediate computations of mt19937 engine, double or float
methodComputation method of the engine, mt19937::Method
Enumerations
References

Member Function Documentation

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]seedInitial condition for mt19937 engine
Returns
Pointer to mt19937 engine
virtual int getMethod ( ) const
inlinevirtual

Returns method of the engine

Returns
Method of the engine
ResultPtr getResult ( )
inline

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]resultStructure to store results of mt19937 engine
Returns
Status of computations

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

For more complete information about compiler optimizations, see our Optimization Notice.