Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Array Transforms » SlideArray

SlideArray


Module: FoundationLite

Creates two copies of the input array - one with elements removed at the beginning, the other with elements removed at the end.

Name Type Description
inArray <T>Array Input array
inShift Integer Number of elements to be removed
outArray1 <T>Array Input array with inShift last elements removed
outArray2 <T>Array Input array with inShift first elements removed

The type of this filter is defined using the type variable T which represents any valid type. Read more.

Applications

This filter is useful for computing something on all the pairs of two consecutive elements of an array, e.g. creating a list of segments from an ordered list of points.

Complexity Level

This filter is available on Advanced Complexity Level.