classgeometry.html
来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 397 行 · 第 1/2 页
HTML
397 行
Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>dSum</em> </td><td>sum of the series </td></tr><tr><td valign=top><em>dRatio</em> </td><td>ratio with which the the first term is multiplied </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>the first term of the series </dl><p>Definition at line <a class="el" href="Geometry_8C-source.html#l00975">975</a> of file <a class="el" href="Geometry_8C-source.html">Geometry.C</a>.<p>Referenced by <a class="el" href="WorldModelHighLevel_8C-source.html#l01032">WorldModel::getKickSpeedToTravel</a>(). </td> </tr></table><a name="d0" doxytag="Geometry::getLengthGeomSeries"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> double Geometry::getLengthGeomSeries </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>dFirst</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>dRatio</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>dSum</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>A geometric series is one in which there is a constant ratio between each element and the one preceding it. This method determines the length of a geometric series given its first element, the sum of the elements in the series and the constant ratio between the elements. Normally: s = a + ar + ar^2 + ... + ar^n Now: dSum = dFirst + dFirst*dRatio + dFirst*dRatio^2 + .. + dFist*dRatio^n <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>dFirst</em> </td><td>first term of the series </td></tr><tr><td valign=top><em>dRatio</em> </td><td>ratio with which the the first term is multiplied </td></tr><tr><td valign=top><em>dSum</em> </td><td>the total sum of all the serie </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>the length(n in above example) of the series </dl><p>Definition at line <a class="el" href="Geometry_8C-source.html#l00898">898</a> of file <a class="el" href="Geometry_8C-source.html">Geometry.C</a>.<p>Referenced by <a class="el" href="WorldModelHighLevel_8C-source.html#l01032">WorldModel::getKickSpeedToTravel</a>(). </td> </tr></table><a name="d1" doxytag="Geometry::getSumGeomSeries"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> double Geometry::getSumGeomSeries </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>dFirst</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>dRatio</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>dLength</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>A geometric series is one in which there is a constant ratio between each element and the one preceding it. This method determines the sum of a geometric series given its first element, the ratio and the number of steps in the series Normally: s = a + ar + ar^2 + ... + ar^n Now: dSum = dFirst + dFirst*dRatio + ... + dFirst*dRatio^dSteps <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>dFirst</em> </td><td>first term of the series </td></tr><tr><td valign=top><em>dRatio</em> </td><td>ratio with which the the first term is multiplied </td></tr><tr><td valign=top><em>dSum</em> </td><td>the number of steps to be taken into account </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>the sum of the series </dl><p>Definition at line <a class="el" href="Geometry_8C-source.html#l00922">922</a> of file <a class="el" href="Geometry_8C-source.html">Geometry.C</a>.<p>Referenced by <a class="el" href="WorldModelPredict_8C-source.html#l00200">WorldModel::predictPosAfterNrCycles</a>(). </td> </tr></table><a name="d2" doxytag="Geometry::getSumInfGeomSeries"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> double Geometry::getSumInfGeomSeries </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>dFirst</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>dRatio</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>A geometric series is one in which there is a constant ratio between each element and the one preceding it. This method determines the sum of an infinite geometric series given its first element and the constant ratio between the elements. Note that such an infinite series will only converge when 0<r<1. Normally: s = a + ar + ar^2 + ar^3 + .... Now: dSum = dFirst + dFirst*dRatio + dFirst*dRatio^2... <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>dFirst</em> </td><td>first term of the series </td></tr><tr><td valign=top><em>dRatio</em> </td><td>ratio with which the the first term is multiplied </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>the sum of the series </dl><p>Definition at line <a class="el" href="Geometry_8C-source.html#l00939">939</a> of file <a class="el" href="Geometry_8C-source.html">Geometry.C</a>.<p>Referenced by <a class="el" href="BasicPlayer_8C-source.html#l01611">BasicPlayer::getInterceptionPointBall</a>(). </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="Geometry_8h-source.html">Geometry.h</a><li><a class="el" href="Geometry_8C-source.html">Geometry.C</a></ul><hr><address><small>Generated on Thu Mar 7 00:37:54 2002 for UvA Trilearn 2001 by<a href="http://www.doxygen.org/index.html"><img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.12 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?