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