Changeset 274 in Sophya
- Timestamp:
- Apr 27, 1999, 5:41:21 PM (26 years ago)
- Location:
- trunk/SophyaProg/Tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/tblitz.cc
r224 r274 4 4 #include "timing.h" 5 5 #include "cimage.h" 6 #include "outilsinit.h" 7 // Test des NDataBlock 8 #include "ndatablock.h" 6 9 7 10 #include "blitz/array.h" … … 54 57 } 55 58 59 cout << "\n ==== Test avec NDataBlock<float> " << endl; 60 NDataBlock<r_4> b1(sx*sy), b2(sx*sy), b3(sx*sy); 61 for(kk=0; kk<N1; kk++) { 62 cout << kk << " NDataBlock<float> (" << sx*sy << ") , " << N2 << " mult. " << endl; 63 for(k=0; k<sx*sy; k++) { 64 b1(k) = frand01()*10.*k; 65 b2(k) = frand01()*10.*k; 66 } 67 for(k=0; k<N2; k++) b3 = b1*b2; 68 sprintf(strg, "NDataBlock<float> T[%d] ", kk); 69 PrtTim(strg); 70 } 56 71 57 72 exit(0); -
trunk/SophyaProg/Tests/timg.cc
r271 r274 77 77 cout << " DataBlock<r_8> i*5 : (db)" << endl; 78 78 cout << db << endl; 79 NDataBlock<r_8> db2( 20,false);79 NDataBlock<r_8> db2(db,false); 80 80 cout << " DataBlock<r_8> (db2=db) - db" << endl; 81 81 cout << db2-db << endl; -
trunk/SophyaProg/Tests/tnt.cc
r224 r274 4 4 #include <iostream.h> 5 5 6 #include "outilsinit.h" 6 7 #include "ntuple.h" 7 8
Note:
See TracChangeset
for help on using the changeset viewer.