This namespace groups all routines for the computation of mathematical functions. The functions are non-O-O style, i.e. are controlled by arguments rather than attributes for parameters like accuracy, etc..
These functions usually are utilized by the objects from the TET::Math namespace.
|
||||||||||||||||
|
Bernstein Polynomial. This is a wrapper function for convenience so that the result vector need not be specified. Please note that this means a significant runtime penalty for most applications since for the most common case of the evaluation of a Bezier curve, the whole set of function values for 0<=i<=n is needed anyway.
Definition at line 1084 of file tetfunc.h. References Bin(). |
|
||||||||||||||||
|
Bernstein Polynomials.
Bernstein Polynomials
or recursively, as used in this function, as
The function values
Definition at line 816 of file tetfunc.cpp. Referenced by Bin(). |
|
||||||||||||
|
Derivative of the spherical Hankel function of the first kind to integer order and real argument. This function utilizes the wrapper functions for the Bessel and Neumann functions, so the same runtime considerations apply. For maximum performance, compute the function using the basic routines jn() and yn(), respectively.
|
|
||||||||||||
|
Derivative of the spherical Hankel function of the second kind to integer order and real argument. This function utilizes the wrapper functions for the Bessel and Neumann functions, so the same runtime considerations apply. For maximum performance, compute the function using the basic routines jn() and yn(), respectively.
|
|
||||||||||||
|
Derivative of the Spherical Hankel Function of the first kind to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes some runtime overhead. If maximum performance is needed, stick to the original function jyv() and reuse the vectors.
Definition at line 571 of file tetfunc.h. References jyv(). |
|
||||||||||||
|
Derivative of the Hankel Function of the first kind to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function JYv() and reuse the vectors.
Definition at line 257 of file tetfunc.h. References JYv(). |
|
||||||||||||
|
Derivative of the Spherical Hankel Function of the second kind to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes some runtime overhead. If maximum performance is needed, stick to the original function jyv() and reuse the vectors.
Definition at line 633 of file tetfunc.h. References jyv(). |
|
||||||||||||
|
Derivative of the Hankel Function of the second kind to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function JYv() and reuse the vectors.
Definition at line 319 of file tetfunc.h. References JYv(). |
|
||||||||||||
|
Derivative of the spherical Bessel Function to integer order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since two vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function jn() and reuse the vectors.
Definition at line 737 of file tetfunc.h. References jn(). |
|
||||||||||||
|
Derivative of the Spherical Bessel Function to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes some runtime overhead. If maximum performance is needed, stick to the original function jyv() and reuse the vectors.
Definition at line 447 of file tetfunc.h. References jyv(). Referenced by jyv(). |
|
||||||||||||
|
Derivative of Bessel Function to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function JYv() and reuse the vectors.
Definition at line 134 of file tetfunc.h. References JYv(). Referenced by JYv(). |
|
||||||||||||||||
|
Derivative of Associated Legendre Function to integer order and degree and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since two vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function Pnm()and reuse the vectors.
Definition at line 980 of file tetfunc.h. References Pnm(). |
|
||||||||||||
|
Derivative of the spherical Neumann Function to integer order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since two vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function yn() and reuse the vectors.
Definition at line 794 of file tetfunc.h. References yn(). |
|
||||||||||||
|
Derivative of the Spherical Neumann Function to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes some runtime overhead. If maximum performance is needed, stick to the original function jyv() and reuse the vectors.
Definition at line 509 of file tetfunc.h. References jyv(). Referenced by jyv(). |
|
||||||||||||
|
Derivative of Neumann Function to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function JYv() and reuse the vectors.
Definition at line 195 of file tetfunc.h. References JYv(). Referenced by JYv(). |
|
||||||||||||
|
Definition at line 44 of file tetfunc.cpp. |
|
|
Neumann numbers.
The neumann numbers
The main use is with fourier series where they allow for a unified notation of the sum including the mean value belonging to the coefficient with n=0.
|
|
|
Gamma function.
Argument must not be zero or a negative integer. It holds that
Definition at line 851 of file tetfunc.cpp. References TET::abs(). |
|
||||||||||||
|
Spherical Hankel function of the first kind to integer order and real argument. This function utilizes the wrapper functions for the Bessel and Neumann functions, so the same runtime considerations apply. For maximum performance, compute the function using the basic routines jn() and yn(), respectively.
|
|
||||||||||||
|
Spherical Hankel function of the second kind to integer order and real argument. This function utilizes the wrapper functions for the Bessel and Neumann functions, so the same runtime considerations apply. For maximum performance, compute the function using the basic routines jn() and yn(), respectively().
|
|
||||||||||||
|
Spherical Hankel Function of the first kind to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes some runtime overhead. If maximum performance is needed, stick to the original function jyv() and reuse the vectors.
Definition at line 540 of file tetfunc.h. References jyv(). |
|
||||||||||||
|
Hankel Function of the first kind to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function JYv() and reuse the vectors.
Definition at line 226 of file tetfunc.h. References JYv(). |
|
||||||||||||
|
Spherical Hankel Function of the second kind to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes some runtime overhead. If maximum performance is needed, stick to the original function jyv() and reuse the vectors.
Definition at line 602 of file tetfunc.h. References jyv(). |
|
||||||||||||
|
Hankel Function of the second kind to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function JYv() and reuse the vectors.
Definition at line 288 of file tetfunc.h. References JYv(). |
|
||||||||||||
|
Spherical Bessel Function to integer order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since two vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function jn() and reuse the vectors.
Definition at line 709 of file tetfunc.h. References jn(). |
|
||||||||||||||||||||
|
Spherical Bessel Function to integer order and real argument.
Definition at line 355 of file tetfunc.cpp. References TET::abs(), djn(), jn(), mStart1(), and mStart2(). |
|
||||||||||||
|
Spherical Bessel Function to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes some runtime overhead. If maximum performance is needed, stick to the original function jyv() and reuse the vectors.
Definition at line 416 of file tetfunc.h. References jyv(). Referenced by jyv(). |
|
||||||||||||
|
Bessel Function to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function JYv() and reuse the vectors.
Definition at line 103 of file tetfunc.h. References JYv(). Referenced by JYv(). |
|
||||||||||||||||||||||||||||
|
Spherical Bessel (jv) and Neumann (yv) Functions to arbitrary real order and real argument.
The function values are computed using the relation to ordinary Bessel and Neumann functions computed by JYv() . The real order v is split into an integer part n and a real part v0 with n=0,1,2,... and 0<=v0<1. The return vectors are organized like: Jv[n]= The runtime overhead due to the computation using the ordinary cylinder functions should be negligible compared to any user code doing the transformation, so there's no need for optimization here. If the order to be computed is integer, use the faster specialized algorithms of jn() and yn().
Definition at line 378 of file tetfunc.h. References djv(), dyv(), jv(), JYv(), and yv(). Referenced by dhv1(), dhv2(), djv(), dyv(), hv1(), hv2(), jv(), and yv(). |
|
||||||||||||||||||||||||||||
|
Bessel (Jv) and Neumann (Yv) Functions to arbitrary real order and real argument.
The function values are computed using recurrence relations. For this reason, the real order v is split into an integer part n and a real part v0 with n = 0,1,2,... and 0 <= v0 < 1. The return vectors are organized like: Jv[n]=
Definition at line 105 of file tetfunc.cpp. References TET::abs(), dJv(), dYv(), gamma(), Jv(), mStart1(), mStart2(), and Yv(). Referenced by dHv1(), dHv2(), dJv(), dYv(), TET::Math::Cylinder_Function::find_or_create(), Hv1(), Hv2(), Jv(), jyv(), and Yv(). |
|
||||||||||||
|
Definition at line 50 of file tetfunc.cpp. References TET::abs(), and envj(). |
|
||||||||||||||||
|
Definition at line 72 of file tetfunc.cpp. References TET::abs(), and envj(). |
|
||||||||||||||||
|
Associated Legendre Function to integer order and degree and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since two vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function Pnm() and reuse the vectors.
Definition at line 949 of file tetfunc.h. References Pnm(). |
|
||||||||||||||||||||||||
|
Associated Legendre function of integer degree n and integer order m to real argument x.
The function values
Definition at line 469 of file tetfunc.cpp. References TET::abs(). |
|
|
Psi or Digamma function.
The psi function is defined by
Definition at line 917 of file tetfunc.cpp. Referenced by Pvm(). |
|
||||||||||||||||||||
|
Associated Legendre function of arbitrary degree v and integer order m to real, non-negative argument x. This function provides the values of Associated Legendre functions of arbitary, non-negative degree to subsequent integer orders m = 0,1,2,... by using a very efficient and stable recurrence algorithm. Note, however, that this algorithm converges slowly in the vicinity of zero.
Definition at line 686 of file tetfunc.cpp. References TET::abs(), and gamma(). |
|
||||||||||||||||
|
Associated Legendre function of arbitrary degree v and integer order m to real argument x.
Definition at line 575 of file tetfunc.cpp. References TET::abs(), and psi(). |
|
||||||||||||
|
Spherical Neumann Function to integer order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since two vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function yn() and reuse the vectors.
Definition at line 765 of file tetfunc.h. References yn(). |
|
||||||||||||||||||||
|
Spherical Neumann Function to integer order and real argument.
Definition at line 429 of file tetfunc.cpp. References TET::abs(), dyn(), and yn(). |
|
||||||||||||
|
Spherical Neumann Function to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes some runtime overhead. If maximum performance is needed, stick to the original function jyv() and reuse the vectors.
Definition at line 478 of file tetfunc.h. References jyv(). Referenced by jyv(). |
|
||||||||||||
|
Neumann Function to arbitrary order and real argument. This is a wrapper for convenience so that the user doesn't have to specify the result vectors first. However, since four vectors are to be instantiated, this function imposes a little runtime overhead. If maximum performance is needed, stick to the original function JYv() and reuse the vectors.
Definition at line 164 of file tetfunc.h. References JYv(). Referenced by JYv(). |
1.3.6