[−][src]Function arrayfire::imax_all
pub fn imax_all<T>(
input: &Array<T>
) -> (<<T as HasAfEnum>::InType as HasAfEnum>::BaseType, <<T as HasAfEnum>::InType as HasAfEnum>::BaseType, u32) where
T: HasAfEnum,
<T as HasAfEnum>::InType: HasAfEnum,
<<T as HasAfEnum>::InType as HasAfEnum>::BaseType: HasAfEnum + Fromf64,
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.