Changeset 792 for trunk/test/svd_test.cc


Ignore:
Timestamp:
Mar 11, 2007, 1:14:24 AM (15 years ago)
Author:
Jari Häkkinen
Message:

Addresses #193. matrix now works as outlined in the ticket
discussion. Added support for const views. Added a clone function that
facilitates resizing of matrices. clone is needed since assignement
operator functionality is changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/svd_test.cc

    r759 r792  
    6060  Vtranspose.transpose();
    6161  // Reconstructing A = U*S*Vtranspose
    62   utility::matrix Areconstruct=svd.U();
     62  utility::matrix Areconstruct(svd.U());
    6363  Areconstruct*=S;
    6464  Areconstruct*=Vtranspose;
     
    8383  }
    8484
    85   utility::matrix Utranspose=svd.U();
     85  utility::matrix Utranspose(svd.U());
    8686  Utranspose.transpose();
    8787  Utranspose*=svd.U();  // Expect unity matrix
Note: See TracChangeset for help on using the changeset viewer.