Back to Adaptive Vision Library website

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

SlideArray


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:avl

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

Syntax

void avl::SlideArray
(
	const atl::Array<Type>& inArray,
	int inShift,
	atl::Array<Type>& outArray1,
	atl::Array<Type>& outArray2
)

Parameters

Name Type Default Description
inArray const Array<Type>& Input array
inShift int Number of elements to be removed
outArray1 Array<Type>& Input array with inShift last elements removed
outArray2 Array<Type>& Input array with inShift first elements removed