Click or drag to resize
VariableArrayT Method (VariableArray2DT, Range)
Microsoft Research
Creates a 1D random variable array that contains a jagged array of 2D random variables.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
public static VariableArray<VariableArray2D<T>, T[,][]> Array<T>(
	VariableArray2D<T> array,
	Range r


Type: MicrosoftResearch.Infer.ModelsVariableArray2DT
A VariableArray2D object that serves as the item prototype.
Type: MicrosoftResearch.Infer.ModelsRange
A Range object that is initialized with the array's length.

Type Parameters

The domain type.

Return Value

Type: VariableArrayVariableArray2DT, T
Returns a VariableArray object whose length is defined by r. Each element of the array is a VariableArray2Dobject whose prototype is defined by array.
See Also