[353] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 3 | <title>mixpp: mog_diag.h Source File</title> |
---|
| 4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
| 5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 6 | </head><body> |
---|
| 7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
| 8 | <script type="text/javascript"> |
---|
| 9 | <!-- |
---|
| 10 | function changeDisplayState (e){ |
---|
| 11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
| 12 | var button=this.firstChild; |
---|
| 13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
| 14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
| 15 | sectionDiv.style.display='block'; |
---|
| 16 | button.src='open.gif'; |
---|
| 17 | }else{ |
---|
| 18 | sectionDiv.style.display='none'; |
---|
| 19 | button.src='closed.gif'; |
---|
| 20 | } |
---|
| 21 | } |
---|
| 22 | function initDynSections(){ |
---|
| 23 | var divs=document.getElementsByTagName('div'); |
---|
| 24 | var sectionCounter=1; |
---|
| 25 | for(var i=0;i<divs.length-1;i++){ |
---|
| 26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
| 27 | var header=divs[i]; |
---|
| 28 | var section=divs[i+1]; |
---|
| 29 | var button=header.firstChild; |
---|
| 30 | if (button!='IMG'){ |
---|
| 31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
| 32 | button=document.createElement('img'); |
---|
| 33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
| 34 | } |
---|
| 35 | header.style.cursor='pointer'; |
---|
| 36 | header.onclick=changeDisplayState; |
---|
| 37 | header.id='dynheader'+sectionCounter; |
---|
| 38 | button.src='closed.gif'; |
---|
| 39 | section.id='dynsection'+sectionCounter; |
---|
| 40 | section.style.display='none'; |
---|
| 41 | section.style.marginLeft='14px'; |
---|
| 42 | sectionCounter++; |
---|
| 43 | } |
---|
| 44 | } |
---|
| 45 | } |
---|
| 46 | window.onload = initDynSections; |
---|
| 47 | --> |
---|
| 48 | </script> |
---|
| 49 | <div class="navigation" id="top"> |
---|
| 50 | <div class="tabs"> |
---|
| 51 | <ul> |
---|
| 52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
| 53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
| 54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
| 55 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 56 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
| 57 | </ul> |
---|
| 58 | </div> |
---|
| 59 | <div class="tabs"> |
---|
| 60 | <ul> |
---|
| 61 | <li><a href="files.html"><span>File List</span></a></li> |
---|
| 62 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
| 63 | </ul> |
---|
| 64 | </div> |
---|
| 65 | <h1>mog_diag.h</h1><a href="mog__diag_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
---|
| 66 | <a name="l00029"></a>00029 <span class="preprocessor">#ifndef MOG_DIAG_H</span> |
---|
| 67 | <a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#define MOG_DIAG_H</span> |
---|
| 68 | <a name="l00031"></a>00031 <span class="preprocessor"></span> |
---|
| 69 | <a name="l00032"></a>00032 <span class="preprocessor">#include <<a class="code" href="mog__generic_8h.html" title="Generic Mixture of Gaussians (MOG) class - header file.">itpp/stat/mog_generic.h</a>></span> |
---|
| 70 | <a name="l00033"></a>00033 |
---|
| 71 | <a name="l00034"></a>00034 |
---|
| 72 | <a name="l00035"></a>00035 <span class="keyword">namespace </span>itpp |
---|
| 73 | <a name="l00036"></a>00036 { |
---|
| 74 | <a name="l00037"></a>00037 |
---|
| 75 | <a name="l00054"></a><a class="code" href="classitpp_1_1MOG__diag.html">00054</a> <span class="keyword">class </span><a class="code" href="classitpp_1_1MOG__diag.html" title="Diagonal Mixture of Gaussians (MOG) class.">MOG_diag</a> : <span class="keyword">public</span> <a class="code" href="classitpp_1_1MOG__generic.html" title="Generic Mixture of Gaussians (MOG) class. Used as a base for other MOG classes.">MOG_generic</a> |
---|
| 76 | <a name="l00055"></a>00055 { |
---|
| 77 | <a name="l00056"></a>00056 |
---|
| 78 | <a name="l00057"></a>00057 <span class="keyword">public</span>: |
---|
| 79 | <a name="l00058"></a>00058 |
---|
| 80 | <a name="l00064"></a><a class="code" href="classitpp_1_1MOG__diag.html#1482b9cf97d70dec7d464397abfb746c">00064</a> <a class="code" href="classitpp_1_1MOG__diag.html#1482b9cf97d70dec7d464397abfb746c" title="Default constructor.">MOG_diag</a>() { <a class="code" href="classitpp_1_1MOG__diag.html#bb3ff3e8b580c619b78a52912547095f" title="ADD DOCUMENTATION HERE.">zero_all_ptrs</a>(); <a class="code" href="classitpp_1_1MOG__generic.html#331210d0a4ebfbab47d1ba64c8033879" title="Initialise the model to be empty.">init</a>(); } |
---|
| 81 | <a name="l00065"></a>00065 |
---|
| 82 | <a name="l00069"></a><a class="code" href="classitpp_1_1MOG__diag.html#8938e294ab0280484dffd7d1e969ccff">00069</a> <a class="code" href="classitpp_1_1MOG__diag.html#8938e294ab0280484dffd7d1e969ccff" title="Construct the MOG_diag object by loading the parameters from a model file.">MOG_diag</a>(<span class="keyword">const</span> std::string &name) { <a class="code" href="classitpp_1_1MOG__diag.html#bb3ff3e8b580c619b78a52912547095f" title="ADD DOCUMENTATION HERE.">zero_all_ptrs</a>(); <a class="code" href="classitpp_1_1MOG__diag.html#655176beb0593c93853c25cbe889ab4d" title="Initialise the model by loading the parameters from a model file.">load</a>(name); } |
---|
| 83 | <a name="l00070"></a>00070 |
---|
| 84 | <a name="l00076"></a><a class="code" href="classitpp_1_1MOG__diag.html#d7c6aa327b506c130059ca32d4cf4118">00076</a> <a class="code" href="classitpp_1_1MOG__diag.html#d7c6aa327b506c130059ca32d4cf4118" title="construct a default model (all Gaussians have zero mean and unit variance for all...">MOG_diag</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &K_in, <span class="keyword">const</span> <span class="keywordtype">int</span> &D_in, <span class="keywordtype">bool</span> full_in = <span class="keyword">false</span>) { <a class="code" href="classitpp_1_1MOG__diag.html#bb3ff3e8b580c619b78a52912547095f" title="ADD DOCUMENTATION HERE.">zero_all_ptrs</a>(); <a class="code" href="classitpp_1_1MOG__generic.html#331210d0a4ebfbab47d1ba64c8033879" title="Initialise the model to be empty.">init</a>(K_in, D_in, full_in); } |
---|
| 85 | <a name="l00077"></a>00077 |
---|
| 86 | <a name="l00084"></a><a class="code" href="classitpp_1_1MOG__diag.html#4a01243572dc4dd3d599ce2c6a6b2b11">00084</a> <a class="code" href="classitpp_1_1MOG__diag.html#4a01243572dc4dd3d599ce2c6a6b2b11" title="Construct a model using user supplied mean vectors.">MOG_diag</a>(<a class="code" href="classitpp_1_1Array.html">Array<vec></a> &means_in, <span class="keywordtype">bool</span>) { <a class="code" href="classitpp_1_1MOG__diag.html#bb3ff3e8b580c619b78a52912547095f" title="ADD DOCUMENTATION HERE.">zero_all_ptrs</a>(); <a class="code" href="classitpp_1_1MOG__generic.html#331210d0a4ebfbab47d1ba64c8033879" title="Initialise the model to be empty.">init</a>(means_in, <span class="keyword">false</span>); } |
---|
| 87 | <a name="l00085"></a>00085 |
---|
| 88 | <a name="l00092"></a><a class="code" href="classitpp_1_1MOG__diag.html#0dc932131e6b3ce94b3f5d7ff50b5019">00092</a> <a class="code" href="classitpp_1_1MOG__diag.html#0dc932131e6b3ce94b3f5d7ff50b5019" title="Construct a model using user supplied parameters (diagonal covariance version).">MOG_diag</a>(<a class="code" href="classitpp_1_1Array.html">Array<vec></a> &means_in, <a class="code" href="classitpp_1_1Array.html">Array<vec></a> &diag_covs_in, vec &weights_in) { <a class="code" href="classitpp_1_1MOG__diag.html#bb3ff3e8b580c619b78a52912547095f" title="ADD DOCUMENTATION HERE.">zero_all_ptrs</a>(); <a class="code" href="classitpp_1_1MOG__generic.html#331210d0a4ebfbab47d1ba64c8033879" title="Initialise the model to be empty.">init</a>(means_in, diag_covs_in, weights_in); } |
---|
| 89 | <a name="l00093"></a>00093 |
---|
| 90 | <a name="l00101"></a><a class="code" href="classitpp_1_1MOG__diag.html#09da7ec63d9d025d452369a6f7b6e48d">00101</a> <a class="code" href="classitpp_1_1MOG__diag.html#09da7ec63d9d025d452369a6f7b6e48d" title="Construct a model using user supplied parameters (full covariance version).">MOG_diag</a>(<a class="code" href="classitpp_1_1Array.html">Array<vec></a> &means_in, <a class="code" href="classitpp_1_1Array.html">Array<mat></a> &full_covs_in, vec &weights_in) { <a class="code" href="classitpp_1_1MOG__diag.html#bb3ff3e8b580c619b78a52912547095f" title="ADD DOCUMENTATION HERE.">zero_all_ptrs</a>(); <a class="code" href="classitpp_1_1MOG__generic.html#331210d0a4ebfbab47d1ba64c8033879" title="Initialise the model to be empty.">init</a>(means_in, full_covs_in, weights_in); <a class="code" href="classitpp_1_1MOG__generic.html#3bf2b05e3069a3d0082e372dc455bd9d" title="Convert the model to use diagonal covariances.">convert_to_diag</a>(); } |
---|
| 91 | <a name="l00102"></a>00102 |
---|
| 92 | <a name="l00104"></a><a class="code" href="classitpp_1_1MOG__diag.html#0819b23dfbee0451223fbc21ad20fa02">00104</a> <a class="code" href="classitpp_1_1MOG__diag.html#0819b23dfbee0451223fbc21ad20fa02" title="Default destructor.">~MOG_diag</a>() { <a class="code" href="classitpp_1_1MOG__diag.html#d22e7816dfb21d6e557d9ab3285f6a82" title="Release memory used by the model. The model will be empty.">cleanup</a>(); } |
---|
| 93 | <a name="l00105"></a>00105 |
---|
| 94 | <a name="l00110"></a><a class="code" href="classitpp_1_1MOG__diag.html#d22e7816dfb21d6e557d9ab3285f6a82">00110</a> <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1MOG__diag.html#d22e7816dfb21d6e557d9ab3285f6a82" title="Release memory used by the model. The model will be empty.">cleanup</a>() { <a class="code" href="classitpp_1_1MOG__diag.html#de7b331ff27b48d5cc1545466b201236" title="ADD DOCUMENTATION HERE.">free_all_ptrs</a>(); <a class="code" href="classitpp_1_1MOG__diag.html#d22e7816dfb21d6e557d9ab3285f6a82" title="Release memory used by the model. The model will be empty.">MOG_generic::cleanup</a>(); } |
---|
| 95 | <a name="l00111"></a>00111 |
---|
| 96 | <a name="l00117"></a>00117 <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1MOG__diag.html#655176beb0593c93853c25cbe889ab4d" title="Initialise the model by loading the parameters from a model file.">load</a>(<span class="keyword">const</span> std::string &name_in); |
---|
| 97 | <a name="l00118"></a>00118 |
---|
| 98 | <a name="l00120"></a><a class="code" href="classitpp_1_1MOG__diag.html#8d9e508bc4d26eee3c198748ea78530a">00120</a> <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1MOG__diag.html#8d9e508bc4d26eee3c198748ea78530a" title="Do nothing. Present for compatability with the MOG_generic class.">convert_to_full</a>() {}; |
---|
| 99 | <a name="l00121"></a>00121 |
---|
| 100 | <a name="l00123"></a>00123 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#ba1e16ff70ebd9ebcfc8a8579a63b488" title="calculate the log likelihood of C vector c_x_in using only Gaussian k ">log_lhood_single_gaus</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> * c_x_in, <span class="keyword">const</span> <span class="keywordtype">int</span> k) <span class="keyword">const</span>; |
---|
| 101 | <a name="l00124"></a>00124 |
---|
| 102 | <a name="l00126"></a>00126 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#ba1e16ff70ebd9ebcfc8a8579a63b488" title="calculate the log likelihood of C vector c_x_in using only Gaussian k ">log_lhood_single_gaus</a>(<span class="keyword">const</span> vec &x_in, <span class="keyword">const</span> <span class="keywordtype">int</span> k) <span class="keyword">const</span>; |
---|
| 103 | <a name="l00127"></a>00127 |
---|
| 104 | <a name="l00129"></a>00129 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#39c98a5a5d5f26dab36eaf19c2359fc5" title="calculate the log likelihood of C vector c_x_in ">log_lhood</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> * c_x_in); |
---|
| 105 | <a name="l00130"></a>00130 |
---|
| 106 | <a name="l00132"></a>00132 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#39c98a5a5d5f26dab36eaf19c2359fc5" title="calculate the log likelihood of C vector c_x_in ">log_lhood</a>(<span class="keyword">const</span> vec &x_in); |
---|
| 107 | <a name="l00133"></a>00133 |
---|
| 108 | <a name="l00135"></a>00135 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#e09fa2a5703892481688342d8d91fb7e" title="calculate the likelihood of C vector c_x_in ">lhood</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> * c_x_in); |
---|
| 109 | <a name="l00136"></a>00136 |
---|
| 110 | <a name="l00138"></a>00138 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#e09fa2a5703892481688342d8d91fb7e" title="calculate the likelihood of C vector c_x_in ">lhood</a>(<span class="keyword">const</span> vec &x_in); |
---|
| 111 | <a name="l00139"></a>00139 |
---|
| 112 | <a name="l00141"></a>00141 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#79cd26f7bb9c6503c939fe4d000e0fd9" title="calculate the average log likelihood of an array of C vectors ( c_x_in )">avg_log_lhood</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> ** c_x_in, <span class="keywordtype">int</span> N); |
---|
| 113 | <a name="l00142"></a>00142 |
---|
| 114 | <a name="l00144"></a>00144 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#79cd26f7bb9c6503c939fe4d000e0fd9" title="calculate the average log likelihood of an array of C vectors ( c_x_in )">avg_log_lhood</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html">Array<vec></a> & X_in); |
---|
| 115 | <a name="l00145"></a>00145 |
---|
| 116 | <a name="l00146"></a>00146 <span class="keyword">protected</span>: |
---|
| 117 | <a name="l00147"></a>00147 |
---|
| 118 | <a name="l00148"></a>00148 <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1MOG__diag.html#06a0cc706fe1edb31dda4c4dd81a9808" title="additional processing of mean vectors, done as the last step of mean initialisation...">setup_means</a>(); |
---|
| 119 | <a name="l00149"></a>00149 <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1MOG__diag.html#d26c089ab1b0c3f8c74e1118c0e3e8ca" title="additional processing of covariance vectors/matrices, done as the last step of covariance...">setup_covs</a>(); |
---|
| 120 | <a name="l00150"></a>00150 <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1MOG__diag.html#1bcf27e15f218d0392c36f67746a5edc" title="additional processing of the weight vector, done as the last step of weight initialisation...">setup_weights</a>(); |
---|
| 121 | <a name="l00151"></a>00151 <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1MOG__diag.html#10c139e8d57e71b6cfc33e01927c6a9c" title="additional processing of miscellaneous parameters, done as the last step of overall...">setup_misc</a>(); |
---|
| 122 | <a name="l00152"></a>00152 |
---|
| 123 | <a name="l00154"></a>00154 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#738f0d6e45ce40b867193df296276873" title="ADD DOCUMENTATION HERE.">log_lhood_single_gaus_internal</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> * c_x_in, <span class="keyword">const</span> <span class="keywordtype">int</span> k) <span class="keyword">const</span>; |
---|
| 124 | <a name="l00156"></a>00156 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#738f0d6e45ce40b867193df296276873" title="ADD DOCUMENTATION HERE.">log_lhood_single_gaus_internal</a>(<span class="keyword">const</span> vec &x_in, <span class="keyword">const</span> <span class="keywordtype">int</span> k) <span class="keyword">const</span>; |
---|
| 125 | <a name="l00158"></a>00158 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#98e2cb2f4a34cf120eb64d5451b2fb68" title="ADD DOCUMENTATION HERE.">log_lhood_internal</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> * c_x_in); |
---|
| 126 | <a name="l00160"></a>00160 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#98e2cb2f4a34cf120eb64d5451b2fb68" title="ADD DOCUMENTATION HERE.">log_lhood_internal</a>(<span class="keyword">const</span> vec &x_in); |
---|
| 127 | <a name="l00162"></a>00162 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#92d78e87ed23ab978dfda2ad497634f3" title="ADD DOCUMENTATION HERE.">lhood_internal</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> * c_x_in); |
---|
| 128 | <a name="l00164"></a>00164 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1MOG__diag.html#92d78e87ed23ab978dfda2ad497634f3" title="ADD DOCUMENTATION HERE.">lhood_internal</a>(<span class="keyword">const</span> vec &x_in); |
---|
| 129 | <a name="l00165"></a>00165 |
---|
| 130 | <a name="l00167"></a>00167 <span class="keywordtype">double</span> ** <a class="code" href="classitpp_1_1MOG__diag.html#cae6c63ae036a9f0ecc3dae5b2507841" title="Enable C style access to an Array of vectors (vec).">enable_c_access</a>(<a class="code" href="classitpp_1_1Array.html">Array<vec></a> & A_in); |
---|
| 131 | <a name="l00168"></a>00168 |
---|
| 132 | <a name="l00170"></a>00170 <span class="keywordtype">int</span> ** <a class="code" href="classitpp_1_1MOG__diag.html#cae6c63ae036a9f0ecc3dae5b2507841" title="Enable C style access to an Array of vectors (vec).">enable_c_access</a>(<a class="code" href="classitpp_1_1Array.html">Array<ivec></a> & A_in); |
---|
| 133 | <a name="l00171"></a>00171 |
---|
| 134 | <a name="l00173"></a>00173 <span class="keywordtype">double</span> * <a class="code" href="classitpp_1_1MOG__diag.html#cae6c63ae036a9f0ecc3dae5b2507841" title="Enable C style access to an Array of vectors (vec).">enable_c_access</a>(vec & v_in); |
---|
| 135 | <a name="l00174"></a>00174 |
---|
| 136 | <a name="l00176"></a>00176 <span class="keywordtype">int</span> * <a class="code" href="classitpp_1_1MOG__diag.html#cae6c63ae036a9f0ecc3dae5b2507841" title="Enable C style access to an Array of vectors (vec).">enable_c_access</a>(ivec & v_in); |
---|
| 137 | <a name="l00177"></a>00177 |
---|
| 138 | <a name="l00179"></a>00179 <span class="keywordtype">double</span> ** <a class="code" href="classitpp_1_1MOG__diag.html#c3955e3d8697217f1eb85d11c0aad88d" title="Disable C style access to an Array of vectors (vec).">disable_c_access</a>(<span class="keywordtype">double</span> ** A_in); |
---|
| 139 | <a name="l00180"></a>00180 |
---|
| 140 | <a name="l00182"></a>00182 <span class="keywordtype">int</span> ** <a class="code" href="classitpp_1_1MOG__diag.html#c3955e3d8697217f1eb85d11c0aad88d" title="Disable C style access to an Array of vectors (vec).">disable_c_access</a>(<span class="keywordtype">int</span> ** A_in); |
---|
| 141 | <a name="l00183"></a>00183 |
---|
| 142 | <a name="l00185"></a>00185 <span class="keywordtype">double</span> * <a class="code" href="classitpp_1_1MOG__diag.html#c3955e3d8697217f1eb85d11c0aad88d" title="Disable C style access to an Array of vectors (vec).">disable_c_access</a>(<span class="keywordtype">double</span> * v_in); |
---|
| 143 | <a name="l00186"></a>00186 |
---|
| 144 | <a name="l00188"></a>00188 <span class="keywordtype">int</span> * <a class="code" href="classitpp_1_1MOG__diag.html#c3955e3d8697217f1eb85d11c0aad88d" title="Disable C style access to an Array of vectors (vec).">disable_c_access</a>(<span class="keywordtype">int</span> * v_in); |
---|
| 145 | <a name="l00189"></a>00189 |
---|
| 146 | <a name="l00191"></a>00191 <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1MOG__diag.html#bb3ff3e8b580c619b78a52912547095f" title="ADD DOCUMENTATION HERE.">zero_all_ptrs</a>(); |
---|
| 147 | <a name="l00193"></a>00193 <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1MOG__diag.html#de7b331ff27b48d5cc1545466b201236" title="ADD DOCUMENTATION HERE.">free_all_ptrs</a>(); |
---|
| 148 | <a name="l00194"></a>00194 |
---|
| 149 | <a name="l00196"></a><a class="code" href="classitpp_1_1MOG__diag.html#bb8a22b9ee02908b00bb4030966d1158">00196</a> <span class="keywordtype">double</span> ** <a class="code" href="classitpp_1_1MOG__diag.html#bb8a22b9ee02908b00bb4030966d1158" title="pointers to the mean vectors">c_means</a>; |
---|
| 150 | <a name="l00197"></a>00197 |
---|
| 151 | <a name="l00199"></a><a class="code" href="classitpp_1_1MOG__diag.html#f03b14c3cd71023eecdba1a3e4da29e3">00199</a> <span class="keywordtype">double</span> ** <a class="code" href="classitpp_1_1MOG__diag.html#f03b14c3cd71023eecdba1a3e4da29e3" title="pointers to the covariance vectors">c_diag_covs</a>; |
---|
| 152 | <a name="l00200"></a>00200 |
---|
| 153 | <a name="l00202"></a><a class="code" href="classitpp_1_1MOG__diag.html#5587dc049fa3102add1301ac62cb2ddc">00202</a> <span class="keywordtype">double</span> ** <a class="code" href="classitpp_1_1MOG__diag.html#5587dc049fa3102add1301ac62cb2ddc" title="pointers to the inverted covariance vectors">c_diag_covs_inv_etc</a>; |
---|
| 154 | <a name="l00203"></a>00203 |
---|
| 155 | <a name="l00205"></a><a class="code" href="classitpp_1_1MOG__diag.html#ed5fc4b4a09d2b122f68e16a819ad9cf">00205</a> <span class="keywordtype">double</span> * <a class="code" href="classitpp_1_1MOG__diag.html#ed5fc4b4a09d2b122f68e16a819ad9cf" title="pointer to the weight vector">c_weights</a>; |
---|
| 156 | <a name="l00206"></a>00206 |
---|
| 157 | <a name="l00208"></a><a class="code" href="classitpp_1_1MOG__diag.html#dc7e67571386bd6975eccc937498c275">00208</a> <span class="keywordtype">double</span> * <a class="code" href="classitpp_1_1MOG__diag.html#dc7e67571386bd6975eccc937498c275" title="pointer to the log version of the weight vector">c_log_weights</a>; |
---|
| 158 | <a name="l00209"></a>00209 |
---|
| 159 | <a name="l00211"></a><a class="code" href="classitpp_1_1MOG__diag.html#d4b45af4a5552a31a97956f08c972bbe">00211</a> <span class="keywordtype">double</span> * <a class="code" href="classitpp_1_1MOG__diag.html#d4b45af4a5552a31a97956f08c972bbe" title="pointer to the log_det_etc vector">c_log_det_etc</a>; |
---|
| 160 | <a name="l00212"></a>00212 |
---|
| 161 | <a name="l00213"></a>00213 <span class="keyword">private</span>: |
---|
| 162 | <a name="l00214"></a>00214 |
---|
| 163 | <a name="l00215"></a>00215 vec tmpvecK; |
---|
| 164 | <a name="l00216"></a>00216 <span class="keywordtype">double</span> * c_tmpvecK; |
---|
| 165 | <a name="l00217"></a>00217 |
---|
| 166 | <a name="l00218"></a>00218 }; |
---|
| 167 | <a name="l00219"></a>00219 |
---|
| 168 | <a name="l00220"></a>00220 } |
---|
| 169 | <a name="l00221"></a>00221 |
---|
| 170 | <a name="l00222"></a>00222 <span class="preprocessor">#endif // #ifndef MOG_DIAG_H</span> |
---|
| 171 | <a name="l00223"></a>00223 <span class="preprocessor"></span> |
---|
| 172 | </pre></div></div> |
---|
| 173 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:12 2009 for mixpp by |
---|
| 174 | <a href="http://www.doxygen.org/index.html"> |
---|
| 175 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
| 176 | </body> |
---|
| 177 | </html> |
---|