Show
Ignore:
Timestamp:
07/27/09 22:17:46 (15 years ago)
Author:
smidl
Message:

unification of inv in sqmat

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/math/square_mat.cpp

    r384 r433  
    1212void fsqmat::mult_sym ( const mat &C, fsqmat &U) const { U.M = ( C *(M*C.T()) );}; 
    1313void fsqmat::mult_sym_t ( const mat &C, fsqmat &U) const { U.M = ( C.T() *(M*C) );}; 
    14 void fsqmat::inv ( fsqmat &Inv ) {mat IM = itpp::inv ( M ); Inv=IM;}; 
     14void fsqmat::inv ( fsqmat &Inv ) const {mat IM = itpp::inv ( M ); Inv=IM;}; 
    1515void fsqmat::clear() {M.clear();}; 
    1616fsqmat::fsqmat ( const mat &M0 ) : sqmat(M0.cols())