[Mlir-commits] [mlir] [MLIR][Presburger] Add Gram-Schmidt (PR	#70843)
    Arjun P 
    llvmlistbot at llvm.org
       
    Thu Nov  2 09:18:39 PDT 2023
    
    
  
================
@@ -548,4 +548,29 @@ Fraction FracMatrix::determinant(FracMatrix *inverse) const {
     determinant *= m.at(i, i);
 
   return determinant;
+}
+
+FracMatrix FracMatrix::gramSchmidt() const {
+  bool linIndep =
+      (nRows < nColumns) || (nRows == nColumns && determinant(nullptr) != 0);
----------------
Superty wrote:
you can skip the argument to determinant, it should default to nullptr right?
https://github.com/llvm/llvm-project/pull/70843
    
    
More information about the Mlir-commits
mailing list