| [259] | 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: bdm::linfn Class Reference</title> | 
|---|
 | 4 | <link href="tabs.css" rel="stylesheet" type="text/css"> | 
|---|
| [290] | 5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> | 
|---|
| [259] | 6 | </head><body> | 
|---|
| [472] | 7 | <!-- Generated by Doxygen 1.5.9 --> | 
|---|
| [271] | 8 | <script type="text/javascript"> | 
|---|
 | 9 | <!-- | 
|---|
 | 10 | function 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 | } | 
|---|
 | 22 | function 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 | } | 
|---|
 | 46 | window.onload = initDynSections; | 
|---|
 | 47 | --> | 
|---|
 | 48 | </script> | 
|---|
| [259] | 49 | <div class="navigation" id="top"> | 
|---|
 | 50 |   <div class="tabs"> | 
|---|
 | 51 |     <ul> | 
|---|
| [271] | 52 |       <li><a href="main.html"><span>Main Page</span></a></li> | 
|---|
| [259] | 53 |       <li><a href="pages.html"><span>Related Pages</span></a></li> | 
|---|
| [290] | 54 |       <li class="current"><a href="annotated.html"><span>Classes</span></a></li> | 
|---|
| [259] | 55 |       <li><a href="files.html"><span>Files</span></a></li> | 
|---|
 | 56 |     </ul> | 
|---|
 | 57 |   </div> | 
|---|
 | 58 |   <div class="tabs"> | 
|---|
 | 59 |     <ul> | 
|---|
 | 60 |       <li><a href="annotated.html"><span>Class List</span></a></li> | 
|---|
| [290] | 61 |       <li><a href="classes.html"><span>Class Index</span></a></li> | 
|---|
| [259] | 62 |       <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> | 
|---|
 | 63 |       <li><a href="functions.html"><span>Class Members</span></a></li> | 
|---|
 | 64 |     </ul> | 
|---|
 | 65 |   </div> | 
|---|
| [271] | 66 |   <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1linfn.html">linfn</a> | 
|---|
| [259] | 67 |   </div> | 
|---|
 | 68 | </div> | 
|---|
 | 69 | <div class="contents"> | 
|---|
| [397] | 70 | <h1>bdm::linfn Class Reference</h1><!-- doxytag: class="bdm::linfn" --><!-- doxytag: inherits="bdm::fnc" -->Class representing function <img class="formulaInl" alt="$f(x) = Ax+B$" src="form_41.png">.   | 
|---|
| [290] | 71 | <a href="#_details">More...</a> | 
|---|
| [259] | 72 | <p> | 
|---|
| [472] | 73 | <code>#include <<a class="el" href="functions_8h_source.html">functions.h</a>></code> | 
|---|
| [290] | 74 | <p> | 
|---|
| [259] | 75 |  | 
|---|
 | 76 | <p> | 
|---|
| [290] | 77 | <a href="classbdm_1_1linfn-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> | 
|---|
| [259] | 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="b8063094a2aa210dcf7ae73e2b85e09c"></a><!-- doxytag: member="bdm::linfn::eval" ref="b8063094a2aa210dcf7ae73e2b85e09c" args="(const vec &cond)" --> | 
|---|
 | 81 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1linfn.html#b8063094a2aa210dcf7ae73e2b85e09c">eval</a> (const vec &cond)</td></tr> | 
|---|
 | 82 |  | 
|---|
| [397] | 83 | <tr><td class="mdescLeft"> </td><td class="mdescRight">function evaluates numerical value of <img class="formulaInl" alt="$f(x)$" src="form_0.png"> at <img class="formulaInl" alt="$x=$" src="form_6.png"> <code>cond</code> <br></td></tr> | 
|---|
| [270] | 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b39c494c12863c031eb2acf86c0bc429"></a><!-- doxytag: member="bdm::linfn::linfn" ref="b39c494c12863c031eb2acf86c0bc429" args="()" --> | 
|---|
 | 85 |  </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1linfn.html#b39c494c12863c031eb2acf86c0bc429">linfn</a> ()</td></tr> | 
|---|
| [259] | 86 |  | 
|---|
 | 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor <br></td></tr> | 
|---|
 | 88 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7e0e714b814532fc3e38daede24c5e68"></a><!-- doxytag: member="bdm::linfn::set_parameters" ref="7e0e714b814532fc3e38daede24c5e68" args="(const mat &A0, const vec &B0)" --> | 
|---|
 | 89 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1linfn.html#7e0e714b814532fc3e38daede24c5e68">set_parameters</a> (const mat &A0, const vec &B0)</td></tr> | 
|---|
 | 90 |  | 
|---|
 | 91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set values of <code>A</code> and <code>B</code>. <br></td></tr> | 
|---|
 | 92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0786e40fade2663a70d654c1dda5d73e"></a><!-- doxytag: member="bdm::linfn::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> | 
|---|
| [287] | 96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="083832294da9d1e40804158b979c4341"></a><!-- doxytag: member="bdm::linfn::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> | 
|---|
| [259] | 98 |  | 
|---|
 | 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> | 
|---|
| [396] | 100 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::linfn::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> | 
|---|
| [353] | 102 |  | 
|---|
 | 103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> | 
|---|
| [396] | 104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0551e3121091c5199bf4413b50522176"></a><!-- doxytag: member="bdm::linfn::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> | 
|---|
| [353] | 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> | 
|---|
| [396] | 108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::linfn::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> | 
|---|
| [353] | 110 |  | 
|---|
 | 111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> | 
|---|
| [396] | 112 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::linfn::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> | 
|---|
| [368] | 114 |  | 
|---|
 | 115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> | 
|---|
| [259] | 116 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> | 
|---|
 | 117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52156cb4a52a62d51fc7455985797a62"></a><!-- doxytag: member="bdm::linfn::dimy" ref="52156cb4a52a62d51fc7455985797a62" args="" --> | 
|---|
 | 118 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#52156cb4a52a62d51fc7455985797a62">dimy</a></td></tr> | 
|---|
 | 119 |  | 
|---|
 | 120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Length of the output vector. <br></td></tr> | 
|---|
 | 121 | </table> | 
|---|
| [290] | 122 | <hr><a name="_details"></a><h2>Detailed Description</h2> | 
|---|
| [397] | 123 | Class representing function <img class="formulaInl" alt="$f(x) = Ax+B$" src="form_41.png">. <hr>The documentation for this class was generated from the following file:<ul> | 
|---|
| [472] | 124 | <li><a class="el" href="functions_8h_source.html">functions.h</a></ul> | 
|---|
| [397] | 125 | </div> | 
|---|
| [472] | 126 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Aug 5 00:07:00 2009 for mixpp by  | 
|---|
| [259] | 127 | <a href="http://www.doxygen.org/index.html"> | 
|---|
| [472] | 128 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> | 
|---|
| [259] | 129 | </body> | 
|---|
 | 130 | </html> | 
|---|