solve

fun EjmlMatrixContext.solve(a: Matrix<Double>, b: Matrix<Double>): EjmlMatrix

Solves for X in the following equation: x = a^-1*b, where 'a' is base matrix and 'b' is an n by p matrix.

Return

the solution for 'x' that is n by p.

Author

Iaroslav Postovalov

Parameters

a

the base matrix.

b

n by p matrix.

fun EjmlMatrixContext.solve(a: Matrix<Double>, b: Point<Double>): EjmlVector

Solves for X in the following equation: x = a^(-1)*b, where 'a' is base matrix and 'b' is an n by p matrix.

Return

the solution for 'x' that is n by p.

Author

Iaroslav Postovalov

Parameters

a

the base matrix.

b

n by p vector.