Developer Guide for Intel® Data Analytics Acceleration Library 2019 Update 2
Bernoulli random number generator fills the nxp numeric table with Bernoulli distributed values with the p probability of success on a single trial, where p ∈ R, 0 ≤ p ≤ 1.
A variate is called Bernoulli distributed if after a trial it is equal to 1 with the probability of success p and to 0 with the probability 1 - p. The probability distribution is given by:
The cumulative distribution function is as follows: