solve

fun solve(a: Matrix<Float>, b: Matrix<Float>): EjmlFloatMatrix<FMatrixRMaj>

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<Float>, b: Point<Float>): EjmlFloatVector<FMatrixRMaj>

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.