Generation Functions#

nvplRandGenerate#

nvplRandGenerate() is used to generate pseudo- or quasirandom bits of output for XORWOW, MRG32k3a, MT19937, Philox_4x32_10, PCG, SOBOL32, and Scrambled SOBOL32 generators. Each output element is a 32-bit unsigned integer where all bits are random. nvplRandGenerate() returns NVPL_RAND_STATUS_GENERATOR_TYPE_ERROR for SOBOL64 or Scrambled SOBOL64 generators.

Warning

doxygenfunction: Cannot find function “nvplRandGenerate” in doxygen xml output for project “NVPL RAND” from directory: /home/jenkins/agent/workspace/cpulibs/nvpl-rand/helpers/build-blossom/source/build/nvpl-ci/docs/rand/_xml

nvplRandGenerateLongLong#

nvplRandGenerateLongLong() is used to generate pseudo- or quasirandom bits of output for PCG, SOBOL64, and Scrambled SOBOL64 generators. Each output element is a 64-bit unsigned integer where all bits are random. nvplRandGenerateLongLong() returns NVPL_RAND_STATUS_GENERATOR_TYPE_ERROR for SOBOL32 or Scrambled SOBOL32 generators, as well all the pseudorandom generators except PCG.

Warning

doxygenfunction: Cannot find function “nvplRandGenerateLongLong” in doxygen xml output for project “NVPL RAND” from directory: /home/jenkins/agent/workspace/cpulibs/nvpl-rand/helpers/build-blossom/source/build/nvpl-ci/docs/rand/_xml

nvplRandGenerateUniform#

nvplRandGenerateUniform() is used to generate uniformly distributed FP32 values in the range of (0.0, 1.0], where 0.0 is excluded and 1.0 is included.

Warning

doxygenfunction: Cannot find function “nvplRandGenerateUniform” in doxygen xml output for project “NVPL RAND” from directory: /home/jenkins/agent/workspace/cpulibs/nvpl-rand/helpers/build-blossom/source/build/nvpl-ci/docs/rand/_xml

nvplRandGenerateUniformDouble#

nvplRandGenerateUniformDouble() is used to generate uniformly distributed FP64 values in the range of (0.0, 1.0], where 0.0 is excluded and 1.0 is included.

Warning

doxygenfunction: Cannot find function “nvplRandGenerateUniformDouble” in doxygen xml output for project “NVPL RAND” from directory: /home/jenkins/agent/workspace/cpulibs/nvpl-rand/helpers/build-blossom/source/build/nvpl-ci/docs/rand/_xml

nvplRandGenerateUniformRange#

nvplRandGenerateUniformRange() is used to generate uniformly distributed FP32 values in the range of (start, end], where start is excluded and end is included.

Warning

doxygenfunction: Cannot find function “nvplRandGenerateUniformRange” in doxygen xml output for project “NVPL RAND” from directory: /home/jenkins/agent/workspace/cpulibs/nvpl-rand/helpers/build-blossom/source/build/nvpl-ci/docs/rand/_xml

nvplRandGenerateUniformRangeDouble#

nvplRandGenerateUniformRangeDouble() is used to generate uniformly distributed FP64 values in the range of (start, end], where start is excluded and end is included.

Warning

doxygenfunction: Cannot find function “nvplRandGenerateUniformDouble” in doxygen xml output for project “NVPL RAND” from directory: /home/jenkins/agent/workspace/cpulibs/nvpl-rand/helpers/build-blossom/source/build/nvpl-ci/docs/rand/_xml

nvplRandGenerateNormal#

nvplRandGenerateNormal() is used to generate normally distributed FP32 values with the given mean and standard deviation.

Warning

doxygenfunction: Cannot find function “nvplRandGenerateNormal” in doxygen xml output for project “NVPL RAND” from directory: /home/jenkins/agent/workspace/cpulibs/nvpl-rand/helpers/build-blossom/source/build/nvpl-ci/docs/rand/_xml

nvplRandGenerateNormalDouble#

nvplRandGenerateNormal() is used to generate normally distributed FP64 values with the given mean and standard deviation.

Warning

doxygenfunction: Cannot find function “nvplRandGenerateNormalDouble” in doxygen xml output for project “NVPL RAND” from directory: /home/jenkins/agent/workspace/cpulibs/nvpl-rand/helpers/build-blossom/source/build/nvpl-ci/docs/rand/_xml

nvplRandGenerateDistribution#

nvplRandGenerateDistribution() is used to generate FP32 values based on the continuous distribution type and parameters specified by config. NVPL RAND library supports the following continuous distributions:

  • Uniform

  • Normal

  • Lognormal

  • Exponential

  • Gamma

  • Beta

  • Dirichlet

Warning

doxygenfunction: Cannot find function “nvplRandGenerateDistribution” in doxygen xml output for project “NVPL RAND” from directory: /home/jenkins/agent/workspace/cpulibs/nvpl-rand/helpers/build-blossom/source/build/nvpl-ci/docs/rand/_xml

nvplRandGenerateDistributionDouble#

nvplRandGenerateDistributionDouble() is used to generate FP64 values based on the continuous distribution type and parameters specified by config.

Warning

doxygenfunction: Cannot find function “nvplRandGenerateDistributionDouble” in doxygen xml output for project “NVPL RAND” from directory: /home/jenkins/agent/workspace/cpulibs/nvpl-rand/helpers/build-blossom/source/build/nvpl-ci/docs/rand/_xml

nvplRandGenerateDistributionDiscrete#

nvplRandGenerateDistributionDiscrete() is used to generate unsigned 32-bit interger values based on the discrete distribution type and parameters specified by config. NVPL RAND library supports the following discrete distributions:

  • Poisson

  • Bernoulli

  • Categorical

  • Binomial

  • Multinomial

Warning

doxygenfunction: Cannot find function “nvplRandGenerateDistributionDiscrete” in doxygen xml output for project “NVPL RAND” from directory: /home/jenkins/agent/workspace/cpulibs/nvpl-rand/helpers/build-blossom/source/build/nvpl-ci/docs/rand/_xml