Changeset 1114 in Sophya


Ignore:
Timestamp:
Jul 28, 2000, 6:46:53 PM (25 years ago)
Author:
ansari
Message:

modifs programme test arrt.cc - Reza 28/7/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/arrt.cc

    r1107 r1114  
    114114
    115115  TMatrix<r_4> esm(3,5);
    116   esm = (EnumeratedSequence(),
     116  EnumeratedSequence ess;
     117              ess ,
    117118         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;
    122122  cout << "\n TMatrix<r_4> esm(3,5) = EnumeratedSequence(), 11 , 12 , 13, 14, 15 ... "
    123123       << 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;
    124132
    125133  cout << "\n :::::: Testing Matrix operations :::::: " << endl;
Note: See TracChangeset for help on using the changeset viewer.