Special functions
Special functions retain their symbolic form when a closed expression is not available.
Gamma family#
The first-tier gamma special functions. Symbolic special values, the non-positive-integer poles, the recurrence/reflection identities, and arbitrary-precision numeric evaluation (real and complex) all apply.
gamma#
Raw WebAssembly: Default context
gamma(x: Expression): ExpressionThe gamma function , the analytic continuation of (x-1)!.
log_gamma#
Raw WebAssembly: Default context
logGamma(x: Expression): ExpressionCalling forms
Raw WebAssembly: Explicit context: Context.logGamma
logGamma(x: Expression): ExpressionThe principal-branch log-gamma function (not log(gamma(x)) off the real axis).
digamma#
Raw WebAssembly: Default context
digamma(x: Expression): ExpressionThe digamma function .
polygamma#
Raw WebAssembly: Default context
polygamma(order: Expression, x: Expression): ExpressionCalling forms
Raw WebAssembly: Explicit context: Context.polygamma
polygamma(order: Expression, x: Expression): ExpressionThe polygamma function , the order-th derivative of digamma;
polygamma(0, x) reduces to digamma(x).
beta#
Raw WebAssembly: Default context
beta(x: Expression, y: Expression): ExpressionCalling forms
Raw WebAssembly: Explicit context: Context.beta
beta(x: Expression, y: Expression): ExpressionThe beta function .
zeta#
Raw WebAssembly: Default context
zeta(s: Expression): ExpressionThe Riemann zeta function . Even positive integers fold to
the closed forms (zeta(2) = pi^2/6, zeta(4) = pi^4/90, …), zeta(0) = -1/2,
negative integers to their rational functional values (zeta(-1) = -1/12,
zeta(-2n) = 0); zeta(1) is the simple pole (undefined). Odd positive
integers (zeta(3), …) stay the symbolic head; every value evaluates to
arbitrary precision over and .
hurwitz_zeta#
Not exposed by the WASM / JavaScript bindings. Available as Context.hurwitz_zeta in Python, UniffiSession.hurwitzZeta in Kotlin, UniffiSession.hurwitzZeta in Swift, api::Session::hurwitz_zeta in Rust.
The Hurwitz zeta function , the numeric primitive of
the family. hurwitz_zeta(s, 1) folds to zeta(s); hurwitz_zeta(s, 1/2) to
; a positive integer second argument reduces to zeta(s) minus
the finite head; a non-positive integer first argument gives a Bernoulli
polynomial in a.
polylogarithm#
Raw WebAssembly: Default context
polylogarithm(order: Expression, argument: Expression): ExpressionCalling forms
Raw WebAssembly: Explicit context: Context.polylogarithm
polylogarithm(order: Expression, argument: Expression): ExpressionThe principal-branch polylogarithm . The defining-series values
polylogarithm(s, 0) = 0, polylogarithm(s, 1) = zeta(s) for integer
s > 1, and polylogarithm(1, z) = -log(1-z) reduce exactly.
polylogarithm(2, 1/2) uses the branch-safe real dilogarithm reflection
identity and reduces to pi^2/12 - log(2)^2/2. At -1 the alternating
value polylogarithm(s, -1) = (2^(1-s) - 1) zeta(s) reduces exactly for integer
s > 1, so polylogarithm(2, -1) = -pi^2/12.
Numeric evaluation uses defining and near-one series in their certified regions,
the series in on the annulus about the unit circle that the other
routes do not reach,
Hurwitz-zeta continuation for general exterior orders, and a bounded Bernoulli
inversion formula for positive integer orders. Regions outside those certified
routes decline numerically rather than returning a low-confidence value.
lerch_phi#
Not exposed by the WASM / JavaScript bindings. Available as Context.lerch_phi in Python, UniffiSession.lerchPhi in Kotlin, UniffiSession.lerchPhi in Swift, api::Session::lerch_phi in Rust.
The principal Lerch transcendent , whose canonical argument order is
(argument, order, shift). Numeric evaluation uses the defining and near-one
continuation kernels where their hypotheses hold. Exact nonpositive integer shifts
are normalized through the finite-prefix recurrence before those kernels are selected;
other unsupported continuation regions decline numerically.
Error function and Fresnel integrals#
These are the entire, odd functions obtained by integrating a Gaussian kernel from the origin.
Each one vanishes at zero, reflects a negated argument out as an overall sign, and evaluates to
arbitrary precision over and through its hypergeometric representation.
They are the primitives indefinite integration closes onto when no elementary antiderivative
exists: exp(a*x^2 + b*x + c) integrates to error_function for a proved negative a and to
imaginary_error_function for a proved positive a, and sin or cos of a quadratic with a
leading coefficient of proved sign integrates to the Fresnel integrals. A leading coefficient
whose sign is not proved declines.
error_function#
Not exposed by the WASM / JavaScript bindings. Available as Context.error_function in Python, UniffiSession.errorFunction in Kotlin, UniffiSession.errorFunction in Swift, api::Session::error_function in Rust.
The error function .
error_function(0) = 0 and the values at are .
error_function_complementary#
Not exposed by the WASM / JavaScript bindings. Available as Context.error_function_complementary in Python, UniffiSession.errorFunctionComplementary in Kotlin, UniffiSession.errorFunctionComplementary in Swift, api::Session::error_function_complementary in Rust.
The complementary error function .
imaginary_error_function#
Not exposed by the WASM / JavaScript bindings. Available as Context.imaginary_error_function in Python, UniffiSession.imaginaryErrorFunction in Kotlin, UniffiSession.imaginaryErrorFunction in Swift, api::Session::imaginary_error_function in Rust.
The imaginary error function , with derivative . It is real on the real line and grows without bound towards .
fresnel_sine_integral#
Not exposed by the WASM / JavaScript bindings. Available as Context.fresnel_sine_integral in Python, UniffiSession.fresnelSineIntegral in Kotlin, UniffiSession.fresnelSineIntegral in Swift, api::Session::fresnel_sine_integral in Rust.
The Fresnel sine integral in the normalization of DLMF 7.2(iv), so and .
fresnel_cosine_integral#
Not exposed by the WASM / JavaScript bindings. Available as Context.fresnel_cosine_integral in Python, UniffiSession.fresnelCosineIntegral in Kotlin, UniffiSession.fresnelCosineIntegral in Swift, api::Session::fresnel_cosine_integral in Rust.
The Fresnel cosine integral , with and .
Exponential, sine, cosine, and logarithmic integrals#
These are the special functions indefinite integration closes onto for exp(x)/x, sin(x)/x,
cos(x)/x, and 1/log(x). They are symbolic heads with exact derivatives; numeric evaluation of
them is not implemented and declines rather than returning a value.
exponential_integral#
Not exposed by the WASM / JavaScript bindings. Available as Context.exponential_integral in Python, UniffiSession.exponentialIntegral in Kotlin, UniffiSession.exponentialIntegral in Swift, api::Session::exponential_integral in Rust.
The exponential integral , with .
sine_integral#
Not exposed by the WASM / JavaScript bindings. Available as Context.sine_integral in Python, UniffiSession.sineIntegral in Kotlin, UniffiSession.sineIntegral in Swift, api::Session::sine_integral in Rust.
The sine integral . sine_integral(0) = 0 and
sine_integral(infinity) = pi/2.
cosine_integral#
Not exposed by the WASM / JavaScript bindings. Available as Context.cosine_integral in Python, UniffiSession.cosineIntegral in Kotlin, UniffiSession.cosineIntegral in Swift, api::Session::cosine_integral in Rust.
The cosine integral , with .
logarithmic_integral#
Not exposed by the WASM / JavaScript bindings. Available as Context.logarithmic_integral in Python, UniffiSession.logarithmicIntegral in Kotlin, UniffiSession.logarithmicIntegral in Swift, api::Session::logarithmic_integral in Rust.
The logarithmic integral , with .
Generalized hypergeometric family#
Symi implements the ordinary , not the regularized (Olver-normalized) form.
Both parameter groups are ordered sequences: order and repetition are significant, because
p and q are the group lengths and a repeated parameter changes the function. A Python set
or frozenset is rejected; pass a list or tuple. An empty group is valid and is how 0F0 and
0F1 are written.
A call terminates into an exact polynomial when an upper parameter is a non-positive integer.
The lower parameters must avoid the non-positive integers, because those make a Pochhammer
denominator vanish; when a lower parameter is a non-positive integer but the series terminates
strictly before that denominator is reached, the polynomial is still well defined and is
returned. An uncancelled denominator singularity gives undefined.
Numeric evaluation sums the defining series where DLMF 16.2 guarantees convergence: everywhere for , and strictly inside the unit disk with a margin for . Beyond that disk the Gauss function is continued through three principal-branch transformations — Pfaff's (DLMF 15.8.1), the expansion in (DLMF 15.8.4), and the expansion in (DLMF 15.8.2) — and the confluent function uses Kummer's transformation (DLMF 13.2.39) for a negative real part, where the direct terms alternate and lose digits to cancellation. The route is chosen deterministically from the parameters and the argument.
Evaluation declines rather than returning a value whenever:
- the nonterminating series is divergent — it is not assigned a value by a hidden summability convention;
- an argument lies on, or indistinguishably near, the principal cut from to , where the function has two different boundary values;
- a continuation's parameter combination is at or near an integer, the resonance at which the two solutions coincide and the true expansion acquires logarithmic terms;
- no implemented route covers the region — a general with outside its disk, for instance, has no continuation in this release.
A returned value is accepted only when two evaluations at different working precisions agree to the precision that was requested, so a result hollowed out by cancellation declines instead of being reported. Exact simplification never falls back to a numeric result.
error_function and error_function_complementary are evaluated through their DLMF 7.11.1
confluent representation, which gives them the same arbitrary-precision complex behaviour.
Exact reductions that run automatically are limited to the globally safe ones — to the exponential, a zero argument to one, safe parameter cancellation, terminating expansion within a size budget — plus Gauss's summation at (DLMF 15.4.20) when is proved; with the condition unproved the call stays symbolic, because the series there genuinely diverges when it fails.
hypergeometric_pfq#
Not exposed by the WASM / JavaScript bindings. Available as Context.hypergeometric_pfq in Python, UniffiSession.hypergeometricPfq in Kotlin, UniffiSession.hypergeometricPfq in Swift, api::Session::hypergeometric_pfq in Rust.
The generalized hypergeometric function . The two parameter groups are ordered sequences: order and repetition are significant, so a set or frozenset is rejected.
hypergeometric_0f1#
Not exposed by the WASM / JavaScript bindings. Available as Context.hypergeometric_0f1 in Python, UniffiSession.hypergeometric0f1 in Kotlin, UniffiSession.hypergeometric0f1 in Swift, api::Session::hypergeometric_0f1 in Rust.
The confluent limit , lowered to hypergeometric_pfq.
hypergeometric_1f1#
Not exposed by the WASM / JavaScript bindings. Available as Context.hypergeometric_1f1 in Python, UniffiSession.hypergeometric1f1 in Kotlin, UniffiSession.hypergeometric1f1 in Swift, api::Session::hypergeometric_1f1 in Rust.
Kummer's confluent hypergeometric function .
hypergeometric_2f1#
Not exposed by the WASM / JavaScript bindings. Available as Context.hypergeometric_2f1 in Python, UniffiSession.hypergeometric2f1 in Kotlin, UniffiSession.hypergeometric2f1 in Swift, api::Session::hypergeometric_2f1 in Rust.
The Gauss hypergeometric function .
Meijer G-function#
meijer_g#
Not exposed by the WASM / JavaScript bindings. Available as Context.meijer_g in Python, UniffiSession.meijerG in Kotlin, UniffiSession.meijerG in Swift, api::Session::meijer_g in Rust.
The Meijer G-function from its four ordered parameter groups. The orders m,
n, p, and q are read from the group lengths and are never supplied separately.
The four groups follow the DLMF 16.17 partition: the first n upper parameters, the remaining
p - n upper parameters, the first m lower parameters, and the remaining q - m lower
parameters. Any group may be empty.
A configuration in which some upper-numerator parameter minus some lower-numerator parameter is a
positive integer has colliding pole families and no separating contour, and gives undefined.
General Mellin–Barnes contour construction and evaluation are outside this release: a
syntactically valid call whose contour conditions are unsettled stays a symbolic head, and numeric
evaluation of it declines.
The one route into and out of the G head is the residue expansion of DLMF 16.17.2, which writes the call as a finite sum of terms. It applies when , or with the argument strictly inside the unit disk, and when no two of the first lower parameters differ by an integer — at an integer difference the poles merge and the true expansion carries logarithms, so the reduction declines instead. Numeric evaluation of a Meijer-G call runs through exactly that reduction and declines when it does not apply.
The reduction and its inverse are directed rewrites, requested through the special-function basis rather than applied automatically:
generalized_hypergeometricreduces an eligiblemeijer_gcall to its finite sum, and rewriteserror_functioninto its DLMF 7.11.1 confluent form;meijer_grewrites a call into the single G function of DLMF 16.18.1 with its gamma prefactor, declining when a parameter sits on a pole of its own gamma factor.
Bessel, Hankel, spherical-Bessel, and Airy families#
The cylinder functions use their principal branches. bessel_j and bessel_i become entire in
their argument at proved integer order; bessel_y, bessel_k, and the Hankel functions retain
their principal cut. Spherical functions require a nonnegative integer order and do not inherit a
spurious cut from their half-integer cylinder representation. Airy functions are entire.
bessel_j#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::bessel_j in Rust.
The principal Bessel function .
bessel_y#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::bessel_y in Rust.
The principal Bessel function .
bessel_i#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::bessel_i in Rust.
The principal modified Bessel function .
bessel_k#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::bessel_k in Rust.
The principal modified Bessel function .
hankel_first_kind#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::hankel_first_kind in Rust.
The principal Hankel function .
hankel_second_kind#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::hankel_second_kind in Rust.
The principal Hankel function .
spherical_bessel_j#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::spherical_bessel_j in Rust.
The spherical Bessel function , for .
spherical_bessel_y#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::spherical_bessel_y in Rust.
The spherical Bessel function , for .
spherical_hankel_first_kind#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::spherical_hankel_first_kind in Rust.
The spherical Hankel function , for .
spherical_hankel_second_kind#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::spherical_hankel_second_kind in Rust.
The spherical Hankel function , for .
airy_ai#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::airy_ai in Rust.
The Airy function .
airy_bi#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::airy_bi in Rust.
The Airy function .
airy_ai_prime#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::airy_ai_prime in Rust.
The derivative .
airy_bi_prime#
Not exposed by the WASM / JavaScript bindings. Available as api::Session::airy_bi_prime in Rust.
The derivative .
Classical orthogonal polynomials#
Every family in this group is the classical polynomial sequence at a non-negative integer degree,
following DLMF Chapter 18. A degree proved not to be a non-negative integer gives undefined, and a
degree that cannot be classified leaves the call symbolic. Once the degree is admissible the value
is a finite polynomial and therefore entire in its argument, whatever the family parameters are: the
orthogonality hypotheses , , and are conditions of the
weighted-inner-product theorems, not conditions for the polynomial to have a value. hermite_polynomial
is the physicists' .
A literal degree up to 1024 at an exact rational argument, with exact rational family parameters,
evaluates to its exact rational value: chebyshev_polynomial_first_kind(10, 1/2) is -1/2. At any
other argument the named head stays as it is until expand_orthogonal_polynomial is asked for.
jacobi_polynomial#
Not exposed by the WASM / JavaScript bindings. Available as Context.jacobi_polynomial in Python, UniffiSession.jacobiPolynomial in Kotlin, UniffiSession.jacobiPolynomial in Swift, api::Session::jacobi_polynomial in Rust.
The Jacobi polynomial .
gegenbauer_polynomial#
Not exposed by the WASM / JavaScript bindings. Available as Context.gegenbauer_polynomial in Python, UniffiSession.gegenbauerPolynomial in Kotlin, UniffiSession.gegenbauerPolynomial in Swift, api::Session::gegenbauer_polynomial in Rust.
The Gegenbauer polynomial .
chebyshev_polynomial_first_kind#
Not exposed by the WASM / JavaScript bindings. Available as Context.chebyshev_polynomial_first_kind in Python, UniffiSession.chebyshevPolynomialFirstKind in Kotlin, UniffiSession.chebyshevPolynomialFirstKind in Swift, api::Session::chebyshev_polynomial_first_kind in Rust.
The Chebyshev polynomial of the first kind .
chebyshev_polynomial_second_kind#
Not exposed by the WASM / JavaScript bindings. Available as Context.chebyshev_polynomial_second_kind in Python, UniffiSession.chebyshevPolynomialSecondKind in Kotlin, UniffiSession.chebyshevPolynomialSecondKind in Swift, api::Session::chebyshev_polynomial_second_kind in Rust.
The Chebyshev polynomial of the second kind .
legendre_polynomial#
Not exposed by the WASM / JavaScript bindings. Available as Context.legendre_polynomial in Python, UniffiSession.legendrePolynomial in Kotlin, UniffiSession.legendrePolynomial in Swift, api::Session::legendre_polynomial in Rust.
The Legendre polynomial .
generalized_laguerre_polynomial#
Not exposed by the WASM / JavaScript bindings. Available as Context.generalized_laguerre_polynomial in Python, UniffiSession.generalizedLaguerrePolynomial in Kotlin, UniffiSession.generalizedLaguerrePolynomial in Swift, api::Session::generalized_laguerre_polynomial in Rust.
The generalized Laguerre polynomial .
hermite_polynomial#
Not exposed by the WASM / JavaScript bindings. Available as Context.hermite_polynomial in Python, UniffiSession.hermitePolynomial in Kotlin, UniffiSession.hermitePolynomial in Swift, api::Session::hermite_polynomial in Rust.
The physicists' Hermite polynomial .
ultraspherical_polynomial#
Not exposed by the WASM / JavaScript bindings. Available as Context.ultraspherical_polynomial in Python, UniffiSession.ultrasphericalPolynomial in Kotlin, UniffiSession.ultrasphericalPolynomial in Swift, api::Session::ultraspherical_polynomial in Rust.
The ultraspherical polynomial, lowered to its canonical Gegenbauer head.
laguerre_polynomial#
Not exposed by the WASM / JavaScript bindings. Available as Context.laguerre_polynomial in Python, UniffiSession.laguerrePolynomial in Kotlin, UniffiSession.laguerrePolynomial in Swift, api::Session::laguerre_polynomial in Rust.
The Laguerre polynomial, lowered to its canonical generalized Laguerre head.
Example#
This family is not part of the recommended JavaScript facade in this release. Call it through the generated symi.raw layer, whose entries are listed with their wasm-bindgen signatures above, and read Migration for the ownership rules that apply there.
convert_polynomial_basis#
Not exposed by the WASM / JavaScript bindings. Available as api::Expression::convert_polynomial_basis in Rust.
Express a finite univariate polynomial in a classical orthogonal basis — as a
combination of Chebyshev, Legendre, Hermite, Laguerre, Gegenbauer, or Jacobi
polynomials rather than powers of the variable. The conversion is exact; a
target that is not a finite univariate polynomial in variable declines.
orthogonal_polynomial_coefficient#
Not exposed by the WASM / JavaScript bindings. Available as api::Expression::orthogonal_polynomial_coefficient in Rust.
One exact coefficient of that expansion, without forming the whole of it: the coefficient of the basis polynomial of the given degree.
expand_orthogonal_polynomial#
Not exposed by the WASM / JavaScript bindings. Available as api::Expression::expand_orthogonal_polynomial in Rust.
The inverse direction: expand every classical orthogonal polynomial call in the expression into an ordinary polynomial in its variable.
Additional API#
carlsonRc#
Raw WebAssembly: Default context
carlsonRc(
first_argument: Expression,
second_argument: Expression,
): ExpressionCarlson's degenerate symmetric elliptic integral .
Calling forms
Raw WebAssembly: Explicit context: Context.carlsonRc
carlsonRc(
first_argument: Expression,
second_argument: Expression,
): ExpressioncarlsonRd#
Raw WebAssembly: Default context
carlsonRd(
first_argument: Expression,
second_argument: Expression,
third_argument: Expression,
): ExpressionCarlson's symmetric elliptic integral .
Calling forms
Raw WebAssembly: Explicit context: Context.carlsonRd
carlsonRd(
first_argument: Expression,
second_argument: Expression,
third_argument: Expression,
): ExpressioncarlsonRf#
Raw WebAssembly: Default context
carlsonRf(
first_argument: Expression,
second_argument: Expression,
third_argument: Expression,
): ExpressionCarlson's symmetric elliptic integral .
Calling forms
Raw WebAssembly: Explicit context: Context.carlsonRf
carlsonRf(
first_argument: Expression,
second_argument: Expression,
third_argument: Expression,
): ExpressioncarlsonRj#
Raw WebAssembly: Default context
carlsonRj(
first_argument: Expression,
second_argument: Expression,
third_argument: Expression,
fourth_argument: Expression,
): ExpressionCarlson's symmetric elliptic integral .
Calling forms
Raw WebAssembly: Explicit context: Context.carlsonRj
carlsonRj(
first_argument: Expression,
second_argument: Expression,
third_argument: Expression,
fourth_argument: Expression,
): ExpressionchebyshevPolynomialFirstKind#
Raw WebAssembly: Default context
chebyshevPolynomialFirstKind(
degree: Expression,
argument: Expression,
): ExpressionThe Chebyshev polynomial .
Calling forms
Raw WebAssembly: Explicit context: Context.chebyshevPolynomialFirstKind
chebyshevPolynomialFirstKind(
degree: Expression,
argument: Expression,
): ExpressionchebyshevPolynomialSecondKind#
Raw WebAssembly: Default context
chebyshevPolynomialSecondKind(
degree: Expression,
argument: Expression,
): ExpressionThe Chebyshev polynomial .
Calling forms
Raw WebAssembly: Explicit context: Context.chebyshevPolynomialSecondKind
chebyshevPolynomialSecondKind(
degree: Expression,
argument: Expression,
): ExpressioncosineIntegral#
Raw WebAssembly: Default context
cosineIntegral(x: Expression): ExpressionThe cosine integral , with .
Calling forms
Raw WebAssembly: Explicit context: Context.cosineIntegral
cosineIntegral(x: Expression): ExpressionellipticE#
Raw WebAssembly: Default context
ellipticE(parameter: Expression): ExpressionThe complete second-kind elliptic integral , with parameter .
Calling forms
Raw WebAssembly: Explicit context: Context.ellipticE
ellipticE(parameter: Expression): ExpressionellipticEIncomplete#
Raw WebAssembly: Default context
ellipticEIncomplete(
amplitude: Expression,
parameter: Expression,
): ExpressionThe incomplete second-kind elliptic integral , with parameter .
Calling forms
Raw WebAssembly: Explicit context: Context.ellipticEIncomplete
ellipticEIncomplete(
amplitude: Expression,
parameter: Expression,
): ExpressionellipticF#
Raw WebAssembly: Default context
ellipticF(amplitude: Expression, parameter: Expression): ExpressionThe incomplete first-kind elliptic integral , with parameter .
Calling forms
Raw WebAssembly: Explicit context: Context.ellipticF
ellipticF(amplitude: Expression, parameter: Expression): ExpressionellipticK#
Raw WebAssembly: Default context
ellipticK(parameter: Expression): ExpressionThe complete first-kind elliptic integral , with parameter .
Calling forms
Raw WebAssembly: Explicit context: Context.ellipticK
ellipticK(parameter: Expression): ExpressionellipticPi#
Raw WebAssembly: Default context
ellipticPi(
characteristic: Expression,
parameter: Expression,
): ExpressionThe complete third-kind elliptic integral , with parameter .
Calling forms
Raw WebAssembly: Explicit context: Context.ellipticPi
ellipticPi(
characteristic: Expression,
parameter: Expression,
): ExpressionellipticPiIncomplete#
Raw WebAssembly: Default context
ellipticPiIncomplete(
characteristic: Expression,
amplitude: Expression,
parameter: Expression,
): ExpressionThe incomplete third-kind elliptic integral , with parameter .
Calling forms
Raw WebAssembly: Explicit context: Context.ellipticPiIncomplete
ellipticPiIncomplete(
characteristic: Expression,
amplitude: Expression,
parameter: Expression,
): ExpressionerrorFunction#
Raw WebAssembly: Default context
errorFunction(x: Expression): ExpressionThe error function .
Calling forms
Raw WebAssembly: Explicit context: Context.errorFunction
errorFunction(x: Expression): ExpressionerrorFunctionComplementary#
Raw WebAssembly: Default context
errorFunctionComplementary(x: Expression): ExpressionThe complementary error function .
Calling forms
Raw WebAssembly: Explicit context: Context.errorFunctionComplementary
errorFunctionComplementary(x: Expression): ExpressionexponentialIntegral#
Raw WebAssembly: Default context
exponentialIntegral(x: Expression): ExpressionThe exponential integral , with .
Calling forms
Raw WebAssembly: Explicit context: Context.exponentialIntegral
exponentialIntegral(x: Expression): ExpressionfresnelCosineIntegral#
Raw WebAssembly: Default context
fresnelCosineIntegral(x: Expression): ExpressionThe Fresnel cosine integral .
Calling forms
Raw WebAssembly: Explicit context: Context.fresnelCosineIntegral
fresnelCosineIntegral(x: Expression): ExpressionfresnelSineIntegral#
Raw WebAssembly: Default context
fresnelSineIntegral(x: Expression): ExpressionThe Fresnel sine integral .
Calling forms
Raw WebAssembly: Explicit context: Context.fresnelSineIntegral
fresnelSineIntegral(x: Expression): ExpressiongegenbauerPolynomial#
Raw WebAssembly: Default context
gegenbauerPolynomial(
degree: Expression,
parameter: Expression,
argument: Expression,
): ExpressionThe Gegenbauer polynomial .
Calling forms
Raw WebAssembly: Explicit context: Context.gegenbauerPolynomial
gegenbauerPolynomial(
degree: Expression,
parameter: Expression,
argument: Expression,
): ExpressiongeneralizedLaguerrePolynomial#
Raw WebAssembly: Default context
generalizedLaguerrePolynomial(
degree: Expression,
parameter: Expression,
argument: Expression,
): ExpressionThe generalized Laguerre polynomial .
Calling forms
Raw WebAssembly: Explicit context: Context.generalizedLaguerrePolynomial
generalizedLaguerrePolynomial(
degree: Expression,
parameter: Expression,
argument: Expression,
): ExpressionhermitePolynomial#
Raw WebAssembly: Default context
hermitePolynomial(degree: Expression, argument: Expression): ExpressionThe physicists' Hermite polynomial .
Calling forms
Raw WebAssembly: Explicit context: Context.hermitePolynomial
hermitePolynomial(degree: Expression, argument: Expression): ExpressionhurwitzZeta#
Raw WebAssembly: Default context
hurwitzZeta(s: Expression, a: Expression): ExpressionThe Hurwitz zeta function , the numeric primitive of the family. hurwitz_zeta(s, 1) folds to zeta(s); hurwitz_zeta(s, 1/2) to ; a positive integer second argument reduces to zeta(s) minus the finite head; a non-positive integer first argument gives a Bernoulli polynomial in a.
Calling forms
Raw WebAssembly: Explicit context: Context.hurwitzZeta
hurwitzZeta(s: Expression, a: Expression): Expressionhypergeometric0f1#
Raw WebAssembly: Default context
hypergeometric0f1(
lower_parameter: Expression,
argument: Expression,
): ExpressionThe confluent limit , lowered to hypergeometric_pfq.
Calling forms
Raw WebAssembly: Explicit context: Context.hypergeometric0f1
hypergeometric0f1(
lower_parameter: Expression,
argument: Expression,
): Expressionhypergeometric1f1#
Raw WebAssembly: Default context
hypergeometric1f1(
upper_parameter: Expression,
lower_parameter: Expression,
argument: Expression,
): ExpressionKummer's confluent hypergeometric function .
Calling forms
Raw WebAssembly: Explicit context: Context.hypergeometric1f1
hypergeometric1f1(
upper_parameter: Expression,
lower_parameter: Expression,
argument: Expression,
): Expressionhypergeometric2f1#
Raw WebAssembly: Default context
hypergeometric2f1(
first_upper_parameter: Expression,
second_upper_parameter: Expression,
lower_parameter: Expression,
argument: Expression,
): ExpressionThe Gauss hypergeometric function .
Calling forms
Raw WebAssembly: Explicit context: Context.hypergeometric2f1
hypergeometric2f1(
first_upper_parameter: Expression,
second_upper_parameter: Expression,
lower_parameter: Expression,
argument: Expression,
): ExpressionhypergeometricPfq#
Raw WebAssembly: Default context
hypergeometricPfq(
upper_parameters: Expression[],
lower_parameters: Expression[],
argument: Expression,
): ExpressionThe generalized hypergeometric function . The two parameter groups are ordered sequences: order and repetition are significant, so a set or frozenset is rejected.
Calling forms
Raw WebAssembly: Explicit context: Context.hypergeometricPfq
hypergeometricPfq(
upper_parameters: Expression[],
lower_parameters: Expression[],
argument: Expression,
): ExpressionimaginaryErrorFunction#
Raw WebAssembly: Default context
imaginaryErrorFunction(x: Expression): ExpressionThe imaginary error function .
Calling forms
Raw WebAssembly: Explicit context: Context.imaginaryErrorFunction
imaginaryErrorFunction(x: Expression): ExpressionjacobiAmplitude#
Raw WebAssembly: Default context
jacobiAmplitude(argument: Expression, parameter: Expression): ExpressionThe pinned Jacobi amplitude , with parameter .
Calling forms
Raw WebAssembly: Explicit context: Context.jacobiAmplitude
jacobiAmplitude(argument: Expression, parameter: Expression): ExpressionjacobiCn#
Raw WebAssembly: Default context
jacobiCn(argument: Expression, parameter: Expression): ExpressionJacobi's elliptic function , with parameter .
Calling forms
Raw WebAssembly: Explicit context: Context.jacobiCn
jacobiCn(argument: Expression, parameter: Expression): ExpressionjacobiDn#
Raw WebAssembly: Default context
jacobiDn(argument: Expression, parameter: Expression): ExpressionJacobi's elliptic function , with parameter .
Calling forms
Raw WebAssembly: Explicit context: Context.jacobiDn
jacobiDn(argument: Expression, parameter: Expression): ExpressionjacobiPolynomial#
Raw WebAssembly: Default context
jacobiPolynomial(
degree: Expression,
first_parameter: Expression,
second_parameter: Expression,
argument: Expression,
): ExpressionThe Jacobi polynomial .
Calling forms
Raw WebAssembly: Explicit context: Context.jacobiPolynomial
jacobiPolynomial(
degree: Expression,
first_parameter: Expression,
second_parameter: Expression,
argument: Expression,
): ExpressionjacobiSn#
Raw WebAssembly: Default context
jacobiSn(argument: Expression, parameter: Expression): ExpressionJacobi's elliptic function , with parameter .
Calling forms
Raw WebAssembly: Explicit context: Context.jacobiSn
jacobiSn(argument: Expression, parameter: Expression): ExpressionjacobiTheta1#
Raw WebAssembly: Default context
jacobiTheta1(argument: Expression, tau: Expression): ExpressionJacobi's first theta function , with half-period ratio .
Calling forms
Raw WebAssembly: Explicit context: Context.jacobiTheta1
jacobiTheta1(argument: Expression, tau: Expression): ExpressionjacobiTheta2#
Raw WebAssembly: Default context
jacobiTheta2(argument: Expression, tau: Expression): ExpressionJacobi's second theta function , with half-period ratio .
Calling forms
Raw WebAssembly: Explicit context: Context.jacobiTheta2
jacobiTheta2(argument: Expression, tau: Expression): ExpressionjacobiTheta3#
Raw WebAssembly: Default context
jacobiTheta3(argument: Expression, tau: Expression): ExpressionJacobi's third theta function , with half-period ratio .
Calling forms
Raw WebAssembly: Explicit context: Context.jacobiTheta3
jacobiTheta3(argument: Expression, tau: Expression): ExpressionjacobiTheta4#
Raw WebAssembly: Default context
jacobiTheta4(argument: Expression, tau: Expression): ExpressionJacobi's fourth theta function , with half-period ratio .
Calling forms
Raw WebAssembly: Explicit context: Context.jacobiTheta4
jacobiTheta4(argument: Expression, tau: Expression): ExpressionlaguerrePolynomial#
Raw WebAssembly: Default context
laguerrePolynomial(degree: Expression, argument: Expression): ExpressionThe Laguerre polynomial, lowered to generalized Laguerre with parameter zero.
Calling forms
Raw WebAssembly: Explicit context: Context.laguerrePolynomial
laguerrePolynomial(degree: Expression, argument: Expression): ExpressionlegendrePolynomial#
Raw WebAssembly: Default context
legendrePolynomial(degree: Expression, argument: Expression): ExpressionThe Legendre polynomial .
Calling forms
Raw WebAssembly: Explicit context: Context.legendrePolynomial
legendrePolynomial(degree: Expression, argument: Expression): ExpressionlerchPhi#
Raw WebAssembly: Default context
lerchPhi(
argument: Expression,
order: Expression,
shift: Expression,
): ExpressionThe principal Lerch transcendent .
Calling forms
Raw WebAssembly: Explicit context: Context.lerchPhi
lerchPhi(
argument: Expression,
order: Expression,
shift: Expression,
): ExpressionlogarithmicIntegral#
Raw WebAssembly: Default context
logarithmicIntegral(x: Expression): ExpressionThe logarithmic integral , with .
Calling forms
Raw WebAssembly: Explicit context: Context.logarithmicIntegral
logarithmicIntegral(x: Expression): ExpressionmeijerG#
Raw WebAssembly: Default context
meijerG(
upper_numerator_parameters: Expression[],
upper_denominator_parameters: Expression[],
lower_numerator_parameters: Expression[],
lower_denominator_parameters: Expression[],
argument: Expression,
): ExpressionThe Meijer G-function from its four ordered parameter groups. The orders m, n, p, and q are read from the group lengths and are never supplied separately.
Calling forms
Raw WebAssembly: Explicit context: Context.meijerG
meijerG(
upper_numerator_parameters: Expression[],
upper_denominator_parameters: Expression[],
lower_numerator_parameters: Expression[],
lower_denominator_parameters: Expression[],
argument: Expression,
): ExpressionsineIntegral#
Raw WebAssembly: Default context
sineIntegral(x: Expression): ExpressionThe sine integral .
Calling forms
Raw WebAssembly: Explicit context: Context.sineIntegral
sineIntegral(x: Expression): ExpressionultrasphericalPolynomial#
Raw WebAssembly: Default context
ultrasphericalPolynomial(
degree: Expression,
parameter: Expression,
argument: Expression,
): ExpressionThe ultraspherical polynomial, lowered to the Gegenbauer head.