C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members
Batch< algorithmFPType, method > Class Template Reference

Provides methods for normal distribution computations in the batch processing mode. More...

Class Declaration

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

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

Constructor & Destructor Documentation

◆ Batch() [1/2]

Batch ( algorithmFPType  a = 0.0,
algorithmFPType  sigma = 1.0 
)
inline

Constructs normal distribution

Parameters
[in]aMean
[in]sigmastandard deviation

◆ Batch() [2/2]

Batch ( const Batch< algorithmFPType, method > &  other)
inline

Constructs normal distribution by copying input objects and parameters of another normal distribution

Parameters
[in]otherNormal distribution

Member Function Documentation

◆ allocateResult()

virtual services::Status allocateResult ( )
inlinevirtual

Allocates memory to store the result of the normal distribution

Returns
Status of computations

Implements Algorithm< mode >.

◆ clone()

services::SharedPtr<Batch<algorithmFPType, method> > clone ( ) const
inline

Returns a pointer to the newly allocated normal distribution with a copy of input objects and parameters of this normal distribution

Returns
Pointer to the newly allocated distribution

◆ getMethod()

virtual int getMethod ( ) const
inlinevirtual

Returns method of the distribution

Returns
Method of the distribution

Implements AlgorithmIface.

◆ getResult()

ResultPtr getResult ( )
inline

Returns the structure that contains results of normal distribution

Returns
Structure that contains results of normal distribution

◆ setResult()

services::Status setResult ( const ResultPtr &  result)
inline

Registers user-allocated memory to store results of normal distribution

Parameters
[in]resultStructure to store results of normal distribution
Returns
Status of computations

Member Data Documentation

◆ parameter

Parameter<algorithmFPType> parameter

Parameters of the normal distribution


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

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