73 | | <a name="l00019"></a>00019 ivec straux1(ldmat Ld, <span class="keywordtype">double</span> nu, ldmat Ld0, <span class="keywordtype">double</span> nu0, ivec belief, <span class="keywordtype">int</span> nbest, <span class="keywordtype">int</span> max_nrep, <span class="keywordtype">double</span> lambda, <span class="keywordtype">int</span> order_k, ivec &rgrsout); |
74 | | <a name="l00020"></a>00020 |
75 | | <a name="l00021"></a>00021 } |
76 | | <a name="l00022"></a>00022 |
77 | | <a name="l00023"></a>00023 <span class="preprocessor">#endif // STRAUX_H</span> |
78 | | <a name="l00024"></a>00024 <span class="preprocessor"></span> |
79 | | <a name="l00025"></a>00025 |
| 70 | <a name="l00018"></a>00018 |
| 71 | <a name="l00019"></a>00019 <span class="keyword">struct </span>str_aux { |
| 72 | <a name="l00020"></a>00020 vec d0; |
| 73 | <a name="l00021"></a>00021 <span class="keywordtype">double</span> nu0; |
| 74 | <a name="l00022"></a>00022 mat L0; |
| 75 | <a name="l00023"></a>00023 mat L; |
| 76 | <a name="l00024"></a>00024 vec d; |
| 77 | <a name="l00025"></a>00025 <span class="keywordtype">double</span> nu; |
| 78 | <a name="l00026"></a>00026 ivec strL; <span class="comment">// Current structure of L and d</span> |
| 79 | <a name="l00027"></a>00027 ivec strRgr; <span class="comment">// Structure elements currently inside regressor (after regressand)</span> |
| 80 | <a name="l00028"></a>00028 ivec strMis; <span class="comment">// structure elements, that are currently outside regressor (before regressand)</span> |
| 81 | <a name="l00029"></a>00029 <span class="keywordtype">int</span> posit1; <span class="comment">// regressand position</span> |
| 82 | <a name="l00030"></a>00030 <span class="keywordtype">int</span> nbits; <span class="comment">// number of bits available in double</span> |
| 83 | <a name="l00031"></a>00031 bvec bitstr; |
| 84 | <a name="l00032"></a>00032 <span class="keywordtype">double</span> loglik; <span class="comment">// loglikelihood</span> |
| 85 | <a name="l00033"></a>00033 }; |
| 86 | <a name="l00034"></a>00034 |
| 87 | <a name="l00035"></a>00035 |
| 88 | <a name="l00036"></a>00036 |
| 89 | <a name="l00037"></a>00037 <span class="keyword">struct </span>str_statistics { |
| 90 | <a name="l00038"></a>00038 <span class="keywordtype">long</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> allstrs; |
| 91 | <a name="l00039"></a>00039 <span class="keywordtype">int</span> nrand; |
| 92 | <a name="l00040"></a>00040 <span class="keywordtype">int</span> unique; |
| 93 | <a name="l00041"></a>00041 <span class="keywordtype">int</span> to; |
| 94 | <a name="l00042"></a>00042 <span class="keywordtype">double</span> cputime_seconds; |
| 95 | <a name="l00043"></a>00043 <span class="keywordtype">double</span> itemspeed; |
| 96 | <a name="l00044"></a>00044 <span class="keywordtype">int</span> muto; |
| 97 | <a name="l00045"></a>00045 ivec mutos; |
| 98 | <a name="l00046"></a>00046 vec maxmutos; |
| 99 | <a name="l00047"></a>00047 }; |
| 100 | <a name="l00048"></a>00048 |
| 101 | <a name="l00049"></a>00049 |
| 102 | <a name="l00051"></a>00051 ivec straux1(ldmat Ld, <span class="keywordtype">double</span> nu, ldmat Ld0, <span class="keywordtype">double</span> nu0, ivec belief, <span class="keywordtype">int</span> nbest, <span class="keywordtype">int</span> max_nrep, <span class="keywordtype">double</span> lambda, <span class="keywordtype">int</span> order_k, Array<str_aux> &rgrsout); |
| 103 | <a name="l00052"></a>00052 |
| 104 | <a name="l00053"></a>00053 } |
| 105 | <a name="l00054"></a>00054 |
| 106 | <a name="l00055"></a>00055 <span class="preprocessor">#endif // STRAUX_H</span> |
| 107 | <a name="l00056"></a>00056 <span class="preprocessor"></span> |
| 108 | <a name="l00057"></a>00057 |