subtract#

static vectorious.subtract(x)#

Subtracts y from x. Accelerated with BLAS ?axpy.

Arguments:
Returns:

NDArray

Examples:

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

subtract([1, 2, 3], [1, 1, 1]); // => array([0, 1, 2])