Addditional elementary functions (real arguments, double precision)#
General concepts
See also: https://en.wikipedia.org/wiki/Power_of_a_test
See also: https://en.wikipedia.org/wiki/Sample_size_determination
- Additional root, exponential, logarithmic and power functions
- Auxiliary function \(\mathrm{sqrt1pmx}(x) = \sqrt{1+x^2}-x\)
- Cube root, \(\mathrm{cuberoot}(x) = \sqrt[3]{x} = y\), with \(\mathrm{arg}(y)\) closest to \(\mathrm{arg}(x)\)
- Nth root, \(\mathrm{surd}(x, n) = \sqrt[n]{x} = y\), with \(\mathrm{arg}(y)\) closest to \(\mathrm{arg}(x)\)
- Bring radical
- Auxiliary function \(\mathrm{expmx2h}(x) = \exp(-x^2 / 2)\)
- Relative error exponential \(\mathrm{exprel}(x) = (\exp(x) - 1)/x\)
- Auxiliary function \(\mathrm{expx2}(x) = \exp(x \cdot |x|)\)
- Auxiliary function \(\mathrm{logistic}(x) = 1/(1+\exp(-x))\)
- Einstein functions
- Auxiliary function \(\mathrm{log1mexp}(x) = \log(1-\exp(-|x|))\)
- Auxiliary function \(\mathrm{log1pexp}(x) = \log(1+\exp(x))\)
- Auxiliary function \(\mathrm{log1pmx}(x) = \log(1+x)-x\)
- Auxiliary function \(\mathrm{logaddexp}(x, y) = \log[\exp(x) + \exp(y)]\)
- Auxiliary function \(\mathrm{logsubexp}(x, y) = \log[\exp(x) - \exp(y)]\)
- Auxiliary function \(\mathrm{logit}(x) = \log(x/(1.0-x))\)
- Wright \(\omega\) function
- Auxiliary function \(\mathrm{hypot3}(x,y,z) = \sqrt{x^2 + y^2 + z^2}\)
- Fibonacci polynomials, \(\mathrm{fibpoly}(n, x)\)
- Lucas polynomials, \(\mathrm{lucaspoly}(n, x)\)
- Additional Trigonometric functions (real arguments only)
- Sine, \(x\) in degrees, \(\mathrm{sind}(x)\)
- Inverse sine, input in degrees, \(\mathrm{asind}(x)\)
- Cosine, \(x\) in degrees, \(\mathrm{cosd}(x)\)
- Inverse cosine, input in degrees, \(\mathrm{acosd}(x)\)
- Tangent, with \(x\) in degrees, \(\mathrm{tand}(x)\)
- Inverse tangent, input in degrees, \(\mathrm{atand}(x)\)
- Cotangent, with \(x\) in degrees, \(\mathrm{cotd}(x)\)
- Inverse cotangent, input in degrees, \(\mathrm{acotd}(x)\)
- Continuous inverse cotangent, \(\mathrm{acotc}(x)\)
- Coversine, \(\mathrm{covers}(x) = 1 - \sin(x)\)
- Versint function \(\mathrm{versint}(x) = x - \sin(x)\)
- Versine function \(\mathrm{vers}(x) = 1 - \cos(x)\)
- Haversine function \(\mathrm{hav}(x) = (1 - \cos(x))/2\)
- Integral of cos powers, \(\mathrm{cosint}(n,x)\)
- Integral of sin powers, \(\mathrm{sinint}(n,x)\)
- Solutions of Kepler’s equation, \(\mathrm{kepler}(M,e)\)
- Fibonacci function, \(F_{\nu}(x)\), of real index \(\nu\)
- Cardinal hyperbolic sine, \(\mathrm{sinhc}(x) = \sinh(x)/x\)
- Auxiliary function, \(\mathrm{sinhmx}(x) = \sinh(x)-x\)
- Auxiliary function, \(\mathrm{coshm1}(x) = \cosh(x)-1\)
- Langevin function, \(L(x)\)
- Auxiliary function \(\log(\cosh(x))\)
- Auxiliary function \(\log(\sinh(x))\)
- Auxiliary function, \(\mathrm{acos}(1-x)\)
- Gudermannian function \(\mathrm{gd}(x) = \mathrm{asin}(\mathrm{tanh}(x))\)
- Inverse haversine function \(\mathrm{archav}(x) = \mathrm{acos}(1-2x)\)
- Auxiliary function \(\mathrm{acosh}(1+x)\)
- Inverse Gudermannian function \(\mathrm{arcgd}(x) = \mathrm{atanh}(\sin(x))\)
- Inverse Langevin function, \(L^{-1}(x)\)
- Additional real error functions (real arguments only)
- Exponentially scaled complementary error function, \(\mathrm{erfcx}(x)\)
- Imaginary error function, \(\mathrm{erfi}(x)\)
- Difference of error functions, \(\mathrm{erfh}(x,h) = \mathrm{erf}(x+h)-\mathrm{erf}(x-h)\)
- Difference of error functions, \(\mathrm{erf2}(x_1,x_2) = \mathrm{erf}(x_2)-\mathrm{erf}(x_1)\)
- Probability function \(Q(x) = \Phi(-x)\)
- Standard normal quantile function \(\Phi^{-1}(q)\)
- Inverse of the exponentially scaled complementary error function, \(\mathrm{erfcx}^{-1}(x)\)
- Inverse of the imaginary error function, \(\mathrm{erfi}^{-1}(x)\)
- Additional real gamma functions (real arguments only)
- Reciprocal Gamma function, \(1/\Gamma(x)\)
- Logarithm of \(\Gamma(1 + x)\)
- Sign of the gamma function
- Logarithm and sign of the gamma function
- Temme’s regulated gamma function, \(\Gamma^{*}(x)\)
- Logarithm of factorials: \(\log(x!)\)
- Catalan function \(C(x)\)
- Logarithm of the binomial coefficient
- Inverse of the gamma function, \(\Gamma^{-1}(y)\)
- Inverse of the logarithm of the gamma function, \(\log\Gamma^{-1}(y)\)
- Relative Pochhammer symbol, \(((a)_x - 1)/x\)
- Beta function, \(B(a,b)\)
- Log-Beta function
- Additional real incomplete gamma functions (real arguments only)