Artifact b2c89973eb3d480465ec8ffe0df32e6b7cb4b66eb55c6011f8b3bf40cd1ee2c7:
- Executable file
r37/lisp/csl/html/r37_0427.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1756) [annotate] [blame] [check-ins using] [more...]
<A NAME=num_int> <TITLE>num_int</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>NUM_INT</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> For the numerical evaluation of univariate integrals over a finite interval the following strategy is used: If <A HREF=r37_0154.html>int</A> finds a formal antiderivative which is bounded in the integration interval, this is evaluated and the end points and the difference is returned. Otherwise a <A HREF=r37_0430.html>Chebyshev fit</A> is computed, starting with order 20, eventually up to order 80. If that is recognized as sufficiently convergent it is used for computing the integral by directly integrating the coefficient sequence. If none of these methods is successful, an adaptive multilevel quadrature algorithm is used. <P> <P> For multivariate integrals only the adaptive quadrature is used. This algorithm tolerates isolated singularities. The value <em>iterations</em> here limits the number of local interval intersection levels. <a> is a measure for the relative total discretization error (comparison of order 1 and order 2 approximations). <P> <P> <P> <H3> syntax: </H3> <em>num_int</em>(<exp>,<var>=(<l> .. <u>) [,<var>=(<l> .. <u>),...] [,accuracy=<a>][,iterations=<i>]) <P> <P> <P> where <exp> is the function to be integrated, <var> are the integration variables, <l> are the lower bounds, <u> are the upper bounds. <P> <P> Result is the value of the integral. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> num_int(sin x,x=(0 .. 3.1415926)); 2.0000010334 </TT></PRE><P>