Back to Aurora Vision Library Lite website

You are here: Start » All Functions » Array Transforms » ReverseArray

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
Input value inArray const Array<Type>& Input array
Output value outArray Array<Type>& Reversed array

Examples

inArray = {1,4,3,2,5} outArray = {5,2,3,4,1}

See Also

  • RotateArray – Cyclically shifts the elements of an array.