Provides methods for uniform distribution computations in the batch processing mode.
More...
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::distributions::uniform::interface1::Batch< algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations of uniform distribution, double or float |
method | Computation method of the distribution, uniform::Method |
- Enumerations
-
- References
-
Batch |
( |
algorithmFPType |
a = 0.0 , |
|
|
algorithmFPType |
b = 1.0 |
|
) |
| |
|
inline |
Constructs uniform distribution
- Parameters
-
[in] | a | Left bound a |
[in] | b | Right bound b |
Batch |
( |
const Batch< algorithmFPType, method > & |
other | ) |
|
|
inline |
Constructs uniform distribution by copying input objects and parameters of another uniform distribution
- Parameters
-
[in] | other | Uniform distribution |
virtual services::Status allocateResult |
( |
| ) |
|
|
inlinevirtual |
Allocates memory to store the result of the uniform distribution
- Returns
- Status of computations
services::SharedPtr<Batch<algorithmFPType, method> > clone |
( |
| ) |
const |
|
inline |
Returns a pointer to the newly allocated uniform distribution with a copy of input objects and parameters of this uniform distribution
- Returns
- Pointer to the newly allocated distribution
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns method of the distribution
- Returns
- Method of the distribution
Returns the structure that contains results of uniform distribution
- Returns
- Structure that contains results of uniform distribution
services::Status setResult |
( |
const ResultPtr & |
result | ) |
|
|
inline |
Registers user-allocated memory to store results of uniform distribution
- Parameters
-
[in] | result | Structure to store results of uniform distribution |
- Returns
- Status of computations
Parameters of the uniform distribution
The documentation for this class was generated from the following file: