public abstract class AMAX
Given a vector x, the i?amax functions return the position of the vector element x[i] that has the largest
absolute value for real flavors, or the largest sum |Re(x[i])|+|Im(x[i])| for complex flavors. If n is not
positive, 0 is returned. If more than one vector element is found with the same largest absolute value, the
index of the first one encountered is returned.