MCPcopy Create free account

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

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

↓ 4 callersFunctionorderedTuple
Place `X`/`Y` (Pell coordinates) into a caller-order tuple of arity `n`.
src/compute-engine/boxed-expression/diophantine.ts:305
↓ 4 callersFunctionpackedToOklch
Packed 0xRRGGBBAA integer to Oklch `[L, C, H]` or `[L, C, H, alpha]`.
src/compute-engine/compilation/javascript-target.ts:1127
↓ 4 callersMethodparseEnclosure
* An enclosure is an opening matchfix operator, an optional expression, * optionally followed multiple times by a separator and another expression,
src/compute-engine/latex-syntax/parse.ts:1728
↓ 4 callersFunctionparseMathStyleSwitch
Parse a LaTeX "switch" command that sets a math style for everything * following it in the current group (e.g. `{\displaystyle x+y}`).
src/compute-engine/latex-syntax/dictionary/definitions-other.ts:162
↓ 4 callersMethodparseOptionalGroup
* Parse an expression enclosed in a LaTeX optional group enclosed in square brackets `[]`. * * Return `null` if none was found.
src/compute-engine/latex-syntax/types.ts:998
↓ 4 callersFunctionparseSymbol
(parser: Parser)
src/compute-engine/latex-syntax/parse-symbol.ts:355
↓ 4 callersFunctionpartialFraction
( expr: Expression, variable: string )
src/compute-engine/boxed-expression/factor.ts:972
↓ 4 callersFunctionplural
(n, one, many)
benchmarks/report.mjs:361
↓ 4 callersFunctionpolynomialGCD
( a: Expression, b: Expression, variable: string )
src/compute-engine/boxed-expression/polynomials.ts:480
↓ 4 callersFunctionposAux
(u: Expression)
src/compute-engine/rubi/rubi-utils.ts:1079
↓ 4 callersFunctionpower
(rhs: AbstractTensor<DT> | DataTypeMap[DT])
src/compute-engine/tensor/tensors.ts:814
↓ 4 callersFunctionpower
(k: number)
src/compute-engine/symbolic/series.ts:1133
↓ 4 callersFunctionpowerOuter
The binomial series coefficients of `(base)^a` around `base0 ≠ 0`, i.e. the * Taylor coefficients `C(a,k)·base0^{a−k}` of `y^a` around `base0`.
src/compute-engine/symbolic/series.ts:236
↓ 4 callersFunctionpredicate
( _expr: Expression )
src/compute-engine/function-utils.ts:56
↓ 4 callersMethodprimitivePartInteger
Remove the integer content (primitive part with a non-negative leading sign).
src/compute-engine/boxed-expression/multivariate-poly.ts:160
↓ 4 callersFunctionpseudoBinomialPartsX
Rubi PseudoBinomialParts → {a,1,c,d,n}: u ≡ a + (c+d·x)^n, n > 2
src/compute-engine/rubi/rubi-utils.ts:2067
↓ 4 callersFunctionpushBound
( v: string, raw: MathJSON, openOp: 'gt' | 'lt', closedOp: 'ge' | 'le' )
scripts/fungrim/compile-rules.ts:287
↓ 4 callersFunctionquineMcCluskey
* Core Quine-McCluskey algorithm. * Takes a list of minterms (as integers) and returns prime implicants as QM terms.
src/compute-engine/library/logic-analysis.ts:861
↓ 4 callersFunctionrationalValue
( expr: MathJsonExpression | undefined | null )
src/math-json/utils.ts:315
↓ 4 callersFunctionreadInt
Exact `bigint` of an integer-valued boxed number, else `null`.
src/compute-engine/boxed-expression/multivariate-poly.ts:409
↓ 4 callersFunctionreduceBigOp
( body: Expression, indexes: ReadonlyArray<Expression>, fn: (acc: T, x: Expression) => T | null, initi
src/compute-engine/library/utils.ts:561
↓ 4 callersMethodremoveBoundary
()
src/compute-engine/latex-syntax/parse.ts:623
↓ 4 callersMethodrenderSpan
(span: StyledSpan)
src/common/terminal.ts:82
↓ 4 callersMethodreset
* * Reset the cached value associated with this expression. * * Use when the environment, for example the precision, has changed to * forc
src/compute-engine/types-expression.ts:1660
↓ 4 callersFunctionresolveUnit
* Resolve a unit symbol — first by direct table lookup, then by prefix * parsing. Returns a synthetic `UnitEntry` (dimension + effective scale) * o
src/compute-engine/numerics/unit-data.ts:273
↓ 4 callersMethodrestoreState
(state: { pos: number; line: number; column: number; tokens: Token[]; })
src/common/type/lexer.ts:75
↓ 4 callersFunctionroundingFunctionType
(x: Expression | undefined)
src/compute-engine/library/type-handlers.ts:153
↓ 4 callersFunctionsame
(a: Expression, b: Expression)
src/compute-engine/boxed-expression/compare.ts:27
↓ 4 callersFunctionsample
(e, var, pts)
benchmarks/audit/run_sympy_wester.py:45
↓ 4 callersFunctionsampleResult
(boxed: any, c: any)
benchmarks/audit/audit.ts:53
↓ 4 callersFunctionscaleByScalarModP
(a: MPoly, s: bigint, p: bigint)
src/compute-engine/boxed-expression/multivariate-gcd.ts:402
↓ 4 callersFunctionscaleTri
(s: Expression, t: TriParts)
src/compute-engine/rubi/rubi-utils.ts:1763
↓ 4 callersFunctionselectFactors
( u: Expression, x: string, ce: ComputeEngine, free: boolean )
src/compute-engine/rubi/rubi-utils.ts:3568
↓ 4 callersFunctionserialize
(x: any)
test/jest-config.ts:144
↓ 4 callersFunctionserializeNumber
( expr: MathJsonExpression | null, options: NumberSerializationFormat )
src/compute-engine/latex-syntax/serialize-number.ts:107
↓ 4 callersFunctionserializeSymbol
( symbol: string, options: Partial<AsciiMathOptions> = {} )
src/compute-engine/boxed-expression/ascii-math.ts:537
↓ 4 callersFunctionserializedArgs
()
src/compute-engine/boxed-expression/ascii-math.ts:390
↓ 4 callersFunctionsg
(res: any)
benchmarks/audit/wester.ts:428
↓ 4 callersMethodsgn
()
src/compute-engine/boxed-expression/boxed-symbol.ts:602
↓ 4 callersFunctionsignFromAssumedPart
( ce: ComputeEngine, op: Expression, part: SubjectPart )
src/compute-engine/library/complex.ts:29
↓ 4 callersFunctionsignificantDigits
* Extract significant digits from a numeric string. * Strips sign, decimal point, leading zeros, and trailing zeros. * Returns only the significant
test/big-decimal/cross-validation.test.ts:20
↓ 4 callersFunctionsimplifyFoldingExp
(expr: Expression)
src/compute-engine/symbolic/differential-equations.ts:575
↓ 4 callersFunctionsimplifyStable
* simplify(simplify(x)): assert termination within the time budget, a stable * (idempotent) endpoint, and return the result + elapsed time.
test/compute-engine/fungrim-loops.test.ts:118
↓ 4 callersFunctionsinCosArgNonlinearExpandableQ
( u: Expression, x: string )
src/compute-engine/rubi/rubi-utils.ts:3820
↓ 4 callersFunctionsincVal
(t: number)
src/compute-engine/interval/trigonometric.ts:600
↓ 4 callersFunctionsinh
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:340
↓ 4 callersFunctionskewness
(values: Iterable<number>)
src/compute-engine/numerics/statistics.ts:178
↓ 4 callersFunctionskipOf
(id: string)
test/compute-engine/fungrim-compile.test.ts:479
↓ 4 callersMethodskipSpaceTokens
Skip strictly `<space>` tokens. * To also skip `{}` see `skipSpace()`. * To skip visual space (e.g. `\,`) see `skipVisualSpace()`.
src/compute-engine/latex-syntax/parse.ts:895
↓ 4 callersFunctionsolve
( expr: LatexString | ExpressionInput, vars?: string | Iterable<string> | Expression | Iterable<Expression
src/compute-engine/free-functions.ts:143
↓ 4 callersFunctionsolveSound
(res: any)
benchmarks/audit/wester.ts:383
↓ 4 callersFunctionsortedTuples
De-duplicate integer rows, sort lexicographically ascending, box to tuples.
src/compute-engine/boxed-expression/diophantine.ts:944
↓ 4 callersFunctionsq
(lo: number, hi: number)
test/compute-engine/compile-interval-glsl.test.ts:409
↓ 4 callersFunctionsqrt
(x: Interval | IntervalResult)
src/compute-engine/interval/elementary.ts:32
↓ 4 callersFunctionst
(res: any)
benchmarks/audit/wester.ts:413
↓ 4 callersMethodsubsetOf
* Check if this collection is a subset of another collection. * * @param other The other collection to check against. * @param strict If true
src/compute-engine/types-expression.ts:2091
↓ 4 callersFunctionsubstForTrig
SubstForTrig[u, sinE, cosE, v, x] — replace every trig of argument `v` by * its image (Sin→sinE, Cos→cosE, Tan→sinE/cosE, …). Fail-closed on the * c
src/compute-engine/rubi/rubi-utils.ts:3503
↓ 4 callersFunctionsubstituteSymbol
Replace every occurrence of the symbol/wildcard `from` with `to`.
scripts/fungrim/apply-solve-templates.ts:75
↓ 4 callersFunctionsumAccumulate
Accumulate one term of a `Sum` without the `.add()` float-folding pitfall. * * The `.add()` **method** folds two exact-but-non-combinable number lit
src/compute-engine/library/arithmetic.ts:2623
↓ 4 callersFunctionsumBaseQ
(u: Expression)
src/compute-engine/rubi/rubi-utils.ts:1343
↓ 4 callersFunctionsumBaseTerms
sum terms of a base (Add/Subtract), through odd literal powers * (Rubi SumBaseQ companions); null when not a sum base
src/compute-engine/rubi/rubi-utils.ts:1334
↓ 4 callersFunctionsumTermsX
flatten a sum into its terms (Add/Subtract/Negate normalized)
src/compute-engine/rubi/rubi-utils.ts:1587
↓ 4 callersMethodsymbol
Create a boxed symbol
src/compute-engine/index.ts:1824
↓ 4 callersFunctionsymbolArg
( engine: IComputeEngine, arg: Expression | undefined )
src/compute-engine/differential-equation-utils.ts:5
↓ 4 callersFunctiontoAsciiMath
( expr: Expression, options: Partial<AsciiMathOptions> = {}, precedence = 0 )
src/compute-engine/boxed-expression/ascii-math.ts:557
↓ 4 callersFunctiontoFP10
Decimal → base-10 fixed point at scale 10^wp.
benchmarks/big-decimal/kernel-base2-experiment.ts:258
↓ 4 callersFunctiontoFP2
Decimal → base-2 fixed point at scale 2^bits.
benchmarks/big-decimal/kernel-base2-experiment.ts:264
↓ 4 callersFunctiontoOklch
* Convert any accepted color input — typed color head, color string, or 0-1 * sRGB Tuple — to an `OklchColor`. Typed heads take the wide-gamut path;
src/compute-engine/library/colors.ts:199
↓ 4 callersFunctiontoSubject
(subjectOrSymbol: string | Subject)
src/compute-engine/boxed-expression/constraint-subject.ts:66
↓ 4 callersFunctiontrailingBecause
(set: BoxedRuleSet, expr: BoxedExpression)
test/compute-engine/rule-aggregation.test.ts:108
↓ 4 callersFunctiontrueNv
(src: string)
test/compute-engine/branch-cut-safe.test.ts:23
↓ 4 callersFunctiontryFinalizeSequence
* Try to finalize a sequence definition. * A sequence is finalized when both base case(s) and recurrence are present.
src/compute-engine/sequence.ts:592
↓ 4 callersFunctiontuple
(prime: bigint, exponent: number)
src/compute-engine/library/number-theory.ts:134
↓ 4 callersFunctiontuples
Evaluate a multi-variable `Solve` and return its solution tuples as arrays * of numbers, in the (lexicographic) order the engine produced them. Thro
test/compute-engine/solve-domain.test.ts:27
↓ 4 callersFunctionunaryTaylor
( ce: ComputeEngine, op: string, b0: Expression, W: number )
src/compute-engine/symbolic/series.ts:196
↓ 4 callersMethodwrapString
(s: string, style: DelimiterScale, fence?: string)
src/compute-engine/latex-syntax/serializer.ts:219
↓ 3 callersMethod_add
(coef: NumericValue, term: Expression)
src/compute-engine/boxed-expression/arithmetic-add.ts:377
↓ 3 callersMethod_cache
@internal
src/compute-engine/index.ts:1560
↓ 3 callersFunction_hasAnyBound
(b: IntervalBounds)
src/compute-engine/boxed-expression/inequality-bounds.ts:146
↓ 3 callersMethod_integerPart
* Floor/ceil/round of a pure rational (`radical === 1`) computed exactly with * bigints. Routing through `this.re` (a float) would lose digits for
src/compute-engine/numeric-value/exact-numeric-value.ts:1146
↓ 3 callersMethod_liftComplex
Lift a Gaussian-integer value from the inexact lane (e.g. the machine * complex `i` constant, `3i`) to an exact value, so mixed exact/Gaussian *
src/compute-engine/numeric-value/exact-numeric-value.ts:326
↓ 3 callersMethod_popEvalContext
@internal
src/compute-engine/types-engine.ts:413
↓ 3 callersMethod_pushEvalContext
* * When a new eval context is created, it has slots for the local variables * from the current lexical scope. It also copies the current set of
src/compute-engine/types-engine.ts:410
↓ 3 callersMethod_requireLatexSyntax
@internal Returns the LatexSyntax instance or throws if unavailable.
src/compute-engine/types-engine.ts:103
↓ 3 callersMethod_reset
After the configuration of the engine has changed, clear the caches * so that new values can be recalculated. * * This needs to happen for ex
src/compute-engine/index.ts:593
↓ 3 callersFunctionabs
(x: Interval | IntervalResult)
src/compute-engine/interval/elementary.ts:401
↓ 3 callersFunctionacosh
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:398
↓ 3 callersFunctionacot
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:453
↓ 3 callersFunctionadd
(x: bigint, y: bigint)
src/compute-engine/numerics/diophantine.ts:825
↓ 3 callersFunctionaddC
(ce: ComputeEngine, a: Coeffs, b: Coeffs)
src/compute-engine/symbolic/series.ts:102
↓ 3 callersFunctionaddScaled
( y: readonly number[], dy: readonly number[], scale: number )
src/compute-engine/numerics/differential-equations.ts:77
↓ 3 callersFunctionairyURatio
One factor of the u_k recurrence (DLMF 9.7.2): * u₀ = 1, u_k = u_{k−1}·(6k−5)(6k−3)(6k−1)/(216·k·(2k−1)) — so * u_k/ξ^k = (u_{k−1}/ξ^{k−1})·uRatio
src/compute-engine/numerics/special-functions.ts:2302
↓ 3 callersFunctionairyXi
ξ = ⅔·x^{3/2} in double-double. The exponent/phase must carry an * ABSOLUTE error ≲1e−17: a one-ulp relative error in ξ alone shifts * e^{∓ξ} — an
src/compute-engine/numerics/special-functions.ts:2294
↓ 3 callersFunctionallClose
(got, expected, rel = 1e-9)
benchmarks/report.mjs:121
↓ 3 callersFunctionallClose
(got: any[], exp: string[], rel = 1e-6)
benchmarks/audit/audit.ts:193
↓ 3 callersFunctionapplyExponent
( parser: Parser, start: number, value: number )
src/point-free-parser/numeric-parsers.ts:50
↓ 3 callersFunctionapplyFunctionSup
Wrap an applied-function expression in a power, unless the exponent is * `-1` (an inverse function), in which case `makeInverse` supplies the * in
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:2523
↓ 3 callersFunctionapplyRule
( rule: Readonly<BoxedRule>, expr: Expression, substitution: BoxedSubstitution, options?: Readonly<Par
src/compute-engine/boxed-expression/rules.ts:981
↓ 3 callersFunctionapplyTR1
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:111
↓ 3 callersFunctionapplyTR9
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:779
← previousnext →1,301–1,400 of 5,294, ranked by callers