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: OMpmsm Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
12 | <li><a href="files.html"><span>Files</span></a></li> |
---|
13 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
14 | </ul> |
---|
15 | </div> |
---|
16 | <div class="tabs"> |
---|
17 | <ul> |
---|
18 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
19 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
20 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
21 | </ul> |
---|
22 | </div> |
---|
23 | <h1>OMpmsm Class Reference</h1><!-- doxytag: class="OMpmsm" --><!-- doxytag: inherits="diffbifn" -->Observation model for PMSM drive and its derivative with respect to $x$. |
---|
24 | <a href="#_details">More...</a> |
---|
25 | <p> |
---|
26 | <code>#include <<a class="el" href="pmsm_8h-source.html">pmsm.h</a>></code> |
---|
27 | <p> |
---|
28 | <div class="dynheader"> |
---|
29 | Inheritance diagram for OMpmsm:</div> |
---|
30 | <div class="dynsection"> |
---|
31 | <p><center><img src="classOMpmsm__inherit__graph.png" border="0" usemap="#OMpmsm__inherit__map" alt="Inheritance graph"></center> |
---|
32 | <map name="OMpmsm__inherit__map"> |
---|
33 | <area shape="rect" href="classdiffbifn.html" title="Class representing a differentiable function of two variables $f(x,u)$." alt="" coords="15,84,81,111"><area shape="rect" href="classfnc.html" title="Class representing function $f(x)$ of variable $x$ represented by rv." alt="" coords="28,7,68,33"></map> |
---|
34 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
35 | <div class="dynheader"> |
---|
36 | Collaboration diagram for OMpmsm:</div> |
---|
37 | <div class="dynsection"> |
---|
38 | <p><center><img src="classOMpmsm__coll__graph.png" border="0" usemap="#OMpmsm__coll__map" alt="Collaboration graph"></center> |
---|
39 | <map name="OMpmsm__coll__map"> |
---|
40 | <area shape="rect" href="classdiffbifn.html" title="Class representing a differentiable function of two variables $f(x,u)$." alt="" coords="23,119,89,145"><area shape="rect" href="classfnc.html" title="Class representing function $f(x)$ of variable $x$ represented by rv." alt="" coords="5,7,45,33"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="69,7,107,33"><area shape="rect" title="rvu\nrvx" alt="" coords="80,31,88,39"><area shape="rect" title="rvu\nrvx" alt="" coords="56,115,64,123"></map> |
---|
41 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
42 | |
---|
43 | <p> |
---|
44 | <a href="classOMpmsm-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
45 | <tr><td></td></tr> |
---|
46 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
47 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e32392c9c635584606287b8c0e8c9da"></a><!-- doxytag: member="OMpmsm::eval" ref="8e32392c9c635584606287b8c0e8c9da" args="(const vec &x0, const vec &u0)" --> |
---|
48 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classOMpmsm.html#8e32392c9c635584606287b8c0e8c9da">eval</a> (const vec &x0, const vec &u0)</td></tr> |
---|
49 | |
---|
50 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates $f(x0,u0)$. <br></td></tr> |
---|
51 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOMpmsm.html#b75b5fd55b2ac5ed74b5b953af122821">dfdx_cond</a> (const vec &x0, const vec &u0, mat &A, bool full=true)</td></tr> |
---|
52 | |
---|
53 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_1.png"> and writes result into <code>A</code> . <a href="#b75b5fd55b2ac5ed74b5b953af122821"></a><br></td></tr> |
---|
54 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad7673e16aa1a046b131b24c731c4632"></a><!-- doxytag: member="OMpmsm::eval" ref="ad7673e16aa1a046b131b24c731c4632" args="(const vec &cond)" --> |
---|
55 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#ad7673e16aa1a046b131b24c731c4632">eval</a> (const vec &cond)</td></tr> |
---|
56 | |
---|
57 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates $f(x0,u0)$ (VS: Do we really need common eval? ). <br></td></tr> |
---|
58 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#1978bafd7909d15c139a08c495c24aa0">dfdu_cond</a> (const vec &x0, const vec &u0, mat &A, bool full=true)</td></tr> |
---|
59 | |
---|
60 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_2.png"> and writes result into <code>A</code> . <a href="#1978bafd7909d15c139a08c495c24aa0"></a><br></td></tr> |
---|
61 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="436de7a7301ea9eac7d6081b893bbf57"></a><!-- doxytag: member="OMpmsm::_dimx" ref="436de7a7301ea9eac7d6081b893bbf57" args="() const " --> |
---|
62 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#436de7a7301ea9eac7d6081b893bbf57">_dimx</a> () const </td></tr> |
---|
63 | |
---|
64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
65 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc8779acbff170611aff0ee70cee3879"></a><!-- doxytag: member="OMpmsm::_dimu" ref="fc8779acbff170611aff0ee70cee3879" args="() const " --> |
---|
66 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#fc8779acbff170611aff0ee70cee3879">_dimu</a> () const </td></tr> |
---|
67 | |
---|
68 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
69 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8891973d0ca48ce38e1886df45ca298"></a><!-- doxytag: member="OMpmsm::_dimy" ref="a8891973d0ca48ce38e1886df45ca298" args="() const " --> |
---|
70 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classfnc.html#a8891973d0ca48ce38e1886df45ca298">_dimy</a> () const </td></tr> |
---|
71 | |
---|
72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
73 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
74 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bcf96b86250c3cbd465ba5ee62474b75"></a><!-- doxytag: member="OMpmsm::rvx" ref="bcf96b86250c3cbd465ba5ee62474b75" args="" --> |
---|
75 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#bcf96b86250c3cbd465ba5ee62474b75">rvx</a></td></tr> |
---|
76 | |
---|
77 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indentifier of the first rv. <br></td></tr> |
---|
78 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c41c74c7942dba51ef0b0bfed963447d"></a><!-- doxytag: member="OMpmsm::rvu" ref="c41c74c7942dba51ef0b0bfed963447d" args="" --> |
---|
79 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#c41c74c7942dba51ef0b0bfed963447d">rvu</a></td></tr> |
---|
80 | |
---|
81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indentifier of the second rv. <br></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6918bc0a9dad656b4cddc028137eb78"></a><!-- doxytag: member="OMpmsm::dimx" ref="f6918bc0a9dad656b4cddc028137eb78" args="" --> |
---|
83 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#f6918bc0a9dad656b4cddc028137eb78">dimx</a></td></tr> |
---|
84 | |
---|
85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache for rvx.count() <br></td></tr> |
---|
86 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2e07ce491e973f03d763e37624d0fe79"></a><!-- doxytag: member="OMpmsm::dimu" ref="2e07ce491e973f03d763e37624d0fe79" args="" --> |
---|
87 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#2e07ce491e973f03d763e37624d0fe79">dimu</a></td></tr> |
---|
88 | |
---|
89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache for rvu.count() <br></td></tr> |
---|
90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="22d51d10a7901331167f64f80d1af8e9"></a><!-- doxytag: member="OMpmsm::dimy" ref="22d51d10a7901331167f64f80d1af8e9" args="" --> |
---|
91 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classfnc.html#22d51d10a7901331167f64f80d1af8e9">dimy</a></td></tr> |
---|
92 | |
---|
93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Length of the output vector. <br></td></tr> |
---|
94 | </table> |
---|
95 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
96 | Observation model for PMSM drive and its derivative with respect to $x$. <hr><h2>Member Function Documentation</h2> |
---|
97 | <a class="anchor" name="b75b5fd55b2ac5ed74b5b953af122821"></a><!-- doxytag: member="OMpmsm::dfdx_cond" ref="b75b5fd55b2ac5ed74b5b953af122821" args="(const vec &x0, const vec &u0, mat &A, bool full=true)" --> |
---|
98 | <div class="memitem"> |
---|
99 | <div class="memproto"> |
---|
100 | <table class="memname"> |
---|
101 | <tr> |
---|
102 | <td class="memname">void OMpmsm::dfdx_cond </td> |
---|
103 | <td>(</td> |
---|
104 | <td class="paramtype">const vec & </td> |
---|
105 | <td class="paramname"> <em>x0</em>, </td> |
---|
106 | </tr> |
---|
107 | <tr> |
---|
108 | <td class="paramkey"></td> |
---|
109 | <td></td> |
---|
110 | <td class="paramtype">const vec & </td> |
---|
111 | <td class="paramname"> <em>u0</em>, </td> |
---|
112 | </tr> |
---|
113 | <tr> |
---|
114 | <td class="paramkey"></td> |
---|
115 | <td></td> |
---|
116 | <td class="paramtype">mat & </td> |
---|
117 | <td class="paramname"> <em>A</em>, </td> |
---|
118 | </tr> |
---|
119 | <tr> |
---|
120 | <td class="paramkey"></td> |
---|
121 | <td></td> |
---|
122 | <td class="paramtype">bool </td> |
---|
123 | <td class="paramname"> <em>full</em> = <code>true</code></td><td> </td> |
---|
124 | </tr> |
---|
125 | <tr> |
---|
126 | <td></td> |
---|
127 | <td>)</td> |
---|
128 | <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td> |
---|
129 | </tr> |
---|
130 | </table> |
---|
131 | </div> |
---|
132 | <div class="memdoc"> |
---|
133 | |
---|
134 | <p> |
---|
135 | Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_1.png"> and writes result into <code>A</code> . |
---|
136 | <p> |
---|
137 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
138 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
139 | <tr><td valign="top"></td><td valign="top"><em>full</em> </td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr> |
---|
140 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>numeric value of $x$, </td></tr> |
---|
141 | <tr><td valign="top"></td><td valign="top"><em>u0</em> </td><td>numeric value of $u$ </td></tr> |
---|
142 | <tr><td valign="top"></td><td valign="top"><em>A</em> </td><td>a place where the result will be stored. </td></tr> |
---|
143 | </table> |
---|
144 | </dl> |
---|
145 | |
---|
146 | <p>Reimplemented from <a class="el" href="classdiffbifn.html#6d217a02d4fa13931258d4bebdd0feb4">diffbifn</a>.</p> |
---|
147 | |
---|
148 | </div> |
---|
149 | </div><p> |
---|
150 | <a class="anchor" name="1978bafd7909d15c139a08c495c24aa0"></a><!-- doxytag: member="OMpmsm::dfdu_cond" ref="1978bafd7909d15c139a08c495c24aa0" args="(const vec &x0, const vec &u0, mat &A, bool full=true)" --> |
---|
151 | <div class="memitem"> |
---|
152 | <div class="memproto"> |
---|
153 | <table class="memname"> |
---|
154 | <tr> |
---|
155 | <td class="memname">virtual void diffbifn::dfdu_cond </td> |
---|
156 | <td>(</td> |
---|
157 | <td class="paramtype">const vec & </td> |
---|
158 | <td class="paramname"> <em>x0</em>, </td> |
---|
159 | </tr> |
---|
160 | <tr> |
---|
161 | <td class="paramkey"></td> |
---|
162 | <td></td> |
---|
163 | <td class="paramtype">const vec & </td> |
---|
164 | <td class="paramname"> <em>u0</em>, </td> |
---|
165 | </tr> |
---|
166 | <tr> |
---|
167 | <td class="paramkey"></td> |
---|
168 | <td></td> |
---|
169 | <td class="paramtype">mat & </td> |
---|
170 | <td class="paramname"> <em>A</em>, </td> |
---|
171 | </tr> |
---|
172 | <tr> |
---|
173 | <td class="paramkey"></td> |
---|
174 | <td></td> |
---|
175 | <td class="paramtype">bool </td> |
---|
176 | <td class="paramname"> <em>full</em> = <code>true</code></td><td> </td> |
---|
177 | </tr> |
---|
178 | <tr> |
---|
179 | <td></td> |
---|
180 | <td>)</td> |
---|
181 | <td></td><td></td><td width="100%"><code> [inline, virtual, inherited]</code></td> |
---|
182 | </tr> |
---|
183 | </table> |
---|
184 | </div> |
---|
185 | <div class="memdoc"> |
---|
186 | |
---|
187 | <p> |
---|
188 | Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_2.png"> and writes result into <code>A</code> . |
---|
189 | <p> |
---|
190 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
191 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
192 | <tr><td valign="top"></td><td valign="top"><em>full</em> </td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr> |
---|
193 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>numeric value of $x$, </td></tr> |
---|
194 | <tr><td valign="top"></td><td valign="top"><em>u0</em> </td><td>numeric value of $u$ </td></tr> |
---|
195 | <tr><td valign="top"></td><td valign="top"><em>A</em> </td><td>a place where the result will be stored. </td></tr> |
---|
196 | </table> |
---|
197 | </dl> |
---|
198 | |
---|
199 | <p>Reimplemented in <a class="el" href="classbilinfn.html#90f2b15612b14883d6ed2b0e295cb82b">bilinfn</a>, and <a class="el" href="classIMpmsm.html#c3f8dad22ae9855c04a1d593b45c99b5">IMpmsm</a>.</p> |
---|
200 | |
---|
201 | </div> |
---|
202 | </div><p> |
---|
203 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
204 | <li>work/mixpp/tests/<a class="el" href="pmsm_8h-source.html">pmsm.h</a></ul> |
---|
205 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 12 16:15:53 2008 for mixpp by |
---|
206 | <a href="http://www.doxygen.org/index.html"> |
---|
207 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
---|
208 | </body> |
---|
209 | </html> |
---|