MCPcopy Create free account

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

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

↓ 2 callersFunctionexactQuartiles
( ce: ComputeEngine, vals: Expression[] )
src/compute-engine/library/statistics.ts:743
↓ 2 callersFunctionexactRealComponent
* The exact real component (`rational · √radical`) of a boxed expression that * is an exact real number literal, or `null`. Used to reconstruct exact
src/compute-engine/boxed-expression/box.ts:952
↓ 2 callersFunctionexpOfLimit
( inner: Expression | undefined, ce: ComputeEngine )
src/compute-engine/symbolic/limit.ts:854
↓ 2 callersFunctionexpandAll
( expr: LatexString | ExpressionInput, options?: FreeFunctionOptions )
src/compute-engine/free-functions.ts:155
↓ 2 callersFunctionexpandByDerivative
* Iterated differentiation of `expr` with respect to `varName`, evaluating each * derivative at `at`. `resolve` supplies a value when direct substitu
src/compute-engine/symbolic/series.ts:425
↓ 2 callersFunctionexpandPower
Use the multinomial theorem (https://en.wikipedia.org/wiki/Multinomial_theorem) to expand the expression. * The expression must be a power of a sum o
src/compute-engine/boxed-expression/expand.ts:68
↓ 2 callersFunctionexpandProduct
* Multiply two expressions, distributing over any `Add` operand: * `expandProduct(k, a + b)` → `k·a + k·b`. This is the distribution step * behind {
src/compute-engine/boxed-expression/arithmetic-mul-div.ts:1242
↓ 2 callersFunctionexpandTrigReduce
ExpandTrigReduce[u,x] (2-arg) — the exponential-expansion of u (see the * section comment). Returns a sum the linearity prelude integrates termwise.
src/compute-engine/rubi/rubi-utils.ts:3711
↓ 2 callersFunctionexpandTrigToExp
(ce: ComputeEngine, u: Expression)
src/compute-engine/rubi/rubi-utils.ts:3899
↓ 2 callersFunctionexpectClose
Assert two ascending numeric lists agree within a small tolerance (CE's * exact π-multiples numericize to the last ULP, not bit-identically to a
test/compute-engine/solve-domain.test.ts:334
↓ 2 callersFunctionexpectComplex
( expr: any, re: number, im: number, tolerance = 1e-8 )
test/compute-engine/special-functions.test.ts:805
↓ 2 callersFunctionexpectPartial
(result, expectedLo, expectedHi, expectedClip, tolerance = 1e-10)
test/compute-engine/interval-arithmetic.test.ts:88
↓ 2 callersFunctionexpressionToDictionaryValue
( expr: MathJsonExpression | null | undefined )
src/math-json/utils.ts:560
↓ 2 callersFunctionextract
(dom: Expression)
src/compute-engine/library/collections.ts:2943
↓ 2 callersFunctionextractCosCos
( term: Expression )
src/compute-engine/symbolic/fu-transforms.ts:893
↓ 2 callersFunctionextractIndexVariable
( subscript: Expression )
src/compute-engine/sequence.ts:674
↓ 2 callersFunctionextractLimits
* Extract index, lower, and upper from a Limits expression. * Returns the raw Expression nodes so they can be compiled (not just evaluated * to numb
src/compute-engine/compilation/javascript-target.ts:1902
↓ 2 callersFunctionextractNegTwoSinSq
(term: Expression)
src/compute-engine/symbolic/fu-transforms.ts:1315
↓ 2 callersFunctionextractPiFraction
* Extract the angle from a tan argument, returning [numerator, denominator] * representing the fraction of pi.
src/compute-engine/symbolic/fu-transforms.ts:1496
↓ 2 callersFunctionextractPower2
( op: Expression )
src/compute-engine/symbolic/fu-transforms.ts:1793
↓ 2 callersFunctionextractTwoCosSq
(term: Expression)
src/compute-engine/symbolic/fu-transforms.ts:1246
↓ 2 callersFunctionextractTwoSinSq
(term: Expression)
src/compute-engine/symbolic/fu-transforms.ts:1282
↓ 2 callersFunctionextractXYCoefficientFromTerm
* Extract xy coefficient from a single term.
src/compute-engine/boxed-expression/solve-linear-system.ts:835
↓ 2 callersFunctionf
(theta: Expression)
test/compute-engine/power-combination.test.ts:262
↓ 2 callersFunctionfactorWithRho
* Complete the factorization of an odd `n ≥ 1` into `result`, using * Miller–Rabin to recognize prime cofactors and Pollard rho to split * composite
src/compute-engine/numerics/primes.ts:286
↓ 2 callersFunctionfactorial
* Compute factorial as a BigDecimal string.
test/big-decimal/precision-comparison.test.ts:47
↓ 2 callersFunctionfactorial
(m: number)
src/compute-engine/library/combinatorics.ts:361
↓ 2 callersFunctionfactorialBig
(n: number)
src/compute-engine/symbolic/residue.ts:38
↓ 2 callersFunctionfailureBuckets
( failures: BoxResult[] )
scripts/fungrim/report.ts:16
↓ 2 callersFunctionfill
(indices: number[])
src/compute-engine/tensor/tensors.ts:152
↓ 2 callersFunctionfilter
(e: Entry)
scripts/fungrim/validate.ts:88
↓ 2 callersFunctionfindMinimalCover
* Greedy algorithm to find a minimal cover of prime implicants/implicates.
src/compute-engine/library/logic-analysis.ts:1128
↓ 2 callersFunctionfindNamedUnit
(dim: DimensionVector)
src/compute-engine/numerics/unit-data.ts:366
↓ 2 callersFunctionfitCoefficients
* Ascending least-squares coefficients `[c0, …, c_deg]` for `y ≈ Σ c_j x^j`, * via the Vandermonde normal equations `(XᵀX)β = Xᵀy`. Exact data flows
src/compute-engine/library/statistics.ts:1098
↓ 2 callersFunctionflatBinaryOp
(op: string, a: Json, b: Json)
scripts/rubi/wl-parser.ts:376
↓ 2 callersFunctionfloatnumber
( s: string, i: number )
src/math-json/parse-sympy.ts:216
↓ 2 callersFunctionfloor
(x: Interval | IntervalResult)
src/compute-engine/interval/elementary.ts:420
↓ 2 callersMethodfloor
()
src/compute-engine/numeric-value/exact-numeric-value.ts:1173
↓ 2 callersFunctionfloorDiv
`⌊a/b⌋` for `b ≠ 0`.
src/compute-engine/boxed-expression/diophantine.ts:90
↓ 2 callersFunctionfmtBy
(ms, unit)
benchmarks/report.mjs:487
↓ 2 callersFunctionfoeFunctionAux
FunctionOfExponentialFunctionAux: u with F^v → x (the new integration * variable), using the registered $base$/$expon$.
src/compute-engine/rubi/rubi-utils.ts:3311
↓ 2 callersFunctionfoeTestAux
FunctionOfExponentialTestAux: register the first exponential, or * commensurate-check a later base^expon against the running state.
src/compute-engine/rubi/rubi-utils.ts:3217
↓ 2 callersFunctionfoldGcdModP
Fold a list of polynomials (over `vars`) into their GCD mod p.
src/compute-engine/boxed-expression/multivariate-gcd.ts:259
↓ 2 callersFunctionfoldNaryBuiltin
* Fold a variadic application of a 2-argument shader builtin (`min`/`max`) * into a left-nested tree of 2-argument calls: `max(max(a, b), c)`. GLSL a
src/compute-engine/compilation/gpu-target.ts:376
↓ 2 callersFunctionformatDMS
(degrees: number)
src/compute-engine/latex-syntax/serialize-dms.ts:79
↓ 2 callersFunctionformatError
(errors: ParsingDiagnostic[])
test/utils.ts:311
↓ 2 callersFunctionformatExponent
(exp: string, options: NumberFormat)
src/compute-engine/latex-syntax/serialize-number.ts:91
↓ 2 callersFunctionformatFractionalPart
* Return a formatted fractional part by detecting repeating patterns. * 1234567 -> 123 456 7... * 1233333 -> 12(3) * * digitsCount is the number o
src/compute-engine/latex-syntax/serialize-number.ts:21
↓ 2 callersFunctionformatMs
(ms: number)
test/big-decimal/comprehensive-benchmark.ts:108
↓ 2 callersFunctionfpatan
(x: bigint, bits: number)
src/big-decimal/utils.ts:843
↓ 2 callersFunctionfrac
(e: Expression)
src/compute-engine/symbolic/residue.ts:71
↓ 2 callersFunctionfracPowerFactorQ
Rubi FractionalPowerFactorQ: a factor of u is a complex constant or a * fractional power
src/compute-engine/rubi/rubi-utils.ts:2084
↓ 2 callersFunctionfreeOfUnknowns
(e: Expression, unknowns: string[])
src/compute-engine/boxed-expression/diophantine.ts:138
↓ 2 callersFunctionfreshSymbol
A fresh symbol name not equal to `avoid` and not occurring free in `f`.
src/compute-engine/symbolic/series.ts:1097
↓ 2 callersFunctionfreshSymbolName
(prefix: string, usedSymbols: Set<string>)
src/compute-engine/symbolic/differential-equations.ts:238
↓ 2 callersFunctionfresnelConvergenceBound
( xVal: Interval, extrema: number[], scalar: (x: number) => number, update: (v: number) => void )
src/compute-engine/interval/trigonometric.ts:696
↓ 2 callersFunctionfresnelPhase
* The Fresnel phase πx²/2 reduced mod 2π, computed as (π/2)·(x² mod 4). * * `x² mod 4` is computed exactly: x is Dekker-split into xh + xl so the *
src/compute-engine/numerics/special-functions.ts:2523
↓ 2 callersFunctionfromDigits
( s: string, baseInput?: string | number )
src/compute-engine/numerics/strings.ts:32
↓ 2 callersFunctionfromPower
( pow: Expression, coeff: Expression )
src/compute-engine/symbolic/simplify-trig.ts:688
↓ 2 callersFunctionfromRange
(start: number, end: number)
src/compute-engine/library/collections.ts:3112
↓ 2 callersFunctionfromString
* Parse a decimal string into (significand, exponent). * * Accepted formats: * "123", "-42", "0" — integers * "123.456", "-
src/big-decimal/big-decimal.ts:1508
↓ 2 callersFunctionfuzzyStringMatch
( invalidWord: string, validWords: string[] )
src/common/fuzzy-string-match.ts:30
↓ 2 callersFunctiongammaNegStripExtremum
Local-extremum location of gamma in the strip containing the negative, * pole-free interval [lo, hi], or `null` for strips past the table.
src/compute-engine/interval/elementary.ts:735
↓ 2 callersFunctiongammaPSeries
Lower regularized gamma P(a,x) via its power series (NR gser); valid for * x < a+1, where the series converges fastest. Requires a > 0, x ≥ 0.
src/compute-engine/numerics/special-functions.ts:190
↓ 2 callersFunctiongammaQContinuedFraction
Upper regularized gamma Q(a,x) via the Legendre continued fraction (NR * gcf), evaluated with Lentz's algorithm; valid for x ≥ a+1. a > 0, x > 0.
src/compute-engine/numerics/special-functions.ts:206
↓ 2 callersFunctiongammaRegularPartExpr
* The regular part `R(u)` of `Γ(x)` near its pole `x = −n`, as an expression in * `u = x + n`: `Γ(x) = (1/u)·R(u)` with `R(u) = Γ(1+u) / ∏_{j=1}^{n}(
src/compute-engine/symbolic/series.ts:712
↓ 2 callersFunctiongcd
(a: string, b: string, vars: string[])
test/compute-engine/multivariate-gcd.test.ts:65
↓ 2 callersFunctiongcd
(a: number, b: number)
src/compute-engine/boxed-expression/factor.ts:497
↓ 2 callersMethodgcd
(other: NumericValue)
src/compute-engine/numeric-value/big-numeric-value.ts:555
↓ 2 callersFunctiongcd2
(a: number, b: number)
src/compute-engine/boxed-expression/solve.ts:1437
↓ 2 callersFunctiongcdBigint
(a: bigint, b: bigint)
src/compute-engine/numerics/special-functions.ts:668
↓ 2 callersFunctiongenBinomialPartsX
Rubi GeneralizedBinomialParts → {a,b,n,q}: u ≡ a·x^q + b·x^n, PosQ[n−q]
src/compute-engine/rubi/rubi-utils.ts:1930
↓ 2 callersFunctiongenTrinomialPartsX
Rubi GeneralizedTrinomialParts → {a,b,c,n,q}: * u ≡ a·x^q + b·x^n + c·x^(2n−q)
src/compute-engine/rubi/rubi-utils.ts:1976
↓ 2 callersFunctiongetCloseToken
(trigger: string | string[])
src/compute-engine/latex-syntax/dictionary/definitions.ts:481
↓ 2 callersFunctiongetCombinations
(n: number, k: number)
src/compute-engine/boxed-expression/match.ts:911
↓ 2 callersFunctiongetComplex
(a: Expression)
src/compute-engine/boxed-expression/order.ts:546
↓ 2 callersMethodgetConstants
()
src/compute-engine/compilation/interval-glsl-target.ts:618
↓ 2 callersFunctiongetDefaultSyntax
()
src/compute-engine/latex-syntax/latex-syntax.ts:272
↓ 2 callersFunctiongetDefines
* Return the symbols **defined** by this expression: the target of a * top-level `Assign` or `Declare`, recursing through `Block` sequences. * * Us
src/compute-engine/boxed-expression/abstract-boxed-expression.ts:1233
↓ 2 callersMethodgetDefs
Return all defs of the specified kind. * The defs at the end of the dictionary have priority, since they may * override previous definitions. (F
src/compute-engine/latex-syntax/parse.ts:3159
↓ 2 callersFunctiongetInnerFunction
* Extract the inner function from a composite function f(g(x)). * Returns { outer: f, inner: g(x) } or null if not a composite.
src/compute-engine/symbolic/antiderivative.ts:327
↓ 2 callersFunctiongetInnermostBody
(body: Expression)
src/compute-engine/library/logic-analysis.ts:363
↓ 2 callersFunctiongetLeafCount
Get the number of atomic elements in the expression
src/compute-engine/boxed-expression/order.ts:541
↓ 2 callersFunctiongetMaxIter
Extract a finite positive integer from a boxed numeric value.
src/compute-engine/library/fractals.ts:37
↓ 2 callersFunctiongetOpenToken
(trigger: string | string[])
src/compute-engine/latex-syntax/dictionary/definitions.ts:479
↓ 2 callersFunctiongetSequenceOrTuple
* Extract operands from a sequence-like expression. * Handles Sequence, Tuple, and single expressions.
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:2250
↓ 2 callersMethodgetSymbolType
(id: MathJsonSymbol)
src/compute-engine/latex-syntax/parse.ts:506
↓ 2 callersFunctiongrabItem
()
src/compute-engine/latex-syntax/dictionary/definitions-other.ts:280
↓ 2 callersFunctiongrid10FromBD
Round a BigDecimal onto the integer grid 10^p (i.e. round(value · 10^p)).
benchmarks/big-decimal/kernel-base2-experiment.ts:284
↓ 2 callersFunctiongrowthLevel
* Coarse order-of-growth level of `e` as x → +∞: * 0 bounded/decaying · 1 logarithmic · 2 polynomial · 3 exponential · * 4+ iterated exponential. `u
src/compute-engine/symbolic/limit.ts:529
↓ 2 callersMethodgte
(other: number | NumericValue)
src/compute-engine/numeric-value/big-numeric-value.ts:702
↓ 2 callersMethodguardCondition
* Compile a `Which`/`When` condition, wrapping it in the target's fail-closed * boolean guard (`target.assertBoolean`) when it is not provably bool
src/compute-engine/compilation/base-compiler.ts:1163
↓ 2 callersFunctionguardJson
The MathJSON payload(s) of a guard (for symbol/wildcard collection).
src/compute-engine/fungrim/loader.ts:95
↓ 2 callersFunctionguardShellPayload
The non-wildcard MathJSON payload(s) of a guard (for shell collection).
scripts/fungrim/compile-rules.ts:204
↓ 2 callersFunctionh
(t: number)
test/compute-engine/interval-glsl-eval.ts:217
↓ 2 callersFunctionhankelPQ
Hankel asymptotic expansion for large x. * Computes the P and Q polynomials used by both J_n and Y_n asymptotics. * P(n,x) = 1 - (μ-1)(μ-9)/(2!(8x
src/compute-engine/numerics/special-functions.ts:1783
↓ 2 callersFunctionharmonize
Transform expr into one or more equivalent expressions (with the same * root set) that are easier to solve. * * The unknown in `expr` is the litera
src/compute-engine/boxed-expression/solve.ts:2546
↓ 2 callersFunctionharvest
(table: Record<string, any> | undefined)
scripts/fungrim/gen-reference-doc.ts:181
↓ 2 callersFunctionhasDef
(ce: ComputeEngine, s: string)
src/compute-engine/assume.ts:1163
↓ 2 callersFunctionhasErrorExpr
(e: BoxedExpression)
scripts/fungrim/numeric-check.ts:225
← previousnext →2,001–2,100 of 5,294, ranked by callers