time-to-botec/squiggle/node_modules/@stdlib/math/base/special
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00
..
abs feat: add the node modules 2022-12-03 12:44:49 +00:00
abs2 feat: add the node modules 2022-12-03 12:44:49 +00:00
abs2f feat: add the node modules 2022-12-03 12:44:49 +00:00
absf feat: add the node modules 2022-12-03 12:44:49 +00:00
acos feat: add the node modules 2022-12-03 12:44:49 +00:00
acosh feat: add the node modules 2022-12-03 12:44:49 +00:00
acot feat: add the node modules 2022-12-03 12:44:49 +00:00
acoth feat: add the node modules 2022-12-03 12:44:49 +00:00
acovercos feat: add the node modules 2022-12-03 12:44:49 +00:00
acoversin feat: add the node modules 2022-12-03 12:44:49 +00:00
ahavercos feat: add the node modules 2022-12-03 12:44:49 +00:00
ahaversin feat: add the node modules 2022-12-03 12:44:49 +00:00
asin feat: add the node modules 2022-12-03 12:44:49 +00:00
asinh feat: add the node modules 2022-12-03 12:44:49 +00:00
atan feat: add the node modules 2022-12-03 12:44:49 +00:00
atan2 feat: add the node modules 2022-12-03 12:44:49 +00:00
atanh feat: add the node modules 2022-12-03 12:44:49 +00:00
avercos feat: add the node modules 2022-12-03 12:44:49 +00:00
aversin feat: add the node modules 2022-12-03 12:44:49 +00:00
bernoulli feat: add the node modules 2022-12-03 12:44:49 +00:00
besselj0 feat: add the node modules 2022-12-03 12:44:49 +00:00
besselj1 feat: add the node modules 2022-12-03 12:44:49 +00:00
bessely0 feat: add the node modules 2022-12-03 12:44:49 +00:00
bessely1 feat: add the node modules 2022-12-03 12:44:49 +00:00
beta feat: add the node modules 2022-12-03 12:44:49 +00:00
betainc feat: add the node modules 2022-12-03 12:44:49 +00:00
betaincinv feat: add the node modules 2022-12-03 12:44:49 +00:00
betaln feat: add the node modules 2022-12-03 12:44:49 +00:00
binet feat: add the node modules 2022-12-03 12:44:49 +00:00
binomcoef feat: add the node modules 2022-12-03 12:44:49 +00:00
binomcoefln feat: add the node modules 2022-12-03 12:44:49 +00:00
boxcox feat: add the node modules 2022-12-03 12:44:49 +00:00
boxcox1p feat: add the node modules 2022-12-03 12:44:49 +00:00
boxcox1pinv feat: add the node modules 2022-12-03 12:44:49 +00:00
boxcoxinv feat: add the node modules 2022-12-03 12:44:49 +00:00
cabs feat: add the node modules 2022-12-03 12:44:49 +00:00
cabs2 feat: add the node modules 2022-12-03 12:44:49 +00:00
cbrt feat: add the node modules 2022-12-03 12:44:49 +00:00
cbrtf feat: add the node modules 2022-12-03 12:44:49 +00:00
cceil feat: add the node modules 2022-12-03 12:44:49 +00:00
cceiln feat: add the node modules 2022-12-03 12:44:49 +00:00
ccis feat: add the node modules 2022-12-03 12:44:49 +00:00
ceil feat: add the node modules 2022-12-03 12:44:49 +00:00
ceil2 feat: add the node modules 2022-12-03 12:44:49 +00:00
ceil10 feat: add the node modules 2022-12-03 12:44:49 +00:00
ceilb feat: add the node modules 2022-12-03 12:44:49 +00:00
ceilf feat: add the node modules 2022-12-03 12:44:49 +00:00
ceiln feat: add the node modules 2022-12-03 12:44:49 +00:00
ceilsd feat: add the node modules 2022-12-03 12:44:49 +00:00
cexp feat: add the node modules 2022-12-03 12:44:49 +00:00
cflipsign feat: add the node modules 2022-12-03 12:44:49 +00:00
cfloor feat: add the node modules 2022-12-03 12:44:49 +00:00
cfloorn feat: add the node modules 2022-12-03 12:44:49 +00:00
cinv feat: add the node modules 2022-12-03 12:44:49 +00:00
clamp feat: add the node modules 2022-12-03 12:44:49 +00:00
clampf feat: add the node modules 2022-12-03 12:44:49 +00:00
copysign feat: add the node modules 2022-12-03 12:44:49 +00:00
cos feat: add the node modules 2022-12-03 12:44:49 +00:00
cosh feat: add the node modules 2022-12-03 12:44:49 +00:00
cosm1 feat: add the node modules 2022-12-03 12:44:49 +00:00
cospi feat: add the node modules 2022-12-03 12:44:49 +00:00
covercos feat: add the node modules 2022-12-03 12:44:49 +00:00
coversin feat: add the node modules 2022-12-03 12:44:49 +00:00
cphase feat: add the node modules 2022-12-03 12:44:49 +00:00
cpolar feat: add the node modules 2022-12-03 12:44:49 +00:00
cround feat: add the node modules 2022-12-03 12:44:49 +00:00
croundn feat: add the node modules 2022-12-03 12:44:49 +00:00
csignum feat: add the node modules 2022-12-03 12:44:49 +00:00
deg2rad feat: add the node modules 2022-12-03 12:44:49 +00:00
deg2radf feat: add the node modules 2022-12-03 12:44:49 +00:00
digamma feat: add the node modules 2022-12-03 12:44:49 +00:00
dirac-delta feat: add the node modules 2022-12-03 12:44:49 +00:00
dirichlet-eta feat: add the node modules 2022-12-03 12:44:49 +00:00
docs/types feat: add the node modules 2022-12-03 12:44:49 +00:00
ellipe feat: add the node modules 2022-12-03 12:44:49 +00:00
ellipk feat: add the node modules 2022-12-03 12:44:49 +00:00
erf feat: add the node modules 2022-12-03 12:44:49 +00:00
erfc feat: add the node modules 2022-12-03 12:44:49 +00:00
erfcinv feat: add the node modules 2022-12-03 12:44:49 +00:00
erfinv feat: add the node modules 2022-12-03 12:44:49 +00:00
exp feat: add the node modules 2022-12-03 12:44:49 +00:00
exp2 feat: add the node modules 2022-12-03 12:44:49 +00:00
exp10 feat: add the node modules 2022-12-03 12:44:49 +00:00
expit feat: add the node modules 2022-12-03 12:44:49 +00:00
expm1 feat: add the node modules 2022-12-03 12:44:49 +00:00
expm1rel feat: add the node modules 2022-12-03 12:44:49 +00:00
factorial feat: add the node modules 2022-12-03 12:44:49 +00:00
factorialln feat: add the node modules 2022-12-03 12:44:49 +00:00
falling-factorial feat: add the node modules 2022-12-03 12:44:49 +00:00
fast feat: add the node modules 2022-12-03 12:44:49 +00:00
fibonacci feat: add the node modules 2022-12-03 12:44:49 +00:00
fibonacci-index feat: add the node modules 2022-12-03 12:44:49 +00:00
flipsign feat: add the node modules 2022-12-03 12:44:49 +00:00
floor feat: add the node modules 2022-12-03 12:44:49 +00:00
floor2 feat: add the node modules 2022-12-03 12:44:49 +00:00
floor10 feat: add the node modules 2022-12-03 12:44:49 +00:00
floorb feat: add the node modules 2022-12-03 12:44:49 +00:00
floorf feat: add the node modules 2022-12-03 12:44:49 +00:00
floorn feat: add the node modules 2022-12-03 12:44:49 +00:00
floorsd feat: add the node modules 2022-12-03 12:44:49 +00:00
fresnel feat: add the node modules 2022-12-03 12:44:49 +00:00
fresnelc feat: add the node modules 2022-12-03 12:44:49 +00:00
fresnels feat: add the node modules 2022-12-03 12:44:49 +00:00
frexp feat: add the node modules 2022-12-03 12:44:49 +00:00
gamma feat: add the node modules 2022-12-03 12:44:49 +00:00
gamma-delta-ratio feat: add the node modules 2022-12-03 12:44:49 +00:00
gamma-lanczos-sum feat: add the node modules 2022-12-03 12:44:49 +00:00
gamma-lanczos-sum-expg-scaled feat: add the node modules 2022-12-03 12:44:49 +00:00
gamma1pm1 feat: add the node modules 2022-12-03 12:44:49 +00:00
gammainc feat: add the node modules 2022-12-03 12:44:49 +00:00
gammaincinv feat: add the node modules 2022-12-03 12:44:49 +00:00
gammaln feat: add the node modules 2022-12-03 12:44:49 +00:00
gcd feat: add the node modules 2022-12-03 12:44:49 +00:00
hacovercos feat: add the node modules 2022-12-03 12:44:49 +00:00
hacoversin feat: add the node modules 2022-12-03 12:44:49 +00:00
havercos feat: add the node modules 2022-12-03 12:44:49 +00:00
haversin feat: add the node modules 2022-12-03 12:44:49 +00:00
heaviside feat: add the node modules 2022-12-03 12:44:49 +00:00
hypot feat: add the node modules 2022-12-03 12:44:49 +00:00
hypotf feat: add the node modules 2022-12-03 12:44:49 +00:00
identity feat: add the node modules 2022-12-03 12:44:49 +00:00
identityf feat: add the node modules 2022-12-03 12:44:49 +00:00
imul feat: add the node modules 2022-12-03 12:44:49 +00:00
imuldw feat: add the node modules 2022-12-03 12:44:49 +00:00
inv feat: add the node modules 2022-12-03 12:44:49 +00:00
invf feat: add the node modules 2022-12-03 12:44:49 +00:00
kernel-betainc feat: add the node modules 2022-12-03 12:44:49 +00:00
kernel-betaincinv feat: add the node modules 2022-12-03 12:44:49 +00:00
kernel-cos feat: add the node modules 2022-12-03 12:44:49 +00:00
kernel-sin feat: add the node modules 2022-12-03 12:44:49 +00:00
kernel-tan feat: add the node modules 2022-12-03 12:44:49 +00:00
kronecker-delta feat: add the node modules 2022-12-03 12:44:49 +00:00
kronecker-deltaf feat: add the node modules 2022-12-03 12:44:49 +00:00
labs feat: add the node modules 2022-12-03 12:44:49 +00:00
lcm feat: add the node modules 2022-12-03 12:44:49 +00:00
ldexp feat: add the node modules 2022-12-03 12:44:49 +00:00
lib feat: add the node modules 2022-12-03 12:44:49 +00:00
ln feat: add the node modules 2022-12-03 12:44:49 +00:00
log feat: add the node modules 2022-12-03 12:44:49 +00:00
log1mexp feat: add the node modules 2022-12-03 12:44:49 +00:00
log1p feat: add the node modules 2022-12-03 12:44:49 +00:00
log1pexp feat: add the node modules 2022-12-03 12:44:49 +00:00
log2 feat: add the node modules 2022-12-03 12:44:49 +00:00
log10 feat: add the node modules 2022-12-03 12:44:49 +00:00
logaddexp feat: add the node modules 2022-12-03 12:44:49 +00:00
logit feat: add the node modules 2022-12-03 12:44:49 +00:00
lucas feat: add the node modules 2022-12-03 12:44:49 +00:00
max feat: add the node modules 2022-12-03 12:44:49 +00:00
maxabs feat: add the node modules 2022-12-03 12:44:49 +00:00
min feat: add the node modules 2022-12-03 12:44:49 +00:00
minabs feat: add the node modules 2022-12-03 12:44:49 +00:00
minmax feat: add the node modules 2022-12-03 12:44:49 +00:00
minmaxabs feat: add the node modules 2022-12-03 12:44:49 +00:00
modf feat: add the node modules 2022-12-03 12:44:49 +00:00
negafibonacci feat: add the node modules 2022-12-03 12:44:49 +00:00
negalucas feat: add the node modules 2022-12-03 12:44:49 +00:00
nonfibonacci feat: add the node modules 2022-12-03 12:44:49 +00:00
pdiff feat: add the node modules 2022-12-03 12:44:49 +00:00
pdifff feat: add the node modules 2022-12-03 12:44:49 +00:00
polygamma feat: add the node modules 2022-12-03 12:44:49 +00:00
pow feat: add the node modules 2022-12-03 12:44:49 +00:00
powm1 feat: add the node modules 2022-12-03 12:44:49 +00:00
rad2deg feat: add the node modules 2022-12-03 12:44:49 +00:00
ramp feat: add the node modules 2022-12-03 12:44:49 +00:00
rampf feat: add the node modules 2022-12-03 12:44:49 +00:00
rempio2 feat: add the node modules 2022-12-03 12:44:49 +00:00
riemann-zeta feat: add the node modules 2022-12-03 12:44:49 +00:00
rising-factorial feat: add the node modules 2022-12-03 12:44:49 +00:00
round feat: add the node modules 2022-12-03 12:44:49 +00:00
round2 feat: add the node modules 2022-12-03 12:44:49 +00:00
round10 feat: add the node modules 2022-12-03 12:44:49 +00:00
roundb feat: add the node modules 2022-12-03 12:44:49 +00:00
roundn feat: add the node modules 2022-12-03 12:44:49 +00:00
roundsd feat: add the node modules 2022-12-03 12:44:49 +00:00
rsqrt feat: add the node modules 2022-12-03 12:44:49 +00:00
rsqrtf feat: add the node modules 2022-12-03 12:44:49 +00:00
sici feat: add the node modules 2022-12-03 12:44:49 +00:00
signum feat: add the node modules 2022-12-03 12:44:49 +00:00
signumf feat: add the node modules 2022-12-03 12:44:49 +00:00
sin feat: add the node modules 2022-12-03 12:44:49 +00:00
sinc feat: add the node modules 2022-12-03 12:44:49 +00:00
sincos feat: add the node modules 2022-12-03 12:44:49 +00:00
sincospi feat: add the node modules 2022-12-03 12:44:49 +00:00
sinh feat: add the node modules 2022-12-03 12:44:49 +00:00
sinpi feat: add the node modules 2022-12-03 12:44:49 +00:00
spence feat: add the node modules 2022-12-03 12:44:49 +00:00
sqrt feat: add the node modules 2022-12-03 12:44:49 +00:00
sqrt1pm1 feat: add the node modules 2022-12-03 12:44:49 +00:00
sqrtf feat: add the node modules 2022-12-03 12:44:49 +00:00
tan feat: add the node modules 2022-12-03 12:44:49 +00:00
tanh feat: add the node modules 2022-12-03 12:44:49 +00:00
tribonacci feat: add the node modules 2022-12-03 12:44:49 +00:00
trigamma feat: add the node modules 2022-12-03 12:44:49 +00:00
trunc feat: add the node modules 2022-12-03 12:44:49 +00:00
trunc2 feat: add the node modules 2022-12-03 12:44:49 +00:00
trunc10 feat: add the node modules 2022-12-03 12:44:49 +00:00
truncb feat: add the node modules 2022-12-03 12:44:49 +00:00
truncf feat: add the node modules 2022-12-03 12:44:49 +00:00
truncn feat: add the node modules 2022-12-03 12:44:49 +00:00
truncsd feat: add the node modules 2022-12-03 12:44:49 +00:00
uimul feat: add the node modules 2022-12-03 12:44:49 +00:00
uimuldw feat: add the node modules 2022-12-03 12:44:49 +00:00
vercos feat: add the node modules 2022-12-03 12:44:49 +00:00
versin feat: add the node modules 2022-12-03 12:44:49 +00:00
wrap feat: add the node modules 2022-12-03 12:44:49 +00:00
xlog1py feat: add the node modules 2022-12-03 12:44:49 +00:00
xlogy feat: add the node modules 2022-12-03 12:44:49 +00:00
package.json feat: add the node modules 2022-12-03 12:44:49 +00:00
README.md feat: add the node modules 2022-12-03 12:44:49 +00:00

