Changes in doc/guide/plugin.rst [0a9fcab:3048ec6] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/guide/plugin.rst
r0a9fcab r3048ec6 543 543 M_PI, M_PI_2, M_PI_4, M_SQRT1_2, M_E: 544 544 $\pi$, $\pi/2$, $\pi/4$, $1/\sqrt{2}$ and Euler's constant $e$ 545 exp, log, pow(x,y), expm1, log1p, sqrt, cbrt:546 Power functions $e^x$, $\ln x$, $x^y$, $e^x - 1$, $\ ln 1 + x$,547 $\sqrt{x}$, $\sqrt[3]{x}$. The functions expm1(x) and log1p(x)548 are accurate across all $x$, including $x$very close to zero.545 exp, log, pow(x,y), expm1, sqrt: 546 Power functions $e^x$, $\ln x$, $x^y$, $e^x - 1$, $\sqrt{x}$. 547 The function expm1(x) is accurate across all $x$, including $x$ 548 very close to zero. 549 549 sin, cos, tan, asin, acos, atan: 550 550 Trigonometry functions and inverses, operating on radians. … … 557 557 atan(y/x) would return a value in quadrant I. Similarly for 558 558 quadrants II and IV when $x$ and $y$ have opposite sign. 559 f abs(x), fmin(x,y), fmax(x,y), trunc, rint:559 fmin(x,y), fmax(x,y), trunc, rint: 560 560 Floating point functions. rint(x) returns the nearest integer. 561 561 NAN: 562 562 NaN, Not a Number, $0/0$. Use isnan(x) to test for NaN. Note that 563 563 you cannot use :code:`x == NAN` to test for NaN values since that 564 will always return false. NAN does not equal NAN! The alternative, 565 :code:`x != x` may fail if the compiler optimizes the test away. 564 will always return false. NAN does not equal NAN! 566 565 INFINITY: 567 566 $\infty, 1/0$. Use isinf(x) to test for infinity, or isfinite(x) … … 735 734 Similar arrays are available in :code:`gauss20.c` for 20-point 736 735 quadrature and in :code:`gauss150.c` for 150-point quadrature. 737 The macros :code:`GAUSS_N`, :code:`GAUSS_Z` and :code:`GAUSS_W` are738 defined so that you can change the order of the integration by739 selecting an different source without touching the C code.740 736 741 737 :code:`source = ["lib/gauss76.c", ...]`
Note: See TracChangeset
for help on using the changeset viewer.