root/doc/html/classIMpmsm2o.html @ 312

Revision 312, 22.4 kB (checked in by smidl, 16 years ago)

doc

Line 
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: IMpmsm2o Class Reference</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<!--
10function 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}
22function 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}
46window.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&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li><a href="modules.html"><span>Modules</span></a></li>
55      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
56      <li><a href="files.html"><span>Files</span></a></li>
57    </ul>
58  </div>
59  <div class="tabs">
60    <ul>
61      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
62      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
63      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
64      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
65    </ul>
66  </div>
67</div>
68<div class="contents">
69<h1>IMpmsm2o Class Reference<br>
70<small>
71[<a class="el" href="group__PMSM.html">PMSM</a>]</small>
72</h1><!-- doxytag: class="IMpmsm2o" --><!-- doxytag: inherits="bdm::diffbifn" -->State evolution model for a PMSM drive and its derivative with respect to <img class="formulaInl" alt="$x$" src="form_28.png">
73<a href="#_details">More...</a>
74<p>
75<code>#include &lt;<a class="el" href="pmsm_8h-source.html">pmsm.h</a>&gt;</code>
76<p>
77
78<p>
79<a href="classIMpmsm2o-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
80<tr><td></td></tr>
81<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
82<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="abdefc0467678a05abf12f5c77eaf49d"></a><!-- doxytag: member="IMpmsm2o::set_parameters" ref="abdefc0467678a05abf12f5c77eaf49d" args="(double Rs0, double Ls0, double dt0, double Ypm0, double kp0, double p0, double J0, double Mz0)" -->
83void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMpmsm2o.html#abdefc0467678a05abf12f5c77eaf49d">set_parameters</a> (double Rs0, double Ls0, double dt0, double Ypm0, double kp0, double p0, double J0, double Mz0)</td></tr>
84
85<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set mechanical and electrical variables. <br></td></tr>
86<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="86e04b5118e567ea7a2540059f553f41"></a><!-- doxytag: member="IMpmsm2o::eval" ref="86e04b5118e567ea7a2540059f553f41" args="(const vec &amp;x0, const vec &amp;u0)" -->
87vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMpmsm2o.html#86e04b5118e567ea7a2540059f553f41">eval</a> (const vec &amp;x0, const vec &amp;u0)</td></tr>
88
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_83.png">. <br></td></tr>
90<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cf66e75d9e532b0a1c2135b34ac57c89"></a><!-- doxytag: member="IMpmsm2o::eval2o" ref="cf66e75d9e532b0a1c2135b34ac57c89" args="(const vec &amp;du)" -->
91vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMpmsm2o.html#cf66e75d9e532b0a1c2135b34ac57c89">eval2o</a> (const vec &amp;du)</td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">eval 2nd order Taylor expansion, MUST be used only as a follow up AFTER <a class="el" href="classIMpmsm2o.html#86e04b5118e567ea7a2540059f553f41" title="Evaluates .">eval()</a>!! <br></td></tr>
94<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMpmsm2o.html#0a3e125df1e53821e08accbd4960d713">dfdx_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)</td></tr>
95
96<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_84.png"> and writes result into <code>A</code> .  <a href="#0a3e125df1e53821e08accbd4960d713"></a><br></td></tr>
97<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMpmsm2o.html#27f9d89bce832056f747d985df77a726">dfdu_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)</td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_86.png"> and writes result into <code>A</code> .  <a href="#27f9d89bce832056f747d985df77a726"></a><br></td></tr>
100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="188f31066bd72e1bf0ddacd1eb0e6af3"></a><!-- doxytag: member="IMpmsm2o::eval" ref="188f31066bd72e1bf0ddacd1eb0e6af3" args="(const vec &amp;cond)" -->
101vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">eval</a> (const vec &amp;cond)</td></tr>
102
103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_83.png"> (VS: Do we really need common eval? ). <br></td></tr>
104<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b3c8f5949f13d86d2661e191d4b369b"></a><!-- doxytag: member="IMpmsm2o::_dimx" ref="1b3c8f5949f13d86d2661e191d4b369b" args="() const " -->
105int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#1b3c8f5949f13d86d2661e191d4b369b">_dimx</a> () const </td></tr>
106
107<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
108<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="031458f38c97cdb3aecde16f6a06dced"></a><!-- doxytag: member="IMpmsm2o::_dimu" ref="031458f38c97cdb3aecde16f6a06dced" args="() const " -->
109int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#031458f38c97cdb3aecde16f6a06dced">_dimu</a> () const </td></tr>
110
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
112<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0786e40fade2663a70d654c1dda5d73e"></a><!-- doxytag: member="IMpmsm2o::condition" ref="0786e40fade2663a70d654c1dda5d73e" args="(const vec &amp;val)" -->
113virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#0786e40fade2663a70d654c1dda5d73e">condition</a> (const vec &amp;val)</td></tr>
114
115<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">function substitutes given value into an appropriate position <br></td></tr>
116<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="083832294da9d1e40804158b979c4341"></a><!-- doxytag: member="IMpmsm2o::dimension" ref="083832294da9d1e40804158b979c4341" args="() const " -->
117int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#083832294da9d1e40804158b979c4341">dimension</a> () const </td></tr>
118
119<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
120<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
121<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6514cda776819b65fd9e41a1a6a798c"></a><!-- doxytag: member="IMpmsm2o::Rs" ref="a6514cda776819b65fd9e41a1a6a798c" args="" -->
122double&nbsp;</td><td class="memItemRight" valign="bottom"><b>Rs</b></td></tr>
123
124<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bef34361d7602b1a75c5b9f701bce40f"></a><!-- doxytag: member="IMpmsm2o::Ls" ref="bef34361d7602b1a75c5b9f701bce40f" args="" -->
125double&nbsp;</td><td class="memItemRight" valign="bottom"><b>Ls</b></td></tr>
126
127<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="399e2df590d6425a01e47c6deaa7e838"></a><!-- doxytag: member="IMpmsm2o::dt" ref="399e2df590d6425a01e47c6deaa7e838" args="" -->
128double&nbsp;</td><td class="memItemRight" valign="bottom"><b>dt</b></td></tr>
129
130<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="99af79af69627fae52ec8fa8e167f775"></a><!-- doxytag: member="IMpmsm2o::Ypm" ref="99af79af69627fae52ec8fa8e167f775" args="" -->
131double&nbsp;</td><td class="memItemRight" valign="bottom"><b>Ypm</b></td></tr>
132
133<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="993cf4903bce863c6b7fb2355411db4a"></a><!-- doxytag: member="IMpmsm2o::kp" ref="993cf4903bce863c6b7fb2355411db4a" args="" -->
134double&nbsp;</td><td class="memItemRight" valign="bottom"><b>kp</b></td></tr>
135
136<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8644abe49171d006cbf9bff2844816a3"></a><!-- doxytag: member="IMpmsm2o::p" ref="8644abe49171d006cbf9bff2844816a3" args="" -->
137double&nbsp;</td><td class="memItemRight" valign="bottom"><b>p</b></td></tr>
138
139<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="01a151f4ec2818e39537bebcbb8b152d"></a><!-- doxytag: member="IMpmsm2o::J" ref="01a151f4ec2818e39537bebcbb8b152d" args="" -->
140double&nbsp;</td><td class="memItemRight" valign="bottom"><b>J</b></td></tr>
141
142<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38253f515b9b35ab3a536f4871287025"></a><!-- doxytag: member="IMpmsm2o::Mz" ref="38253f515b9b35ab3a536f4871287025" args="" -->
143double&nbsp;</td><td class="memItemRight" valign="bottom"><b>Mz</b></td></tr>
144
145<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5b668744a1e5189f324897a62b9c3ea6"></a><!-- doxytag: member="IMpmsm2o::dia" ref="5b668744a1e5189f324897a62b9c3ea6" args="" -->
146double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMpmsm2o.html#5b668744a1e5189f324897a62b9c3ea6">dia</a></td></tr>
147
148<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">store first derivatives for the use in second derivatives <br></td></tr>
149<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48e7403b2c5a93d2af64d618df39b7ac"></a><!-- doxytag: member="IMpmsm2o::dib" ref="48e7403b2c5a93d2af64d618df39b7ac" args="" -->
150double&nbsp;</td><td class="memItemRight" valign="bottom"><b>dib</b></td></tr>
151
152<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46e40d43c0872e8a1fe33d85b2c44a0f"></a><!-- doxytag: member="IMpmsm2o::dom" ref="46e40d43c0872e8a1fe33d85b2c44a0f" args="" -->
153double&nbsp;</td><td class="memItemRight" valign="bottom"><b>dom</b></td></tr>
154
155<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b2164f89815f3194027fdd562246f238"></a><!-- doxytag: member="IMpmsm2o::dth" ref="b2164f89815f3194027fdd562246f238" args="" -->
156double&nbsp;</td><td class="memItemRight" valign="bottom"><b>dth</b></td></tr>
157
158<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74954dedce055db9ee50d53790e8341c"></a><!-- doxytag: member="IMpmsm2o::d2t" ref="74954dedce055db9ee50d53790e8341c" args="" -->
159double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMpmsm2o.html#74954dedce055db9ee50d53790e8341c">d2t</a></td></tr>
160
161<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">d2t = dt^2/2, cth = cos(th), sth=sin(th) <br></td></tr>
162<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b013ef9a7017357ccaebf5c023d5ec0f"></a><!-- doxytag: member="IMpmsm2o::cth" ref="b013ef9a7017357ccaebf5c023d5ec0f" args="" -->
163double&nbsp;</td><td class="memItemRight" valign="bottom"><b>cth</b></td></tr>
164
165<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a246a4f23d0de166041919fed2bd2bf3"></a><!-- doxytag: member="IMpmsm2o::sth" ref="a246a4f23d0de166041919fed2bd2bf3" args="" -->
166double&nbsp;</td><td class="memItemRight" valign="bottom"><b>sth</b></td></tr>
167
168<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c7a8e9d8815971fd1bf38770ebd2067a"></a><!-- doxytag: member="IMpmsm2o::iam" ref="c7a8e9d8815971fd1bf38770ebd2067a" args="" -->
169double&nbsp;</td><td class="memItemRight" valign="bottom"><b>iam</b></td></tr>
170
171<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3efbccc942d804ef69270d77c14b7abc"></a><!-- doxytag: member="IMpmsm2o::ibm" ref="3efbccc942d804ef69270d77c14b7abc" args="" -->
172double&nbsp;</td><td class="memItemRight" valign="bottom"><b>ibm</b></td></tr>
173
174<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="559e00fa27deb6e2ffca76b889a8a24e"></a><!-- doxytag: member="IMpmsm2o::omm" ref="559e00fa27deb6e2ffca76b889a8a24e" args="" -->
175double&nbsp;</td><td class="memItemRight" valign="bottom"><b>omm</b></td></tr>
176
177<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="49764a5de43ce718cebcaa045a0b40f6"></a><!-- doxytag: member="IMpmsm2o::thm" ref="49764a5de43ce718cebcaa045a0b40f6" args="" -->
178double&nbsp;</td><td class="memItemRight" valign="bottom"><b>thm</b></td></tr>
179
180<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="61b88b671c492021476d7db49b29d0cd"></a><!-- doxytag: member="IMpmsm2o::uam" ref="61b88b671c492021476d7db49b29d0cd" args="" -->
181double&nbsp;</td><td class="memItemRight" valign="bottom"><b>uam</b></td></tr>
182
183<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3309f761c288a3fc149fae787cad252c"></a><!-- doxytag: member="IMpmsm2o::ubm" ref="3309f761c288a3fc149fae787cad252c" args="" -->
184double&nbsp;</td><td class="memItemRight" valign="bottom"><b>ubm</b></td></tr>
185
186<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f56547d8e9378b669d3cc19d7831cbb"></a><!-- doxytag: member="IMpmsm2o::rvx" ref="5f56547d8e9378b669d3cc19d7831cbb" args="" -->
187RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#5f56547d8e9378b669d3cc19d7831cbb">rvx</a></td></tr>
188
189<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the first rv. <br></td></tr>
190<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8e3e861d5ec2a7ae9524e6338e58320"></a><!-- doxytag: member="IMpmsm2o::rvu" ref="a8e3e861d5ec2a7ae9524e6338e58320" args="" -->
191RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a8e3e861d5ec2a7ae9524e6338e58320">rvu</a></td></tr>
192
193<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the second rv. <br></td></tr>
194<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a193aa2c4a500139c0c4b669691e588e"></a><!-- doxytag: member="IMpmsm2o::dimx" ref="a193aa2c4a500139c0c4b669691e588e" args="" -->
195int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e">dimx</a></td></tr>
196
197<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvx.count() <br></td></tr>
198<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30c45617eec89adeb4ebaa763d093fb0"></a><!-- doxytag: member="IMpmsm2o::dimu" ref="30c45617eec89adeb4ebaa763d093fb0" args="" -->
199int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0">dimu</a></td></tr>
200
201<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvu.count() <br></td></tr>
202<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52156cb4a52a62d51fc7455985797a62"></a><!-- doxytag: member="IMpmsm2o::dimy" ref="52156cb4a52a62d51fc7455985797a62" args="" -->
203int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#52156cb4a52a62d51fc7455985797a62">dimy</a></td></tr>
204
205<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Length of the output vector. <br></td></tr>
206</table>
207<hr><a name="_details"></a><h2>Detailed Description</h2>
208State evolution model for a PMSM drive and its derivative with respect to <img class="formulaInl" alt="$x$" src="form_28.png">. <hr><h2>Member Function Documentation</h2>
209<a class="anchor" name="27f9d89bce832056f747d985df77a726"></a><!-- doxytag: member="IMpmsm2o::dfdu_cond" ref="27f9d89bce832056f747d985df77a726" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)" -->
210<div class="memitem">
211<div class="memproto">
212      <table class="memname">
213        <tr>
214          <td class="memname">void IMpmsm2o::dfdu_cond           </td>
215          <td>(</td>
216          <td class="paramtype">const vec &amp;&nbsp;</td>
217          <td class="paramname"> <em>x0</em>, </td>
218        </tr>
219        <tr>
220          <td class="paramkey"></td>
221          <td></td>
222          <td class="paramtype">const vec &amp;&nbsp;</td>
223          <td class="paramname"> <em>u0</em>, </td>
224        </tr>
225        <tr>
226          <td class="paramkey"></td>
227          <td></td>
228          <td class="paramtype">mat &amp;&nbsp;</td>
229          <td class="paramname"> <em>A</em>, </td>
230        </tr>
231        <tr>
232          <td class="paramkey"></td>
233          <td></td>
234          <td class="paramtype">bool&nbsp;</td>
235          <td class="paramname"> <em>full</em> = <code>true</code></td><td>&nbsp;</td>
236        </tr>
237        <tr>
238          <td></td>
239          <td>)</td>
240          <td></td><td></td><td><code> [inline, virtual]</code></td>
241        </tr>
242      </table>
243</div>
244<div class="memdoc">
245
246<p>
247Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_86.png"> and writes result into <code>A</code> .
248<p>
249<dl compact><dt><b>Parameters:</b></dt><dd>
250  <table border="0" cellspacing="2" cellpadding="0">
251    <tr><td valign="top"></td><td valign="top"><em>full</em>&nbsp;</td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr>
252    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr>
253    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_85.png"> </td></tr>
254    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
255  </table>
256</dl>
257
258<p>Reimplemented from <a class="el" href="classbdm_1_1diffbifn.html#6ea1dc7a482601b29c5ba36a52d20d07">bdm::diffbifn</a>.</p>
259
260</div>
261</div><p>
262<a class="anchor" name="0a3e125df1e53821e08accbd4960d713"></a><!-- doxytag: member="IMpmsm2o::dfdx_cond" ref="0a3e125df1e53821e08accbd4960d713" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)" -->
263<div class="memitem">
264<div class="memproto">
265      <table class="memname">
266        <tr>
267          <td class="memname">void IMpmsm2o::dfdx_cond           </td>
268          <td>(</td>
269          <td class="paramtype">const vec &amp;&nbsp;</td>
270          <td class="paramname"> <em>x0</em>, </td>
271        </tr>
272        <tr>
273          <td class="paramkey"></td>
274          <td></td>
275          <td class="paramtype">const vec &amp;&nbsp;</td>
276          <td class="paramname"> <em>u0</em>, </td>
277        </tr>
278        <tr>
279          <td class="paramkey"></td>
280          <td></td>
281          <td class="paramtype">mat &amp;&nbsp;</td>
282          <td class="paramname"> <em>A</em>, </td>
283        </tr>
284        <tr>
285          <td class="paramkey"></td>
286          <td></td>
287          <td class="paramtype">bool&nbsp;</td>
288          <td class="paramname"> <em>full</em> = <code>true</code></td><td>&nbsp;</td>
289        </tr>
290        <tr>
291          <td></td>
292          <td>)</td>
293          <td></td><td></td><td><code> [inline, virtual]</code></td>
294        </tr>
295      </table>
296</div>
297<div class="memdoc">
298
299<p>
300Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_84.png"> and writes result into <code>A</code> .
301<p>
302<dl compact><dt><b>Parameters:</b></dt><dd>
303  <table border="0" cellspacing="2" cellpadding="0">
304    <tr><td valign="top"></td><td valign="top"><em>full</em>&nbsp;</td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr>
305    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr>
306    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_85.png"> </td></tr>
307    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
308  </table>
309</dl>
310
311<p>Reimplemented from <a class="el" href="classbdm_1_1diffbifn.html#651184f808a35f236dbfea21aca1b6ac">bdm::diffbifn</a>.</p>
312
313</div>
314</div><p>
315<hr>The documentation for this class was generated from the following file:<ul>
316<li><a class="el" href="pmsm_8h-source.html">pmsm.h</a></ul>
317</div>
318<hr size="1"><address style="text-align: right;"><small>Generated on Thu Apr 9 14:33:21 2009 for mixpp by&nbsp;
319<a href="http://www.doxygen.org/index.html">
320<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
321</body>
322</html>
Note: See TracBrowser for help on using the browser.