Returns index of the input array element with largest magnitude.
Return type: real/complex array
Returns index to maximum input value