solve abstract method

Matrix solve(
  1. Matrix B, [
  2. Inverse inverse
])

Returns a solution for a system of linear equations:

A*X = B

where A is this Matrix, B is a column matrix of this matrix row countx1 dimension

To solve the system, one should do the following

X = inverse(A)*B

To find the inverse of this matrix, one should specify the Inverse type through passing the inverse argument, default value is Inverse.LU

Implementation

Matrix solve(Matrix B, [Inverse inverse]);