Changeset 427 for library/bdm/math/square_mat.h
- Timestamp:
- 07/24/09 08:53:22 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/math/square_mat.h
r384 r427 31 31 mat ltuinv( const mat &L ); 32 32 33 /*! \brief Virtualclass for representation of double symmetric matrices in square-root form.33 /*! \brief Abstract class for representation of double symmetric matrices in square-root form. 34 34 35 35 All operations defined on this class should be optimized for the chosen decomposition. … … 97 97 int cols() const {return dim;}; 98 98 99 //! Reimplementing common functions of mat: cols().99 //! Reimplementing common functions of mat: rows(). 100 100 int rows() const {return dim;}; 101 101 … … 187 187 All inplace operations modifies only these and the need to compose and decompose the matrix is avoided. 188 188 */ 189 class ldmat: sqmat189 class ldmat: public sqmat 190 190 { 191 191 public: … … 218 218 double invqform (const vec &v ) const; 219 219 void clear(); 220 int cols() const;221 int rows() const;222 220 vec sqrt_mult ( const vec &v ) const; 223 221 … … 284 282 //!mapping of negative add operation to operators 285 283 inline ldmat& ldmat::operator -= ( const ldmat &ldA ) {this->add ( ldA,-1.0 );return *this;} 286 //!access function287 inline int ldmat::cols() const {return dim;}288 //!access function289 inline int ldmat::rows() const {return dim;}290 284 291 285 /*! @} */