solve method

Matrix<double> solve(
  1. Matrix<num> b
)

Returns the solution x of A * x = B, where A is this Matrix and b is the argument to the function.

Implementation

Matrix<double> solve(Matrix<num> b) =>
    rowCount == colCount ? lu.solve(b) : qr.solve(b);