Notes for Intel® oneAPI Math Kernel Library Vector Statistics

ID 772987
Date 6/30/2025
Public
Document Table of Contents

Bernoulli (VSL_RNG_METHOD_BERNOULLI_ICDF)

Bernoulli distribution with parameter p. You may generate any successive random number k of the Bernoulli distribution by the formula:

,

where u is a successive random number of a uniform distribution over the interval [0, 1).