1 | <?xml version='1.0' encoding='UTF-8' standalone='no'?> |
---|
2 | <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6"> |
---|
3 | <compounddef id="merger__test_8cpp" kind="file"> |
---|
4 | <compoundname>merger_test.cpp</compoundname> |
---|
5 | <includes local="no">itpp/itbase.h</includes> |
---|
6 | <includes refid="libEF_8h" local="no">stat/libEF.h</includes> |
---|
7 | <includes refid="merger_8h" local="no">stat/merger.h</includes> |
---|
8 | <incdepgraph> |
---|
9 | <node id="842"> |
---|
10 | <label>libBM.h</label> |
---|
11 | <link refid="libBM_8h"/> |
---|
12 | <childnode refid="839" relation="include"> |
---|
13 | </childnode> |
---|
14 | </node> |
---|
15 | <node id="844"> |
---|
16 | <label>stat/merger.h</label> |
---|
17 | <link refid="merger_8h"/> |
---|
18 | <childnode refid="839" relation="include"> |
---|
19 | </childnode> |
---|
20 | <childnode refid="842" relation="include"> |
---|
21 | </childnode> |
---|
22 | <childnode refid="840" relation="include"> |
---|
23 | </childnode> |
---|
24 | <childnode refid="845" relation="include"> |
---|
25 | </childnode> |
---|
26 | </node> |
---|
27 | <node id="845"> |
---|
28 | <label>emix.h</label> |
---|
29 | <link refid="emix_8h"/> |
---|
30 | <childnode refid="842" relation="include"> |
---|
31 | </childnode> |
---|
32 | <childnode refid="840" relation="include"> |
---|
33 | </childnode> |
---|
34 | </node> |
---|
35 | <node id="843"> |
---|
36 | <label>../itpp_ext.h</label> |
---|
37 | <link refid="itpp__ext_8h-source"/> |
---|
38 | <childnode refid="839" relation="include"> |
---|
39 | </childnode> |
---|
40 | </node> |
---|
41 | <node id="840"> |
---|
42 | <label>stat/libEF.h</label> |
---|
43 | <link refid="libEF_8h"/> |
---|
44 | <childnode refid="839" relation="include"> |
---|
45 | </childnode> |
---|
46 | <childnode refid="841" relation="include"> |
---|
47 | </childnode> |
---|
48 | <childnode refid="842" relation="include"> |
---|
49 | </childnode> |
---|
50 | <childnode refid="843" relation="include"> |
---|
51 | </childnode> |
---|
52 | </node> |
---|
53 | <node id="839"> |
---|
54 | <label>itpp/itbase.h</label> |
---|
55 | </node> |
---|
56 | <node id="838"> |
---|
57 | <label>work/git/mixpp/tests/merger_test.cpp</label> |
---|
58 | <link refid="merger_test.cpp"/> |
---|
59 | <childnode refid="839" relation="include"> |
---|
60 | </childnode> |
---|
61 | <childnode refid="840" relation="include"> |
---|
62 | </childnode> |
---|
63 | <childnode refid="844" relation="include"> |
---|
64 | </childnode> |
---|
65 | </node> |
---|
66 | <node id="841"> |
---|
67 | <label>../math/libDC.h</label> |
---|
68 | <link refid="libDC_8h"/> |
---|
69 | <childnode refid="839" relation="include"> |
---|
70 | </childnode> |
---|
71 | </node> |
---|
72 | </incdepgraph> |
---|
73 | <sectiondef kind="func"> |
---|
74 | <memberdef kind="function" id="merger__test_8cpp_1e66f6b31b5ad750f1fe042a706a4e3d4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
75 | <type>int</type> |
---|
76 | <definition>int main</definition> |
---|
77 | <argsstring>()</argsstring> |
---|
78 | <name>main</name> |
---|
79 | <briefdescription> |
---|
80 | </briefdescription> |
---|
81 | <detaileddescription> |
---|
82 | </detaileddescription> |
---|
83 | <inbodydescription> |
---|
84 | </inbodydescription> |
---|
85 | <location file="/home/smidl/work/git/mixpp/tests/merger_test.cpp" line="11" bodyfile="/home/smidl/work/git/mixpp/tests/merger_test.cpp" bodystart="11" bodyend="32"/> |
---|
86 | </memberdef> |
---|
87 | </sectiondef> |
---|
88 | <briefdescription> |
---|
89 | </briefdescription> |
---|
90 | <detaileddescription> |
---|
91 | </detaileddescription> |
---|
92 | <programlisting> |
---|
93 | <codeline lineno="1"><highlight class="preprocessor">#include<sp/><itpp/itbase.h></highlight><highlight class="normal"></highlight></codeline> |
---|
94 | <codeline lineno="2"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="libEF_8h" kindref="compound" tooltip="Probability distributions for Exponential Family models.">stat/libEF.h</ref>></highlight><highlight class="normal"></highlight></codeline> |
---|
95 | <codeline lineno="3"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="merger_8h" kindref="compound" tooltip="Mergers for combination of pdfs.">stat/merger.h</ref>></highlight><highlight class="normal"></highlight></codeline> |
---|
96 | <codeline lineno="4"><highlight class="normal"></highlight></codeline> |
---|
97 | <codeline lineno="5"><highlight class="normal"></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal">itpp;</highlight></codeline> |
---|
98 | <codeline lineno="6"><highlight class="normal"></highlight></codeline> |
---|
99 | <codeline lineno="7"><highlight class="normal"></highlight><highlight class="comment">//These<sp/>lines<sp/>are<sp/>needed<sp/>for<sp/>use<sp/>of<sp/>cout<sp/>and<sp/>endl</highlight><highlight class="normal"></highlight></codeline> |
---|
100 | <codeline lineno="8"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>std::cout;</highlight></codeline> |
---|
101 | <codeline lineno="9"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>std::endl;</highlight></codeline> |
---|
102 | <codeline lineno="10"><highlight class="normal"></highlight></codeline> |
---|
103 | <codeline lineno="11"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="sim__var_8cpp_1e66f6b31b5ad750f1fe042a706a4e3d4" kindref="member" tooltip="Extended Kalman filter with unknown Q.">main</ref>()<sp/>{</highlight></codeline> |
---|
104 | <codeline lineno="12"><highlight class="normal"></highlight></codeline> |
---|
105 | <codeline lineno="13"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>x(</highlight><highlight class="stringliteral">"{x<sp/>}"</highlight><highlight class="normal">,</highlight><highlight class="stringliteral">"1"</highlight><highlight class="normal">);</highlight></codeline> |
---|
106 | <codeline lineno="14"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>y(</highlight><highlight class="stringliteral">"{y<sp/>}"</highlight><highlight class="normal">,</highlight><highlight class="stringliteral">"1"</highlight><highlight class="normal">);</highlight></codeline> |
---|
107 | <codeline lineno="15"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>z(</highlight><highlight class="stringliteral">"{z<sp/>}"</highlight><highlight class="normal">,</highlight><highlight class="stringliteral">"1"</highlight><highlight class="normal">);</highlight></codeline> |
---|
108 | <codeline lineno="16"><highlight class="normal"></highlight></codeline> |
---|
109 | <codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classmlnorm" kindref="compound" tooltip="Normal distributed linear function with linear function of mean value;.">mlnorm<fsqmat></ref><sp/>fx(x,z);</highlight></codeline> |
---|
110 | <codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classmlnorm" kindref="compound" tooltip="Normal distributed linear function with linear function of mean value;.">mlnorm<fsqmat></ref><sp/>fy(y,z);</highlight></codeline> |
---|
111 | <codeline lineno="19"><highlight class="normal"></highlight></codeline> |
---|
112 | <codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>fx.set_parameters(</highlight><highlight class="stringliteral">"1.5"</highlight><highlight class="normal">,mat(</highlight><highlight class="stringliteral">"1"</highlight><highlight class="normal">));</highlight></codeline> |
---|
113 | <codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>fy.set_parameters(</highlight><highlight class="stringliteral">"1.3"</highlight><highlight class="normal">,mat(</highlight><highlight class="stringliteral">"2"</highlight><highlight class="normal">));</highlight></codeline> |
---|
114 | <codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
115 | <codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Array<mpdf*<sp/>><sp/>A(2);<sp/></highlight></codeline> |
---|
116 | <codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>A(0)=&fx;</highlight></codeline> |
---|
117 | <codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>A(1)=&fy;</highlight></codeline> |
---|
118 | <codeline lineno="26"><highlight class="normal"></highlight></codeline> |
---|
119 | <codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classmerger" kindref="compound" tooltip="Function for general combination of pdfs.">merger</ref><sp/>M(A);</highlight></codeline> |
---|
120 | <codeline lineno="28"><highlight class="normal"></highlight></codeline> |
---|
121 | <codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Exit<sp/>program:</highlight><highlight class="normal"></highlight></codeline> |
---|
122 | <codeline lineno="30"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline> |
---|
123 | <codeline lineno="31"><highlight class="normal"></highlight></codeline> |
---|
124 | <codeline lineno="32"><highlight class="normal">}</highlight></codeline> |
---|
125 | <codeline lineno="33"><highlight class="normal"></highlight></codeline> |
---|
126 | </programlisting> |
---|
127 | <location file="/home/smidl/work/git/mixpp/tests/merger_test.cpp"/> |
---|
128 | </compounddef> |
---|
129 | </doxygen> |
---|