Getting Started Guide

Contents

Distributions

Random number distribution generators are used to generate random numbers with different types of the discrete and continuous distributions. The numbers are generated by transforming uniformly distributed variates in accordance with the required cumulative distribution function (CDF).
In Intel DAAL, distribution represents an algorithm interface that runs in-place initialization of memory according to the required CDF.

Algorithm Input

Distribution algorithms accept the input described below. Pass the Input ID as a parameter to the methods that provide input for your algorithm. For more details, see Algorithms .
Input ID
Input
tableToFill
Pointer to the numeric table of size
n
x
p
.
This input can be an object of any class derived from
NumericTable
except
CSRNumericTable
,
PackedSymmetricMatrix
,
PackedTriangularMatrix
, and
MergedNumericTable
when it holds one of the above table types.

Algorithm Parameters

Distribution algorithms have the following common parameter:
Parameter
Default Value
Description
engine
SharePtr< engines:: mt19937:: Batch>()
Pointer to the random number engine.

Algorithm Output

Distribution algorithms calculate the result described below. Pass the Result ID as a parameter to the methods that access the results of your algorithm. For more details, see Algorithms .
Result ID
Result
randomNumbers
Pointer to the
n
x
p
numeric table with algorithm results. In Intel DAAL, distribution algorithms are in-place, which means that the algorithm does not allocate memory for the distribution result, but returns pointer to the filled input.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804