[mathicgb] 162/393: Added row counter log for top and bottom rows of F4 matrices.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Apr 3 15:58:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository mathicgb.

commit b4b4a6cb6bca649ca6cd692fa1e57312210c27fb
Author: Bjarke Hammersholt Roune <bjarkehr.code at gmail.com>
Date:   Mon Feb 11 13:41:23 2013 +0100

    Added row counter log for top and bottom rows of F4 matrices.
---
 src/mathicgb/F4Reducer.cpp | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/mathicgb/F4Reducer.cpp b/src/mathicgb/F4Reducer.cpp
index d729134..964f548 100755
--- a/src/mathicgb/F4Reducer.cpp
+++ b/src/mathicgb/F4Reducer.cpp
@@ -14,6 +14,16 @@ MATHICGB_DEFINE_LOG_DOMAIN(
   "Count number of rows in F4 matrices."
 );
 
+MATHICGB_DEFINE_LOG_DOMAIN(
+  F4MatrixTopRows,
+  "Count number of top (reducer) rows in F4 matrices."
+);
+
+MATHICGB_DEFINE_LOG_DOMAIN(
+  F4MatrixBottomRows,
+  "Count number of bottom (reducee) rows in F4 matrices."
+);
+
 F4Reducer::F4Reducer(const PolyRing& ring, Type type):
   mType(type),
   mFallback(Reducer::makeReducer(Reducer::Reducer_BjarkeGeo, ring)),
@@ -110,6 +120,8 @@ void F4Reducer::classicReduceSPolySet(
       }
     }
     MATHICGB_LOG_INCREMENT_BY(F4MatrixRows, qm.rowCount());
+    MATHICGB_LOG_INCREMENT_BY(F4MatrixTopRows, qm.topLeft.rowCount());
+    MATHICGB_LOG_INCREMENT_BY(F4MatrixBottomRows, qm.bottomLeft.rowCount());
     saveMatrix(qm);
     reduced = F4MatrixReducer(basis.ring().charac()).
       reducedRowEchelonFormBottomRight(qm);
@@ -172,6 +184,8 @@ void F4Reducer::classicReducePolySet
       }
     }
     MATHICGB_LOG_INCREMENT_BY(F4MatrixRows, qm.rowCount());
+    MATHICGB_LOG_INCREMENT_BY(F4MatrixTopRows, qm.topLeft.rowCount());
+    MATHICGB_LOG_INCREMENT_BY(F4MatrixBottomRows, qm.bottomLeft.rowCount());
     saveMatrix(qm);
     reduced = F4MatrixReducer(basis.ring().charac()).
       reducedRowEchelonFormBottomRight(qm);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathicgb.git



More information about the debian-science-commits mailing list