Changeset 98 for bdm/math

Show
Ignore:
Timestamp:
05/09/08 17:27:07 (16 years ago)
Author:
smidl
Message:

details...

Location:
bdm/math
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • bdm/math/chmat.h

    r95 r98  
    4242        double invqform ( const vec &v ) const; 
    4343        void clear(); 
     44        //! add another chmat \c A2 with weight \c w. 
    4445        void add ( const chmat &A2, double w=1.0 ) {}; 
    4546        //!Inversion in the same form, i.e. cholesky 
  • bdm/math/libDC.cpp

    r75 r98  
    213213        int mn = (m<n) ? m :n ; 
    214214 
    215         it_assert_debug( A.cols()==dim,"ldmat::ldform A is not compatible" ); 
     215//      it_assert_debug( A.cols()==dim,"ldmat::ldform A is not compatible" ); 
    216216        it_assert_debug( D0.length()==A.rows(),"ldmat::ldform Vector D must have the length as row count of A" ); 
    217217 
     
    299299        L.del_rows(0,m-1); 
    300300        D.del(0,m-1); 
     301         
     302        dim = L.rows(); 
    301303} 
    302304 
  • bdm/math/libDC.h

    r85 r98  
    245245                void setL (const vec &nL){L=nL;} 
    246246 
     247                //! Access functions 
     248                const vec& _D() const {return D;} 
     249                //! Access functions 
     250                const mat& _L() const {return L;} 
     251 
    247252                //! add another ldmat matrix 
    248253                ldmat& operator += ( const ldmat &ldA ); 
     
    254259                //! print both \c L and \c D 
    255260                friend std::ostream &operator<< ( std::ostream &os, const ldmat &sq ); 
    256  
    257261 
    258262        protected: