Back to FabImage Library website
You are here: Start » Function Reference » All Functions » 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: | fil |
Module: | FoundationLite |
Creates an array of the input array elements in reversed order.
Syntax
void fil::ReverseArray ( const ftl::Array<Type>& inArray, ftl::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.