MCPcopy Create free account

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

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

↓ 1 callersFunctionstickyRegex
(regEx: RegExp)
src/compute-engine/latex-syntax/tokenizer.ts:67
↓ 1 callersFunctionstochasticEqual
( a: Expression, b: Expression )
src/compute-engine/boxed-expression/stochastic-equal.ts:39
↓ 1 callersFunctionstrideSample
Evenly spaced deterministic sample of `k` indices over [0, n).
scripts/fungrim/artifact-freshness.ts:55
↓ 1 callersFunctionstringToCodepoints
(string: string)
src/common/grapheme-splitter.ts:1
↓ 1 callersFunctionstringliteral
( s: string, i: number )
src/math-json/parse-sympy.ts:250
↓ 1 callersFunctionstripAbs
* Replace every `Abs(u)` subexpression with its argument `u`, recursively * (including inside powers and products). `|u|` and `u` have the same squar
src/compute-engine/boxed-expression/factor.ts:124
↓ 1 callersFunctionstripText
( expr: MathJsonExpression | null | undefined )
src/math-json/utils.ts:110
↓ 1 callersFunctionstructuralNeg
(expr: Expression)
src/compute-engine/symbolic/differential-equations.ts:139
↓ 1 callersFunctionsubjectsInNormalizedLhs
Collect the distinct subjects appearing as top-level terms of a * normalized inequality lhs (bare term, `Negate(term)`, or summands of an * `Add`).
src/compute-engine/boxed-expression/constraint-subject.ts:270
↓ 1 callersFunctionsubstitute
(node: Expression)
src/compute-engine/boxed-expression/solve.ts:946
↓ 1 callersFunctionsubstituteDependentCall
( expr: Expression, dependentName: string, independentName: string, stateName: string )
src/compute-engine/differential-equation-utils.ts:102
↓ 1 callersFunctionsubstituteDependentState
( expr: Expression, dependentName: string, independentName: string, stateNames: readonly string[] )
src/compute-engine/differential-equation-utils.ts:119
↓ 1 callersFunctionsubstituteGenerator
Substitute the fresh symbol `u` for the generator `g` throughout `node`. * * Besides exact structural matches (`g → u`), an *exponential* generator
src/compute-engine/boxed-expression/solve.ts:1685
↓ 1 callersFunctionsubstituteTopic
( expr: MathJsonExpression, replacement: MathJsonExpression )
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:581
↓ 1 callersFunctionsubstituteWildcards
Substitute wildcard symbols by MathJSON fragments.
test/compute-engine/fungrim-loops.test.ts:76
↓ 1 callersFunctionsubstitutionRoots
* Recover principal roots for a scaled-argument equation the symbolic trig * rules miss (they only match `Sin(x)`, never `Sin(2x)`). When every trig
src/compute-engine/boxed-expression/solve-domain.ts:696
↓ 1 callersFunctionsumSimplerAuxQ
Rubi SumSimplerAuxQ — recursion over (expanded) sum terms: * - v a sum: every term of v is rational or aux-simpler wrt u * - u a sum: some term of u
src/compute-engine/rubi/rubi-utils.ts:519
↓ 1 callersFunctionsumSquareDigits
(k: bigint)
src/compute-engine/library/number-theory.ts:1379
↓ 1 callersFunctionsuperType
(a: Readonly<Type>, b: Readonly<Type>)
src/common/type/subtype.ts:1049
↓ 1 callersFunctionsymCell
(id, tk, baseTime)
benchmarks/report_changelog.mjs:184
↓ 1 callersFunctionsymbolForm
* Replace symbols within expr. with canonical variants, *recursively*. * * @param expr * @returns
src/compute-engine/boxed-expression/canonical.ts:322
↓ 1 callersFunctionsymbolicRoots
* Run the symbolic univariate solver with the unknown's type refined to * `refinedType`, so `findUnivariateRoots` → `filterRootsByType` drops roots o
src/compute-engine/boxed-expression/solve-domain.ts:826
↓ 1 callersFunctionsymmetricResidue
Residue of `a mod m` centered into `(−m/2, m/2]` (SymPy symmetric_residue).
src/compute-engine/numerics/diophantine.ts:673
↓ 1 callersFunctionsympy_solve
SymPy comparator outcome, using its most capable solver (`solve`). Returns {status, roots[]}: status ∈ {ok, unsolved}.
benchmarks/audit/gen_solve.py:235
↓ 1 callersFunctiontakeCount
(expr: Expression)
src/compute-engine/library/collections.ts:3214
↓ 1 callersFunctiontanOfAtoms
Fold the atoms into `tan` of their sum using the tangent addition law.
src/compute-engine/symbolic/trig-rewrite.ts:275
↓ 1 callersFunctiontanhOfAtoms
Fold the atoms into `tanh` of their sum using the tangent addition law.
src/compute-engine/symbolic/trig-rewrite.ts:295
↓ 1 callersFunctiontaylorCoeffs
( f: Expression, x: string, x0: Expression, ce: ComputeEngine, W: number )
src/compute-engine/symbolic/series.ts:1086
↓ 1 callersFunctionterminalColorSupport
()
src/common/terminal.ts:348
↓ 1 callersFunctiontickDeadline
()
src/compute-engine/rubi/match.ts:35
↓ 1 callersFunctiontimeOp
(ce, build, prec)
benchmarks/big-decimal/bignum-compare.mjs:28
↓ 1 callersFunctiontime_budget
(call)
benchmarks/big-decimal/bignum-compare.py:19
↓ 1 callersFunctiontoCNF
(expr: Expression, ce: ComputeEngine)
src/compute-engine/symbolic/logic-utils.ts:588
↓ 1 callersFunctiontoDNF
(expr: Expression, ce: ComputeEngine)
src/compute-engine/symbolic/logic-utils.ts:656
↓ 1 callersFunctiontoDecimalNumber
( wholePart: string, fractionalPart: string, exp: number )
src/compute-engine/latex-syntax/serialize-number.ts:622
↓ 1 callersFunctiontoExp
* Rewrite a single trig/hyperbolic function `op(u)` in terms of the complex * exponential. Returns `null` if `op` is not a supported function. * *
src/compute-engine/symbolic/trig-rewrite.ts:51
↓ 1 callersFunctiontoPat
* Convert a canonically boxed skeleton to matcher IR. `parentOp` / * `argIndex` give the canonical context that determines optional defaults.
src/compute-engine/rubi/compile.ts:76
↓ 1 callersMethodtoString
* Reconstruct a decimal string from significand and exponent. * * For normal-range exponents, produces a clean decimal string. * For very lar
src/big-decimal/big-decimal.ts:1101
↓ 1 callersMethodtoString
()
src/common/type/boxed-type.ts:59
↓ 1 callersFunctiontoUnicodeScalarValues
(str: string)
src/compute-engine/boxed-expression/boxed-string.ts:119
↓ 1 callersMethodtokenPrefixOffsets
* Cumulative character offsets of the token prefixes, built once and cached. * Entry `k` is the length of `tokensToString(this._tokens.slice(0, k))
src/compute-engine/latex-syntax/parse.ts:696
↓ 1 callersMethodtokenize
()
scripts/rubi/wl-parser.ts:72
↓ 1 callersFunctiontokenizeLaTeX
(input: string)
src/compute-engine/boxed-expression/rules.ts:288
↓ 1 callersFunctiontransformSqrtLinearEquation
* Transform sqrt equations of the form √(f(x)) = g(x) into polynomial form. * * Pattern 2: √(ax+b) = cx+d * - Squaring both sides: ax+b = (cx+d)²
src/compute-engine/boxed-expression/solve.ts:811
↓ 1 callersFunctiontrigBinomParts
`a + b·trig[linear arg]` (x-free constant part `a`, single trig term) → * `{head, a, b, arg}`, else null.
src/compute-engine/rubi/rubi-utils.ts:2777
↓ 1 callersFunctiontrigExpand
(expr: Expression)
src/compute-engine/symbolic/trig-rewrite.ts:418
↓ 1 callersFunctiontrigExpandRec
(expr: Expression)
src/compute-engine/symbolic/trig-rewrite.ts:375
↓ 1 callersFunctiontrigReduce
(expr: Expression)
src/compute-engine/symbolic/trig-rewrite.ts:483
↓ 1 callersFunctiontrigToExp
TrigToExp for inert sin/cos: `sin[w] → (i/2)E^(−i·w) − (i/2)E^(i·w)`, * `cos[w] → (1/2)E^(i·w) + (1/2)E^(−i·w)`, with the scalar DISTRIBUTED into *
src/compute-engine/rubi/rubi-utils.ts:3754
↓ 1 callersFunctiontrigToExpRec
(expr: Expression)
src/compute-engine/symbolic/trig-rewrite.ts:156
↓ 1 callersFunctiontrigamma
(x: number)
src/compute-engine/numerics/special-functions.ts:1463
↓ 1 callersFunctiontrigammaCore
(ce: ComputeEngine, z: BigNum)
src/compute-engine/numerics/special-functions.ts:891
↓ 1 callersFunctiontrigonometric
r"""Trigonometric: \sin(x) + \cos(y) + \tan(z)
benchmarks/python-performance.py:47
↓ 1 callersFunctiontrimLastLine
(content)
plugins/grok-theme/index.mjs:1417
↓ 1 callersFunctiontrinomialMatchQ
(u: Expression, x: string)
src/compute-engine/rubi/rubi-utils.ts:2201
↓ 1 callersFunctiontrueRange
( f: (x: number, y: number) => number, xb: number[], yb: number[] )
test/compute-engine/compile-interval-glsl.test.ts:174
↓ 1 callersFunctiontryAssignWildcards
( wildcards: Expression[], remaining: Expression[], sub: BoxedSubstitution )
src/compute-engine/boxed-expression/match.ts:791
↓ 1 callersFunctiontryBiquadraticPartialFractions
* ∫ N(x)/(A·x⁴ + B·x² + C) dx for a biquadratic denominator (only even * powers) with no real roots (q = C/A > 0), by factoring it into two real * i
src/compute-engine/symbolic/antiderivative.ts:1895
↓ 1 callersMethodtryFoldKnownSymbol
* If `id` names a symbol that is *known* to the engine — it has an assigned * value (`ce.assign("a", 1.5)`) or is a declared constant — return the
src/compute-engine/compilation/base-compiler.ts:1215
↓ 1 callersFunctiontryFresnelIntegral
* ∫ cos(a·x²) dx = √(π/(2a))·FresnelC(√(2a/π)·x) and * ∫ sin(a·x²) dx = √(π/(2a))·FresnelS(√(2a/π)·x), for numeric a > 0. * * cos is even, so a < 0
src/compute-engine/symbolic/antiderivative.ts:2329
↓ 1 callersFunctiontryGaussianIntegral
* ∫ e^(a·x² + b·x + c) dx for a numeric, a ≠ 0 (the Gaussian integral). * * Complete the square: a·x²+b·x+c = a·(x − q)² + r, with q = −b/(2a), * r
src/compute-engine/symbolic/antiderivative.ts:2291
↓ 1 callersFunctiontryLinearPower
* ∫ c·xᵐ·(a+b·x)^p dx for an integer m ≥ 0 and a rational exponent p, covering * both the canonical `Sqrt(a+b·x)` form and the `Power(a+b·x, p)` form
src/compute-engine/symbolic/antiderivative.ts:2675
↓ 1 callersFunctiontryLinearSubstitution
* Try linear substitution: ∫f(ax+b) dx = (1/a)*F(ax+b) * Handles cases where the integrand is a composite function with a linear inner function.
src/compute-engine/symbolic/antiderivative.ts:391
↓ 1 callersFunctiontryMatchAnchors
( anchorIndex: number, remainingOps: Expression[], sub: BoxedSubstitution )
src/compute-engine/boxed-expression/match.ts:729
↓ 1 callersMethodtryParseBareFunction
* In non-strict mode, try to parse a bare function name, either applied to a * parenthesized argument list (`sin(x)`) or, without parentheses, to a
src/compute-engine/latex-syntax/parse.ts:2034
↓ 1 callersMethodtryParseBareRun
* In non-strict mode, handle a multi-letter run that is not itself a whole * known word. This runs *after* `tryParseBareFunction` and * `tryPars
src/compute-engine/latex-syntax/parse.ts:2344
↓ 1 callersMethodtryParseBareSymbol
* In non-strict mode, try to parse a bare symbol name like a Greek letter * or special constant (e.g., `alpha`, `pi`, `oo`, `ii`).
src/compute-engine/latex-syntax/parse.ts:2272
↓ 1 callersFunctiontryProductSumPattern
* Try to solve using the product + sum pattern. * Pattern: xy = p, x + y = s * Solution: x and y are roots of t² - st + p = 0
src/compute-engine/boxed-expression/solve-linear-system.ts:704
↓ 1 callersFunctiontryRadicalDerivative
* ∫ c·Q′(x)·Q(x)^p dx = c·Q(x)^{p+1}/(p+1), the reverse chain rule for a * (radical) power of a polynomial Q of degree ≥ 1. Recognizes one `Sqrt(Q)`
src/compute-engine/symbolic/antiderivative.ts:2760
↓ 1 callersFunctiontryRadicalQuadratic
* ∫ N(x)/√Q(x) dx where Q is a polynomial of degree 1 or 2. Two cases: * (a) N = const·Q′ → const·2·√Q (works for any such Q). * (b) Q = c +
src/compute-engine/symbolic/antiderivative.ts:2584
↓ 1 callersFunctiontryRationalizeRadicalSum
* ∫ N/(√u ± √v)^k dx by rationalizing with the conjugate: multiplying by * (√u ∓ √v)^k clears the radical sum, since (√u+√v)(√u−√v) = u−v is a * pol
src/compute-engine/symbolic/antiderivative.ts:2820
↓ 1 callersFunctiontrySerializeDotNotation
* If `serializer.options.dotNotation` is enabled and `expr` is a single-arg * form of a dot-notation head, return the dot-notation LaTeX string. * O
src/compute-engine/latex-syntax/serializer.ts:61
↓ 1 callersFunctiontrySubstitutionMethod
* Try to solve using the substitution method. * If one equation is linear in one variable, solve for that variable * and substitute into the other e
src/compute-engine/boxed-expression/solve-linear-system.ts:968
↓ 1 callersFunctiontypeCouldBeNumericCollection
* Return true if a type could be a numeric collection at runtime. * Used in `checkNumericArgs` (the fastpath for threadable numeric functions) * to
src/compute-engine/boxed-expression/validate.ts:45
↓ 1 callersFunctiontypeIntersection
(a: Type, b: Type)
src/compute-engine/library/sets.ts:32
↓ 1 callersFunctionulp
(x: number)
test/compute-engine/nightly/mpmath-kernels.test.ts:78
↓ 1 callersFunctionulp_double
spacing of doubles at x.
docs/reviews/2026-07-archive/wave3-harness/compare.py:19
↓ 1 callersFunctionulpsOf
|got − ref| in units of ulp(ref) for doubles.
test/compute-engine/numerics-p2-regressions.test.ts:48
↓ 1 callersFunctionunEscapeChars
(str)
plugins/grok-theme/index.mjs:1388
↓ 1 callersFunctionundefinedIdentifiers
(expr: Expression)
src/compute-engine/assume.ts:1167
↓ 1 callersFunctionundirectedKey
( ce: ComputeEngine, lhsW: MathJSON, rhsW: MathJSON )
scripts/fungrim/compile-rules.ts:865
↓ 1 callersFunctionunifyInertTrig
( ce: ComputeEngine, u: Expression, x: string )
src/compute-engine/rubi/rubi-utils.ts:3005
↓ 1 callersFunctionunifyProductClauses
( ce: ComputeEngine, f1: Expression, f2: Expression, x: string )
src/compute-engine/rubi/rubi-utils.ts:2873
↓ 1 callersFunctionunion
(a: string, b: string)
test/compute-engine/internals/type-lattice.test.ts:422
↓ 1 callersFunctionunionCoveringMembers
* If a union contains `non_finite_number` together with a finite numeric type * `finite_X`, it also covers the infinity-admitting `X` * (`finite_X |
src/common/type/subtype.ts:270
↓ 1 callersFunctionunionTypes
Build a union of two types, flattening if either is already a union and * de-duplicating identical members. Returns the simpler type if reducible.
src/common/type/subtype.ts:973
↓ 1 callersFunctionunitToString
Serialize a unit expression to a human-readable string like "m/s^2".
src/compute-engine/boxed-expression/ascii-math.ts:10
↓ 1 callersFunctionunivariateCoefficients
If possible, attempt to return a UnivariateCoefficient. * If the coefficients really are multivariate, return `null`
src/compute-engine/boxed-expression/polynomials.ts:97
↓ 1 callersFunctionunnegate
(op: Expression)
src/compute-engine/boxed-expression/arithmetic-mul-div.ts:1219
↓ 1 callersMethodunregister
(name: string)
src/compute-engine/engine-compilation-targets.ts:39
↓ 1 callersMethodupdate
@internal
src/compute-engine/types-definitions.ts:1071
↓ 1 callersMethodupdate
(def: OperatorDefinition)
src/compute-engine/boxed-expression/boxed-operator-definition.ts:185
↓ 1 callersFunctionupperGammaAsymptoticComplex
Upper incomplete gamma Γ(s, z), complex, via the divergent asymptotic * series Γ(s,z) ~ z^{s−1} e^{−z} Σ_{k≥0} (s−1)(s−2)…(s−k)/z^k truncated at *
src/compute-engine/numerics/numeric-complex.ts:146
↓ 1 callersFunctionupperGammaCFComplex
Upper incomplete gamma Γ(s, z), complex, Legendre continued fraction.
src/compute-engine/numerics/numeric-complex.ts:160
↓ 1 callersFunctionupperGammaCFReal
Upper incomplete gamma Γ(s, z), real, via the Legendre continued * fraction (NR §6.2 gcf); valid for z ≳ s and any real s.
src/compute-engine/numerics/special-functions.ts:116
↓ 1 callersFunctionupperGammaNegIntComplex
Γ(s, z) for s a non-positive integer, complex z, via downward recurrence * Γ(s−1,z) = (Γ(s,z) − z^{s−1} e^{−z})/(s−1) seeded by Γ(0,z) = E₁(z).
src/compute-engine/numerics/numeric-complex.ts:183
↓ 1 callersFunctionupperGammaNegIntReal
Upper incomplete gamma Γ(s, z) for s a non-positive integer, real z > 0, * via downward recurrence Γ(s−1,z) = (Γ(s,z) − z^{s−1} e^{−z})/(s−1) seeded
src/compute-engine/numerics/special-functions.ts:142
↓ 1 callersFunctionusageSentence
Render the engine-usage sentence ("simplification", "expansion", "solving").
scripts/fungrim/gen-reference-doc.ts:237
↓ 1 callersFunctionusesWidenedCompatSignature
(formula: MathJSON)
scripts/fungrim/compile-rules.ts:1346
↓ 1 callersFunctionvalidJSONNumber
(num: string | number)
test/utils.ts:265
← previousnext →3,801–3,900 of 5,294, ranked by callers