Click or drag to resize
VariableConstantT Method (T, Range, Range)
Microsoft Research
Defines a constant which is a 2-D jagged array

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static VariableArray<VariableArray<T>, T[][]> Constant<T>(
	T[][] value,
	Range r1,
	Range r2
)

Parameters

value
Type: T
The constant array
r1
Type: MicrosoftResearch.Infer.ModelsRange
The range associated with the first index
r2
Type: MicrosoftResearch.Infer.ModelsRange
The range associated with the second index

Type Parameters

T
The element type

Return Value

Type: VariableArrayVariableArrayT, T
A new constant jagged array variable.
See Also