Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Array Basics

Array Basics

Select a filter from the list below.

IconNameDescription
ArrayIndicesCreates an array of element indices, i.e. {0, 1, 2, ..., N-1}, where N is the length of the input array.
ArraySizeReturns the number of elements in an array.
CreateArrayCreates an array from up to 8 individual objects.
CreateUniformArrayCreates an array of the specified size with all elements initialized to the specified value.
FindAllFinds all locations of a given value in the input array.
FindFirstFinds first location of a given value in the input array.
FindLastFinds last location of a given value in the input array.
GetArrayElementExtracts a single element from an array at the specified index.
GetArrayElement_OrNilExtracts a single element from an array at the specified index; returns NIL if the index is out of range.
GetArrayElementsExtracts up to 8 individual elements from an array.
GetArrayElements_OrNilExtracts up to 8 individual elements from an array or NIL for indices out of range.
GetMultipleArrayElementsExtracts multiple elements from an array.
GetRandomElementsGet random array elements with repeating values or not.
SetArrayElementSets an element of an array to a new value.
SetMultipleArrayElementsSets elements of an array to new values.
SkipArrayWithNilsIf the input array contains no Nil values, then it is copied to the output; otherwise Nil is returned.
SkipEmptyArrayIf the input array is not empty, then it is copied to the output; otherwise Nil is returned.
SkipLongArrayIf the input array is short enough, then it is copied to the output; otherwise Nil is returned.
SkipNotSingleIf the input array has exactly one element, then the element is copied to the output; otherwise Nil is returned.
SkipShortArrayIf the input array has enough elements, then it is copied to the output; otherwise Nil is returned.
SkipUnequalSizeArraysIf the input arrays have equal size, then they are copied to the output; otherwise Nils are returned.
TestArrayEmptyTests whether the size of an array equals zero.
TestArrayNotEmptyTests whether the size of an array does not equal zero.
TestArraySizeEqualToTests whether the size of an array equals the given value.
TestArraySizeInRangeTests whether the number of elements in the input array falls into the specified range.
TestArrayWithNilsTests whether an array contains Nil elements.
TestArrayWithNilsOnlyTests whether an array contains no other elements than Nils.
TestArrayWithoutNilsTests whether an array does not contain Nil elements.