Function arrayfire::moddims[][src]

pub fn moddims<T>(input: &Array<T>, dims: Dim4) -> Array<T> where
    T: HasAfEnum

Change the shape of the Array

Parameters

  • input is the input Array
  • dims is the new dimensions to which the input Array is reshaped to

Return Values

Reshaped Array