Show
Ignore:
Timestamp:
10/01/09 17:55:03 (15 years ago)
Author:
mido
Message:

arx_straux od sarky

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/estim/arx_straux.h

    r606 r646  
    1616namespace bdm { 
    1717 
     18         
     19struct str_aux { 
     20        vec d0; 
     21        double nu0; 
     22        mat L0; 
     23        mat L; 
     24        vec d; 
     25        double nu; 
     26        ivec strL;                 // Current structure of L and d 
     27        ivec strRgr;               // Structure elements currently inside regressor (after regressand) 
     28        ivec strMis;               // structure elements, that are currently outside regressor (before regressand) 
     29        int posit1;                // regressand position 
     30        int nbits;                                 // number of bits available in double 
     31        bvec bitstr;  
     32        double loglik;          // loglikelihood 
     33  }; 
     34   
     35 
     36 
     37struct str_statistics { 
     38 long long int allstrs; 
     39 int nrand; 
     40 int unique; 
     41 int to; 
     42 double cputime_seconds; 
     43 double itemspeed; 
     44 int muto; 
     45 ivec mutos; 
     46 vec maxmutos; 
     47}; 
     48 
     49 
    1850        //! Rplication of Ludvik Tesar original straux1 from mixtools straux1 
    19 ivec straux1(ldmat Ld, double nu, ldmat Ld0, double nu0, ivec belief, int nbest, int max_nrep, double lambda, int order_k, ivec &rgrsout); 
     51ivec straux1(ldmat Ld, double nu, ldmat Ld0, double nu0, ivec belief, int nbest, int max_nrep, double lambda, int order_k, Array<str_aux> &rgrsout); 
    2052 
    2153}