comparison libinterp/corefcn/quadcc.cc @ 24545:ba8b828ee4f2 stable

doc: Replace @math{1e^{XXX}} sequences with raw 1eXXX (bug #52827). Expansion in TeX leads to incorrect interpretation of 1 * e^{XXX} rather than 1 * 10^{XXX}. * quad.txi, quad.cc (Fquad), quadcc.cc (Fquad.cc), dblquad.m, quadl.m: Replace @math{1e^{XXX}} sequences with raw 1eXXX (bug #52827).
author Rik <rik@octave.org>
date Sun, 07 Jan 2018 08:26:41 -0800
parents 3ac9f9ecfae5
children d3a507ca2d5d
comparison
equal deleted inserted replaced
24544:e891b6dd7e35 24545:ba8b828ee4f2
1501 @var{a} and @var{b} are the lower and upper limits of integration. Either 1501 @var{a} and @var{b} are the lower and upper limits of integration. Either
1502 or both limits may be infinite. @code{quadcc} handles an inifinite limit 1502 or both limits may be infinite. @code{quadcc} handles an inifinite limit
1503 by substituting the variable of integration with @code{x = tan (pi/2*u)}. 1503 by substituting the variable of integration with @code{x = tan (pi/2*u)}.
1504 1504
1505 The optional argument @var{tol} defines the relative tolerance used to stop 1505 The optional argument @var{tol} defines the relative tolerance used to stop
1506 the integration procedure. The default value is @math{1e^{-6}}. 1506 the integration procedure. The default value is 1e-6.
1507 1507
1508 The optional argument @var{sing} contains a list of points where the 1508 The optional argument @var{sing} contains a list of points where the
1509 integrand has known singularities, or discontinuities 1509 integrand has known singularities, or discontinuities
1510 in any of its derivatives, inside the integration interval. 1510 in any of its derivatives, inside the integration interval.
1511 For the example above, which has a discontinuity at x=1, the call to 1511 For the example above, which has a discontinuity at x=1, the call to