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: work/mixpp/libBM.h Source File</title> |
---|
4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.5.3 --> |
---|
8 | <div class="tabs"> |
---|
9 | <ul> |
---|
10 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
11 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
12 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
13 | </ul> |
---|
14 | </div> |
---|
15 | <h1>work/mixpp/libBM.h</h1><a href="libBM_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
---|
16 | <a name="l00013"></a>00013 <span class="preprocessor">#ifndef BM_H</span> |
---|
17 | <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define BM_H</span> |
---|
18 | <a name="l00015"></a>00015 <span class="preprocessor"></span> |
---|
19 | <a name="l00016"></a>00016 <span class="preprocessor">#include <itpp/itbase.h></span> |
---|
20 | <a name="l00017"></a>00017 <span class="comment">//#include <std></span> |
---|
21 | <a name="l00018"></a>00018 |
---|
22 | <a name="l00019"></a>00019 <span class="keyword">using namespace </span>itpp; |
---|
23 | <a name="l00020"></a>00020 |
---|
24 | <a name="l00021"></a>00021 <span class="keyword">class </span>RV { |
---|
25 | <a name="l00022"></a>00022 <span class="keywordtype">int</span> len; |
---|
26 | <a name="l00023"></a>00023 ivec ids; |
---|
27 | <a name="l00024"></a>00024 ivec sizes; |
---|
28 | <a name="l00025"></a>00025 ivec times; |
---|
29 | <a name="l00026"></a>00026 ivec obs; |
---|
30 | <a name="l00027"></a>00027 Array<std::string> names; |
---|
31 | <a name="l00028"></a>00028 |
---|
32 | <a name="l00029"></a>00029 <span class="keyword">public</span>: |
---|
33 | <a name="l00031"></a>00031 RV(ivec in_ids, Array<std::string> in_names, ivec in_sizes, ivec in_times, ivec in_obs); |
---|
34 | <a name="l00033"></a>00033 RV(ivec ids); |
---|
35 | <a name="l00034"></a>00034 <span class="keyword">friend</span> std::ostream &operator<<(std::ostream &os, <span class="keyword">const</span> RV &rv); |
---|
36 | <a name="l00035"></a>00035 }; |
---|
37 | <a name="l00036"></a>00036 |
---|
38 | <a name="l00037"></a>00037 |
---|
39 | <a name="l00038"></a>00038 |
---|
40 | <a name="l00039"></a>00039 |
---|
41 | <a name="l00041"></a><a class="code" href="classfnc.html">00041</a> <span class="keyword">class </span><a class="code" href="classfnc.html" title="Class representing function of variables.">fnc</a> { |
---|
42 | <a name="l00042"></a>00042 RV rv; |
---|
43 | <a name="l00043"></a>00043 }; |
---|
44 | <a name="l00044"></a>00044 |
---|
45 | <a name="l00045"></a>00045 |
---|
46 | <a name="l00046"></a>00046 <span class="keyword">class </span>BM { |
---|
47 | <a name="l00047"></a>00047 <span class="keyword">public</span>: |
---|
48 | <a name="l00049"></a>00049 <span class="keywordtype">void</span> bayes(vec dt); |
---|
49 | <a name="l00051"></a>00051 <span class="keyword">virtual</span> <span class="keywordtype">void</span> bayes(mat Dt); |
---|
50 | <a name="l00052"></a>00052 }; |
---|
51 | <a name="l00053"></a>00053 |
---|
52 | <a name="l00054"></a>00054 <span class="keyword">class </span>epdf { |
---|
53 | <a name="l00055"></a>00055 RV rv; |
---|
54 | <a name="l00056"></a>00056 <span class="keyword">public</span>: |
---|
55 | <a name="l00058"></a>00058 <span class="keyword">virtual</span> vec moment(<span class="keyword">const</span> <span class="keywordtype">int</span> order = 1); |
---|
56 | <a name="l00059"></a>00059 }; |
---|
57 | <a name="l00060"></a>00060 |
---|
58 | <a name="l00061"></a>00061 <span class="keyword">class </span>mpdf { |
---|
59 | <a name="l00063"></a>00063 RV rv; |
---|
60 | <a name="l00065"></a>00065 RV rvc; |
---|
61 | <a name="l00066"></a>00066 <span class="keyword">public</span>: |
---|
62 | <a name="l00067"></a>00067 |
---|
63 | <a name="l00069"></a>00069 <span class="keyword">virtual</span> <a class="code" href="classfnc.html" title="Class representing function of variables.">fnc</a> moment(<span class="keyword">const</span> <span class="keywordtype">int</span> order = 1); |
---|
64 | <a name="l00070"></a>00070 }; |
---|
65 | <a name="l00071"></a>00071 |
---|
66 | <a name="l00072"></a>00072 <span class="preprocessor">#endif // BM_H</span> |
---|
67 | </pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 17 17:26:44 2008 for mixpp by |
---|
68 | <a href="http://www.doxygen.org/index.html"> |
---|
69 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
---|
70 | </body> |
---|
71 | </html> |
---|