104 | | <a name="l00046"></a><a class="code" href="classbdm_1_1linfn.html#ab8063094a2aa210dcf7ae73e2b85e09c">00046</a> vec <a class="code" href="classbdm_1_1linfn.html#ab8063094a2aa210dcf7ae73e2b85e09c" title="function evaluates numerical value of at cond ">eval</a> ( <span class="keyword">const</span> vec &cond ) { |
105 | | <a name="l00047"></a>00047 <a class="code" href="bdmerror_8h.html#a89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( cond.length() == A.cols(), <span class="stringliteral">"linfn::eval Wrong cond."</span> ); |
| 101 | <a name="l00046"></a><a class="code" href="classbdm_1_1linfn.html#b8063094a2aa210dcf7ae73e2b85e09c">00046</a> vec <a class="code" href="classbdm_1_1linfn.html#b8063094a2aa210dcf7ae73e2b85e09c" title="function evaluates numerical value of at cond ">eval</a> ( <span class="keyword">const</span> vec &cond ) { |
| 102 | <a name="l00047"></a>00047 <a class="code" href="bdmerror_8h.html#89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( cond.length() == A.cols(), <span class="stringliteral">"linfn::eval Wrong cond."</span> ); |
110 | | <a name="l00053"></a><a class="code" href="classbdm_1_1linfn.html#ab39c494c12863c031eb2acf86c0bc429">00053</a> <span class="comment"></span> <a class="code" href="classbdm_1_1linfn.html#ab39c494c12863c031eb2acf86c0bc429" title="default constructor">linfn</a> ( ) : <a class="code" href="classbdm_1_1fnc.html" title="Class representing function of variable represented by rv.">fnc</a>(), A ( ), B () { }; |
111 | | <a name="l00055"></a><a class="code" href="classbdm_1_1linfn.html#a7e0e714b814532fc3e38daede24c5e68">00055</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1linfn.html#a7e0e714b814532fc3e38daede24c5e68" title="Set values of A and B.">set_parameters</a> ( <span class="keyword">const</span> mat &A0 , <span class="keyword">const</span> vec &B0 ) { |
| 107 | <a name="l00053"></a><a class="code" href="classbdm_1_1linfn.html#b39c494c12863c031eb2acf86c0bc429">00053</a> <span class="comment"></span> <a class="code" href="classbdm_1_1linfn.html#b39c494c12863c031eb2acf86c0bc429" title="default constructor">linfn</a> ( ) : <a class="code" href="classbdm_1_1fnc.html" title="Class representing function of variable represented by rv.">fnc</a>(), A ( ), B () { }; |
| 108 | <a name="l00055"></a><a class="code" href="classbdm_1_1linfn.html#7e0e714b814532fc3e38daede24c5e68">00055</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1linfn.html#7e0e714b814532fc3e38daede24c5e68" title="Set values of A and B.">set_parameters</a> ( <span class="keyword">const</span> mat &A0 , <span class="keyword">const</span> vec &B0 ) { |
121 | | <a name="l00075"></a><a class="code" href="classbdm_1_1diffbifn.html#a5f56547d8e9378b669d3cc19d7831cbb">00075</a> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classbdm_1_1diffbifn.html#a5f56547d8e9378b669d3cc19d7831cbb" title="Indentifier of the first rv.">rvx</a>; |
122 | | <a name="l00077"></a><a class="code" href="classbdm_1_1diffbifn.html#aa8e3e861d5ec2a7ae9524e6338e58320">00077</a> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classbdm_1_1diffbifn.html#aa8e3e861d5ec2a7ae9524e6338e58320" title="Indentifier of the second rv.">rvu</a>; |
123 | | <a name="l00079"></a><a class="code" href="classbdm_1_1diffbifn.html#aa193aa2c4a500139c0c4b669691e588e">00079</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1diffbifn.html#aa193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a>; |
124 | | <a name="l00081"></a><a class="code" href="classbdm_1_1diffbifn.html#a30c45617eec89adeb4ebaa763d093fb0">00081</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1diffbifn.html#a30c45617eec89adeb4ebaa763d093fb0" title="cache for rvu.count()">dimu</a>; |
| 118 | <a name="l00075"></a><a class="code" href="classbdm_1_1diffbifn.html#5f56547d8e9378b669d3cc19d7831cbb">00075</a> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classbdm_1_1diffbifn.html#5f56547d8e9378b669d3cc19d7831cbb" title="Indentifier of the first rv.">rvx</a>; |
| 119 | <a name="l00077"></a><a class="code" href="classbdm_1_1diffbifn.html#a8e3e861d5ec2a7ae9524e6338e58320">00077</a> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classbdm_1_1diffbifn.html#a8e3e861d5ec2a7ae9524e6338e58320" title="Indentifier of the second rv.">rvu</a>; |
| 120 | <a name="l00079"></a><a class="code" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e">00079</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a>; |
| 121 | <a name="l00081"></a><a class="code" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0">00081</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0" title="cache for rvu.count()">dimu</a>; |
126 | | <a name="l00084"></a><a class="code" href="classbdm_1_1diffbifn.html#a188f31066bd72e1bf0ddacd1eb0e6af3">00084</a> vec <a class="code" href="classbdm_1_1diffbifn.html#a188f31066bd72e1bf0ddacd1eb0e6af3" title="Evaluates (VS: Do we really need common eval? ).">eval</a> ( <span class="keyword">const</span> vec &cond ) { |
127 | | <a name="l00085"></a>00085 <a class="code" href="bdmerror_8h.html#a89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( cond.length() == ( <a class="code" href="classbdm_1_1diffbifn.html#aa193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a> + <a class="code" href="classbdm_1_1diffbifn.html#a30c45617eec89adeb4ebaa763d093fb0" title="cache for rvu.count()">dimu</a> ), <span class="stringliteral">"linfn::eval Wrong cond."</span> ); |
128 | | <a name="l00086"></a>00086 <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1diffbifn.html#a188f31066bd72e1bf0ddacd1eb0e6af3" title="Evaluates (VS: Do we really need common eval? ).">eval</a> ( cond ( 0, <a class="code" href="classbdm_1_1diffbifn.html#aa193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a> - 1 ), cond ( <a class="code" href="classbdm_1_1diffbifn.html#aa193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a>, <a class="code" href="classbdm_1_1diffbifn.html#aa193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a> + <a class="code" href="classbdm_1_1diffbifn.html#a30c45617eec89adeb4ebaa763d093fb0" title="cache for rvu.count()">dimu</a> - 1 ) );<span class="comment">//-1 = end (in matlab)</span> |
| 123 | <a name="l00084"></a><a class="code" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">00084</a> vec <a class="code" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3" title="Evaluates (VS: Do we really need common eval? ).">eval</a> ( <span class="keyword">const</span> vec &cond ) { |
| 124 | <a name="l00085"></a>00085 <a class="code" href="bdmerror_8h.html#89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( cond.length() == ( <a class="code" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a> + <a class="code" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0" title="cache for rvu.count()">dimu</a> ), <span class="stringliteral">"linfn::eval Wrong cond."</span> ); |
| 125 | <a name="l00086"></a>00086 <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3" title="Evaluates (VS: Do we really need common eval? ).">eval</a> ( cond ( 0, <a class="code" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a> - 1 ), cond ( <a class="code" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a>, <a class="code" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a> + <a class="code" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0" title="cache for rvu.count()">dimu</a> - 1 ) );<span class="comment">//-1 = end (in matlab)</span> |
131 | | <a name="l00090"></a><a class="code" href="classbdm_1_1diffbifn.html#ab5462c05b58cd38367ff946836bb82d3">00090</a> <span class="keyword">virtual</span> vec <a class="code" href="classbdm_1_1diffbifn.html#ab5462c05b58cd38367ff946836bb82d3" title="Evaluates .">eval</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0 ) { |
132 | | <a name="l00091"></a>00091 <span class="keywordflow">return</span> zeros ( <a class="code" href="classbdm_1_1fnc.html#a52156cb4a52a62d51fc7455985797a62" title="Length of the output vector.">dimy</a> ); |
| 128 | <a name="l00090"></a><a class="code" href="classbdm_1_1diffbifn.html#b5462c05b58cd38367ff946836bb82d3">00090</a> <span class="keyword">virtual</span> vec <a class="code" href="classbdm_1_1diffbifn.html#b5462c05b58cd38367ff946836bb82d3" title="Evaluates .">eval</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0 ) { |
| 129 | <a name="l00091"></a>00091 <span class="keywordflow">return</span> zeros ( <a class="code" href="classbdm_1_1fnc.html#52156cb4a52a62d51fc7455985797a62" title="Length of the output vector.">dimy</a> ); |
134 | | <a name="l00094"></a><a class="code" href="classbdm_1_1diffbifn.html#a651184f808a35f236dbfea21aca1b6ac">00094</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1diffbifn.html#a651184f808a35f236dbfea21aca1b6ac" title="Evaluates and writes result into A .">dfdx_cond</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0, mat &A , <span class="keywordtype">bool</span> full = <span class="keyword">true</span> ) {}; |
135 | | <a name="l00096"></a><a class="code" href="classbdm_1_1diffbifn.html#a6ea1dc7a482601b29c5ba36a52d20d07">00096</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1diffbifn.html#a6ea1dc7a482601b29c5ba36a52d20d07" title="Evaluates and writes result into A .">dfdu_cond</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0, mat &A, <span class="keywordtype">bool</span> full = <span class="keyword">true</span> ) {}; |
136 | | <a name="l00098"></a><a class="code" href="classbdm_1_1diffbifn.html#a92ff29d748e445b440453a38d0b09681">00098</a> <a class="code" href="classbdm_1_1diffbifn.html#a92ff29d748e445b440453a38d0b09681" title="Default constructor (dimy is not set!).">diffbifn</a> () : <a class="code" href="classbdm_1_1fnc.html" title="Class representing function of variable represented by rv.">fnc</a>() {}; |
137 | | <a name="l00100"></a><a class="code" href="classbdm_1_1diffbifn.html#a1b3c8f5949f13d86d2661e191d4b369b">00100</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1diffbifn.html#a1b3c8f5949f13d86d2661e191d4b369b" title="access function">_dimx</a>()<span class="keyword"> const </span>{ |
138 | | <a name="l00101"></a>00101 <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1diffbifn.html#aa193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a>; |
| 131 | <a name="l00094"></a><a class="code" href="classbdm_1_1diffbifn.html#651184f808a35f236dbfea21aca1b6ac">00094</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1diffbifn.html#651184f808a35f236dbfea21aca1b6ac" title="Evaluates and writes result into A .">dfdx_cond</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0, mat &A , <span class="keywordtype">bool</span> full = <span class="keyword">true</span> ) {}; |
| 132 | <a name="l00096"></a><a class="code" href="classbdm_1_1diffbifn.html#6ea1dc7a482601b29c5ba36a52d20d07">00096</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1diffbifn.html#6ea1dc7a482601b29c5ba36a52d20d07" title="Evaluates and writes result into A .">dfdu_cond</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0, mat &A, <span class="keywordtype">bool</span> full = <span class="keyword">true</span> ) {}; |
| 133 | <a name="l00098"></a><a class="code" href="classbdm_1_1diffbifn.html#92ff29d748e445b440453a38d0b09681">00098</a> <a class="code" href="classbdm_1_1diffbifn.html#92ff29d748e445b440453a38d0b09681" title="Default constructor (dimy is not set!).">diffbifn</a> () : <a class="code" href="classbdm_1_1fnc.html" title="Class representing function of variable represented by rv.">fnc</a>() {}; |
| 134 | <a name="l00100"></a><a class="code" href="classbdm_1_1diffbifn.html#1b3c8f5949f13d86d2661e191d4b369b">00100</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1diffbifn.html#1b3c8f5949f13d86d2661e191d4b369b" title="access function">_dimx</a>()<span class="keyword"> const </span>{ |
| 135 | <a name="l00101"></a>00101 <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a>; |
157 | | <a name="l00125"></a><a class="code" href="classbdm_1_1bilinfn.html#aa4cc832cf8f54b6f6d9ac0dd8c7899dd">00125</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1bilinfn.html#aa4cc832cf8f54b6f6d9ac0dd8c7899dd" title="Alternative initialization.">set_parameters</a> ( <span class="keyword">const</span> mat &A0, <span class="keyword">const</span> mat &B0 ) { |
158 | | <a name="l00126"></a>00126 <a class="code" href="bdmerror_8h.html#a7a3399d182b8e3065532596e76f84849" title="Throw std::runtime_exception if t is not true.">bdm_assert</a> ( A0.rows() == B0.rows(), <span class="stringliteral">"bilinfn matrices must have the same number of rows"</span> ); |
| 154 | <a name="l00125"></a><a class="code" href="classbdm_1_1bilinfn.html#a4cc832cf8f54b6f6d9ac0dd8c7899dd">00125</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1bilinfn.html#a4cc832cf8f54b6f6d9ac0dd8c7899dd" title="Alternative initialization.">set_parameters</a> ( <span class="keyword">const</span> mat &A0, <span class="keyword">const</span> mat &B0 ) { |
| 155 | <a name="l00126"></a>00126 <a class="code" href="bdmerror_8h.html#7a3399d182b8e3065532596e76f84849" title="Throw std::runtime_exception if t is not true.">bdm_assert</a> ( A0.rows() == B0.rows(), <span class="stringliteral">"bilinfn matrices must have the same number of rows"</span> ); |
161 | | <a name="l00129"></a>00129 <a class="code" href="classbdm_1_1fnc.html#a52156cb4a52a62d51fc7455985797a62" title="Length of the output vector.">dimy</a> = A.rows(); |
162 | | <a name="l00130"></a>00130 <a class="code" href="classbdm_1_1diffbifn.html#aa193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a> = A.cols(); |
163 | | <a name="l00131"></a>00131 <a class="code" href="classbdm_1_1diffbifn.html#a30c45617eec89adeb4ebaa763d093fb0" title="cache for rvu.count()">dimu</a> = B.cols(); |
| 158 | <a name="l00129"></a>00129 <a class="code" href="classbdm_1_1fnc.html#52156cb4a52a62d51fc7455985797a62" title="Length of the output vector.">dimy</a> = A.rows(); |
| 159 | <a name="l00130"></a>00130 <a class="code" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a> = A.cols(); |
| 160 | <a name="l00131"></a>00131 <a class="code" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0" title="cache for rvu.count()">dimu</a> = B.cols(); |
166 | | <a name="l00137"></a><a class="code" href="classbdm_1_1bilinfn.html#a846c21e8e8d41555eb7c075f5ff86ffd">00137</a> <span class="keyword">inline</span> vec <a class="code" href="classbdm_1_1bilinfn.html#a846c21e8e8d41555eb7c075f5ff86ffd" title="Evaluates .">eval</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0 ) { |
167 | | <a name="l00138"></a>00138 <a class="code" href="bdmerror_8h.html#a89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( x0.length() == <a class="code" href="classbdm_1_1diffbifn.html#aa193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a>, <span class="stringliteral">"bilinfn::eval Wrong xcond."</span> ); |
168 | | <a name="l00139"></a>00139 <a class="code" href="bdmerror_8h.html#a89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( u0.length() == <a class="code" href="classbdm_1_1diffbifn.html#a30c45617eec89adeb4ebaa763d093fb0" title="cache for rvu.count()">dimu</a>, <span class="stringliteral">"bilinfn::eval Wrong ucond."</span> ); |
| 163 | <a name="l00137"></a><a class="code" href="classbdm_1_1bilinfn.html#846c21e8e8d41555eb7c075f5ff86ffd">00137</a> <span class="keyword">inline</span> vec <a class="code" href="classbdm_1_1bilinfn.html#846c21e8e8d41555eb7c075f5ff86ffd" title="Evaluates .">eval</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0 ) { |
| 164 | <a name="l00138"></a>00138 <a class="code" href="bdmerror_8h.html#89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( x0.length() == <a class="code" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e" title="cache for rvx.count()">dimx</a>, <span class="stringliteral">"bilinfn::eval Wrong xcond."</span> ); |
| 165 | <a name="l00139"></a>00139 <a class="code" href="bdmerror_8h.html#89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( u0.length() == <a class="code" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0" title="cache for rvu.count()">dimu</a>, <span class="stringliteral">"bilinfn::eval Wrong ucond."</span> ); |
172 | | <a name="l00143"></a><a class="code" href="classbdm_1_1bilinfn.html#a33066f1054dd259df2ec5fafae4b46e6">00143</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1bilinfn.html#a33066f1054dd259df2ec5fafae4b46e6" title="Evaluates and writes result into A .">dfdx_cond</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0, mat &F, <span class="keywordtype">bool</span> full ) { |
173 | | <a name="l00144"></a>00144 <a class="code" href="bdmerror_8h.html#a89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( ( F.cols() == A.cols() ) && ( F.rows() == A.rows() ), <span class="stringliteral">"Allocated F is not compatible."</span> ); |
| 169 | <a name="l00143"></a><a class="code" href="classbdm_1_1bilinfn.html#33066f1054dd259df2ec5fafae4b46e6">00143</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1bilinfn.html#33066f1054dd259df2ec5fafae4b46e6" title="Evaluates and writes result into A .">dfdx_cond</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0, mat &F, <span class="keywordtype">bool</span> full ) { |
| 170 | <a name="l00144"></a>00144 <a class="code" href="bdmerror_8h.html#89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( ( F.cols() == A.cols() ) && ( F.rows() == A.rows() ), <span class="stringliteral">"Allocated F is not compatible."</span> ); |
177 | | <a name="l00148"></a><a class="code" href="classbdm_1_1bilinfn.html#a9cfe2f1c115ba7c3c75849a10a4f2c08">00148</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1bilinfn.html#a9cfe2f1c115ba7c3c75849a10a4f2c08" title="Evaluates and writes result into A .">dfdu_cond</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0, mat &F, <span class="keywordtype">bool</span> full = <span class="keyword">true</span> ) { |
178 | | <a name="l00149"></a>00149 <a class="code" href="bdmerror_8h.html#a89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( ( F.cols() == B.cols() ) && ( F.rows() == B.rows() ), <span class="stringliteral">"Allocated F is not compatible."</span> ); |
| 174 | <a name="l00148"></a><a class="code" href="classbdm_1_1bilinfn.html#9cfe2f1c115ba7c3c75849a10a4f2c08">00148</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1bilinfn.html#9cfe2f1c115ba7c3c75849a10a4f2c08" title="Evaluates and writes result into A .">dfdu_cond</a> ( <span class="keyword">const</span> vec &x0, <span class="keyword">const</span> vec &u0, mat &F, <span class="keywordtype">bool</span> full = <span class="keyword">true</span> ) { |
| 175 | <a name="l00149"></a>00149 <a class="code" href="bdmerror_8h.html#89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( ( F.cols() == B.cols() ) && ( F.rows() == B.rows() ), <span class="stringliteral">"Allocated F is not compatible."</span> ); |