Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 1043

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>HippoDraw Class Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="hippoApp.ico">
</head><body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_0274a9be98ae47925200be6537e3d505.html">functions</a>
  </div>
</div>
<div class="contents">
<h1>FunctionBase.cxx</h1><a href="FunctionBase_8cxx.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00012"></a>00012 <span class="comment">// for truncation warning in debug mode</span>
<a name="l00013"></a>00013 <span class="preprocessor">#ifdef _MSC_VER</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#include &quot;msdevstudio/MSconfig.h&quot;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#endif</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;<a class="code" href="FunctionBase_8h.html" title="hippodraw::FunctionBase class interface">FunctionBase.h</a>&quot;</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;cassert&gt;</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="keyword">using</span> std::string;
<a name="l00022"></a>00022 <span class="keyword">using</span> std::vector;
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="keyword">namespace </span>hippodraw {
<a name="l00025"></a>00025 
<a name="l00030"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a4c1551ebabc3d6eea597ad4c944df9bc">00030</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#a4c1551ebabc3d6eea597ad4c944df9bc" title="The default constructor.">FunctionBase::FunctionBase</a> ()
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032   <a class="code" href="classhippodraw_1_1FunctionBase.html#adb41893ba19e889e56c559f25fc1a68a" title="The name of the function.">m_name</a> = <span class="stringliteral">&quot;nil&quot;</span>;
<a name="l00033"></a>00033 }
<a name="l00034"></a>00034 
<a name="l00038"></a>00038 <a class="code" href="classhippodraw_1_1FunctionBase.html#a4c1551ebabc3d6eea597ad4c944df9bc" title="The default constructor.">FunctionBase::</a>
<a name="l00039"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#ae8cd1de8326ff39fe568fecb8f6f0627">00039</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#a4c1551ebabc3d6eea597ad4c944df9bc" title="The default constructor.">FunctionBase</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1FunctionBase.html" title="A function that can be added to a DataRep and used in a fitter.">FunctionBase</a> &amp; fb )
<a name="l00040"></a>00040   : m_name ( fb.m_name ),
<a name="l00041"></a>00041     m_parm_names ( fb.m_parm_names ),
<a name="l00042"></a>00042     m_parms ( fb.m_parms )
<a name="l00043"></a>00043 {
<a name="l00044"></a>00044 }
<a name="l00045"></a>00045 
<a name="l00046"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a5dde3933c23f3e8fc877816b4a1f11eb">00046</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#a5dde3933c23f3e8fc877816b4a1f11eb" title="The virtual destructor.">FunctionBase::~FunctionBase</a> ()
<a name="l00047"></a>00047 {
<a name="l00048"></a>00048 }
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 <a class="code" href="classhippodraw_1_1FunctionBase.html" title="A function that can be added to a DataRep and used in a fitter.">FunctionBase</a> *
<a name="l00051"></a>00051 <a class="code" href="classhippodraw_1_1FunctionBase.html#a5e4b003c4faa8b7729e762445c7578d8" title="Creates a new function object by copying an existing one.">FunctionBase::</a>
<a name="l00052"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a5e4b003c4faa8b7729e762445c7578d8">00052</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#a5e4b003c4faa8b7729e762445c7578d8" title="Creates a new function object by copying an existing one.">clone</a> ()<span class="keyword"> const</span>
<a name="l00053"></a>00053 <span class="keyword"></span>{
<a name="l00054"></a>00054   assert ( <span class="keyword">false</span> );
<a name="l00055"></a>00055   <span class="keywordflow">return</span> 0;
<a name="l00056"></a>00056 }
<a name="l00057"></a>00057 
<a name="l00058"></a>00058 <span class="keywordtype">void</span>
<a name="l00059"></a>00059 <a class="code" href="classhippodraw_1_1FunctionBase.html#ac89ece7f0010b352e8d897f0a352f811" title="Sets the FunctionHelper so that the function can calculate a reasonable set of initial...">FunctionBase::</a>
<a name="l00060"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#ac89ece7f0010b352e8d897f0a352f811">00060</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#ac89ece7f0010b352e8d897f0a352f811" title="Sets the FunctionHelper so that the function can calculate a reasonable set of initial...">initialParameters</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1FunctionHelper.html" title="An abstract base class to help FunctionBase objects perform some operations.">FunctionHelper</a> * )
<a name="l00061"></a>00061 {
<a name="l00062"></a>00062 }
<a name="l00063"></a>00063 
<a name="l00064"></a>00064 <span class="keywordtype">void</span>
<a name="l00065"></a>00065 <a class="code" href="classhippodraw_1_1FunctionBase.html#ad79b3edf375d6aa09288510a4e024a64" title="Sets the name of the function.">FunctionBase::</a>
<a name="l00066"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#ad79b3edf375d6aa09288510a4e024a64">00066</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#ad79b3edf375d6aa09288510a4e024a64" title="Sets the name of the function.">setName</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> * name )
<a name="l00067"></a>00067 {
<a name="l00068"></a>00068   <a class="code" href="classhippodraw_1_1FunctionBase.html#adb41893ba19e889e56c559f25fc1a68a" title="The name of the function.">m_name</a> = name;
<a name="l00069"></a>00069 }
<a name="l00070"></a>00070 
<a name="l00071"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a0fc3d585aa53859602ac79c9c421f2a9">00071</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#a0fc3d585aa53859602ac79c9c421f2a9" title="Re-sizes the appropriate vectors maintained in this base class.">FunctionBase::resize</a> ()
<a name="l00072"></a>00072 {
<a name="l00073"></a>00073   assert ( ! <a class="code" href="classhippodraw_1_1FunctionBase.html#a96bf64e362e48f2ad4ecd76c32e4bc54" title="The names of the function parameters.">m_parm_names</a>.empty () );
<a name="l00074"></a>00074 
<a name="l00075"></a>00075   <span class="keywordtype">size_t</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#ab8e4e3e2a7bf18888b71bdf9dda0770b" title="Returns the number of parameters.">size</a> = <a class="code" href="classhippodraw_1_1FunctionBase.html#a96bf64e362e48f2ad4ecd76c32e4bc54" title="The names of the function parameters.">m_parm_names</a>.size ();
<a name="l00076"></a>00076   <a class="code" href="classhippodraw_1_1FunctionBase.html#aa892dcf9755ccd651b666f353b723c34" title="The parameter values.">m_parms</a>.resize ( size );
<a name="l00077"></a>00077 <span class="comment">//   m_fixed.resize ( size, false );</span>
<a name="l00078"></a>00078 
<a name="l00079"></a>00079 }
<a name="l00080"></a>00080 
<a name="l00081"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a11c23a386abb9eb8a42f0c2c2835d640">00081</a> <span class="keyword">const</span> <span class="keywordtype">string</span> &amp; <a class="code" href="classhippodraw_1_1FunctionBase.html#a11c23a386abb9eb8a42f0c2c2835d640" title="Returns the name of the function.">FunctionBase::name</a> ()<span class="keyword"> const</span>
<a name="l00082"></a>00082 <span class="keyword"></span>{
<a name="l00083"></a>00083   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#adb41893ba19e889e56c559f25fc1a68a" title="The name of the function.">m_name</a>;
<a name="l00084"></a>00084 }
<a name="l00085"></a>00085 
<a name="l00086"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a5cd61d6494588c53f64ea1b4497a58e8">00086</a> <span class="keyword">const</span> vector &lt; string &gt; &amp; <a class="code" href="classhippodraw_1_1FunctionBase.html#a5cd61d6494588c53f64ea1b4497a58e8" title="Returns a reference to a vector of parameter names.">FunctionBase::parmNames</a> ( )<span class="keyword"> const</span>
<a name="l00087"></a>00087 <span class="keyword"></span>{
<a name="l00088"></a>00088   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#a96bf64e362e48f2ad4ecd76c32e4bc54" title="The names of the function parameters.">m_parm_names</a>;
<a name="l00089"></a>00089 }
<a name="l00090"></a>00090 
<a name="l00091"></a>00091 <span class="keywordtype">void</span>
<a name="l00092"></a>00092 <a class="code" href="classhippodraw_1_1FunctionBase.html#aeb533a9c185a44ea914278078359866f" title="Sets the names of the parameters.">FunctionBase::</a>
<a name="l00093"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#aeb533a9c185a44ea914278078359866f">00093</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#aeb533a9c185a44ea914278078359866f" title="Sets the names of the parameters.">setParmNames</a> ( <span class="keyword">const</span> std::vector &lt; std::string &gt; &amp; names )
<a name="l00094"></a>00094 {
<a name="l00095"></a>00095   <a class="code" href="classhippodraw_1_1FunctionBase.html#a96bf64e362e48f2ad4ecd76c32e4bc54" title="The names of the function parameters.">m_parm_names</a> = names;
<a name="l00096"></a>00096   <a class="code" href="classhippodraw_1_1FunctionBase.html#a0fc3d585aa53859602ac79c9c421f2a9" title="Re-sizes the appropriate vectors maintained in this base class.">resize</a> ();
<a name="l00097"></a>00097 }
<a name="l00098"></a>00098 
<a name="l00099"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#ab6d95a533aca7f862becee6eca151a68">00099</a> <span class="keyword">const</span> vector &lt; double &gt; &amp; <a class="code" href="classhippodraw_1_1FunctionBase.html#ab6d95a533aca7f862becee6eca151a68" title="Returns the values of the parameters as a vector.">FunctionBase::getParameters</a> ()<span class="keyword"> const</span>
<a name="l00100"></a>00100 <span class="keyword"></span>{
<a name="l00101"></a>00101   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#aa892dcf9755ccd651b666f353b723c34" title="The parameter values.">m_parms</a>;
<a name="l00102"></a>00102 }
<a name="l00103"></a>00103 
<a name="l00104"></a>00104 <span class="keywordtype">void</span>
<a name="l00105"></a>00105 <a class="code" href="classhippodraw_1_1FunctionBase.html#aec721242269c5b893d79e271e85c3f79" title="Sets the parameter values.">FunctionBase::</a>
<a name="l00106"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#aec721242269c5b893d79e271e85c3f79">00106</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#aec721242269c5b893d79e271e85c3f79" title="Sets the parameter values.">setParameters</a> ( <span class="keyword">const</span> std::vector&lt; double &gt; &amp; incr )
<a name="l00107"></a>00107 {
<a name="l00108"></a>00108   vector&lt; double &gt;::const_iterator it = incr.begin ();
<a name="l00109"></a>00109   <a class="code" href="classhippodraw_1_1FunctionBase.html#aec721242269c5b893d79e271e85c3f79" title="Sets the parameter values.">setParameters</a> ( it );
<a name="l00110"></a>00110 }
<a name="l00111"></a>00111 
<a name="l00112"></a>00112 vector &lt; double &gt; ::const_iterator
<a name="l00113"></a>00113 <a class="code" href="classhippodraw_1_1FunctionBase.html#aec721242269c5b893d79e271e85c3f79" title="Sets the parameter values.">FunctionBase::</a>
<a name="l00114"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a893adb244f76732ad5c1c46066ae1463">00114</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#aec721242269c5b893d79e271e85c3f79" title="Sets the parameter values.">setParameters</a> ( std::vector &lt; double &gt; :: const_iterator it )
<a name="l00115"></a>00115 {
<a name="l00116"></a>00116   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#ab8e4e3e2a7bf18888b71bdf9dda0770b" title="Returns the number of parameters.">size</a> = <a class="code" href="classhippodraw_1_1FunctionBase.html#aa892dcf9755ccd651b666f353b723c34" title="The parameter values.">m_parms</a>.size();
<a name="l00117"></a>00117   <span class="keywordflow">for</span> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; size; i++ ) {
<a name="l00118"></a>00118     <a class="code" href="classhippodraw_1_1FunctionBase.html#aa892dcf9755ccd651b666f353b723c34" title="The parameter values.">m_parms</a>[i] = *it++;
<a name="l00119"></a>00119   }
<a name="l00120"></a>00120 
<a name="l00121"></a>00121   <span class="keywordflow">return</span> it;
<a name="l00122"></a>00122 }
<a name="l00123"></a>00123 
<a name="l00124"></a>00124 <span class="keywordtype">bool</span>
<a name="l00125"></a>00125 <a class="code" href="classhippodraw_1_1FunctionBase.html#a014f51d18e05dbf02fc11ea7245a03f8" title="Returns true if function can calculate its partial derivatives.">FunctionBase::</a>
<a name="l00126"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a014f51d18e05dbf02fc11ea7245a03f8">00126</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#a014f51d18e05dbf02fc11ea7245a03f8" title="Returns true if function can calculate its partial derivatives.">hasDerivatives</a> ()<span class="keyword"> const</span>
<a name="l00127"></a>00127 <span class="keyword"></span>{
<a name="l00128"></a>00128   <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00129"></a>00129 }
<a name="l00130"></a>00130 
<a name="l00138"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#abb154a0d5f8e4bb6725fb273a17ea766">00138</a> <span class="keywordtype">double</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#abb154a0d5f8e4bb6725fb273a17ea766" title="Returns the integral of the function from the lower limit to the higher limit.">FunctionBase::integrate</a> ( <span class="keywordtype">double</span> a, <span class="keywordtype">double</span> b )<span class="keyword"> const</span>
<a name="l00139"></a>00139 <span class="keyword"></span>{
<a name="l00140"></a>00140   <span class="keywordtype">int</span> n = 10;
<a name="l00141"></a>00141   <span class="keywordtype">double</span> h  = (b - a)/n;
<a name="l00142"></a>00142   <span class="keywordtype">double</span> x = a;
<a name="l00143"></a>00143   <span class="keywordtype">double</span> sumt = <a class="code" href="classhippodraw_1_1FunctionBase.html#a3a71b677f013fdbc07bdf5dd65ee5f27" title="The function call operator.">operator()</a>( a ) / 2;
<a name="l00144"></a>00144   
<a name="l00145"></a>00145   <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i = 1; i &lt;=  n - 1; i++ )
<a name="l00146"></a>00146     {
<a name="l00147"></a>00147       x += h;
<a name="l00148"></a>00148       sumt += <a class="code" href="classhippodraw_1_1FunctionBase.html#a3a71b677f013fdbc07bdf5dd65ee5f27" title="The function call operator.">operator()</a>( x );
<a name="l00149"></a>00149     }
<a name="l00150"></a>00150   
<a name="l00151"></a>00151   sumt = ( sumt + <a class="code" href="classhippodraw_1_1FunctionBase.html#a3a71b677f013fdbc07bdf5dd65ee5f27" title="The function call operator.">operator()</a>( b ) / 2 ) * h;
<a name="l00152"></a>00152   
<a name="l00153"></a>00153   <span class="keywordflow">return</span> sumt;
<a name="l00154"></a>00154 }
<a name="l00155"></a>00155 
<a name="l00156"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#ab8e4e3e2a7bf18888b71bdf9dda0770b">00156</a> <span class="keywordtype">int</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#ab8e4e3e2a7bf18888b71bdf9dda0770b" title="Returns the number of parameters.">FunctionBase::size</a> ()<span class="keyword"> const</span>
<a name="l00157"></a>00157 <span class="keyword"></span>{
<a name="l00158"></a>00158   <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#a96bf64e362e48f2ad4ecd76c32e4bc54" title="The names of the function parameters.">m_parm_names</a>.size ();
<a name="l00159"></a>00159 }
<a name="l00160"></a>00160 
<a name="l00161"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#af5ca0e3b3f772eb5785976bf9f8975c9">00161</a> <span class="keywordtype">bool</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#af5ca0e3b3f772eb5785976bf9f8975c9" title="Returns false.">FunctionBase::isComposite</a> ()<span class="keyword"> const</span>
<a name="l00162"></a>00162 <span class="keyword"></span>{
<a name="l00163"></a>00163   <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00164"></a>00164 }
<a name="l00165"></a>00165 
<a name="l00166"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#aff0ce151e66257591a964e347d330b1a">00166</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#aff0ce151e66257591a964e347d330b1a" title="Does nothing.">FunctionBase::addToComposite</a> ( <a class="code" href="classhippodraw_1_1FunctionBase.html" title="A function that can be added to a DataRep and used in a fitter.">FunctionBase</a> * )
<a name="l00167"></a>00167 {
<a name="l00168"></a>00168 }
<a name="l00169"></a>00169 
<a name="l00170"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a6b7a91fdf914a37fc34b8996e862528d">00170</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#a6b7a91fdf914a37fc34b8996e862528d" title="Does nothing.">FunctionBase::removeFromComposite</a> ( <a class="code" href="classhippodraw_1_1FunctionBase.html" title="A function that can be added to a DataRep and used in a fitter.">FunctionBase</a> * )
<a name="l00171"></a>00171 {
<a name="l00172"></a>00172 }
<a name="l00173"></a>00173 
<a name="l00174"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a9ba94da7db769b98d02381d872dd9bbb">00174</a> <span class="keywordtype">int</span> <a class="code" href="classhippodraw_1_1FunctionBase.html#a9ba94da7db769b98d02381d872dd9bbb" title="Returns 0.">FunctionBase::count</a>()
<a name="l00175"></a>00175 {
<a name="l00176"></a>00176   <span class="keywordflow">return</span> 0;
<a name="l00177"></a>00177 }
<a name="l00178"></a>00178 
<a name="l00179"></a>00179 <span class="keywordtype">double</span>
<a name="l00180"></a>00180 <a class="code" href="classhippodraw_1_1FunctionBase.html#a3a71b677f013fdbc07bdf5dd65ee5f27" title="The function call operator.">FunctionBase::</a>
<a name="l00181"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a4de2838a89d7e8f10d0242401f5a7e33">00181</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#a3a71b677f013fdbc07bdf5dd65ee5f27" title="The function call operator.">operator () </a>( <span class="keyword">const</span> std::vector &lt; double &gt; &amp; v )<span class="keyword"> const</span>
<a name="l00182"></a>00182 <span class="keyword"></span>{
<a name="l00183"></a>00183   assert ( v.size () == 1 );
<a name="l00184"></a>00184 
<a name="l00185"></a>00185   <span class="keywordflow">return</span> <span class="keyword">this</span> -&gt; <a class="code" href="classhippodraw_1_1FunctionBase.html#a3a71b677f013fdbc07bdf5dd65ee5f27" title="The function call operator.">operator () </a>( v.front () );
<a name="l00186"></a>00186 }
<a name="l00187"></a>00187 
<a name="l00188"></a>00188 <span class="keywordtype">double</span>
<a name="l00189"></a>00189 <a class="code" href="classhippodraw_1_1FunctionBase.html#a8617a1aa7536e4cb61f2a4ec29a39f36" title="Returns the function&amp;#39;s derivative at the coordinate value x with respect to the...">FunctionBase::</a>
<a name="l00190"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a8617a1aa7536e4cb61f2a4ec29a39f36">00190</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#a8617a1aa7536e4cb61f2a4ec29a39f36" title="Returns the function&amp;#39;s derivative at the coordinate value x with respect to the...">derivByParm</a> ( <span class="keywordtype">int</span>, <span class="keywordtype">double</span> )<span class="keyword"> const</span>
<a name="l00191"></a>00191 <span class="keyword"></span>{
<a name="l00192"></a>00192         assert ( <span class="keyword">false</span> );
<a name="l00193"></a>00193         <span class="keywordflow">return</span> 0.;
<a name="l00194"></a>00194 }
<a name="l00195"></a>00195 
<a name="l00196"></a>00196 <span class="keywordtype">void</span>
<a name="l00197"></a>00197 <a class="code" href="classhippodraw_1_1FunctionBase.html#a25a40b6614565f755233080a384c35f1" title="Initializes the function and parameter names.">FunctionBase::</a>
<a name="l00198"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a25a40b6614565f755233080a384c35f1">00198</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#a25a40b6614565f755233080a384c35f1" title="Initializes the function and parameter names.">initialize</a> ()
<a name="l00199"></a>00199 {
<a name="l00200"></a>00200         assert ( <span class="keyword">false</span> );
<a name="l00201"></a>00201 }
<a name="l00202"></a>00202 
<a name="l00203"></a>00203 <span class="keywordtype">double</span>
<a name="l00204"></a>00204 <a class="code" href="classhippodraw_1_1FunctionBase.html#a3a71b677f013fdbc07bdf5dd65ee5f27" title="The function call operator.">FunctionBase::</a>
<a name="l00205"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a3a71b677f013fdbc07bdf5dd65ee5f27">00205</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#a3a71b677f013fdbc07bdf5dd65ee5f27" title="The function call operator.">operator () </a>( <span class="keywordtype">double</span> )<span class="keyword"> const</span>
<a name="l00206"></a>00206 <span class="keyword"></span>{
<a name="l00207"></a>00207         assert ( <span class="keyword">false</span> );
<a name="l00208"></a>00208         <span class="keywordflow">return</span> 0.;
<a name="l00209"></a>00209 }
<a name="l00210"></a>00210 
<a name="l00211"></a>00211 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>
<a name="l00212"></a>00212 <a class="code" href="classhippodraw_1_1FunctionBase.html#a859ce4162e4a8aa28e4599d6c247038d" title="Returns the number of dimensions of the data coordinate.">FunctionBase::</a>
<a name="l00213"></a><a class="code" href="classhippodraw_1_1FunctionBase.html#a859ce4162e4a8aa28e4599d6c247038d">00213</a> <a class="code" href="classhippodraw_1_1FunctionBase.html#a859ce4162e4a8aa28e4599d6c247038d" title="Returns the number of dimensions of the data coordinate.">dimensions</a> ()<span class="keyword"> const</span>
<a name="l00214"></a>00214 <span class="keyword"></span>{
<a name="l00215"></a>00215   <span class="keywordflow">return</span> 1;
<a name="l00216"></a>00216 }
<a name="l00217"></a>00217 
<a name="l00218"></a>00218 } <span class="comment">// namespace hippodraw</span>
<a name="l00219"></a>00219 
</pre></div></div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>