NormalWithMeanVariance Method |
Constructs a normal distribution from a mean and variance.
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static Normal WithMeanVariance(
double mean,
double var,
Random randomSource = null
)
Parameters
- mean Double
- The mean (μ) of the normal distribution.
- var Double
- The variance (σ^2) of the normal distribution.
- randomSource Random (Optional)
- The random number generator which is used to draw random samples. Optional, can be null.
Return Value
NormalA normal distribution.
See Also