diff Framework/Toolbox/LinearAlgebra.h @ 169:7105e51e4907 wasm

InvertMatrixUnsafe
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 02 Mar 2018 12:35:27 +0100
parents 4f661e2f7b6c
children ff8556874557
line wrap: on
line diff
--- a/Framework/Toolbox/LinearAlgebra.h	Fri Mar 02 11:21:12 2018 +0100
+++ b/Framework/Toolbox/LinearAlgebra.h	Fri Mar 02 12:35:27 2018 +0100
@@ -222,6 +222,10 @@
     void InvertMatrix(Matrix& target,
                       const Matrix& source);
 
+    // This is the same as "InvertMatrix()", but without exception
+    bool InvertMatrixUnsafe(Matrix& target,
+                            const Matrix& source);
+
     void CreateSkewSymmetric(Matrix& s,
                              const Vector& v);