- Timestamp:
- Apr 24, 2006, 5:33:37 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/spar.cc
r2615 r2940 147 147 #endif 148 148 nop = nloop*3*nr*nc*5/1000; 149 cout << "(6) Op (A*x+y*B).MulElt(B-A, ->D) (KFLOP) = " << nop << endl; 150 noptot += nop; 151 PrtTim(" Apres (6) "); 149 cout << "(6.a) Op (A*x+y*B).MulElt(B-A, ->D) (KFLOP) = " << nop << endl; 150 noptot += nop; 151 PrtTim(" Apres (6.a) "); 152 153 for(int k=0; k<nloop; k++) { 154 Matrix Dc = (Ac+4.+6.5*Bc) && (Bc-Ac); 155 Matrix Dcf = (Ac+4.+6.5*Bf) && (Bc-Af); 156 Matrix Df = (Af+4.+6.5*Bf) && (Bf-Af); 157 } 158 nop = nloop*3*nr*nc*5/1000; 159 cout << "(6.b) Op D = (A*x+y*B) && (B-A) (KFLOP) = " << nop << endl; 160 noptot += nop; 161 PrtTim(" Apres (6.b) "); 152 162 cout << res; 153 163 154 164 // Les operations sur sous-tableaux sont beaucoup trop couteux V <= 1.7 155 165 if (ope > 0) { 156 cout << "\n (7) Operations de AA.Row() *= ..." << endl;166 cout << "\n(7) Op AA.Row() *= ... [AA.Row()*x+BB.Row()*y ope=2] " << endl; 157 167 Ac = A; Bc = B; 158 168 Af = A; Bf = B;
Note:
See TracChangeset
for help on using the changeset viewer.