Click or drag to resize
VariableConstrainPositive Method
Microsoft Research
Constrains a double variable to be positive.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static void ConstrainPositive(
	Variable<double> v
)

Parameters

v
Type: MicrosoftResearch.Infer.ModelsVariableDouble
The variable to constrain to be positive
See Also