Changeset 1000
- Timestamp:
- 05/27/10 00:30:09 (14 years ago)
- Location:
- library/bdm
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/estim/particles.h
r991 r1000 335 335 w = ones(n)/n; 336 336 } 337 shared_ptr<epdf> pri = UI::build<epdf>(set,"prior"); 338 set_prior(pri.get()); 337 339 // set resampling method 338 340 resmethod_from_set ( set ); -
library/bdm/stat/emix.cpp
r964 r1000 277 277 for ( int i = 0; i < no_factors(); i++ ) { 278 278 vec pom = factor ( i )->variance(); 279 dls ( i )->pushup ( tmp, po w ( pom, 2 ) );279 dls ( i )->pushup ( tmp, pom ); // 280 280 } 281 281 return tmp;