Function imax_all
Source pub fn imax_all<T>(
input: &Array<T>,
) -> (<<T as HasAfEnum>::InType as HasAfEnum>::BaseType, <<T as HasAfEnum>::InType as HasAfEnum>::BaseType, u32)
Expand description
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.