Click or drag to resize
VariableGaussianListFromMeanAndPrecision Method (ISparseListDouble, ISparseListDouble)
Microsoft Research
Returns a random variable over a sparse vector domain where each element is statistically defined in terms of the corresponding mean and precision elements in sparse vectors of means and precisions

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

Parameters

mean
Type: MicrosoftResearch.Infer.CollectionsISparseListDouble
The sparse list of means
precision
Type: MicrosoftResearch.Infer.CollectionsISparseListDouble
The sparse list of precisions

Return Value

Type: VariableISparseListDouble
A SparseGaussianList distributed random variable
See Also