solve

fun solve(a: Matrix<Double>, b: Matrix<Double>): EjmlDoubleMatrix<DMatrixRMaj>

Solves for x in the following equation: x = a-1 · b.

Return

the solution for x that is n by p.

Parameters

a

the base matrix.

b

n by p matrix.


fun solve(a: Matrix<Double>, b: Point<Double>): EjmlDoubleVector<DMatrixRMaj>

Solves for x in the following equation: x = a-1 · b.

Return

the solution for x that is n by p.

Parameters

a

the base matrix.

b

n by p vector.