Changeset 1066 for library/bdm/base

Show
Ignore:
Timestamp:
06/09/10 16:20:11 (14 years ago)
Author:
mido
Message:

another part - all conditional pdfs untill bdm::euni

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.h

    r1064 r1066  
    275275    class = 'RV'; 
    276276    names = {'a', 'b', 'c', ...};   // UNIQUE IDENTIFIER same names = same variable 
    277                                                                 // names are also used when storing results 
     277                                    // names are also used when storing results 
    278278    --- optional --- 
    279279    sizes = [1, 2, 3, ...];         // size of each name. default = ones() 
    280                                                                 // if size = -1, it is found out from previous instances of the same name 
     280                                    // if size = -1, it is found out from previous instances of the same name 
    281281    times = [-1, -2, 0, ...];       // time shifts with respect to current time, default = zeros() 
    282282    \endcode 
     
    725725SHAREDPTR ( pdf ); 
    726726 
    727 //! Probability density function with numerical statistics, e.g. posterior density. 
     727//! Abstract class representing probability density function with numerical statistics, e.g. posterior density. 
    728728class epdf : public pdf { 
    729729    //! \var log_level_enums logmean 
     
    820820    //! \name Access to attributes 
    821821    //! @{ 
    822  
    823     //! Load from structure with elements: 
    824     //!  \code 
    825     //! { rv = {class="RV", names=(...),}; // RV describing meaning of random variable 
    826     //!   // elements of offsprings 
    827     //! } 
     822    //! Create object from the following structure 
     823    //! 
     824    //! \code 
     825    //! rv = RV({'names',...},[sizes,...],[times,...]);   % RV describing meaning of random variable 
     826    //!    --- inherited fields --- 
     827    //! bdm::pdf::from_setting 
    828828    //! \endcode 
    829     //!@} 
     829    //! @} 
    830830    void from_setting ( const Setting &set ); 
    831831    void to_setting ( Setting &set ) const; 
     
    11291129        //establish c2c connection 
    11301130        rvc.dataind ( rvc_up, c2c_lo, c2c_up ); 
    1131 //              bdm_assert_debug ( c2c_lo.length() + v2c_lo.length() == condsize, "cond is not fully given" ); 
     1131//         bdm_assert_debug ( c2c_lo.length() + v2c_lo.length() == condsize, "cond is not fully given" ); 
    11321132    } 
    11331133 
     
    12981298 
    12991299    BM() : yrv(), dimy ( 0 ), rvc(), dimc ( 0 ), ll ( 0 ), evalll ( true ) { }; 
    1300     //  BM ( const BM &B ) :  yrv ( B.yrv ), dimy(B.dimy), rvc ( B.rvc ),dimc(B.dimc), ll ( B.ll ), evalll ( B.evalll ) {} 
     1300    //    BM ( const BM &B ) :  yrv ( B.yrv ), dimy(B.dimy), rvc ( B.rvc ),dimc(B.dimc), ll ( B.ll ), evalll ( B.evalll ) {} 
    13011301    //! \brief Copy function required in vectors, Arrays of BM etc. Have to be DELETED manually! 
    13021302    //! Prototype: \code BM* _copy() const {return new BM(*this);} \endcode