Click or drag to resize
VariableConstrainEqualT Method (VariableT, VariableT)
Microsoft Research
Constrains two variables to be equal.

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,
	Variable<T> b
)

Parameters

a
Type: MicrosoftResearch.Infer.ModelsVariableT
The first variable
b
Type: MicrosoftResearch.Infer.ModelsVariableT
The second variable

Type Parameters

T
The type of the variables
See Also