pub fn moveaxis<T: Element, D: Dimension>(
a: &Array<T, D>,
source: usize,
destination: usize,
) -> FerrayResult<Array<T, IxDyn>>Expand description
Move an axis to a new position.
Analogous to numpy.moveaxis().
ยงErrors
Returns FerrayError::AxisOutOfBounds if either axis is out of bounds.