MCPcopy Create free account

hub / github.com/cortex-js/compute-engine / functions

Functions5,294 in github.com/cortex-js/compute-engine

↓ 1 callersFunctionapplyTR7
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:366
↓ 1 callersFunctionapplyTRmorrie
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:2117
↓ 1 callersFunctionapplyTRpythagorean
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:2271
↓ 1 callersFunctionapplyUpstreamCorrections
* Corrections for verified bugs in the frozen Rubi 4.17.3.0 source. Each entry * is keyed by a path substring + rule index and rewrites the rule's `r
scripts/rubi/extract-rules.ts:136
↓ 1 callersFunctionapprox
(a: number, b: number, tol = 1e-9)
docs/reviews/2026-07-archive/round4-gate.ts:17
↓ 1 callersFunctionapproxEq
* Check if two expressions are approximately equal, i.e. their numeric * values differ by at most `ce.tolerance`. * Returns `true`, `false`, or `und
src/compute-engine/library/relational-operator.ts:647
↓ 1 callersFunctionapproximateBitLength
* Cheap (O(digits), not O(digits²)) approximate bit length of a bigint's * magnitude, via its hex string: each hex digit is a fixed-width * reinterp
src/compute-engine/library/number-theory.ts:26
↓ 1 callersFunctionarctanType
* `Arctan`/`Arccot`: real-closed on the *extended* reals (`arctan(±∞) = ±π/2`), * so any real argument → `finite_real`. The only poles are at ±i, so
src/compute-engine/library/type-handlers.ts:120
↓ 1 callersFunctionargAtoms
* Decompose the angle `arg` into a flat list of unit atoms. Sums are split, * rational multiples of sums are distributed (`(a+b)/2 → a/2 + b/2`), and
src/compute-engine/symbolic/trig-rewrite.ts:197
↓ 1 callersFunctionargIndexOf
(expr: Json, v: string | null)
scripts/fungrim/compile-properties.ts:56
↓ 1 callersFunctionargOnPole
( ce: IComputeEngine, operator: string, ops: ReadonlyArray<Expression> )
src/compute-engine/function-properties/index.ts:307
↓ 1 callersFunctionarityFromSignature
(sig: unknown)
src/math-json/scripts/generate_OPERATORS.ts:77
↓ 1 callersFunctionasExamples
(def: DefRecord)
src/math-json/scripts/generate_OPERATORS.ts:106
↓ 1 callersFunctionasInteger
(expr: Expression)
src/compute-engine/boxed-expression/invisible-operator.ts:352
↓ 1 callersFunctionasMachineRational
(r: Rational)
src/compute-engine/numerics/rationals.ts:181
↓ 1 callersFunctionasRatio
Split `e` into a numerator/denominator if it is a quotient.
src/compute-engine/symbolic/limit.ts:806
↓ 1 callersMethodasRationalExpression
()
src/compute-engine/boxed-expression/arithmetic-mul-div.ts:574
↓ 1 callersFunctionasRecord
(value: unknown)
src/compute-engine/oeis.ts:69
↓ 1 callersFunctionask
( ce: IComputeEngine, pattern: Expression )
src/compute-engine/engine-assumptions.ts:66
↓ 1 callersFunctionassertCompilationOptionsContract
( options: unknown )
src/compute-engine/engine-extension-contracts.ts:240
↓ 1 callersFunctionassertCompilationOptionsFunctions
(value: unknown)
src/compute-engine/engine-extension-contracts.ts:198
↓ 1 callersFunctionassertCompilationOptionsImports
(value: unknown)
src/compute-engine/engine-extension-contracts.ts:232
↓ 1 callersFunctionassertCompilationOptionsOperators
(value: unknown)
src/compute-engine/engine-extension-contracts.ts:182
↓ 1 callersFunctionassertCompilationOptionsVars
(value: unknown)
src/compute-engine/engine-extension-contracts.ts:216
↓ 1 callersFunctionassertCompilationTargetContract
( target: unknown )
src/compute-engine/engine-extension-contracts.ts:52
↓ 1 callersFunctionassertCompilationTargetName
(name: unknown)
src/compute-engine/engine-extension-contracts.ts:37
↓ 1 callersFunctionassertCompileTargetContract
( target: unknown )
src/compute-engine/engine-extension-contracts.ts:125
↓ 1 callersFunctionassertLibraryDefinitionContract
( library: unknown )
src/compute-engine/engine-extension-contracts.ts:111
↓ 1 callersFunctionassertLibraryDefinitions
(value: unknown, libraryName: string)
src/compute-engine/engine-extension-contracts.ts:98
↓ 1 callersFunctionassertLibraryRequires
(value: unknown, libraryName: string)
src/compute-engine/engine-extension-contracts.ts:69
↓ 1 callersFunctionassertOperatorEntry
(operator: string, value: unknown)
src/compute-engine/engine-extension-contracts.ts:167
↓ 1 callersFunctionassignWildcards
( remainingOps: Expression[], sub: BoxedSubstitution )
src/compute-engine/boxed-expression/match.ts:768
↓ 1 callersFunctionassume
(proposition: Expression)
src/compute-engine/assume.ts:88
↓ 1 callersMethodassume
* Add an assumption. * * Note that the assumption is put into canonical form before being added. * * Returns: * - `contradiction` if th
src/compute-engine/index.ts:2016
↓ 1 callersFunctionassumeConjunction
* Assume a conjunction: each conjunct is assumed independently * (design §3.2, "shallow saturation"). * * Result: `'contradiction'` if any conjunct
src/compute-engine/assume.ts:164
↓ 1 callersFunctionassumeElement
(proposition: Expression)
src/compute-engine/assume.ts:751
↓ 1 callersFunctionassumeElementOfSet
* Assume `symbol ∈ setExpr`, decomposing structured sets into independent * stored facts plus type refinements ("shallow saturation", design §3.2):
src/compute-engine/assume.ts:818
↓ 1 callersFunctionassumeEquality
(proposition: Expression)
src/compute-engine/assume.ts:282
↓ 1 callersFunctionassumeNotElement
* Assume `NotElement(x, S)`: store an exclusion fact (design §4.1).
src/compute-engine/assume.ts:249
↓ 1 callersFunctionassumeNotEqual
* Assume a disequality `NotEqual(x, v)` or `NotEqual(Part(x), v)` * (design §4.1; stored in the §3.2 normal form `NotEqual(subject, v)`).
src/compute-engine/assume.ts:214
↓ 1 callersMethodatEnd
()
scripts/rubi/wl-parser.ts:209
↓ 1 callersFunctionatParenthesizedModulus
* Return `true` if the parser is positioned at a *parenthesized* modulus * annotation — `(\bmod …)`, `(\pmod …)`, `(\mod …)`, or `(mod …)` — possibly
src/compute-engine/latex-syntax/dictionary/definitions-logic.ts:58
↓ 1 callersFunctionatan
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:290
↓ 1 callersFunctionatom
( s: string, start: number )
src/math-json/parse-sympy.ts:295
↓ 1 callersFunctionbernoulliNumber
* The nth Bernoulli number as a reduced rational `[num, den]` (den > 0), with * the convention B₁ = -1/2, via the recurrence * `Bₘ = -1/(m+1) · Σ_{k
src/compute-engine/library/number-theory.ts:1354
↓ 1 callersFunctionbesselIAsymptotic
Asymptotic expansion for large argument (DLMF 10.40.1): * I_ν(z) ~ e^z/√(2πz) · Σ_{k≥0} (−1)^k aₖ(ν)/z^k, * aₖ(ν) = (4ν²−1²)(4ν²−3²)⋯(4ν²−(2k−
src/compute-engine/numerics/special-functions.ts:1998
↓ 1 callersFunctionbesselISeries
Power series (DLMF 10.25.2): I_n(x) = (x/2)^n Σ (x²/4)^k / (k!(n+k)!). * All terms are positive — no cancellation at any x. Kahan-compensated: * n
src/compute-engine/numerics/special-functions.ts:1972
↓ 1 callersFunctionbesselJAsymptotic
J_n(x) ~ sqrt(2/(πx)) [P cos(χ) - Q sin(χ)] where χ = x - nπ/2 - π/4
src/compute-engine/numerics/special-functions.ts:1804
↓ 1 callersFunctionbesselJMiller
Miller's backward recurrence for J_n(x). * Start from a large index M, recur downward using J_{k-1} = (2k/x)J_k - J_{k+1}, * then normalize using
src/compute-engine/numerics/special-functions.ts:1814
↓ 1 callersFunctionbesselJSeries
Power series: J_n(x) = (x/2)^n Σ_{k=0}^∞ (-x²/4)^k / (k! (n+k)!)
src/compute-engine/numerics/special-functions.ts:1761
↓ 1 callersFunctionbesselK01CF2
* K_0(x) and K_1(x) for x ≥ 1.5 via Steed's continued fraction CF2, evaluated * with the Thompson–Barnett recurrences (I.J. Thompson & A.R. Barnett,
src/compute-engine/numerics/special-functions.ts:2076
↓ 1 callersFunctionbesselK1
K_1(x) via DLMF 10.31.2 for n=1: * K_1(x) = 1/x + (ln(x/2)+γ) I_1(x) [with sign correction] * + (x/2) Σ_{k=0}^∞ [ψ(k+1)+ψ(k+2)] (x²/4)^k
src/compute-engine/numerics/special-functions.ts:2140
↓ 1 callersFunctionbesselY0
Y_0(x) via Neumann series: * Y_0(x) = (2/π)[J_0(x)(ln(x/2)+γ) + Σ_{k=1}^∞ (-1)^{k+1} H_k (x/2)^{2k} / (k!)²] * where H_k = 1 + 1/2 + ... + 1/k
src/compute-engine/numerics/special-functions.ts:1879
↓ 1 callersFunctionbesselY1
Y_1(x) via DLMF 10.8.3 for n=1: * Y_1(x) = -2/(πx) + (2/π) ln(x/2) J_1(x) * - (x/2)/π Σ_{k=0}^∞ (-1)^k [ψ(k+1)+ψ(k+2)] (x²/4)^k / (k!(k+1
src/compute-engine/numerics/special-functions.ts:1900
↓ 1 callersFunctionbesselYAsymptotic
Y_n(x) ~ sqrt(2/(πx)) [P sin(χ) + Q cos(χ)] where χ = x - nπ/2 - π/4
src/compute-engine/numerics/special-functions.ts:1934
↓ 1 callersFunctionbeta
(a: number, b: number)
src/compute-engine/numerics/special-functions.ts:1563
↓ 1 callersFunctionbetween
( open: string, something: string | Combinator<IR>, close: string )
src/point-free-parser/combinators.ts:19
↓ 1 callersFunctionbigAgm
(a: BigNum, b: BigNum)
src/compute-engine/numerics/special-functions.ts:3253
↓ 1 callersFunctionbigBeta
(ce: ComputeEngine, a: BigNum, b: BigNum)
src/compute-engine/numerics/special-functions.ts:1039
↓ 1 callersFunctionbigCorrelation
( xsI: Iterable<BigDecimal>, ysI: Iterable<BigDecimal> )
src/compute-engine/numerics/statistics.ts:399
↓ 1 callersFunctionbigCovariance
( xs: Iterable<BigDecimal>, ys: Iterable<BigDecimal> )
src/compute-engine/numerics/statistics.ts:350
↓ 1 callersFunctionbigEllipticE
(ce: ComputeEngine, m: BigNum)
src/compute-engine/numerics/special-functions.ts:3325
↓ 1 callersFunctionbigEllipticK
(ce: ComputeEngine, m: BigNum)
src/compute-engine/numerics/special-functions.ts:3313
↓ 1 callersFunctionbigErfInv
(ce: ComputeEngine, x: BigNum)
src/compute-engine/numerics/special-functions.ts:3043
↓ 1 callersFunctionbigErfc
(ce: ComputeEngine, x: BigNum)
src/compute-engine/numerics/special-functions.ts:3008
↓ 1 callersFunctionbigErfcAsymptotic
* Asymptotic series for erfc (DLMF 7.12.1): * erfc(x) = e^{−x²}/(x√π) · Σ_{m≥0} (−1)^m (2m−1)!! / (2x²)^m * The minimum term is ~e^{−x²} relative
src/compute-engine/numerics/special-functions.ts:2677
↓ 1 callersFunctionbigErfi
(ce: ComputeEngine, x: BigNum)
src/compute-engine/numerics/special-functions.ts:2772
↓ 1 callersFunctionbigErfiSeries
* Bignum imaginary error function. The Maclaurin series above has only * positive terms (no cancellation), so the relative error tracks the working
src/compute-engine/numerics/special-functions.ts:2754
↓ 1 callersFunctionbigFresnelAsymptotic
* Asymptotic expansion for the Fresnel integrals (DLMF 7.5.3–4, 7.12.2–3), * with u = πx²/2: * f(x) ~ (1/πx) Σ (−1)^m (1/2)_{2m} / u^{2m} *
src/compute-engine/numerics/special-functions.ts:3138
↓ 1 callersFunctionbigFresnelC
(x: BigNum)
src/compute-engine/numerics/special-functions.ts:3223
↓ 1 callersFunctionbigFresnelS
(x: BigNum)
src/compute-engine/numerics/special-functions.ts:3216
↓ 1 callersFunctionbigFresnelTaylor
* Taylor series for the Fresnel integrals: * S(x) = Σ (−1)ⁿ (π/2)^{2n+1} x^{4n+3} / ((2n+1)!·(4n+3)) * C(x) = Σ (−1)ⁿ (π/2)^{2n} x^{4n+1} /
src/compute-engine/numerics/special-functions.ts:3093
↓ 1 callersFunctionbigGammaln
(ce: ComputeEngine, z: BigNum)
src/compute-engine/numerics/special-functions.ts:494
↓ 1 callersFunctionbigHypergeometric1F1
( ce: ComputeEngine, a: BigNum, b: BigNum, z: BigNum )
src/compute-engine/numerics/special-functions.ts:3968
↓ 1 callersFunctionbigHypergeometric2F1
( ce: ComputeEngine, a: BigNum, b: BigNum, c: BigNum, z: BigNum )
src/compute-engine/numerics/special-functions.ts:3841
↓ 1 callersFunctionbigInterquartileRange
( values: Iterable<BigDecimal> )
src/compute-engine/numerics/statistics.ts:436
↓ 1 callersFunctionbigLambertW
(ce: ComputeEngine, x: BigNum)
src/compute-engine/numerics/special-functions.ts:1351
↓ 1 callersFunctionbigMean
(values: Iterable<BigDecimal>)
src/compute-engine/numerics/statistics.ts:14
↓ 1 callersFunctionbigMode
(values: Iterable<BigDecimal>)
src/compute-engine/numerics/statistics.ts:244
↓ 1 callersFunctionbigPolygamma
(ce: ComputeEngine, n: BigNum, z: BigNum)
src/compute-engine/numerics/special-functions.ts:948
↓ 1 callersFunctionbigPopulationCovariance
( xs: Iterable<BigDecimal>, ys: Iterable<BigDecimal> )
src/compute-engine/numerics/statistics.ts:364
↓ 1 callersFunctionbigSinc
(x: BigNum)
src/compute-engine/numerics/special-functions.ts:3078
↓ 1 callersFunctionbigZeta
(ce: ComputeEngine, s: BigNum)
src/compute-engine/numerics/special-functions.ts:1250
↓ 1 callersFunctionbigintDigitSum
* Sum of the digits of `|m|` in the given base, in a single O(digits) pass * (via native `toString(base)` for base 2..36, else a `checkDeadline`- *
src/compute-engine/library/number-theory.ts:96
↓ 1 callersFunctionbigintSqrt
Integer (floor) square root of `n ≥ 0` via Newton's method on bigints.
src/compute-engine/library/number-theory.ts:1167
↓ 1 callersFunctionbigintValue
( expr: MathJsonExpression | null | undefined )
src/compute-engine/numerics/expression.ts:6
↓ 1 callersMethodbind
()
src/compute-engine/boxed-expression/boxed-function.ts:222
↓ 1 callersFunctionbininteger
( s: string, i: number )
src/math-json/parse-sympy.ts:139
↓ 1 callersFunctionbinomial
( n: Interval | IntervalResult, k: Interval | IntervalResult )
src/compute-engine/interval/elementary.ts:939
↓ 1 callersFunctionbinomialBigint
* Exact binomial coefficient for bigint n, k. * * - k < 0 → 0 (no combinatorial meaning, regardless of n). * - n ≥ 0 and k > n → 0 (standard conven
src/compute-engine/library/combinatorics.ts:65
↓ 1 callersFunctionbinomialCoefficient
Binomial coefficient C(n, k) for small non-negative integers.
src/compute-engine/symbolic/antiderivative.ts:2654
↓ 1 callersFunctionbinomialMatchQ
(u: Expression, x: string)
src/compute-engine/rubi/rubi-utils.ts:2187
↓ 1 callersFunctionbinomialQuantile
( n: number, p: number, prob: number, deadline?: number )
src/compute-engine/numerics/distributions.ts:59
↓ 1 callersFunctionbisectZero
Bisect a sign-change bracket [xa, xb] (f(xa)·f(xb) < 0) to a zero.
src/compute-engine/numerics/oscillatory-quadrature.ts:121
↓ 1 callersMethodbootstrapLibraries
( libraries?: readonly (string | LibraryDefinition)[] )
src/compute-engine/engine-startup-coordinator.ts:67
↓ 1 callersFunctionbothFinite
(a: number, b: number, c: number, d: number)
test/compute-engine/nightly/exactness-grid.test.ts:92
↓ 1 callersFunctionboundsExcludeZero
True if the bounds imply the subject is non-zero (e.g. `Im(x) > 0`).
src/compute-engine/assume.ts:1114
↓ 1 callersMethodbox
@deprecated Use `expr()` instead.
src/compute-engine/index.ts:1585
↓ 1 callersFunctionboxCheckEntry
( ce: ComputeEngine, e: Entry, knownHeads: Set<string> )
scripts/fungrim/box-check.ts:66
↓ 1 callersFunctionboxCompiledRule
( ce: IComputeEngine, rule: CompiledFungrimRule, onGuardUndecided: FungrimGuardUndecidedHandler | undefi
src/compute-engine/fungrim/loader.ts:341
← previousnext →2,601–2,700 of 5,294, ranked by callers