Click or drag to resize
VariableReplicateT Method (VariableArrayT, 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<T>, T[][]> Replicate<T>(
	VariableArray<T> array,
	Range range
)

Parameters

array
Type: MicrosoftResearch.Infer.ModelsVariableArrayT
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: VariableArrayVariableArrayT, T
The array of replicated arrays.
See Also