Altaxo user manual and class reference
Altaxo user manual and class reference
Altaxo class reference
Altaxo Namespaces
Altaxo.Calc Namespaces
Altaxo.Calc.Distributions
Bernoulli Class
Bernoulli Constructor
Bernoulli(Double) Constructor
Bernoulli(Double, Random) Constructor
Bernoulli(Double) Constructor
Initializes a new instance of the Bernoulli class.
Namespace:
Altaxo.Calc.Distributions
Assembly:
AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
Copy
public
Bernoulli
(
double
p
)
Parameters
p
Double
The probability (p) of generating one. Range: 0 ≤ p ≤ 1.
Exceptions
Exception
Condition
ArgumentOutOfRangeException
If the Bernoulli parameter is not in the range [0,1].
See Also
Reference
Bernoulli Class
Bernoulli Overload
Altaxo.Calc.Distributions Namespace
Altaxo can be downloaded from
SourceForge
. Source code available on
Github
.
(C) Dr. Dirk Lellinger and all contributors to the source code 2002 -
Send comments on this topic to
dlellinger@users.sourceforge.net