Function arrayfire::imax [] [src]

pub fn imax(input: &Array, dim: i32) -> (Array, Array)

Find maximum value along given dimension and their corresponding indices

Parameters

  • input - Input Array
  • dim - Dimension along which the input Array will be reduced

Return Values

A tuple of Arrays: Array maximum values and Array containing their index along the reduced dimension.