MCPcopy Create free account

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

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

↓ 1 callersFunctionboxHold
( ce: ComputeEngine, expr: ExpressionInput | null, options: { canonical?: CanonicalOptions } )
src/compute-engine/boxed-expression/box.ts:148
↓ 1 callersFunctionboxRelative
(b: F)
test/compute-engine/compile-interval-glsl.test.ts:398
↓ 1 callersFunctionboxedExpressionToDictionaryValue
(value: Expression)
src/compute-engine/boxed-expression/boxed-dictionary.ts:273
↓ 1 callersFunctionbracketBalance
Net bracket depth of a fragment, ignoring brackets inside strings.
scripts/rubi/extract-rules.ts:69
↓ 1 callersFunctionbrownPrimitiveModP
GCD of two primitive-in-x0 polynomials via evaluation/interpolation in the last var.
src/compute-engine/boxed-expression/multivariate-gcd.ts:172
↓ 1 callersFunctionbruteForceLinear
* All integer points of `Σ a[i]·x[i] = c` with the first `n − 1` coordinates * ranging over `[-bound, bound]` (the last coordinate is solved from the
test/compute-engine/diophantine.test.ts:182
↓ 1 callersFunctionbuild
(i: number)
src/compute-engine/compilation/gpu-target.ts:764
↓ 1 callersFunctionbuild
(i: number)
src/compute-engine/compilation/python-target.ts:415
↓ 1 callersFunctionbuildAugmentedMatrix
* Build the augmented matrix [A|b] from a system of linear equations.
src/compute-engine/boxed-expression/solve-linear-system.ts:320
↓ 1 callersFunctionbuildBlockFromSequence
* Convert a sequence of expressions to a Block, inserting Declare * before each Assign.
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:3381
↓ 1 callersFunctionbuildCategories
(payload: ReturnType<typeof buildPayload>)
src/math-json/scripts/generate_OPERATORS.ts:213
↓ 1 callersFunctionbuildComplexPreamble
* Build a minimal complex preamble containing only the helper functions * actually referenced by `code`, plus their transitive dependencies, * emitt
src/compute-engine/compilation/gpu-target.ts:3223
↓ 1 callersFunctionbuildCore
(t)
benchmarks/runners/run_wolfram_batch.mjs:62
↓ 1 callersFunctionbuildFactIndex
( assumptions: Iterable<[Expression, boolean]> )
src/compute-engine/boxed-expression/constraint-subject.ts:283
↓ 1 callersFunctionbuildGuardClosures
* Box guard sub-expressions once per rule at load time (wildcards as typed * symbols, declared by the caller's scope); `.subs()`-instantiated per mat
src/compute-engine/fungrim/loader.ts:131
↓ 1 callersFunctionbuildGuardClosures
( ce: ComputeEngine, guards: ReadonlyArray<GuardSpec> )
scripts/fungrim/compile-rules.ts:550
↓ 1 callersFunctionbuildNestedList
* Recursively build a nested List structure from flat data.
src/compute-engine/library/linear-algebra.ts:2550
↓ 1 callersFunctionbuildPayload
()
src/math-json/scripts/generate_OPERATORS.ts:113
↓ 1 callersFunctionbuildPiecewise
(i: number)
src/compute-engine/compilation/interval-javascript-target.ts:259
↓ 1 callersFunctionbuildSolveRules
( artifact: Artifact, solveSeeds: SolveSeeds )
scripts/fungrim/apply-solve-templates.ts:218
↓ 1 callersFunctionbuildTypeFromAST
( node: TypeNode, typeResolver?: TypeResolver )
src/common/type/type-builder.ts:287
↓ 1 callersFunctionbytesliteral
( s: string, i: number )
src/math-json/parse-sympy.ts:242
↓ 1 callersFunctioncachedBaseLn
(base: BigDecimal, prec: number)
src/big-decimal/big-decimal.ts:1323
↓ 1 callersFunctioncanCombine
* Check if two terms can be combined (differ in exactly one position, * ignoring don't cares which must match). * Returns the differing position ind
src/compute-engine/library/logic-analysis.ts:696
↓ 1 callersMethodcanSkipMatchfixReparsing
* Performance optimization: determines if we can skip expensive re-parsing * for matchfix boundary mismatches. * * We skip re-parsing only fo
src/compute-engine/latex-syntax/parse.ts:654
↓ 1 callersMethodcandidatesFor
(operator: string)
src/compute-engine/rubi/driver.ts:168
↓ 1 callersFunctioncandidatesFromAssumptions
()
src/compute-engine/engine-assumptions.ts:104
↓ 1 callersFunctioncanonicalComparisonChain
* Canonicalize a chain of comparison operators. * * A same-operator chain stays n-ary (`1 < 2 < 3` → `Less(1, 2, 3)`). A chain * that mixes operato
src/compute-engine/library/relational-operator.ts:776
↓ 1 callersFunctioncanonicalIndexingSet
(expr: Expression)
src/compute-engine/library/utils.ts:386
↓ 1 callersFunctioncanonicalLimitsSequence
( ops: ReadonlyArray<Expression>, options: { engine: ComputeEngine } )
src/compute-engine/library/utils.ts:253
↓ 1 callersFunctioncanonicalMatchLosesWildcards
(match: Expression)
src/compute-engine/boxed-expression/rules.ts:945
↓ 1 callersFunctioncanonicalNegate
(expr: Expression)
src/compute-engine/boxed-expression/negate.ts:8
↓ 1 callersFunctioncanonicalNumber
( ce: ComputeEngine, value: | number | bigint | string | BigDecimal | Complex | Ra
src/compute-engine/boxed-expression/boxed-number.ts:883
↓ 1 callersFunctioncanonicalOrder
( expr: Expression, { recursive = false }: { recursive?: boolean } )
src/compute-engine/boxed-expression/order.ts:452
↓ 1 callersFunctioncanonicalSolve
( ce: ComputeEngine, ops: ReadonlyArray<Expression> )
src/compute-engine/boxed-expression/solve-domain.ts:60
↓ 1 callersFunctioncanonicalSolveSpec
Validate/canonicalize a single `Solve` spec operand.
src/compute-engine/boxed-expression/solve-domain.ts:77
↓ 1 callersFunctioncantorEnumerateComplexNumbers
()
src/compute-engine/numerics/numeric.ts:436
↓ 1 callersFunctioncantorEnumerateIntegers
()
src/compute-engine/numerics/numeric.ts:460
↓ 1 callersFunctioncantorEnumeratePositiveRationals
()
src/compute-engine/numerics/numeric.ts:417
↓ 1 callersFunctioncaptureClosures
* Recursively walk `expr` and rebind any Function literals so their body * scopes close over `closureParent`. This handles Functions nested inside *
src/compute-engine/function-utils.ts:374
↓ 1 callersFunctioncarlsonRD
(x: number, y: number, z: number)
src/compute-engine/numerics/special-functions.ts:3524
↓ 1 callersFunctioncarlsonRDComplex
(x: Complex, y: Complex, z: Complex)
src/compute-engine/numerics/numeric-complex.ts:473
↓ 1 callersFunctioncartesianProduct
( array1: number[], array2: number[] )
src/compute-engine/library/utils.ts:239
↓ 1 callersFunctioncartesianRange
All `k`-tuples with every coordinate ranging over `[lo, hi]`.
test/compute-engine/diophantine.test.ts:92
↓ 1 callersFunctioncaseLabel
(c)
benchmarks/report.mjs:526
↓ 1 callersFunctioncasePoints
(c: any)
benchmarks/audit/audit.ts:51
↓ 1 callersFunctionceBaseline
(numRandos: number[])
test/compute-engine/performance.test.ts:40
↓ 1 callersFunctionceBaselineN
(numRandos: number[])
test/compute-engine/performance.test.ts:59
↓ 1 callersFunctionceBest
(id)
benchmarks/report_changelog.mjs:222
↓ 1 callersFunctionceOutlier
(c)
benchmarks/report.mjs:509
↓ 1 callersFunctioncenteredDiff8thOrder
( f: (x: number) => number, x: number, h = 0.1 )
src/compute-engine/numerics/numeric.ts:251
↓ 1 callersFunctioncf2
(x: number)
docs/reviews/2026-07-archive/wave3-harness/probe_k40.ts:3
↓ 1 callersFunctioncf2
(x: number)
docs/reviews/2026-07-archive/wave3-harness/probe_kband.ts:2
↓ 1 callersMethodchalkMessage
(s: string)
src/common/debug.ts:79
↓ 1 callersFunctioncharacteristicPolynomial
( coefficients: Map<number, Expression>, order: number, variable: string, ce: Expression['engine'] )
src/compute-engine/symbolic/differential-equations.ts:661
↓ 1 callersFunctioncheckBoundsAgainst
* Check a candidate bound against the existing bounds for the same subject * (design §4.3 — bounds-level consistency only, per subject). * * Return
src/compute-engine/assume.ts:1070
↓ 1 callersFunctioncheckConditions
(x: Expression, conditions: string[])
src/compute-engine/boxed-expression/rules.ts:257
↓ 1 callersFunctioncheckConstraints
* Check constraint expression for multi-index sequences. * Returns true if constraints are satisfied or no constraints exist.
src/compute-engine/sequence.ts:234
↓ 1 callersFunctioncheckDiagonalOrTriangular
* Check if matrix is diagonal or triangular
src/compute-engine/library/linear-algebra.ts:1905
↓ 1 callersMethodcheckForNakedFunctionSignature
()
src/common/type/parser.ts:296
↓ 1 callersFunctioncheckInstance
Numerically check one substituted formula instance.
scripts/fungrim/numeric-check.ts:128
↓ 1 callersFunctioncheckLatexRoundtrip
()
test/compute-engine/random.test.ts:3
↓ 1 callersFunctioncheckSimplification
()
test/compute-engine/random.test.ts:19
↓ 1 callersFunctioncheckTerm
(term: Expression)
src/compute-engine/boxed-expression/solve-linear-system.ts:46
↓ 1 callersFunctionchineseRemainder
* General Chinese Remainder: merge the congruences `x ≡ residues[i] * (mod moduli[i])` pairwise. Moduli need not be coprime. Returns the least * non
src/compute-engine/library/number-theory.ts:1186
↓ 1 callersFunctionchoose
(n: number, k: number)
src/compute-engine/boxed-expression/expand.ts:25
↓ 1 callersFunctionchooseRep
* Pick a deterministic representative between `phi` and `-phi`, so that a term * `e^{i·phi}` and its conjugate `e^{-i·phi}` map to the same bucket. P
src/compute-engine/symbolic/trig-rewrite.ts:461
↓ 1 callersFunctionclassify
(e: any)
test/compute-engine/nightly/exactness-grid.test.ts:65
↓ 1 callersFunctionclassify
Return (cardinality, roots[]) for the real solution set of expr = 0. Cardinality comes from `solveset` (the only API that distinguishes a finite
benchmarks/audit/gen_solve.py:193
↓ 1 callersFunctionclassifyDomain
* Classify a per-unknown domain constraint. `undefined` (a declared * integer-typed unknown with no domain) is fully unbounded ℤ. An integer * `Rang
src/compute-engine/boxed-expression/diophantine.ts:225
↓ 1 callersFunctionclassifyEntry
( ce: ReturnType<typeof createEngine>, e: Entry )
scripts/fungrim/guard-census.ts:80
↓ 1 callersFunctioncleanTrig
Bottom-up application of the engine's trig simplifier — folds the * `sin(θ+π/2) → cos(θ)` cofunction shifts the cosine→sine normalization * introduc
src/compute-engine/rubi/driver.ts:107
↓ 1 callersFunctionclearDenominators
* Clear denominators from an Add expression by multiplying through by the LCM * of all denominators. For example, `F - 3x/h` becomes `F*h - 3x`. *
src/compute-engine/boxed-expression/solve.ts:734
↓ 1 callersFunctioncloseOver
(t: PrimitiveType)
src/common/type/subtype.ts:110
↓ 1 callersFunctionclosesLatex
(latex: string, subs: Record<string, number>)
test/compute-engine/rubi-utils.test.ts:609
↓ 1 callersFunctionclusterNumericRoots
* Group nearly-coincident numeric roots (as returned by Durand–Kerner for a * multiple root) into (representative, multiplicity) clusters. A double o
src/compute-engine/symbolic/differential-equations.ts:769
↓ 1 callersFunctioncodepoint
(value: number)
src/point-free-parser/core-combinators.ts:57
↓ 1 callersFunctioncofunctionShiftRec
( ce: ComputeEngine, e: Expression, x: string )
src/compute-engine/rubi/rubi-utils.ts:2535
↓ 1 callersFunctioncollect
(node: Expression)
src/compute-engine/boxed-expression/solve.ts:1485
↓ 1 callersFunctioncollect
(e: Expression)
src/compute-engine/rubi/rubi-utils.ts:3861
↓ 1 callersFunctioncollectAppliedNonFunctions
* Walk a raw (pre-canonicalization) MathJSON expression and collect the * symbols that appear in function-application syntax `f(…)` — encoded as an
src/compute-engine/index.ts:264
↓ 1 callersFunctioncollectErrors
(expr: MathJsonExpression)
test/compute-engine/latex-syntax/errors.test.ts:30
↓ 1 callersFunctioncollectFactors
Flatten a (possibly nested) product into a flat list of factors.
src/compute-engine/symbolic/trig-rewrite.ts:436
↓ 1 callersFunctioncollectFactors
* Walk a Multiply/Power tree and collect factors that contain the variable. * Numeric constants are ignored since they don't contribute variable-cont
src/compute-engine/boxed-expression/factor.ts:782
↓ 1 callersFunctioncollectFactorsRaw
Recursively collect raw factors without merging
src/compute-engine/boxed-expression/factor.ts:804
↓ 1 callersFunctioncollectGenerators
Collect the distinct candidate generators `g(x)` occurring in `expr`, * innermost (shortest) first — so `ln x` is tried before `√(ln x)`.
src/compute-engine/boxed-expression/solve.ts:1771
↓ 1 callersFunctioncollectHeads
All operator heads appearing in the (function nodes of the) expression * tree — the integrand's "skeleton" feature set. Backs the second-level * dis
src/compute-engine/rubi/driver.ts:98
↓ 1 callersFunctioncollectIndexingSets
(expr: MathJsonExpression)
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:2425
↓ 1 callersFunctioncollectPolyFactors
Rewrite uncollected polynomial Add factors of a (normal-form) integrand * as Σ Coeff·x^k with x-free coefficients; null when nothing changes.
src/compute-engine/rubi/driver.ts:774
↓ 1 callersFunctioncollectPowers
fuse factors sharing a base: d·d → d², u^(1/2)·u^(1/2) → u. Bases are * compared structurally; rule skeletons never carry duplicate-base * factors (
src/compute-engine/rubi/normal-form.ts:148
↓ 1 callersFunctioncollectPythagoreanPairs
* Within every `Add`, collect Pythagorean pairs `A·sin²(u) + A·cos²(u) → A` * (same coefficient up to `isSame`, same argument). Variation of paramete
src/compute-engine/symbolic/differential-equations.ts:536
↓ 1 callersFunctioncollectReferenced
(r: CompiledFungrimRule)
src/compute-engine/fungrim/loader.ts:711
↓ 1 callersFunctioncollectRequiredHeads
(pat: Pat, out: Set<string>)
src/compute-engine/rubi/compile.ts:142
↓ 1 callersFunctioncollectSameExponent
Fuse factors sharing a NON-NUMERIC exponent: aˣ·bˣ → (a·b)ˣ. Sound for the * Rubi verification regime (positive-real parameters), and needed so a pro
src/compute-engine/rubi/normal-form.ts:80
↓ 1 callersFunctioncollectSymbolLeaves
(e: Expression, out: string[])
src/compute-engine/rubi/rubi-utils.ts:1161
↓ 1 callersFunctioncollectSymbols
(expr: Json, out: Set<string>)
scripts/rubi/benchmark.ts:109
↓ 1 callersFunctioncollectTargetArgs
Collect the (stringified) arguments of every shift-TARGET head (`csc`, and — * when cot enabled — `tan`) in the tree, into `out`.
src/compute-engine/rubi/rubi-utils.ts:2518
↓ 1 callersFunctioncollectTypeNames
(scope: ResolverScope)
src/compute-engine/engine-type-resolver.ts:14
↓ 1 callersFunctioncollectVars
(expr: MathJsonExpression | null)
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:717
↓ 1 callersFunctioncombinations
(pool: T[], k: number)
test/compute-engine/diophantine.test.ts:115
← previousnext →2,701–2,800 of 5,294, ranked by callers