]> www.ginac.de Git - ginac.git/blobdiff - ginac/matrix.cpp
Fix ABI compatibility with so-version 6.
[ginac.git] / ginac / matrix.cpp
index bf7f8347c9a1f7b31645595d408ce602cf77081d..5b9822510c6642c340511d502483248a0f468d5c 100644 (file)
@@ -937,6 +937,12 @@ ex matrix::charpoly(const ex & lambda) const
 }
 
 
+/** Inverse of this matrix, with automatic algorithm selection. */
+matrix matrix::inverse() const
+{
+       return inverse(solve_algo::automatic);
+}
+
 /** Inverse of this matrix.
  *
  *  @param algo selects the algorithm (one of solve_algo)