Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ functions
Functions
5,294 in github.com/cortex-js/compute-engine
⨍
Functions
5,294
◇
Types & classes
304
↓ 2 callers
Function
coeffSquaredTrig
( term: Expression )
src/compute-engine/symbolic/simplify-trig.ts:683
↓ 2 callers
Function
collect
(rule: BoxedRule)
src/compute-engine/boxed-expression/rules.ts:1433
↓ 2 callers
Function
collect
(u: Expression)
src/compute-engine/rubi/driver.ts:780
↓ 2 callers
Function
collectErrors
Collect a compact description of every Error subexpression.
scripts/fungrim/box-check.ts:36
↓ 2 callers
Function
collectNestedDomains
( body: Expression, ce: ComputeEngine )
src/compute-engine/library/logic-analysis.ts:332
↓ 2 callers
Function
collectWildcards
All wildcard symbols (`_…`) appearing in a MathJSON tree.
test/compute-engine/fungrim-loops.test.ts:69
↓ 2 callers
Function
collectWildcards
(x: MathJSON, out = new Set<string>())
scripts/fungrim/apply-solve-templates.ts:68
↓ 2 callers
Function
combine
( start: number, combo: Expression[] )
src/compute-engine/library/combinatorics.ts:321
↓ 2 callers
Function
compare
(v: Expression, b: Expression)
src/compute-engine/fungrim/loader.ts:246
↓ 2 callers
Function
compare
( v: Expression, b: Expression )
scripts/fungrim/compile-rules.ts:636
↓ 2 callers
Function
compareAbsoluteValues
* Compare the absolute values of two BoxedExpressions. * Returns: * 1 if |a| > |b| * 0 if |a| = |b| * -1 if |a| < |b| * undefined if compar
src/compute-engine/boxed-expression/solve-linear-system.ts:584
↓ 2 callers
Function
compareComponent
* Compare a single component (re or im) of two complex values. * Returns `true` if both finite and within tolerance, `false` if they * disagree, or
src/compute-engine/boxed-expression/stochastic-equal.ts:148
↓ 2 callers
Function
compareGrowth
* Compare the growth of `a` and `b` as x → +∞. * Returns 1 (a faster), −1 (a slower), 0 (same order), or undefined (unknown). * * Uses a coarse *sy
src/compute-engine/symbolic/limit.ts:510
↓ 2 callers
Function
compile
(source: { generator?: string; entries: SourceEntry[] })
scripts/fungrim/compile-properties.ts:62
↓ 2 callers
Function
compileBound
* Compile a bound expression to JavaScript code. * For numeric constants, emits the number directly. * For symbolic expressions, compiles using Math
src/compute-engine/compilation/javascript-target.ts:1940
↓ 2 callers
Function
compileGPUMatrix
( args: ReadonlyArray<Expression>, compile: (expr: Expression) => string, vecFn: (n: number) => string,
src/compute-engine/compilation/gpu-target.ts:1607
↓ 2 callers
Function
compileGPUSumProduct
* Compile a Sum or Product expression for GPU targets. * * Two compilation strategies: * - **Unrolled** (constant bounds, range ≤ GPU_UNROLL_LIMIT)
src/compute-engine/compilation/gpu-target.ts:429
↓ 2 callers
Function
compileIntArg
Compile an expression as a GPU integer argument. * Integer constants emit as plain literals (`200`); other expressions * are wrapped in a cast (`i
src/compute-engine/compilation/gpu-target.ts:403
↓ 2 callers
Function
compileIntervalBound
* Compile a bound expression to a scalar JavaScript value for use as a loop * counter. For the interval target, bounds must be plain numbers (not int
src/compute-engine/compilation/interval-javascript-target.ts:344
↓ 2 callers
Function
compileIntervalSumProduct
* Compile Sum or Product for the interval arithmetic target. * * The iteration variable is substituted with `_IA.point(k)` so the * body compiles c
src/compute-engine/compilation/interval-javascript-target.ts:367
↓ 2 callers
Function
compileJSEquality
* Emit a JavaScript equality test with the engine's numeric tolerance baked in * at compile time. The interpreter treats two numbers as equal when *
src/compute-engine/compilation/javascript-target.ts:139
↓ 2 callers
Function
compilePythonEquality
* Emit a Python equality test with the engine's numeric tolerance baked in at * compile time. The interpreter compares numbers within `engine.toleran
src/compute-engine/compilation/python-target.ts:39
↓ 2 callers
Function
compileSection
( ce: ComputeEngine, corpusDir: string )
scripts/rubi/compile.ts:45
↓ 2 callers
Function
compileSumProduct
* Compile Sum or Product. * * When both bounds are constant integers, small ranges (<=UNROLL_LIMIT terms) * are unrolled into explicit additions/mu
src/compute-engine/compilation/javascript-target.ts:1961
↓ 2 callers
Function
compileTerm
(innerTarget: CompileTarget<Expression>)
src/compute-engine/compilation/javascript-target.ts:1998
↓ 2 callers
Method
compileToSource
* Compile an expression to Python source code * * Returns the Python code as a string. Honors `options.vars` (per-call * substitution) and fo
src/compute-engine/compilation/python-target.ts:596
↓ 2 callers
Function
compiledEval
()
test/compute-engine/performance.test.ts:118
↓ 2 callers
Function
componentsInSet
Is a (re, im) component pair inside the representable set? * — real, pure-imaginary, or Gaussian rational (both radicals 1).
src/compute-engine/numeric-value/exact-numeric-value.ts:1447
↓ 2 callers
Function
compute
()
src/big-decimal/transcendentals.ts:1149
↓ 2 callers
Function
computeBinning
* Shared binning for `Histogram`/`BinCounts`. Returns the bin edges and the * count in each bin, or `undefined` if the input is not a usable finite
src/compute-engine/library/statistics.ts:67
↓ 2 callers
Function
computeEigenvaluesQR
* Compute eigenvalues using QR algorithm (numeric)
src/compute-engine/library/linear-algebra.ts:2040
↓ 2 callers
Function
computeValue
(result: Expression)
src/compute-engine/boxed-expression/rules.ts:1194
↓ 2 callers
Function
conditionHolds
* Evaluate a rule-condition predicate and report whether it discharges. * * Rule guards must be *fail-closed*: an unprovable predicate (e.g. `w ≠ 0`
src/compute-engine/boxed-expression/rules.ts:278
↓ 2 callers
Function
confirm
Substitute integer values and confirm the residual is exactly zero.
src/compute-engine/boxed-expression/diophantine.ts:341
↓ 2 callers
Function
confirmExact
* Exact confirmation of a candidate: substitute the unknown(s) and evaluate * with the engine (not the compiled float). For an equation, the residual
src/compute-engine/boxed-expression/solve-domain.ts:942
↓ 2 callers
Method
conjugate
(x: T)
src/compute-engine/types-expression.ts:299
↓ 2 callers
Function
consider
(term: Expression)
src/compute-engine/boxed-expression/constraint-subject.ts:272
↓ 2 callers
Method
consumeLine
()
src/common/markdown-block.ts:273
↓ 2 callers
Function
containsError
Return true if `expr` is, or contains anywhere, an `Error` node.
src/compute-engine/latex-syntax/parse.ts:3198
↓ 2 callers
Function
containsInertSinCos
(u: Expression)
src/compute-engine/rubi/rubi-utils.ts:3889
↓ 2 callers
Method
context
The current evaluation context
src/compute-engine/index.ts:399
↓ 2 callers
Function
contrastingColor
( bg: string | number[], fg1?: string | number[], fg2?: string | number[] )
src/compute-engine/compilation/javascript-target.ts:1226
↓ 2 callers
Function
convertInfiniteSetToLimits
( domainSymbol: string )
src/compute-engine/library/utils.ts:28
↓ 2 callers
Function
core
(t: Expression)
src/compute-engine/symbolic/limit.ts:959
↓ 2 callers
Function
correctCount
(tk)
benchmarks/report.mjs:332
↓ 2 callers
Function
costFn
(e: Expression)
src/compute-engine/boxed-expression/simplify.ts:146
↓ 2 callers
Function
costFunction
(expr: Expression)
src/compute-engine/cost-function.ts:74
↓ 2 callers
Function
cot
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:125
↓ 2 callers
Function
coth
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:498
↓ 2 callers
Function
countFunctionLeaves
(xs: MathJsonExpression[])
src/math-json/utils.ts:465
↓ 2 callers
Function
countMinNeeded
(wildcards: Expression[])
src/compute-engine/boxed-expression/match.ts:892
↓ 2 callers
Function
countTokens
(s: string)
src/compute-engine/latex-syntax/tokenizer.ts:425
↓ 2 callers
Function
covImpl
( xsI: Iterable<number>, ysI: Iterable<number>, population: boolean )
src/compute-engine/numerics/statistics.ts:304
↓ 2 callers
Function
createSequenceHandler
( ce: ComputeEngine, name: string, def: SequenceDefinition )
src/compute-engine/sequence.ts:272
↓ 2 callers
Function
csc
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:192
↓ 2 callers
Function
csch
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:513
↓ 2 callers
Function
curateChain
( initial: Expression, trace: RuleSteps, verbosity: 'default' | 'all' )
src/compute-engine/boxed-expression/explain.ts:148
↓ 2 callers
Function
dF
Richardson-extrapolated central difference F′(x) at a (possibly * complex) point, differencing along the real axis: combines steps h and * h/2 for O
scripts/rubi/benchmark.ts:164
↓ 2 callers
Function
ddNeg
(a: DD)
src/compute-engine/numerics/special-functions.ts:2215
↓ 2 callers
Function
decideComparisonFromBounds
( bounds: IntervalBounds, k: number, query: 'less' | 'lessEqual' | 'greater' | 'greaterEqual' )
src/compute-engine/boxed-expression/constraint-subject.ts:427
↓ 2 callers
Function
decimalExponentOf
Decimal exponent of a finite non-zero value: |x| ∈ [10^e, 10^(e+1)).
test/big-decimal/transcendentals.test.ts:1107
↓ 2 callers
Method
declareType
* Declare a new type in the current scope. * * By default, types are nominal. To declare a structural type, set * `alias` to `true`.
src/compute-engine/index.ts:429
↓ 2 callers
Function
defaultCollectionHandlers
( def: undefined | CollectionHandlers )
src/compute-engine/collection-utils.ts:242
↓ 2 callers
Function
denoiseComponent
* Snap a numeric root component to a nearby integer when it is within * tolerance, removing Durand–Kerner noise. This turns a double root at * `1 ±
src/compute-engine/symbolic/differential-equations.ts:808
↓ 2 callers
Function
deriveSolveTemplate
( rule: CompiledFungrimRule )
scripts/fungrim/apply-solve-templates.ts:96
↓ 2 callers
Function
det
Determinant of a square bigint matrix via cofactor expansion (n ≤ 4 here).
test/compute-engine/diophantine.test.ts:101
↓ 2 callers
Method
determinant
()
src/compute-engine/types-expression.ts:337
↓ 2 callers
Function
differentiateApplied
* Differentiate `Apply(Derivative(fn, orders), args)` with respect to `v` by * the multivariate chain rule, bumping the multi-index one slot at a tim
src/compute-engine/symbolic/derivative.ts:321
↓ 2 callers
Function
diopDNUnit
* The `|N| = 1` solutions of `x² − D·y² = N` for `D > 0` non-square, as * class representatives. Port of the `abs(N) == 1` branch of `diop_DN` * (Sy
src/compute-engine/numerics/diophantine.ts:761
↓ 2 callers
Function
disagree
(a: any, b: any)
benchmarks/audit/wester.ts:440
↓ 2 callers
Function
discreteQuantile
( cdf: (k: number) => number, prob: number, mean: number, stddev: number, kMin: number, kMax: numb
src/compute-engine/numerics/distributions.ts:20
↓ 2 callers
Function
distToIntegerC
Distance from a complex number to the nearest (real) integer.
src/compute-engine/numerics/numeric-complex.ts:598
↓ 2 callers
Function
distributeProduct
Distribute a product of factors across any Add operands → a flat sum (or a * single product if no factor is a sum). Factors are taken as-is (already
src/compute-engine/rubi/rubi-utils.ts:3658
↓ 2 callers
Function
distributionVariance
( ce: ComputeEngine, dist: Expression )
src/compute-engine/library/distributions.ts:585
↓ 2 callers
Function
divCoeffsByModP
* Divide A (over `vars`) by `c` (over vars[1..]) where `c` divides every * x0-coefficient of A exactly over ℤ_p. Returns the quotient over `vars`.
src/compute-engine/boxed-expression/multivariate-gcd.ts:415
↓ 2 callers
Function
divides
(g: ReturnType<typeof ce.expr>, s: string, vars: string[])
test/compute-engine/multivariate-gcd.test.ts:67
↓ 2 callers
Function
divisors
(n: number)
src/compute-engine/boxed-expression/solve.ts:2743
↓ 2 callers
Function
divisors
(n: number)
src/compute-engine/boxed-expression/factor.ts:402
↓ 2 callers
Function
divisorsAscending
* The sorted ascending list of positive divisors of `m ≥ 1`. Divisor pairs * `(i, m/i)` are collected by trial division up to √m: the small divisors
src/compute-engine/library/number-theory.ts:1263
↓ 2 callers
Function
dominantTerms
From a list of terms, return those of maximal growth as x → +∞ (ties kept).
src/compute-engine/symbolic/limit.ts:484
↓ 2 callers
Function
dotOverDigit
Check if the next tokens look like a digit with a dot over it (`\overset{.}{d}`).
src/compute-engine/latex-syntax/parse-number.ts:148
↓ 2 callers
Function
dynamicValue
( ce: ComputeEngine, value: | undefined | LatexString | ExpressionInput | ((ce: ComputeEng
src/compute-engine/boxed-expression/boxed-value-definition.ts:244
↓ 2 callers
Function
eisensteinE
(s: number, tau: Complex)
src/compute-engine/numerics/numeric-complex.ts:1045
↓ 2 callers
Function
emitSumProduct
* Emit one indexing-set clause of a Sum/Product, recursing into the remaining * clauses for the innermost body. The "term" accumulated by this clause
src/compute-engine/compilation/javascript-target.ts:1978
↓ 2 callers
Function
emoji
(a, b)
test/utils.ts:401
↓ 2 callers
Function
epsilonAlgorithm
* Wynn's ε-algorithm. Given partial sums `s`, returns the best (highest * even-order) extrapolated limit, or `null` if it can't be formed.
src/compute-engine/numerics/oscillatory-quadrature.ts:216
↓ 2 callers
Function
eqDelta
u − v for binary EqQ/NeQ, or just u for the unary form (compare to 0).
src/compute-engine/rubi/rubi-utils.ts:588
↓ 2 callers
Function
eqRank
(x: Expression)
src/compute-engine/boxed-expression/order.ts:129
↓ 2 callers
Function
erfInvApprox
* Winitzki's approximation for the inverse error function, accurate to * ~2e-3 relative over (-1, 1). Used as the Newton seed for `erfInv()` and * `
src/compute-engine/numerics/special-functions.ts:313
↓ 2 callers
Function
erfc
(x: number)
src/compute-engine/numerics/special-functions.ts:373
↓ 2 callers
Function
escapeInvisibleCharacter
(code: number)
src/cortex/serialize-cortex.ts:415
↓ 2 callers
Function
escapeSymbol
(s: string)
src/cortex/serialize-cortex.ts:454
↓ 2 callers
Function
estimatedFactorialDigits
Rough estimate of the decimal digit count of n!, via lgamma(n+1).
src/compute-engine/library/combinatorics.ts:23
↓ 2 callers
Method
evalVar
Substitute `vars[i] = value`, returning a polynomial over the other vars.
src/compute-engine/boxed-expression/multivariate-poly.ts:226
↓ 2 callers
Function
evaluateBinomial
* Shared evaluate logic for `Binomial` and `Choose` — the two names must * agree everywhere both are defined, so both handlers delegate here. * * -
src/compute-engine/library/combinatorics.ts:105
↓ 2 callers
Function
evaluateCovariance
( ce: ComputeEngine, ops: ReadonlyArray<Expression>, numericApproximation: boolean, population: boolea
src/compute-engine/library/statistics.ts:864
↓ 2 callers
Function
evaluateGcdLcm
( ops: ReadonlyArray<Expression>, mode: 'LCM' | 'GCD' )
src/compute-engine/library/arithmetic.ts:2796
↓ 2 callers
Function
evaluateNumericSubexpressions
* Recursively evaluate purely numeric subexpressions without full simplification. * This handles cases like Power(x, Add(1,2)) where Add(1,2) should
src/compute-engine/boxed-expression/simplify.ts:46
↓ 2 callers
Function
exactIntegerPow
* `x^e` for an integer exponent `e` and an EXACT base `x`, computed exactly: * - integer / rational base → exact bigint rational power; * - comple
src/compute-engine/boxed-expression/arithmetic-power.ts:455
↓ 2 callers
Function
exactIntegerValue
* Extract the exact integer value of a `NumericValue`, or `null` if it does * not represent an exact integer. * * This reads the exact underlying r
src/compute-engine/boxed-expression/numerics.ts:64
← previous
next →
1,901–2,000 of 5,294, ranked by callers