Pointer to the numeric table of size .
This input can be an object of any class derived from
MergedNumericTablewhen it holds one of the above table types.
Pointer to the numeric table with generated random floating-point values of single or double precision.
In oneDAL, engines are in-place, which means that the algorithm does not allocate memory for the distribution result, but returns pointer to the filled input.
- Engines follow the same algorithmic scheme with different algorithmic parameters. The set of the parameters guarantee independence of random number sequences produced by the engines.The example below demonstrates the idea for the case when 2 engines from the same family are used to generate 2 random sequences:
- This method skipsnskipelements of the original random sequence. This method allows to producenThreadsnon-overlapping subsequences.The example below demonstrates the idea for the case when 2 subsequences are used from the random sequence:
- This method generates random numbers with a stride ofnThreads.threadIdxis an index of the current thread.The example below demonstrates the idea for the case when 2 subsequences are used from the random sequence: