# [−][src]Function arrayfire::reorder_v2

pub fn reorder_v2<T>(

input: &Array<T>,

new_axis0: u64,

new_axis1: u64,

next_axes: Option<Vec<u64>>

) -> Array<T> where

T: HasAfEnum,

Reorder the array in specified order

The default order of axes in ArrayFire is axis with smallest distance between adjacent elements towards an axis with highest distance between adjacent elements.

# Parameters

`input`

is the input Array`new_axis0`

is the new first axis for output`new_axis1`

is the new second axis for output`next_axes`

is the new axes order for output

# Return Values

Array with data reordered as per the new axes order