inverse method

Matrix inverse()

Implementation

Matrix inverse() {
  assert(!isSingular(), 'Inverse of singular matrix is undefined');

  return gaussJordan(this, Matrix.eye(this.nrows)).right;
}