Function arrayfire::imax_all[][src]

pub fn imax_all<T: HasAfEnum>(input: &Array<T>) -> (f64, f64, u32)

Find maximum and it's index in the whole Array

Parameters

input - Input Array

Return Values

A triplet with

  • maximum element of Array in the first component.
  • second component of value zero if Array is of non-complex type.
  • index of maximum element in the third component.