Click or drag to resize
VariableDouble Method (IModelExpressionInt32)
Microsoft Research
Create a double-precision random variable that is constrained to equal the given integer expression.

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> Double(
	IModelExpression<int> integer
)

Parameters

integer
Type: MicrosoftResearch.Infer.ModelsIModelExpressionInt32
An integer expression

Return Value

Type: VariableDouble
A new variable
See Also