Changeset 294 for tests/chmat_test.cpp

Show
Ignore:
Timestamp:
03/12/09 22:18:43 (15 years ago)
Author:
smidl
Message:

tr2245

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tests/chmat_test.cpp

    r262 r294  
    1717   cout << "Testing constructors:" << endl 
    1818       << "A = " << A << endl 
     19       << "Ch = " << Ch._Ch() << endl 
    1920       << "Ch.to_mat() = " << Ch.to_mat() << endl << endl; 
    2021        
     
    4950   cout << "A+vv' = " << A+outer_product(v,v) << endl 
    5051                        <<      "opupdt(Ch,v) = " << Ch2.to_mat() << endl <<endl; 
    51                                  
     52 
     53   vec vCh=vec(Ch._Ch()._data(),9); 
     54   cout << "vectorized Ch: " << vCh <<endl; 
     55   chmat nCh(3); 
     56   nCh.setCh(vCh); 
     57   cout << "Ch from vec: " << nCh._Ch() <<endl; 
     58 
    5259}