add#

static vectorious.add(x, y, 1)#

Adds y multiplied by alpha to x. Accelerated with BLAS ?axpy.

Arguments:
Returns:

NDArray

Examples:

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

add([1, 2, 3], [4, 5, 6]); // => array([5, 7, 9])