Module russell_lab::math

source ·
Expand description

This module implements mathematical (specialized) functions and constants

Constants§

Functions§

  • Evaluates the modified Bessel function I0(x) for any real x
  • Evaluates the modified Bessel function I1(x) for any real x
  • Evaluates the modified Bessel function In(x) for any real x and n ≥ 0
  • Evaluates the Bessel function J0(x) for any real x
  • Evaluates the Bessel function J1(x) for any real x
  • Evaluates the Bessel function Jn(x) for any real x
  • Evaluates the modified Bessel function K0(x) for positive real x
  • Evaluates the modified Bessel function K1(x) for positive real x
  • Evaluates the modified Bessel function Kn(x) for positive x and n ≥ 0
  • Evaluates the Bessel function Y0(x) for positive real x
  • Evaluates the Bessel function Y1(x) for positive real x
  • Evaluates the Bessel function Yn(x) for positive real x
  • Evaluates the Euler beta function B(a, b)
  • Evaluates the boxcar function
  • Computes Chebyshev-Gauss points
  • Computes Chebyshev-Gauss-Lobatto points
  • Evaluates the Chebyshev polynomial of first kind Tn(x) using the trigonometric functions
  • Computes the first derivative of the Chebyshev T(n, x) function
  • Computes the second derivative of the Chebyshev Tn(x) function
  • Computes the elliptic integral of the second kind E(φ, m)
  • Computes the elliptic integral of the first kind F(φ, m)
  • Computes the elliptic integral of the third kind Π(n, φ, m)
  • Evaluates the error function
  • Evaluates the inverse error function of x
  • Evaluates the complementary error function
  • Evaluates the inverse of the complementary error function
  • Returns the factorial of n smaller than or equal to 22 by table lookup
  • (ldexp) Composes a floating-point number from a mantissa and exponent
  • (frexp) Decomposes a floating-point number into a mantissa and exponent parts
  • Reports if a floating-point number corresponds to an integer
  • Reports if a floating-point number corresponds to a negative integer
  • (modf) Splits a floating-point number into an integer and a fractional part
  • Evaluates the Gamma function Γ(x)
  • Evaluates the Heaviside step function (derivative of ramp(x))
  • Calculates the imaginary unit (i) raised to power of n
  • Evaluates the natural logarithm of the Beta function B(a, b)
  • Evaluates the natural logarithm and sign of Γ(x)
  • Evaluates the standard logistic (sigmoid) function
  • Returns the first derivative of the standard logistic function
  • (fmod) Returns the floating-point remainder of x/y
  • Calculates negative one raised to the power of n
  • Evaluates the ramp function (Macaulay brackets)
  • Evaluates the sign function
  • Evaluates the smooth ramp function
  • Returns the first derivative of smooth_ramp
  • Returns the second derivative of smooth_ramp
  • Evaluates the superquadric function involving cos(x)
  • Evaluates the superquadric function involving sin(x)
  • Calculates a real number x times the imaginary unit (i) raised to the power of n