Changeset 2580 in Sophya for trunk/SophyaProg/Tests/tsttminv.cc


Ignore:
Timestamp:
Jul 29, 2004, 5:10:44 PM (21 years ago)
Author:
cmv
Message:

plus de *= pour multipl matrice inplace rz+cmv 29/07/04

File:
1 edited

Legend:

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

    r2571 r2580  
    470470TMatrix< TYPE > AmUSVt(N,N); AmUSVt = U;
    471471for(int i=0;i<N;i++) for(int j=0;j<N;j++) AmUSVt(i,j) *= S(j);
    472 AmUSVt *= VT; AmUSVt -= Ainput;
     472AmUSVt = AmUSVt * VT; AmUSVt -= Ainput;
    473473if(nprline>0) {cout<<AmUSVt; cout<<endl;}
    474474//-- Check
     
    502502TMatrix< TYPE > AmUSVt(N,N); AmUSVt = U;
    503503for(int i=0;i<N;i++) for(int j=0;j<N;j++) AmUSVt(i,j) *= (TYPE) S(j);
    504 AmUSVt *= VT; AmUSVt -= Ainput;
     504AmUSVt = AmUSVt * VT; AmUSVt -= Ainput;
    505505if(nprline>0) {cout<<AmUSVt; cout<<endl;}
    506506//-- Check
Note: See TracChangeset for help on using the changeset viewer.