Back to Adaptive Vision Library website
You are here: Start » Function Reference » Array Transforms » ReverseArray
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 an array of the input array elements in reversed order.
Syntax
void avl::ReverseArray ( const atl::Array<Type>& inArray, atl::Array<Type>& outArray )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inArray | const Array<Type>& | Input array | |
![]() |
outArray | Array<Type>& | Reversed array |
Examples
![]() |
![]() |
inArray = {1,4,3,2,5} | outArray = {5,2,3,4,1} |
See Also
- SwapArrayElements – Swaps two elements of an array.
- RotateArray – Cyclically shifts the elements of an array.