Infer.NET Documentation
GetItems<(Of <(T>)>) Method (array, indices, resultRange)
Infer.NET code documentationMicrosoftResearch.Infer.ModelsVariableGetItems<(Of <(T>)>)(Variable<(Of <(array<T>[]()[]>)>), Variable<(Of <(array<Int32>[]()[]>)>), Range)
Microsoft Research, Cambridge
Gets a variable array which is a subarray of a source array DEPRECATED
Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Use GetItems<T>(Variable<T[]> array, VariableArray<int> indices)")]
public static VariableArray<T> GetItems<T>(
	Variable<T[]> array,
	Variable<int[]> indices,
	Range resultRange
)
<ObsoleteAttribute("Use GetItems<T>(Variable<T[]> array, VariableArray<int> indices)")> _
Public Shared Function GetItems(Of T) ( _
	array As Variable(Of T()), _
	indices As Variable(Of Integer()), _
	resultRange As Range _
) As VariableArray(Of T)
[ObsoleteAttribute(L"Use GetItems<T>(Variable<T[]> array, VariableArray<int> indices)")]
public:
generic<typename T>
static VariableArray<T>^ GetItems(
	Variable<array<T>^>^ array, 
	Variable<array<int>^>^ indices, 
	Range^ resultRange
)
Generic Template Parameters
T
The variable type for the array
Parameters
array (Variable<(Of <(array< T >[]()[]>)>))
The source array
indices (Variable<(Of <(array< Int32 >[]()[]>)>))
Variable array containing the indices of the elements to get
resultRange (Range)
The range variable for the result
Return Value
variable array with the specified items

Assembly: Infer.Compiler (Module: Infer.Compiler) Version: 2.3.41111.0 (2.3.41111.0)