blas-idamax
Finds the first element equal to the maximum absolute value of x and returns the element index.
Finds the first element equal to the maximum absolute value of x and returns the element index.
argmin and argmax functions for Node.js / underscore.js
ArrayLike reducers for JavaScript