Legend:
- Unmodified
- Added
- Removed
-
bdm/math/chmat.cpp
r108 r168 17 17 Ch = R ( 0, Ch.rows()-1, 0, Ch.cols()-1 ); 18 18 }; 19 mat chmat::to_mat() {mat F=Ch.T() *Ch;return F;};19 mat chmat::to_mat() const {mat F=Ch.T() *Ch;return F;}; 20 20 void chmat::mult_sym ( const mat &C ) { 21 21 it_error ( "not implemented" ); -
bdm/math/chmat.h
r108 r168 32 32 33 33 void opupdt ( const vec &v, double w ); 34 mat to_mat() ;34 mat to_mat() const; 35 35 void mult_sym ( const mat &C ); 36 36 void mult_sym ( const mat &C , chmat &U ) const; -
bdm/math/libDC.cpp
r162 r168 7 7 8 8 void fsqmat::opupdt ( const vec &v, double w ) {M+=outer_product ( v,v*w );}; 9 mat fsqmat::to_mat() {return M;};9 mat fsqmat::to_mat() const {return M;}; 10 10 void fsqmat::mult_sym ( const mat &C) {M=C *M*C.T();}; 11 11 void fsqmat::mult_sym_t ( const mat &C) {M=C.T() *M*C;}; … … 78 78 } 79 79 80 mat ldmat::to_mat() {80 mat ldmat::to_mat() const { 81 81 int dim = D.length(); 82 82 mat V( dim, dim ); -
bdm/math/libDC.h
r98 r168 44 44 */ 45 45 46 virtual mat to_mat() =0;46 virtual mat to_mat() const =0; 47 47 48 48 /*! \brief Inplace symmetric multiplication by a SQUARE matrix \f$C\f$, i.e. \f$V = C*V*C'\f$ … … 115 115 public: 116 116 void opupdt ( const vec &v, double w ); 117 mat to_mat() ;117 mat to_mat() const; 118 118 void mult_sym ( const mat &C); 119 119 void mult_sym_t ( const mat &C); … … 198 198 199 199 void opupdt ( const vec &v, double w ); 200 mat to_mat() ;200 mat to_mat() const; 201 201 void mult_sym ( const mat &C); 202 202 void mult_sym_t ( const mat &C);