max#

static vectorious.max(x)#

Gets the maximum value (largest) element of x. Accelerated with BLAS i?amax.

Arguments:
Returns:

Number

Examples:

import { max } from 'vectorious/core/max';

max([1, 2, 3]); // => 3