Click or drag to resize

NormalWithMeanVariance Method

Constructs a normal distribution from a mean and variance.

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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

Normal
A normal distribution.
See Also