Changeset 613 for library/bdm/stat/exp_family.h
- Timestamp:
- 09/13/09 23:14:31 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/stat/exp_family.h
r612 r613 561 561 bdm_assert_debug (A0.rows() == mu0.length(), "mlnorm: A vs. mu mismatch"); 562 562 bdm_assert_debug (A0.rows() == R0.rows(), "mlnorm: A vs. R mismatch"); 563 563 564 564 this->iepdf.set_parameters (zeros (A0.rows()), R0); 565 565 A = A0; … … 684 684 //! constructor function 685 685 void set_parameters (const mat &A0, const vec &mu0, const ldmat &R0, const ldmat& Lambda0) { 686 bdm_assert_debug (A0.rows() == mu0.length(), "mlstudent: A vs. mu mismatch");687 bdm_assert_debug (R0.rows() == A0.rows(), "mlstudent: A vs. R mismatch");688 689 686 iepdf.set_parameters (mu0, R0);// was Lambda, why? 690 687 A = A0; … … 706 703 }; 707 704 705 void validate() { 706 bdm_assert_debug (A.rows() == mu_const.length(), "mlstudent: A vs. mu mismatch"); 707 bdm_assert_debug (_R.rows() == A.rows(), "mlstudent: A vs. R mismatch"); 708 709 } 708 710 }; 709 711 /*!