Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » Array Basics

Array Basics

Select Filter Equivalent below.

Icon Name Description / Applications Modules
ArrayIndices

Creates an array of element indices, i.e. {0, 1, 2, ..., N-1}, where N is the length of the input array.

FoundationLite
AvsFilter_ArraySize

Returns the number of elements in an array.

FoundationLite
AvsFilter_CreateArray

Creates an array from up to 8 individual objects.

FoundationLite
AvsFilter_CreateUniformArray

Creates an array of the specified size with all elements initialized to the specified value.

FoundationLite
AvsFilter_GetArrayArrayElement

Extracts a single element from an array at the specified index.

FoundationLite
AvsFilter_GetArrayArrayElement_OrNil

Extracts a single element from an array at the specified index; returns NIL if the index is out of range.

FoundationLite
AvsFilter_GetArrayElement

Extracts a single element from an array at the specified index.

FoundationLite
AvsFilter_GetArrayElement_OrNil

Extracts a single element from an array at the specified index; returns NIL if the index is out of range.

FoundationLite
AvsFilter_GetArrayElements

Extracts up to 8 individual elements from an array.

FoundationLite
AvsFilter_GetArrayElements_OrNil

Extracts up to 8 individual elements from an array or NIL for indices out of range.

FoundationLite
AvsFilter_GetMultipleArrayElements

Extracts multiple elements from an array.

FoundationLite
AvsFilter_GetRandomElements

Get random array elements with repeating values or not.

FoundationLite
AvsFilter_SetArrayArrayElement

Sets an element of an array of arrays to a new value.

FoundationLite
AvsFilter_SetArrayElement

Sets an element of an array to a new value.

FoundationLite
AvsFilter_SetMultipleArrayElements

Sets elements of an array to new values.

FoundationLite
AvsFilter_TestArrayEmpty

Tests whether the size of an array equals zero.

FoundationLite
AvsFilter_TestArrayNotEmpty

Tests whether the size of an array does not equal zero.

FoundationLite
AvsFilter_TestArraySizeEqualTo

Tests whether the size of an array equals the given value.

FoundationLite
AvsFilter_TestArraySizeInRange

Tests whether the number of elements in the input array falls into the specified range.

FoundationLite
AvsFilter_TestArrayWithNils

Tests whether an array contains Nil elements.

FoundationLite
AvsFilter_TestArrayWithNilsOnly

Tests whether an array contains no other elements than Nils.

FoundationLite
AvsFilter_TestArrayWithoutNils

Tests whether an array does not contain Nil elements.

FoundationLite
FindAll

Finds all locations of a given value in the input array.

FoundationLite
FindFirst

Finds first location of a given value in the input array.

FoundationLite
FindLast

Finds last location of a given value in the input array.

FoundationLite
SkipArrayWithNils

If the input array contains no Nil values, then it is copied to the output; otherwise Nil is returned.


Changes an array with conditional elements into a conditional array. Can be useful if some processing should be performed only when all expected objects are correctly detected.

FoundationLite
SkipEmptyArray

If the input array is not empty, then it is copied to the output; otherwise Nil is returned.


Secures against domain errors caused by empty arrays, e.g. just before the GetMaximumElement filter is to be invoked.

FoundationLite
SkipLongArray

If the input array is short enough, then it is copied to the output; otherwise Nil is returned.


Secures against domain errors caused by arrays having too many elements.

FoundationLite
SkipNotSingle

If the input array has exactly one element, then the element is copied to the output; otherwise Nil is returned.


Changes execution mode from array mode to conditional mode.

FoundationLite
SkipShortArray

If the input array has enough elements, then it is copied to the output; otherwise Nil is returned.


Secures against domain errors caused by arrays having too few elements, e.g. just before the FitSegmentToPoints filter is to be invoked.

FoundationLite
SkipUnequalSizeArrays

If the input arrays have equal size, then they are copied to the output; otherwise Nils are returned.

FoundationLite