70 | | <h1>bdm::bilinfn Class Reference</h1><!-- doxytag: class="bdm::bilinfn" --><!-- doxytag: inherits="bdm::diffbifn" -->Class representing function <img class="formulaInl" alt="$f(x,u) = Ax+Bu$" src="form_43.png">. |
71 | | <a href="#_details">More...</a> |
72 | | <p> |
73 | | <code>#include <<a class="el" href="functions_8h-source.html">functions.h</a>></code> |
74 | | <p> |
75 | | |
76 | | <p> |
77 | | <a href="classbdm_1_1bilinfn-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
78 | | <tr><td></td></tr> |
79 | | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
80 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="188f31066bd72e1bf0ddacd1eb0e6af3"></a><!-- doxytag: member="bdm::bilinfn::eval" ref="188f31066bd72e1bf0ddacd1eb0e6af3" args="(const vec &cond)" --> |
81 | | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">eval</a> (const vec &cond)</td></tr> |
82 | | |
83 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_44.png"> (VS: Do we really need common eval? ). <br></td></tr> |
84 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b3c8f5949f13d86d2661e191d4b369b"></a><!-- doxytag: member="bdm::bilinfn::_dimx" ref="1b3c8f5949f13d86d2661e191d4b369b" args="() const " --> |
85 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#1b3c8f5949f13d86d2661e191d4b369b">_dimx</a> () const </td></tr> |
86 | | |
87 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
88 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="031458f38c97cdb3aecde16f6a06dced"></a><!-- doxytag: member="bdm::bilinfn::_dimu" ref="031458f38c97cdb3aecde16f6a06dced" args="() const " --> |
89 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#031458f38c97cdb3aecde16f6a06dced">_dimu</a> () const </td></tr> |
90 | | |
91 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
92 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0786e40fade2663a70d654c1dda5d73e"></a><!-- doxytag: member="bdm::bilinfn::condition" ref="0786e40fade2663a70d654c1dda5d73e" args="(const vec &val)" --> |
93 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#0786e40fade2663a70d654c1dda5d73e">condition</a> (const vec &val)</td></tr> |
94 | | |
95 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">function substitutes given value into an appropriate position <br></td></tr> |
96 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="083832294da9d1e40804158b979c4341"></a><!-- doxytag: member="bdm::bilinfn::dimension" ref="083832294da9d1e40804158b979c4341" args="() const " --> |
97 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#083832294da9d1e40804158b979c4341">dimension</a> () const </td></tr> |
98 | | |
99 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
100 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::bilinfn::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> |
101 | | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
102 | | |
103 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> |
104 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0551e3121091c5199bf4413b50522176"></a><!-- doxytag: member="bdm::bilinfn::from_setting" ref="0551e3121091c5199bf4413b50522176" args="(const Setting &set)" --> |
105 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#0551e3121091c5199bf4413b50522176">from_setting</a> (const Setting &set)</td></tr> |
106 | | |
107 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br></td></tr> |
108 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::bilinfn::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
109 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
110 | | |
111 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> |
112 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::bilinfn::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
113 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
114 | | |
115 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> |
| 73 | <h1>bdm::bilinfn Class Reference</h1><!-- doxytag: class="bdm::bilinfn" --><!-- doxytag: inherits="bdm::diffbifn" --> |
| 74 | <p>Class representing function <img class="formulaInl" alt="$f(x,u) = Ax+Bu$" src="form_43.png"/>. |
| 75 | <a href="#_details">More...</a></p> |
| 76 | |
| 77 | <p><code>#include <<a class="el" href="functions_8h_source.html">functions.h</a>></code></p> |
| 78 | |
| 79 | <p><a href="classbdm_1_1bilinfn-members.html">List of all members.</a></p> |
| 80 | <table border="0" cellpadding="0" cellspacing="0"> |
| 81 | <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
| 82 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a188f31066bd72e1bf0ddacd1eb0e6af3"></a><!-- doxytag: member="bdm::bilinfn::eval" ref="a188f31066bd72e1bf0ddacd1eb0e6af3" args="(const vec &cond)" --> |
| 83 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a188f31066bd72e1bf0ddacd1eb0e6af3">eval</a> (const vec &cond)</td></tr> |
| 84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_44.png"/> (VS: Do we really need common eval? ). <br/></td></tr> |
| 85 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b3c8f5949f13d86d2661e191d4b369b"></a><!-- doxytag: member="bdm::bilinfn::_dimx" ref="a1b3c8f5949f13d86d2661e191d4b369b" args="() const " --> |
| 86 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a1b3c8f5949f13d86d2661e191d4b369b">_dimx</a> () const </td></tr> |
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
| 88 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a031458f38c97cdb3aecde16f6a06dced"></a><!-- doxytag: member="bdm::bilinfn::_dimu" ref="a031458f38c97cdb3aecde16f6a06dced" args="() const " --> |
| 89 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a031458f38c97cdb3aecde16f6a06dced">_dimu</a> () const </td></tr> |
| 90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
| 91 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0786e40fade2663a70d654c1dda5d73e"></a><!-- doxytag: member="bdm::bilinfn::condition" ref="a0786e40fade2663a70d654c1dda5d73e" args="(const vec &val)" --> |
| 92 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#a0786e40fade2663a70d654c1dda5d73e">condition</a> (const vec &val)</td></tr> |
| 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">function substitutes given value into an appropriate position <br/></td></tr> |
| 94 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a083832294da9d1e40804158b979c4341"></a><!-- doxytag: member="bdm::bilinfn::dimension" ref="a083832294da9d1e40804158b979c4341" args="() const " --> |
| 95 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#a083832294da9d1e40804158b979c4341">dimension</a> () const </td></tr> |
| 96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
| 97 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::bilinfn::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> |
| 98 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
| 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> |
| 100 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0551e3121091c5199bf4413b50522176"></a><!-- doxytag: member="bdm::bilinfn::from_setting" ref="a0551e3121091c5199bf4413b50522176" args="(const Setting &set)" --> |
| 101 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">from_setting</a> (const Setting &set)</td></tr> |
| 102 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br/></td></tr> |
| 103 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::bilinfn::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
| 104 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
| 105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> |
| 106 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::bilinfn::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
| 107 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
| 108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br/></td></tr> |
128 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="846c21e8e8d41555eb7c075f5ff86ffd"></a><!-- doxytag: member="bdm::bilinfn::eval" ref="846c21e8e8d41555eb7c075f5ff86ffd" args="(const vec &x0, const vec &u0)" --> |
129 | | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bilinfn.html#846c21e8e8d41555eb7c075f5ff86ffd">eval</a> (const vec &x0, const vec &u0)</td></tr> |
130 | | |
131 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_44.png">. <br></td></tr> |
132 | | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bilinfn.html#33066f1054dd259df2ec5fafae4b46e6">dfdx_cond</a> (const vec &x0, const vec &u0, mat &F, bool full)</td></tr> |
133 | | |
134 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_45.png"> and writes result into <code>A</code> . <a href="#33066f1054dd259df2ec5fafae4b46e6"></a><br></td></tr> |
135 | | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bilinfn.html#9cfe2f1c115ba7c3c75849a10a4f2c08">dfdu_cond</a> (const vec &x0, const vec &u0, mat &F, bool full=true)</td></tr> |
136 | | |
137 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_47.png"> and writes result into <code>A</code> . <a href="#9cfe2f1c115ba7c3c75849a10a4f2c08"></a><br></td></tr> |
138 | | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
139 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f56547d8e9378b669d3cc19d7831cbb"></a><!-- doxytag: member="bdm::bilinfn::rvx" ref="5f56547d8e9378b669d3cc19d7831cbb" args="" --> |
140 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#5f56547d8e9378b669d3cc19d7831cbb">rvx</a></td></tr> |
141 | | |
142 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indentifier of the first rv. <br></td></tr> |
143 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8e3e861d5ec2a7ae9524e6338e58320"></a><!-- doxytag: member="bdm::bilinfn::rvu" ref="a8e3e861d5ec2a7ae9524e6338e58320" args="" --> |
144 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a8e3e861d5ec2a7ae9524e6338e58320">rvu</a></td></tr> |
145 | | |
146 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indentifier of the second rv. <br></td></tr> |
147 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a193aa2c4a500139c0c4b669691e588e"></a><!-- doxytag: member="bdm::bilinfn::dimx" ref="a193aa2c4a500139c0c4b669691e588e" args="" --> |
148 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e">dimx</a></td></tr> |
149 | | |
150 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache for rvx.count() <br></td></tr> |
151 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30c45617eec89adeb4ebaa763d093fb0"></a><!-- doxytag: member="bdm::bilinfn::dimu" ref="30c45617eec89adeb4ebaa763d093fb0" args="" --> |
152 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0">dimu</a></td></tr> |
153 | | |
154 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache for rvu.count() <br></td></tr> |
155 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52156cb4a52a62d51fc7455985797a62"></a><!-- doxytag: member="bdm::bilinfn::dimy" ref="52156cb4a52a62d51fc7455985797a62" args="" --> |
156 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#52156cb4a52a62d51fc7455985797a62">dimy</a></td></tr> |
157 | | |
158 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Length of the output vector. <br></td></tr> |
| 120 | <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpfb3595af27ed8bd142c95323c0dab340"></a> </p> |
| 121 | <br/><br/></div></td></tr> |
| 122 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a846c21e8e8d41555eb7c075f5ff86ffd"></a><!-- doxytag: member="bdm::bilinfn::eval" ref="a846c21e8e8d41555eb7c075f5ff86ffd" args="(const vec &x0, const vec &u0)" --> |
| 123 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bilinfn.html#a846c21e8e8d41555eb7c075f5ff86ffd">eval</a> (const vec &x0, const vec &u0)</td></tr> |
| 124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_44.png"/>. <br/></td></tr> |
| 125 | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bilinfn.html#a33066f1054dd259df2ec5fafae4b46e6">dfdx_cond</a> (const vec &x0, const vec &u0, mat &F, bool full)</td></tr> |
| 126 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_45.png"/> and writes result into <code>A</code> . <a href="#a33066f1054dd259df2ec5fafae4b46e6"></a><br/></td></tr> |
| 127 | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bilinfn.html#a9cfe2f1c115ba7c3c75849a10a4f2c08">dfdu_cond</a> (const vec &x0, const vec &u0, mat &F, bool full=true)</td></tr> |
| 128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_47.png"/> and writes result into <code>A</code> . <a href="#a9cfe2f1c115ba7c3c75849a10a4f2c08"></a><br/></td></tr> |
| 129 | <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> |
| 130 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f56547d8e9378b669d3cc19d7831cbb"></a><!-- doxytag: member="bdm::bilinfn::rvx" ref="a5f56547d8e9378b669d3cc19d7831cbb" args="" --> |
| 131 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a5f56547d8e9378b669d3cc19d7831cbb">rvx</a></td></tr> |
| 132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indentifier of the first rv. <br/></td></tr> |
| 133 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8e3e861d5ec2a7ae9524e6338e58320"></a><!-- doxytag: member="bdm::bilinfn::rvu" ref="aa8e3e861d5ec2a7ae9524e6338e58320" args="" --> |
| 134 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#aa8e3e861d5ec2a7ae9524e6338e58320">rvu</a></td></tr> |
| 135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indentifier of the second rv. <br/></td></tr> |
| 136 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa193aa2c4a500139c0c4b669691e588e"></a><!-- doxytag: member="bdm::bilinfn::dimx" ref="aa193aa2c4a500139c0c4b669691e588e" args="" --> |
| 137 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#aa193aa2c4a500139c0c4b669691e588e">dimx</a></td></tr> |
| 138 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache for rvx.count() <br/></td></tr> |
| 139 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30c45617eec89adeb4ebaa763d093fb0"></a><!-- doxytag: member="bdm::bilinfn::dimu" ref="a30c45617eec89adeb4ebaa763d093fb0" args="" --> |
| 140 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a30c45617eec89adeb4ebaa763d093fb0">dimu</a></td></tr> |
| 141 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache for rvu.count() <br/></td></tr> |
| 142 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a52156cb4a52a62d51fc7455985797a62"></a><!-- doxytag: member="bdm::bilinfn::dimy" ref="a52156cb4a52a62d51fc7455985797a62" args="" --> |
| 143 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#a52156cb4a52a62d51fc7455985797a62">dimy</a></td></tr> |
| 144 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Length of the output vector. <br/></td></tr> |