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

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

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

Class Declaration

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

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

Constructor & Destructor Documentation

Batch ( algorithmFPType  p)
inline

Constructs bernoulli distribution

Parameters
[in]pSuccess probability of a trial, value from [0.0; 1.0]
Batch ( const Batch< algorithmFPType, method > &  other)
inline

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

Parameters
[in]otherBernoulli distribution

Member Function Documentation

virtual services::Status allocateResult ( )
inlinevirtual

Allocates memory to store the result of the bernoulli distribution

Returns
Status of computations
services::SharedPtr<Batch<algorithmFPType, method> > clone ( ) const
inline

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

Returns
Pointer to the newly allocated distribution
virtual int getMethod ( ) const
inlinevirtual

Returns method of the distribution

Returns
Method of the distribution
ResultPtr getResult ( )
inline

Returns the structure that contains results of bernoulli distribution

Returns
Structure that contains results of bernoulli distribution
services::Status setResult ( const ResultPtr &  result)
inline

Registers user-allocated memory to store results of bernoulli distribution

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

Member Data Documentation

Parameter<algorithmFPType> parameter

Parameters of the bernoulli distribution


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

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