Special Functions

Standard library base special math functions.

Usage

var special = require( '@stdlib/math/base/special' );

special

Standard library base special math functions.

var fcns = special;
// returns {...}

Exponential & Logarithmic Functions

Trigonometric Functions

Bessel Functions

  • besselj0( x ): compute the Bessel function of the first kind of order zero.
  • besselj1( x ): compute the Bessel function of the first kind of order one.
  • bessely0( x ): compute the Bessel function of the second kind of order zero.
  • bessely1( x ): compute the Bessel function of the second kind of order one.

Absolute Value and Rounding Functions

  • abs( x ): compute the absolute value of a double-precision floating-point number.
  • abs2( x ): compute the squared absolute value of a double-precision floating-point number.
  • abs2f( x ): compute the squared absolute value of a single-precision floating-point number.
  • absf( x ): compute the absolute value of a single-precision floating-point number.
  • cabs( re, im ): compute an absolute value of a complex number.
  • cabs2( re, im ): compute the squared absolute value of a complex number.
  • cceil( [out,] re, im ): round a complex number toward positive infinity.
  • cceiln( [out,] re, im, n ): round a complex number to the nearest multiple of 10^n toward positive infinity.
  • ceil( x ): round a double-precision floating-point number toward positive infinity.
  • ceil10( x ): round a numeric value to the nearest power of 10 toward positive infinity.
  • ceil2( x ): round a numeric value to the nearest power of two toward positive infinity.
  • ceilb( x, n, b ): round a numeric value to the nearest multiple of b^n toward positive infinity.
  • ceilf( x ): round a single-precision floating-point number toward positive infinity.
  • ceiln( x, n ): round a numeric value to the nearest multiple of 10^n toward positive infinity.
  • ceilsd( x, n[, b] ): round a numeric value to the nearest number toward positive infinity with N significant figures.
  • cfloor( [out,] re, im ): round a complex number toward negative infinity.
  • cfloorn( [out,] re, im, n ): round a complex number to the nearest multiple of 10^n toward negative infinity.
  • clamp( v, min, max ): restrict a double-precision floating-point number to a specified range.
  • clampf( v, min, max ): restrict a single-precision floating-point number to a specified range.
  • cround( [out,] re, im ): round a complex number to the nearest integer.
  • croundn( [out,] re, im, n ): round a complex number to the nearest multiple of 10^n.
  • csignum( [out,] re, im ): evaluate the signum function of a complex number.
  • floor( x ): round a double-precision floating-point number toward negative infinity.
  • floor10( x ): round a numeric value to the nearest power of 10 toward negative infinity.
  • floor2( x ): round a numeric value to the nearest power of two toward negative infinity.
  • floorb( x, n, b ): round a numeric value to the nearest multiple of b^n toward negative infinity.
  • floorf( x ): round a single-precision floating-point numeric value toward negative infinity.
  • floorn( x, n ): round a numeric value to the nearest multiple of 10^n toward negative infinity.
  • floorsd( x, n[, b] ): round a numeric value to the nearest number toward negative infinity with N significant figures.
  • labs( x ): compute an absolute value of a signed 32-bit integer.
  • maxabs( [x[, y[, ...args]]] ): return the maximum absolute value.
  • minabs( [x[, y[, ...args]]] ): return the minimum absolute value.
  • minmaxabs( [out,] x[, y[, ...args]] ): return the minimum and maximum absolute values.
  • round( x ): round a numeric value to the nearest integer.
  • round10( x ): round a numeric value to the nearest power of 10 on a linear scale.
  • round2( x ): round a numeric value to the nearest power of two on a linear scale.
  • roundb( x, n, b ): round a numeric value to the nearest multiple of b^n on a linear scale.
  • roundn( x, n ): round a numeric value to the nearest multiple of 10^n.
  • roundsd( x, n[, b] ): round a numeric value to the nearest number with n significant figures.
  • signum( x ): signum function.
  • signumf( x ): signum function.
  • trunc( x ): round a double-precision floating-point number toward zero.
  • trunc10( x ): round a numeric value to the nearest power of 10 toward zero.
  • trunc2( x ): round a numeric value to the nearest power of two toward zero.
  • truncb( x, n, b ): round a numeric value to the nearest multiple of b^n toward zero.
  • truncf( x ): round a single-precision floating-point number toward zero.
  • truncn( x, n ): round a numeric value to the nearest multiple of 10^n toward zero.
  • truncsd( x, n[, b] ): round a numeric value to the nearest number toward zero with n significant figures.

Other Special Functions

Fast algorithms of various special functions, which trade accuracy for increased speed, are available in the following sub-namespace:

  • fast: standard library fast math special functions.

Finally, the namespace exports the following kernel functions, which are mainly used internally. Beware that they may only be applicable for input values inside a certain number range and/or may not work as expected if not all arguments satisfy the parameter requirements.

Examples

var objectKeys = require( '@stdlib/utils/keys' );
var special = require( '@stdlib/math/base/special' );

console.log( objectKeys( special ) );