Changeset 727 for library/bdm/stat
- Timestamp:
- 11/17/09 00:54:12 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/stat/exp_family.h
r725 r727 293 293 logrec->ids.set_length(2); 294 294 int th_dim=dimension()-dimx*(dimx+1)/2; 295 logrec->ids(0)=L.add (RV("",th_dim), prefix + logrec->L.prefix_sep() +"mean");296 logrec->ids(1)=L.add (RV("",th_dim*th_dim),prefix + logrec->L.prefix_sep() + "variance");295 logrec->ids(0)=L.add_vector(RV("",th_dim), prefix + logrec->L.prefix_sep() +"mean"); 296 logrec->ids(1)=L.add_vector(RV("",th_dim*th_dim),prefix + logrec->L.prefix_sep() + "variance"); 297 297 } else { 298 298 epdf::log_register(L,prefix); … … 305 305 ldmat Vz; 306 306 factorize(M,Vz,Lam); 307 logrec->L.log it(logrec->ids(0), est_theta() );308 logrec->L.log it(logrec->ids(1), cvectorize(est_theta_cov().to_mat()));307 logrec->L.log_vector(logrec->ids(0), est_theta() ); 308 logrec->L.log_vector(logrec->ids(1), cvectorize(est_theta_cov().to_mat())); 309 309 } else { 310 310 epdf::log_write();