Back to Aurora Vision Library Lite website

You are here: Start » All Functions » Array Basics » AvsFilter_GetMultipleArrayElements

AvsFilter_GetMultipleArrayElements


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: STD.h
Namespace: avs

Extracts multiple elements from an array.

Syntax

void avs::AvsFilter_GetMultipleArrayElements
(
	const atl::Array<Type>& inArray,
	const atl::Array<int>& inIndices,
	bool inInverse,
	atl::Array<Type>& outValues
)

Parameters

Name Type Default Description
Input value inArray const Array<Type>& Input array
Input value inIndices const Array<int>& Indices within the array
Input value inInverse bool Determines if the indices are counted from beginning or from end of the input array
Output value outValues Array<Type>& Output values

Hints

Examples

inArray = {100, 430, 35, 250, 55, 130}
inIndices = {2, 4, 3, 3}
outValues = {35, 55, 250, 250}

Errors

List of possible exceptions:

Error type Description
DomainError Index out of range in GetMultipleArrayElements.

See Also

  • CropArray – Selects a continuous subsequence of array elements.