Changeset 118
- Timestamp:
- 05/27/08 11:00:39 (17 years ago)
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r113 r118 21 21 22 22 INCLUDE(\\win32\\local_paths.txt OPTIONAL) 23 ELSE IF(WIN32)23 ELSE() 24 24 #This is for UNIX makefile which does only one release at a time. 25 25 SET(CMAKE_BUILD_TYPE Debug) -
bdm/stat/libBM.h
r115 r118 167 167 // virtual fnc moment ( const int order = 1 ); 168 168 //! Returns a sample from the density conditioned on \c cond, \f$x \sim epdf(rv|cond)\f$. \param cond is numeric value of \c rv \param ll is a return value of log-likelihood of the sample. 169 virtual vec samplecond ( vec &cond, double &ll ) {this->condition ( cond );vec temp= ep->sample();ll=ep->evalpdflog ( temp );return temp;}; 169 virtual vec samplecond ( vec &cond, double &ll ) {this->condition ( cond ); 170 vec temp= ep->sample(); 171 ll=ep->evalpdflog ( temp );return temp;}; 170 172 //! Returns N samples from the density conditioned on \c cond, \f$x \sim epdf(rv|cond)\f$. \param cond is numeric value of \c rv \param ll is a return value of log-likelihood of the sample. 171 173 virtual mat samplecond ( vec &cond, vec &ll, int N ) {