Click or drag to resize
VariableConstantT Method (T)
Microsoft Research
Defines a constant

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static Variable<T> Constant<T>(
	T value
)

Parameters

value
Type: T
The value of the constant

Type Parameters

T
The type of the constant

Return Value

Type: VariableT
The constant object
See Also