<html>
<head>
<title>/vobs/ttcn/TCC_Common/Libraries/TCCUsefulFunctions_CNL113472/src/TCCMaths.cc - TCCUsefulFunctions</title>
<link rel="stylesheet" type="text/css" href="../styles/main.css">
<script language=JavaScript src="../javascript/main.js"></script></head>
<body class="FramedContentPage" onLoad="NDOnLoad()">
<script language=JavaScript>
<!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.4 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content>
<div class="CFile">
<div class=CTopic id=MainTopic>
<h1 class=CTitle>
<a name="TCCMaths.cc"></a>TCCMaths.cc</h1>
<div class=CBody>
<!--START_ND_SUMMARY-->
<div class=Summary>
<div class=STitle>Summary</div>
<div class=SBorder>
<table border=0 cellspacing=0 cellpadding=0 class=STable>
<tr class="SMain">
<td class=SEntry>
<a href="#TCCMaths.cc" >TCCMaths.cc</a></td>
<td class=SDescription></td></tr>
<tr class="SGroup">
<td class=SEntry>
<a href="#Functions" >Functions</a></td>
<td class=SDescription></td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__maxIL" >f__maxIL</a></td>
<td class=SDescription>Return an IntegerList with the highest number found at index 0 and the index of ilist where it&rsquo;s found at index 1</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__minIL" >f__minIL</a></td>
<td class=SDescription>Return an IntegerList with the lowest number found at index 0 and the index of ilist where it&rsquo;s fond at index 1</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__maxFL" >f__maxFL</a></td>
<td class=SDescription>Return an FloatList with the highest number found at index 0 and the index of flist where it&rsquo;s fond at index 1</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__minFL" >f__minFL</a></td>
<td class=SDescription>Return an FloatList with the highest number found at index 0 and the index of flist where it&rsquo;s fond at index 1</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__averageFL" >f__averageFL</a></td>
<td class=SDescription>Return the average of flist</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__averageIL" >f__averageIL</a></td>
<td class=SDescription>Return the average of ilist</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__stdFL" >f__stdFL</a></td>
<td class=SDescription>Return the normalized standard deviation of float list (so the average square distance from the center of elements in the list)</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__stdFLL" >f__stdFLL</a></td>
<td class=SDescription>Return the normalized standard deviation of float list  using custom center (so it is the average square distance from a user defined central value)</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__updateFL" >f__updateFL</a></td>
<td class=SDescription>Append tail to the end of head (head return as inout)</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__updateIL" >f__updateIL</a></td>
<td class=SDescription>Append tail to the end of head (head return as inout)</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__stdIL" >f__stdIL</a></td>
<td class=SDescription>Return the normalized standard deviation of integer list (so the average square distance from the center of points)</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__stdILL" >f__stdILL</a></td>
<td class=SDescription>Return the normalized standard deviation of integer list using custom center (so it is the average square distance from a user defined central value)</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__sinVL" >f__sinVL</a></td>
<td class=SDescription>Return the values of the sin function</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__cosVL" >f__cosVL</a></td>
<td class=SDescription>Return the values of the cos function</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__sin" >f__sin</a></td>
<td class=SDescription>Return the sine of angle radians</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__cos" >f__cos</a></td>
<td class=SDescription>Return the cosine of angle radians</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__asin" >f__asin</a></td>
<td class=SDescription>Return the arc sine of value in [-pi/2, +pi/2]</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__acos" >f__acos</a></td>
<td class=SDescription>Return the arc cosine of value in [0, pi]</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__powFF" >f__powFF</a></td>
<td class=SDescription>Raise to power (float to float power)</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__powII" >f__powII</a></td>
<td class=SDescription>Raise to power (integer to integer power)</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__powIF" >f__powIF</a></td>
<td class=SDescription>Raise to power (integer to float power)</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__powFI" >f__powFI</a></td>
<td class=SDescription>Raise to power (float to integer power)</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__sqrF" >f__sqrF</a></td>
<td class=SDescription>Raise a float value to square</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__sqrI" >f__sqrI</a></td>
<td class=SDescription>Raise an integer value to square</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__sqrtF" >f__sqrtF</a></td>
<td class=SDescription>Square root of float value</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__sqrtI" >f__sqrtI</a></td>
<td class=SDescription>Square root of integer value</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__ceil" >f__ceil</a></td>
<td class=SDescription>Return the smallest integer value that is not less then value</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__floor" >f__floor</a></td>
<td class=SDescription>Return the largest integer value that is not greater then value</td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#f__exp" >f__exp</a></td>
<td class=SDescription>Return the exponential value of the argument</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#f__log" >f__log</a></td>
<td class=SDescription>Return the natural logarithm of the argument</td></tr></table></div></div>
<!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup">
<div class=CTopic>
<h3 class=CTitle>
<a name="Functions"></a>Functions</h3></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__maxIL"></a>f__maxIL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return an IntegerList with the highest number found at index 0 and the index of ilist where it&rsquo;s found at index 1</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>ilist</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#IntegerList" class=LType id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">IntegerList</a> - integer array</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>&lt;IntegerList&gt;</td>
<td class=CDLDescription>integer array: { &lt;max&gt;, &lt;max index&gt; }</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__minIL"></a>f__minIL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return an IntegerList with the lowest number found at index 0 and the index of ilist where it&rsquo;s fond at index 1</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>ilist</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#IntegerList" class=LType id=link2 onMouseOver="ShowTip(event, 'tt1', 'link2')" onMouseOut="HideTip('tt1')">IntegerList</a> - integer array</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>&lt;IntegerList&gt;</td>
<td class=CDLDescription>integer array: { &lt;min&gt;, &lt;min index&gt; }</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__maxFL"></a>f__maxFL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return an FloatList with the highest number found at index 0 and the index of flist where it&rsquo;s fond at index 1</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>flist</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#FloatList" class=LType id=link3 onMouseOver="ShowTip(event, 'tt2', 'link3')" onMouseOut="HideTip('tt2')">FloatList</a> - integer array</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>&lt;FloatList&gt;</td>
<td class=CDLDescription>float array: { &lt;max&gt;, &lt;max index&gt; }</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__minFL"></a>f__minFL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return an FloatList with the highest number found at index 0 and the index of flist where it&rsquo;s fond at index 1</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>flist</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#FloatList" class=LType id=link4 onMouseOver="ShowTip(event, 'tt2', 'link4')" onMouseOut="HideTip('tt2')">FloatList</a> - integer array</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>&lt;FloatList&gt;</td>
<td class=CDLDescription>float array: { &lt;min&gt;, &lt;min index&gt; }</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__averageFL"></a>f__averageFL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the average of flist</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>flist</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#FloatList" class=LType id=link5 onMouseOver="ShowTip(event, 'tt2', 'link5')" onMouseOut="HideTip('tt2')">FloatList</a> - integer array</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>average of float numbers</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__averageIL"></a>f__averageIL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the average of ilist</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>ilist</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#IntegerList" class=LType id=link6 onMouseOver="ShowTip(event, 'tt1', 'link6')" onMouseOut="HideTip('tt1')">IntegerList</a> - integer array</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>average of integer numbers</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__stdFL"></a>f__stdFL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the normalized standard deviation of float list (so the average square distance from the center of elements in the list)</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>flist</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#FloatList" class=LType id=link7 onMouseOver="ShowTip(event, 'tt2', 'link7')" onMouseOut="HideTip('tt2')">FloatList</a> - float list</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>normalized, standard derivate</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>E.g.&nbsp;  list = {2.0, 4.0}</p>
<p>u = (2.0 + 4.0) / 2 &lt;- <b>center of elements in the list</b></p>
<p>len = sizeof(list)</p>
<p>[ ( (2.0-u)^2 + (4.0-u)^2 ) / len ] ^ (0.5)</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__stdFLL"></a>f__stdFLL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the normalized standard deviation of float list  using custom center (so it is the average square distance from a user defined central value)</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>u</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - user defined central value</td></tr>
<tr>
<td class=CDLEntry>flist</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#FloatList" class=LType id=link8 onMouseOver="ShowTip(event, 'tt2', 'link8')" onMouseOut="HideTip('tt2')">FloatList</a> - float list</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>normalized, standard derivate</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>Note: u is the average value of flist and has to be calculated before a call to this function</p>
<p>E.g.&nbsp;  list = {2.0, 4.0}</p>
<p>u &lt;- <b>user input</b></p>
<p>len = sizeof(list)</p>
<p>[ ( (2.0-u)^2 + (4.0-u)^2 ) / len ] ^ (0.5)</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__updateFL"></a>f__updateFL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Append tail to the end of head (head return as inout)</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>head</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#FloatList" class=LType id=link9 onMouseOver="ShowTip(event, 'tt2', 'link9')" onMouseOut="HideTip('tt2')">FloatList</a> - first part of the float list</td></tr>
<tr>
<td class=CDLEntry>tail</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#FloatList" class=LType id=link10 onMouseOver="ShowTip(event, 'tt2', 'link10')" onMouseOut="HideTip('tt2')">FloatList</a> - second part of the float list</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<p>-</p>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__updateIL"></a>f__updateIL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Append tail to the end of head (head return as inout)</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>head</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#IntegerList" class=LType id=link11 onMouseOver="ShowTip(event, 'tt1', 'link11')" onMouseOut="HideTip('tt1')">IntegerList</a> - first part of the integer list</td></tr>
<tr>
<td class=CDLEntry>tail</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#IntegerList" class=LType id=link12 onMouseOver="ShowTip(event, 'tt1', 'link12')" onMouseOut="HideTip('tt1')">IntegerList</a> - second part of the integer list</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<p>-</p>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__stdIL"></a>f__stdIL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the normalized standard deviation of integer list (so the average square distance from the center of points)</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>ilist</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#IntegerList" class=LType id=link13 onMouseOver="ShowTip(event, 'tt1', 'link13')" onMouseOut="HideTip('tt1')">IntegerList</a> - integer list</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>normalized, standard derivate</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>E.g.&nbsp;  list = {2.0, 4.0}</p>
<p>u = (2.0 + 4.0) / 2 &lt;- <b>center of elements in the list</b></p>
<p>len = sizeof(list)</p>
<p>[ ( (2.0-u)^2 + (4.0-u)^2 ) / len ] ^ (0.5)</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__stdILL"></a>f__stdILL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the normalized standard deviation of integer list using custom center (so it is the average square distance from a user defined central value)</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>u</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - user defined central value</td></tr>
<tr>
<td class=CDLEntry>ilist</td>
<td class=CDLDescription>
<b>in</b>
<a href="TCCMaths_GenericTypes-ttcn.html#IntegerList" class=LType id=link14 onMouseOver="ShowTip(event, 'tt1', 'link14')" onMouseOut="HideTip('tt1')">IntegerList</a> - integer list</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>normalized, standard derivate</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>Note: u is a user defined value</p>
<p>E.g.&nbsp;  list = {2.0, 4.0}</p>
<p>u &lt;- <b>user input</b></p>
<p>len = sizeof(list)</p>
<p>[ ( (2.0-u)^2 + (4.0-u)^2 ) / len ] ^ (0.5)</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__sinVL"></a>f__sinVL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the values of the sin function</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>freq</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - the frequency of the sine curve</td></tr>
<tr>
<td class=CDLEntry>altitude</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - the altitude of the sine curve</td></tr>
<tr>
<td class=CDLEntry>start_val</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - the starting value passed to the sine function</td></tr>
<tr>
<td class=CDLEntry>len</td>
<td class=CDLDescription>
<b>in</b>
<b>integer</b> - the wanted number of points of the sine curve</td></tr>
<tr>
<td class=CDLEntry>step</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - the length between the points on the sine curve</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>&lt;FloatList&gt;</td>
<td class=CDLDescription>the wanted points in a float list</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>Generation of one sin value:</p>
<p>altitude * sin(2 * pi * freq * start_val)</p>
<p>start_val := start_val + step</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__cosVL"></a>f__cosVL</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the values of the cos function</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>freq</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - the frequency of the sine curve</td></tr>
<tr>
<td class=CDLEntry>altitude</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - the altitude of the sine curve</td></tr>
<tr>
<td class=CDLEntry>start_val</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - the starting value passed to the sine function</td></tr>
<tr>
<td class=CDLEntry>len</td>
<td class=CDLDescription>
<b>in</b>
<b>integer</b> - the wanted number of points of the sine curve</td></tr>
<tr>
<td class=CDLEntry>step</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - the length between the points on the sine curve</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>&lt;FloatList&gt;</td>
<td class=CDLDescription>the wanted points in a float list</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>Generation of one cos value:</p>
<p>altitude * cos(2 * pi * freq * start_val)</p>
<p>start_val := start_val + step</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__sin"></a>f__sin</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the sine of angle radians</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>angle</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - angle in radians</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>the sine value of angle radians</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__cos"></a>f__cos</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the cosine of angle radians</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>angle</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - angle in radians</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>the cosine value of angle radians</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__asin"></a>f__asin</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the arc sine of value in [-pi/2, +pi/2]</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>val</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>the arc sine value of val</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__acos"></a>f__acos</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the arc cosine of value in [0, pi]</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>val</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>the arc cosine value of val</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__powFF"></a>f__powFF</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Raise to power (float to float power)</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>base</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - base value</td></tr>
<tr>
<td class=CDLEntry>expo</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - exponent value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>base raised to power expo</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__powII"></a>f__powII</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Raise to power (integer to integer power)</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>base</td>
<td class=CDLDescription>
<b>in</b>
<b>integer</b> - base value</td></tr>
<tr>
<td class=CDLEntry>expo</td>
<td class=CDLDescription>
<b>in</b>
<b>integer</b> - exponent value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>integer</td>
<td class=CDLDescription>base raised to power expo</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__powIF"></a>f__powIF</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Raise to power (integer to float power)</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>base</td>
<td class=CDLDescription>
<b>in</b>
<b>integer</b> - base value</td></tr>
<tr>
<td class=CDLEntry>expo</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - exponent value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>base raised to power expo</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__powFI"></a>f__powFI</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Raise to power (float to integer power)</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>base</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - base value</td></tr>
<tr>
<td class=CDLEntry>expo</td>
<td class=CDLDescription>
<b>in</b>
<b>integer</b> - exponent value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>base raised to power expo</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__sqrF"></a>f__sqrF</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Raise a float value to square</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>base</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - base value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>square of base</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__sqrI"></a>f__sqrI</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Raise an integer value to square</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>base</td>
<td class=CDLDescription>
<b>in</b>
<b>integer</b> - base value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>integer</td>
<td class=CDLDescription>square of base</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__sqrtF"></a>f__sqrtF</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Square root of float value</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>base</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - base value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>square root of base</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__sqrtI"></a>f__sqrtI</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Square root of integer value</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>base</td>
<td class=CDLDescription>
<b>in</b>
<b>integer</b> - base value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>square root of base</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__ceil"></a>f__ceil</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the smallest integer value that is not less then value</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>val</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - float value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>integer</td>
<td class=CDLDescription>ceil value of val</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__floor"></a>f__floor</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the largest integer value that is not greater then value</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>val</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - float value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>integer</td>
<td class=CDLDescription>floor value of val</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__exp"></a>f__exp</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the exponential value of the argument</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>val</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - float value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>exp value of val</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="f__log"></a>f__log</h3>
<div class=CBody>
<h4 class=CHeading>Purpose</h4>
<p>Return the natural logarithm of the argument</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>val</td>
<td class=CDLDescription>
<b>in</b>
<b>float</b> - float value</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>float</td>
<td class=CDLDescription>ln value of val</td></tr></table>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

</div>
<!--Content-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1">
<div class=CType>
<blockquote>
<table border=0 cellspacing=0 cellpadding=0 class=Prototype>
<tr>
<td>type record of integer IntegerList</td></tr></table></blockquote>List of integer</div></div>
<div class=CToolTip id="tt2">
<div class=CType>
<blockquote>
<table border=0 cellspacing=0 cellpadding=0 class=Prototype>
<tr>
<td>type record of float FloatList</td></tr></table></blockquote>List of float</div></div>
<!--END_ND_TOOLTIPS-->

<script language=JavaScript>
<!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>