Click or drag to resize
VariableReplicateT Method (VariableArrayVariableArrayT, T, Range)
Microsoft Research
Replicates an array multiple times.

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<VariableArray<T>, T[][]>, T[][][]> Replicate<T>(
	VariableArray<VariableArray<T>, T[][]> array,
	Range range
)

Parameters

array
Type: MicrosoftResearch.Infer.ModelsVariableArrayVariableArrayT, T
The array to replicate.
range
Type: MicrosoftResearch.Infer.ModelsRange
The range used to index the output array.

Type Parameters

T
The domain type.

Return Value

Type: VariableArrayVariableArrayVariableArrayT, T, T
The array of replicated arrays.
See Also