| [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> | 
|---|
| [290] | 7 | <!-- Generated by Doxygen 1.5.8 --> | 
|---|
| [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> | 
|---|
|  | 54 | <li><a href="modules.html"><span>Modules</span></a></li> | 
|---|
| [290] | 55 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> | 
|---|
| [259] | 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 List</span></a></li> | 
|---|
| [290] | 62 | <li><a href="classes.html"><span>Class Index</span></a></li> | 
|---|
| [259] | 63 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> | 
|---|
|  | 64 | <li><a href="functions.html"><span>Class Members</span></a></li> | 
|---|
|  | 65 | </ul> | 
|---|
|  | 66 | </div> | 
|---|
| [271] | 67 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1linfn.html">linfn</a> | 
|---|
| [259] | 68 | </div> | 
|---|
|  | 69 | </div> | 
|---|
|  | 70 | <div class="contents"> | 
|---|
| [290] | 71 | <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_80.png">. | 
|---|
|  | 72 | <a href="#_details">More...</a> | 
|---|
| [259] | 73 | <p> | 
|---|
| [290] | 74 | <code>#include <<a class="el" href="libFN_8h-source.html">libFN.h</a>></code> | 
|---|
|  | 75 | <p> | 
|---|
| [259] | 76 |  | 
|---|
|  | 77 | <p> | 
|---|
| [290] | 78 | <a href="classbdm_1_1linfn-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> | 
|---|
| [259] | 79 | <tr><td></td></tr> | 
|---|
|  | 80 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> | 
|---|
|  | 81 | <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)" --> | 
|---|
|  | 82 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1linfn.html#b8063094a2aa210dcf7ae73e2b85e09c">eval</a> (const vec &cond)</td></tr> | 
|---|
|  | 83 |  | 
|---|
| [275] | 84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">function evaluates numerical value of <img class="formulaInl" alt="$f(x)$" src="form_39.png"> at <img class="formulaInl" alt="$x=$" src="form_41.png"> <code>cond</code> <br></td></tr> | 
|---|
| [270] | 85 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b39c494c12863c031eb2acf86c0bc429"></a><!-- doxytag: member="bdm::linfn::linfn" ref="b39c494c12863c031eb2acf86c0bc429" args="()" --> | 
|---|
|  | 86 |  </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1linfn.html#b39c494c12863c031eb2acf86c0bc429">linfn</a> ()</td></tr> | 
|---|
| [259] | 87 |  | 
|---|
|  | 88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor <br></td></tr> | 
|---|
|  | 89 | <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)" --> | 
|---|
|  | 90 | 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> | 
|---|
|  | 91 |  | 
|---|
|  | 92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set values of <code>A</code> and <code>B</code>. <br></td></tr> | 
|---|
|  | 93 | <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)" --> | 
|---|
|  | 94 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#0786e40fade2663a70d654c1dda5d73e">condition</a> (const vec &val)</td></tr> | 
|---|
|  | 95 |  | 
|---|
|  | 96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">function substitutes given value into an appropriate position <br></td></tr> | 
|---|
| [287] | 97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="083832294da9d1e40804158b979c4341"></a><!-- doxytag: member="bdm::linfn::dimension" ref="083832294da9d1e40804158b979c4341" args="() const " --> | 
|---|
|  | 98 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#083832294da9d1e40804158b979c4341">dimension</a> () const </td></tr> | 
|---|
| [259] | 99 |  | 
|---|
|  | 100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> | 
|---|
|  | 101 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> | 
|---|
|  | 102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52156cb4a52a62d51fc7455985797a62"></a><!-- doxytag: member="bdm::linfn::dimy" ref="52156cb4a52a62d51fc7455985797a62" args="" --> | 
|---|
|  | 103 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#52156cb4a52a62d51fc7455985797a62">dimy</a></td></tr> | 
|---|
|  | 104 |  | 
|---|
|  | 105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Length of the output vector. <br></td></tr> | 
|---|
|  | 106 | </table> | 
|---|
| [290] | 107 | <hr><a name="_details"></a><h2>Detailed Description</h2> | 
|---|
|  | 108 | Class representing function <img class="formulaInl" alt="$f(x) = Ax+B$" src="form_80.png">. <hr>The documentation for this class was generated from the following file:<ul> | 
|---|
| [261] | 109 | <li><a class="el" href="libFN_8h-source.html">libFN.h</a></ul> | 
|---|
| [259] | 110 | </div> | 
|---|
| [302] | 111 | <hr size="1"><address style="text-align: right;"><small>Generated on Thu Mar 19 16:25:44 2009 for mixpp by  | 
|---|
| [259] | 112 | <a href="http://www.doxygen.org/index.html"> | 
|---|
| [290] | 113 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> | 
|---|
| [259] | 114 | </body> | 
|---|
|  | 115 | </html> | 
|---|