solve

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

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<FMatrixSparseCSC>(source)

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.