Changeset 1114 in Sophya for trunk/SophyaProg/Tests/arrt.cc
- Timestamp:
- Jul 28, 2000, 6:46:53 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/arrt.cc
r1107 r1114 114 114 115 115 TMatrix<r_4> esm(3,5); 116 esm = (EnumeratedSequence(), 116 EnumeratedSequence ess; 117 ess , 117 118 11 , 12 , 13, 14, 15, 118 21 , 22 , 23, 24, 25 119 ); 120 // 31 , 32 , 33, 34, 35 ) ; 121 119 21 , 22 , 23, 24, 25, 120 31 , 32 , 33, 34, 35 ; 121 esm = ess; 122 122 cout << "\n TMatrix<r_4> esm(3,5) = EnumeratedSequence(), 11 , 12 , 13, 14, 15 ... " 123 123 << esm << endl; 124 r_4 emin,emax,esum,eprod,esumx2; 125 esm.MinMax(emin, emax); 126 esum = esm.Sum(); 127 eprod = esm.Product(); 128 esumx2 = esm.SumX2(); 129 130 cout << " Min= " << emin << " Max= " << emax 131 << " Sum= " << esum << " Prod=" << eprod << " SumX2=" << esumx2 << endl; 124 132 125 133 cout << "\n :::::: Testing Matrix operations :::::: " << endl;
Note:
See TracChangeset
for help on using the changeset viewer.