Show
Ignore:
Timestamp:
09/13/09 23:14:31 (15 years ago)
Author:
smidl
Message:

documentation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/stat/exp_family.h

    r612 r613  
    561561                        bdm_assert_debug (A0.rows() == mu0.length(), "mlnorm: A vs. mu mismatch"); 
    562562                        bdm_assert_debug (A0.rows() == R0.rows(), "mlnorm: A vs. R mismatch"); 
    563  
     563                         
    564564                        this->iepdf.set_parameters (zeros (A0.rows()), R0); 
    565565                        A = A0; 
     
    684684                //! constructor function 
    685685                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  
    689686                        iepdf.set_parameters (mu0, R0);// was Lambda, why? 
    690687                        A = A0; 
     
    706703                }; 
    707704 
     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                } 
    708710}; 
    709711/*!