Bernoulli

constructor(params: DoubleArray, name: String?)


constructor(successProb: Double = 0.5, name: String? = null)

Parameters

successProb

the probability of success, must be between (0,1)

name

an optional name