Provides methods for uniform distribution computations in the batch processing mode.
More...
- Parameters
-
fptype | Data type to use in intermediate computations of uniform distribution, double or float |
method | Computation method of the distribution, uniform.Method |
- Enumerations
- uniform.Method Computation methods for the uniform distribution
- References
-
- Aliases
Batch_Float64DefaultDense
is an alias of Batch(fptype=float64, method=daal.algorithms.distributions.uniform.defaultDense)
Batch_Float32DefaultDense
is an alias of Batch(fptype=float32, method=daal.algorithms.distributions.uniform.defaultDense)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Constructs uniform distribution
- Parameters
-
a | Left bound a |
b | Right bound b |
- Variant 2
Constructs uniform distribution
- Parameters
-
a | Left bound a |
b | Right bound b |
- Variant 3
Constructs uniform distribution
- Parameters
-
a | Left bound a |
b | Right bound b |
- Variant 4
Constructs uniform distribution by copying input objects and parameters of another uniform distribution
- Parameters
-
other | Uniform distribution |
def allocateResult |
( |
|
self | ) |
|
Allocates memory to store the result of the uniform distribution
- Returns
- Status of computations
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
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
def setResult |
( |
|
self, |
|
|
|
result |
|
) |
| |
Registers user-allocated memory to store results of uniform distribution
- Parameters
-
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: