Click or drag to resize
VariableConstrainEqualT Method (VariableT, T)
Microsoft Research
Constrains a variable to equal a constant value.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static void ConstrainEqual<T>(
	Variable<T> a,
	T b
)

Parameters

a
Type: MicrosoftResearch.Infer.ModelsVariableT
The variable
b
Type: T
The constant value

Type Parameters

T
The type of the variable
See Also