]> www.ginac.de Git - ginac.git/commitdiff
* Clean up the output of all timings to stderr.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Thu, 28 Mar 2002 15:38:29 +0000 (15:38 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Thu, 28 Mar 2002 15:38:29 +0000 (15:38 +0000)
19 files changed:
check/time_antipode.cpp
check/time_lw_A.cpp
check/time_lw_B.cpp
check/time_lw_C.cpp
check/time_lw_D.cpp
check/time_lw_E.cpp
check/time_lw_F.cpp
check/time_lw_G.cpp
check/time_lw_H.cpp
check/time_lw_IJKL.cpp
check/time_lw_M1.cpp
check/time_lw_M2.cpp
check/time_lw_N.cpp
check/time_lw_O.cpp
check/time_lw_P.cpp
check/time_lw_Pprime.cpp
check/time_lw_Q.cpp
check/time_lw_Qprime.cpp
check/times.ref

index 8896da27152449402f1295e9736fcbd9d079d890..3e5346ee54da6b41da2ced68455a25423fd8fce9 100644 (file)
@@ -479,7 +479,7 @@ unsigned time_antipode(void)
        timer jaeger_le_coultre;
        
        cout << "timing computation of antipodes in Yukawa theory" << flush;
        timer jaeger_le_coultre;
        
        cout << "timing computation of antipodes in Yukawa theory" << flush;
-       clog << "-------computation of antipodes in Yukawa theory" << endl;
+       clog << "-------computation of antipodes in Yukawa theory:" << endl;
        
        if (do_test) {
                jaeger_le_coultre.start();
        
        if (do_test) {
                jaeger_le_coultre.start();
index c73e72db7b3f09f31bc9aba4d718b0b04a7c9ba8..246ca87d9f32bc03867ee34089357029c93857f6 100644 (file)
@@ -44,7 +44,7 @@ unsigned time_lw_A(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test A (divide factorials)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test A (divide factorials)" << flush;
-       clog << "-------Lewis-Wester test A (divide factorials)" << endl;
+       clog << "-------Lewis-Wester test A (divide factorials):" << endl;
        
        rolex.start();
        // correct for very small times:
        
        rolex.start();
        // correct for very small times:
index 788a0cc5555114c4b80d128d9e7ad082ddbb2064..d775b20bf64c59f781b6dbff5e1edb34aa0e9dc6 100644 (file)
@@ -45,7 +45,7 @@ unsigned time_lw_B(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test B (sum of rational numbers)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test B (sum of rational numbers)" << flush;
-       clog << "-------Lewis-Wester test B (sum of rational numbers)" << endl;
+       clog << "-------Lewis-Wester test B (sum of rational numbers):" << endl;
        
        rolex.start();
        // correct for very small times:
        
        rolex.start();
        // correct for very small times:
index 4a76cf0ea8eb8acca71facf4e67f617e548841b6..0f77985fb303881fe62b707aeb2451c5524e8480 100644 (file)
@@ -49,7 +49,7 @@ unsigned time_lw_C(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test C (gcd of big integers)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test C (gcd of big integers)" << flush;
-       clog << "-------Lewis-Wester test C (gcd of big integers)" << endl;
+       clog << "-------Lewis-Wester test C (gcd of big integers):" << endl;
        
        rolex.start();
        // correct for very small times:
        
        rolex.start();
        // correct for very small times:
index b2dede44c59140aa1d28425ff7e817c1e99eaa52..8e55058a1c27c875f827cb0ed49c09226ac8b4bf 100644 (file)
@@ -49,7 +49,7 @@ unsigned time_lw_D(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test D (normalized sum of rational fcns)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test D (normalized sum of rational fcns)" << flush;
-       clog << "-------Lewis-Wester test D (normalized sum of rational fcns)" << endl;
+       clog << "-------Lewis-Wester test D (normalized sum of rational fcns):" << endl;
        
        rolex.start();
        // correct for very small times:
        
        rolex.start();
        // correct for very small times:
index 5ae77d86e43500d537c66bcdf85998f1d2250ea3..b19ac3fc3dc31d24934d83f26f486ee6b85b8178 100644 (file)
@@ -49,7 +49,7 @@ unsigned time_lw_E(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test E (normalized sum of rational fcns)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test E (normalized sum of rational fcns)" << flush;
-       clog << "-------Lewis-Wester test E (normalized sum of rational fcns)" << endl;
+       clog << "-------Lewis-Wester test E (normalized sum of rational fcns):" << endl;
        
        rolex.start();
        // correct for very small times:
        
        rolex.start();
        // correct for very small times:
index afe55204f47660c3c75098dd4038fa1ccb363da3..1c872bc121f57d82ccb480121a376abdcbf67fc3 100644 (file)
@@ -46,7 +46,7 @@ unsigned time_lw_F(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test F (gcd of 2-var polys)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test F (gcd of 2-var polys)" << flush;
-       clog << "-------Lewis-Wester test F (gcd of 2-var polys)" << endl;
+       clog << "-------Lewis-Wester test F (gcd of 2-var polys):" << endl;
        
        rolex.start();
        // correct for very small times:
        
        rolex.start();
        // correct for very small times:
index 4410e039e2ab614869cbceacd2ed50c234656f41..728b1286b8e420bcde659123817c856f782bb8eb 100644 (file)
@@ -49,7 +49,7 @@ unsigned time_lw_G(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test G (gcd of 3-var polys)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test G (gcd of 3-var polys)" << flush;
-       clog << "-------Lewis-Wester test G (gcd of 3-var polys)" << endl;
+       clog << "-------Lewis-Wester test G (gcd of 3-var polys):" << endl;
        
        rolex.start();
        // correct for very small times:
        
        rolex.start();
        // correct for very small times:
index 274351a8aa0f883827c6561e2ab98bdc276545a6..c4f1cbff4e1a6cf83f0e0bcd38dbfb82825c82d0 100644 (file)
@@ -64,7 +64,7 @@ unsigned time_lw_H(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test H (det of 80x80 Hilbert)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test H (det of 80x80 Hilbert)" << flush;
-       clog << "-------Lewis-Wester test H (det of 80x80 Hilbert)" << endl;
+       clog << "-------Lewis-Wester test H (det of 80x80 Hilbert):" << endl;
        
        rolex.start();
        // correct for very small times:
        
        rolex.start();
        // correct for very small times:
index 7db5863518ccec2e3272db4dcdcd01fd74a76edc..a36645486177f7181ee13a26a5316b97c14dcdcf 100644 (file)
@@ -32,7 +32,7 @@ static unsigned test(unsigned n)
        cout << "timing Lewis-Wester test " << name
             << " (invert rank " << n << " Hilbert)" << flush;
        clog << "-------Lewis-Wester test " << name
        cout << "timing Lewis-Wester test " << name
             << " (invert rank " << n << " Hilbert)" << flush;
        clog << "-------Lewis-Wester test " << name
-            << " (invert rank " << n << " Hilbert)" << endl;
+            << " (invert rank " << n << " Hilbert):" << endl;
        
        // Create a rank n Hilbert matrix:
        matrix H(n,n);
        
        // Create a rank n Hilbert matrix:
        matrix H(n,n);
@@ -53,7 +53,7 @@ static unsigned test(unsigned n)
        cout << "timing Lewis-Wester test " << name
             << " (check rank " << n << " Hilbert)" << flush;
        clog << "-------Lewis-Wester test " << name
        cout << "timing Lewis-Wester test " << name
             << " (check rank " << n << " Hilbert)" << flush;
        clog << "-------Lewis-Wester test " << name
-            << " (check rank " << n << " Hilbert)" << endl;
+            << " (check rank " << n << " Hilbert):" << endl;
        
        cartier.reset();
        matrix identity = H.mul(Hinv);
        
        cartier.reset();
        matrix identity = H.mul(Hinv);
index 025da6965af57c3cd74a71cf03b70e27d74ddf6a..65ffe3b67ada81936dee21cb90355aca9a9ebb3e 100644 (file)
@@ -81,7 +81,7 @@ unsigned time_lw_M1(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test M1 (26x26 sparse, det)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test M1 (26x26 sparse, det)" << flush;
-       clog << "-------Lewis-Wester test M1 (26x26 sparse, det)" << endl;
+       clog << "-------Lewis-Wester test M1 (26x26 sparse, det):" << endl;
        
        rolex.start();
        // correct for very small times:
        
        rolex.start();
        // correct for very small times:
index 063b517c8365182f8b6c5aec09c11e1e7ad06645..b677f01ec39ddf97c85e607e3220f6c42e8dc96f 100644 (file)
@@ -157,7 +157,7 @@ unsigned time_lw_M2(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test M2 (101x101 sparse, det)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test M2 (101x101 sparse, det)" << flush;
-       clog << "-------Lewis-Wester test M2 (101x101 sparse, det)" << endl;
+       clog << "-------Lewis-Wester test M2 (101x101 sparse, det):" << endl;
        
        if (do_test) {
                piaget.start();
        
        if (do_test) {
                piaget.start();
index d5539fe4da0ad92a586f356e7298c2c1706e8ab0..596a4686e3e196de17322bb722bce609a636dae5 100644 (file)
@@ -60,7 +60,7 @@ unsigned time_lw_N(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test N (poly at rational fcns)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test N (poly at rational fcns)" << flush;
-       clog << "-------Lewis-Wester test N (poly at rational fcns)" << endl;
+       clog << "-------Lewis-Wester test N (poly at rational fcns):" << endl;
        
        if (do_test) {
                tag_heuer.start();
        
        if (do_test) {
                tag_heuer.start();
index e9d5546c944c5747f5a93db88c8aea6a1d5616d6..d91fdf99d143a0d1b64eb03dd52c4acfff423ad5 100644 (file)
@@ -108,7 +108,7 @@ unsigned time_lw_O(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test O1 (three 15x15 dets)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test O1 (three 15x15 dets)" << flush;
-       clog << "-------Lewis-Wester test O1 (three 15x15 dets)" << endl;
+       clog << "-------Lewis-Wester test O1 (three 15x15 dets):" << endl;
        
        if (do_test) {
                rolex.start();
        
        if (do_test) {
                rolex.start();
index 45947dbcd87ba558ce757283d91e4d5df41b77d0..7bbc69b50b0afc71a9d42a525ef81656975d4298 100644 (file)
@@ -59,7 +59,7 @@ unsigned time_lw_P(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test P (det of sparse rank 101)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test P (det of sparse rank 101)" << flush;
-       clog << "-------Lewis-Wester test P (det of sparse rank 101)" << endl;
+       clog << "-------Lewis-Wester test P (det of sparse rank 101):" << endl;
        
        rolex.start();
        // correct for very small times:
        
        rolex.start();
        // correct for very small times:
index 6cb495a2867805ae7a5033123ec20f1db827438b..3d9579538948428ab2a981f50f8ac1bf529464df 100644 (file)
@@ -72,7 +72,7 @@ unsigned time_lw_Pprime(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test P' (det of less sparse rank 101)" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test P' (det of less sparse rank 101)" << flush;
-       clog << "-------Lewis-Wester test P' (det of less sparse rank 101)" << endl;
+       clog << "-------Lewis-Wester test P' (det of less sparse rank 101):" << endl;
        
        rolex.start();
        // correct for very small times:
        
        rolex.start();
        // correct for very small times:
index 75aef3f42fcbbfe13d2cfa16c31e5b7684bce3b4..9a9365c65d98381d308b8a63f5d133de52c85f92 100644 (file)
@@ -62,7 +62,7 @@ unsigned time_lw_Q(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test Q (charpoly(P))" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test Q (charpoly(P))" << flush;
-       clog << "-------Lewis-Wester test Q (charpoly(P))" << endl;
+       clog << "-------Lewis-Wester test Q (charpoly(P)):" << endl;
        
        if (do_test) {
                rolex.start();
        
        if (do_test) {
                rolex.start();
index 03c4e762254d0e93d135a9af676939c727c72a79..72f0e586babd4fe1fda2bda774b3794c101418ac 100644 (file)
@@ -74,7 +74,7 @@ unsigned time_lw_Qprime(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test Q' (charpoly(P'))" << flush;
        double time = .0;
        
        cout << "timing Lewis-Wester test Q' (charpoly(P'))" << flush;
-       clog << "-------Lewis-Wester test Q' (charpoly(P'))" << endl;
+       clog << "-------Lewis-Wester test Q' (charpoly(P')):" << endl;
        
        if (do_test) {
                rolex.start();
        
        if (do_test) {
                rolex.start();
index 08d2b9c4a8792de0a44f12a6b32954ee94d58b14..d34c8fd3e109f3fb4b42ec90057b5cdac80a86e9 100644 (file)
@@ -6,45 +6,47 @@
 (no output)
 -------determinant of polyvariate symbolic Toeplitz matrices:
 (no output)
 (no output)
 -------determinant of polyvariate symbolic Toeplitz matrices:
 (no output)
--------Lewis-Wester test A (divide factorials)
+-------Lewis-Wester test A (divide factorials):
 (no output)
 (no output)
--------Lewis-Wester test B (sum of rational numbers)
+-------Lewis-Wester test B (sum of rational numbers):
 (no output)
 (no output)
--------Lewis-Wester test C (gcd of big integers)
+-------Lewis-Wester test C (gcd of big integers):
 (no output)
 (no output)
--------Lewis-Wester test D (normalized sum of rational fcns)
+-------Lewis-Wester test D (normalized sum of rational fcns):
 (no output)
 (no output)
--------Lewis-Wester test E (normalized sum of rational fcns)
+-------Lewis-Wester test E (normalized sum of rational fcns):
 (no output)
 (no output)
--------Lewis-Wester test F (gcd of 2-var polys)
+-------Lewis-Wester test F (gcd of 2-var polys):
 (no output)
 (no output)
--------Lewis-Wester test G (gcd of 3-var polys)
+-------Lewis-Wester test G (gcd of 3-var polys):
 (no output)
 (no output)
--------Lewis-Wester test H (det of 80x80 Hilbert)
+-------Lewis-Wester test H (det of 80x80 Hilbert):
 (no output)
 (no output)
--------Lewis-Wester test I (invert rank 40 Hilbert)
+-------Lewis-Wester test I (invert rank 40 Hilbert):
 (no output)
 (no output)
--------Lewis-Wester test J (check rank 40 Hilbert)
+-------Lewis-Wester test J (check rank 40 Hilbert):
 (no output)
 (no output)
--------Lewis-Wester test K (invert rank 70 Hilbert)
+-------Lewis-Wester test K (invert rank 70 Hilbert):
 (no output)
 (no output)
--------Lewis-Wester test L (check rank 70 Hilbert)
+-------Lewis-Wester test L (check rank 70 Hilbert):
 (no output)
 (no output)
--------Lewis-Wester test M1 (26x26 sparse, det)
+-------Lewis-Wester test M1 (26x26 sparse, det):
 (no output)
 (no output)
--------Lewis-Wester test M2 (101x101 sparse, det)
+-------Lewis-Wester test M2 (101x101 sparse, det):
 (no output)
 (no output)
--------Lewis-Wester test N (poly at rational fcns)
+-------Lewis-Wester test N (poly at rational fcns):
 (no output)
 (no output)
--------Lewis-Wester test O1 (three 15x15 dets)
+-------Lewis-Wester test O1 (three 15x15 dets):
 (no output)
 (no output)
--------Lewis-Wester test P (det of sparse rank 101)
+-------Lewis-Wester test P (det of sparse rank 101):
 (no output)
 (no output)
--------Lewis-Wester test P' (det of less sparse rank 101)
+-------Lewis-Wester test P' (det of less sparse rank 101):
 (no output)
 (no output)
--------Lewis-Wester test Q (charpoly(P))
+-------Lewis-Wester test Q (charpoly(P)):
 (no output)
 (no output)
--------Lewis-Wester test Q' (charpoly(P'))
+-------Lewis-Wester test Q' (charpoly(P')):
 (no output)
 (no output)
--------computation of antipodes in Yukawa theory
+-------computation of antipodes in Yukawa theory:
+(no output)
+-------Fateman's polynomial expand benchmark:
 (no output)
 (no output)