solve#

static vectorious.solve(x, y)#

Solves the equation AX = B (where A is x and B is y). Accelerated with LAPACK ?gesv.

Arguments:
Returns:

NDArray

Examples:

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

solve([[1, 3, 5], [2, 4, 7], [1, 1, 0]], [[1], [3], [5]]); // => array([[3.25], [1.75], [-1.5]])