Click or drag to resize
VariableGaussianFromMeanAndVariance Method (VariableDouble, VariableDouble)
Microsoft Research
Creates a Gaussian-distributed random variable with the mean and variance represented by random variables.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static Variable<double> GaussianFromMeanAndVariance(
	Variable<double> mean,
	Variable<double> variance
)

Parameters

mean
Type: MicrosoftResearch.Infer.ModelsVariableDouble
A double random variable that represents the mean.
variance
Type: MicrosoftResearch.Infer.ModelsVariableDouble
A double random variable that represents the variance.

Return Value

Type: VariableDouble
Returns a Gaussian-distributed random variable with the specified mean and variance.
See Also