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
↓ 1 callers
Function
digs
(n: number)
test/big-decimal/big-decimal.test.ts:1467
↓ 1 callers
Function
diopDNGeneral
* Class representatives for `x² − D·y² = N` with `D > 0` non-square and * `N ≠ 0`. Port of the general LMM path of `diop_DN` * (SymPy diophantine.py
src/compute-engine/numerics/diophantine.ts:922
↓ 1 callers
Function
diopDNNegative
Primitive-plus-scaled solutions of `x² − D·y² = N` for `D < 0`, `N > 0`.
src/compute-engine/numerics/diophantine.ts:964
↓ 1 callers
Function
distance
(a: Expression, b: Expression)
src/compute-engine/compilation/javascript-target.ts:148
↓ 1 callers
Function
distance_formula
r"""Distance Formula: \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}
benchmarks/python-performance.py:71
↓ 1 callers
Function
distribute
( expr: Expression, g = 'Add', f = 'Multiply' )
src/compute-engine/symbolic/distribute.ts:24
↓ 1 callers
Function
distribute2
( lhs: Expression, rhs: Expression, g: string, f: string )
src/compute-engine/symbolic/distribute.ts:4
↓ 1 callers
Function
distributeAndOverOr
* Distribute And over Or to get DNF. * (A ∨ B) ∧ C → (A ∧ C) ∨ (B ∧ C)
src/compute-engine/symbolic/logic-utils.ts:603
↓ 1 callers
Function
distributeOrOverAnd
* Distribute Or over And to get CNF. * (A ∧ B) ∨ C → (A ∨ C) ∧ (B ∨ C)
src/compute-engine/symbolic/logic-utils.ts:537
↓ 1 callers
Function
distributionCDF
( ce: ComputeEngine, dist: Expression, x: Expression )
src/compute-engine/library/distributions.ts:338
↓ 1 callers
Function
distributionMean
( ce: ComputeEngine, dist: Expression )
src/compute-engine/library/distributions.ts:560
↓ 1 callers
Function
distributionPDF
( ce: ComputeEngine, dist: Expression, x: Expression )
src/compute-engine/library/distributions.ts:263
↓ 1 callers
Function
distributionQuantile
( ce: ComputeEngine, dist: Expression, p: Expression, pv: number | undefined, numericApproximation:
src/compute-engine/library/distributions.ts:409
↓ 1 callers
Function
distributionStandardDeviation
( ce: ComputeEngine, dist: Expression )
src/compute-engine/library/distributions.ts:612
↓ 1 callers
Method
div
* Divide this value by another. * Uses `BigDecimal.precision` to determine significant digits for inexact results. * * Special cases: * -
src/big-decimal/big-decimal.ts:701
↓ 1 callers
Method
div
Divide the product by a term of coefficient
src/compute-engine/boxed-expression/arithmetic-mul-div.ts:361
↓ 1 callers
Function
divExactModP
Exact division a / b over ℤ_p[a.vars] (field coefficients), or null.
src/compute-engine/boxed-expression/multivariate-gcd.ts:436
↓ 1 callers
Function
divide
(a: Json, b: Json)
scripts/rubi/wl-parser.ts:394
↓ 1 callers
Function
divideForm
* Apply the 'Divide' form recursively. For `Divide` expressions, operands * are first passed through `powerForm` before being canonicalized via * `c
src/compute-engine/boxed-expression/canonical.ts:341
↓ 1 callers
Function
domainBoundingRange
* Finite `[lo, hi]` bounding range of a domain, or `undefined` for an unbounded * or non-numeric one. Both `Range` (integer/real) and `Interval` (rea
src/compute-engine/boxed-expression/solve-domain.ts:664
↓ 1 callers
Function
e1Complex
E₁(z) = Γ(0, z) for complex z ≠ 0 (principal branch). Entire series * (times −ln z) for modest |z|; Legendre continued fraction for large * Re(z)
src/compute-engine/numerics/numeric-complex.ts:93
↓ 1 callers
Function
e1Real
* Exponential integral E₁(z) = Γ(0, z) = ∫_z^∞ e^{−t}/t dt, for real z > 0. * * Power series (DLMF 6.6.2) for small z, Legendre continued fraction
src/compute-engine/numerics/special-functions.ts:66
↓ 1 callers
Method
each
()
src/compute-engine/boxed-expression/boxed-function.ts:1207
↓ 1 callers
Function
easyDQ
Rubi EasyDQ — conservative: true iff y is cheap to differentiate wrt x. * Fail-closed (unknown shapes → false), which only makes DerivativeDivides *
src/compute-engine/rubi/rubi-utils.ts:3067
↓ 1 callers
Function
element
(v: string, dom: MathJSON)
scripts/fungrim/compile-rules.ts:328
↓ 1 callers
Function
ellipticE
(m: number)
src/compute-engine/numerics/special-functions.ts:3292
↓ 1 callers
Function
ellipticEComplex
(m: Complex)
src/compute-engine/numerics/numeric-complex.ts:267
↓ 1 callers
Function
ellipticK
(m: number)
src/compute-engine/numerics/special-functions.ts:3278
↓ 1 callers
Function
ellipticKComplex
(m: Complex)
src/compute-engine/numerics/numeric-complex.ts:255
↓ 1 callers
Function
ellipticPiComplete
(n: number, m: number)
src/compute-engine/numerics/special-functions.ts:3578
↓ 1 callers
Function
ellipticPiCompleteComplex
(n: Complex, m: Complex)
src/compute-engine/numerics/numeric-complex.ts:527
↓ 1 callers
Function
emit
(tool, o)
benchmarks/runners/run_ce_rubi.mjs:103
↓ 1 callers
Function
emitArtifact
( manifest: unknown, declarations: CompileResult['declarations'], rules: ReadonlyArray<CompiledFungrimRu
scripts/fungrim/compile-rules.ts:1608
↓ 1 callers
Function
emitArtifact
Re-emit the artifact JSON with the same one-rule-per-line layout * `emitArtifact` (compile-rules.ts) produces, so a write is a minimal diff.
scripts/fungrim/apply-solve-templates.ts:307
↓ 1 callers
Function
empiricalQuantile
( ce: ComputeEngine, coll: Expression, p: Expression, pv: number | undefined )
src/compute-engine/library/distributions.ts:505
↓ 1 callers
Function
enclosure
( s: string, i: number )
src/math-json/parse-sympy.ts:279
↓ 1 callers
Function
enlist
* * Flatten an array of BoxedExpressions (possibly lazy collections), * handling Sequence and Nothing *
src/compute-engine/library/collections.ts:3153
↓ 1 callers
Method
enterRecursion
* Enter a user-function application. Throws a `CancellationError` * (`cause: 'recursion-depth-exceeded'`) when the depth would exceed * `recursi
src/compute-engine/engine-runtime-state.ts:51
↓ 1 callers
Function
eof
()
src/point-free-parser/core-combinators.ts:448
↓ 1 callers
Method
equals
(other: Tensor<DT>)
src/compute-engine/types-expression.ts:357
↓ 1 callers
Function
equationCoefficients
( equation: Expression, dependentName: string, independentName: string )
src/compute-engine/symbolic/differential-equations.ts:174
↓ 1 callers
Function
erf
(x: Interval | IntervalResult)
src/compute-engine/interval/elementary.ts:1030
↓ 1 callers
Function
erfc
(x: Interval | IntervalResult)
src/compute-engine/interval/elementary.ts:1041
↓ 1 callers
Function
erfi
(x: number)
src/compute-engine/numerics/special-functions.ts:2731
↓ 1 callers
Function
errorCode
(expr: ErrorExpressionObject)
test/compute-engine/latex-syntax/errors.test.ts:16
↓ 1 callers
Function
errorContextAsLatex
( serializer: Serializer, error: MathJsonExpression )
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:2379
↓ 1 callers
Method
errorFrom
(result: Result, value: IR)
src/point-free-parser/parsers.ts:347
↓ 1 callers
Function
escapeJsonString
(s: string)
src/common/json.ts:45
↓ 1 callers
Function
estimatedBellDigits
* Rough estimate of the decimal digit count of the Bell number B(n), via the * leading terms of the de Bruijn asymptotic: ln B(n) ≈ n·ln(n) − n·ln(ln
src/compute-engine/library/combinatorics.ts:44
↓ 1 callers
Function
estimatedBinomialDigits
Rough estimate of the decimal digit count of Binomial(n, k), via lgamma.
src/compute-engine/library/combinatorics.ts:31
↓ 1 callers
Function
eulerPhi
Euler's totient φ(n) computed from the prime factorization (`n ≥ 1`).
src/compute-engine/library/number-theory.ts:1280
↓ 1 callers
Function
evalCircle
(xb: F, yb: F)
test/compute-engine/compile-interval-glsl.test.ts:415
↓ 1 callers
Function
evalP
(z: Complex)
src/compute-engine/numerics/polynomial-roots.ts:20
↓ 1 callers
Function
evalQ
(z: Complex)
src/compute-engine/symbolic/antiderivative.ts:2218
↓ 1 callers
Method
evaluate
(options?: Partial<EvaluateOptions>)
src/compute-engine/boxed-expression/boxed-function.ts:1111
↓ 1 callers
Function
evaluateAbs
( arg: Expression, numericApproximation?: boolean )
src/compute-engine/library/arithmetic.ts:2663
↓ 1 callers
Function
evaluateCorrelation
( ce: ComputeEngine, ops: ReadonlyArray<Expression>, numericApproximation: boolean )
src/compute-engine/library/statistics.ts:901
↓ 1 callers
Function
evaluateExists
* Evaluate Exists over a finite domain. * ∃x∈S. P(x) is true iff P(x) is true for at least one x in S. * * Symbolic simplifications: * - ∃x. True
src/compute-engine/library/logic.ts:355
↓ 1 callers
Function
evaluateExistsCartesian
( domains: { variable: string; values: Expression[] }[], body: Expression, ce: ComputeEngine )
src/compute-engine/library/logic-analysis.ts:427
↓ 1 callers
Function
evaluateForAll
* Evaluate ForAll over a finite domain. * ∀x∈S. P(x) is true iff P(x) is true for all x in S. * * Symbolic simplifications: * - ∀x. True → True *
src/compute-engine/library/logic.ts:277
↓ 1 callers
Function
evaluateForAllCartesian
( domains: { variable: string; values: Expression[] }[], body: Expression, ce: ComputeEngine )
src/compute-engine/library/logic-analysis.ts:379
↓ 1 callers
Function
evaluateLinearRegression
( ce: ComputeEngine, ops: ReadonlyArray<Expression>, numericApproximation: boolean )
src/compute-engine/library/statistics.ts:1034
↓ 1 callers
Function
evaluatePolynomialFit
( ce: ComputeEngine, ops: ReadonlyArray<Expression>, numericApproximation: boolean )
src/compute-engine/library/statistics.ts:1060
↓ 1 callers
Function
evaluateSolve
( ce: ComputeEngine, ops: ReadonlyArray<Expression> )
src/compute-engine/boxed-expression/solve-domain.ts:103
↓ 1 callers
Function
evaluateWhich
( args: ReadonlyArray<Expression>, options: Partial<EvaluateOptions> & { engine: ComputeEngine } )
src/compute-engine/library/control-structures.ts:168
↓ 1 callers
Function
exactCorrelation
Exact Pearson r; `null` if a variance is zero (division by zero).
src/compute-engine/library/statistics.ts:957
↓ 1 callers
Function
exactCovariance
Exact sample/population covariance: (Σxy − ΣxΣy/n)/(n−1 or n).
src/compute-engine/library/statistics.ts:935
↓ 1 callers
Function
exactKurtosis
(ce: ComputeEngine, vals: Expression[])
src/compute-engine/library/statistics.ts:770
↓ 1 callers
Function
exactMode
(ce: ComputeEngine, vals: Expression[])
src/compute-engine/library/statistics.ts:790
↓ 1 callers
Function
exactSkewness
(ce: ComputeEngine, vals: Expression[])
src/compute-engine/library/statistics.ts:778
↓ 1 callers
Method
exitRecursion
Leave a user-function application. Balanced with * {@linkcode enterRecursion}.
src/compute-engine/engine-runtime-state.ts:62
↓ 1 callers
Function
expInt1
* E₁(x) = ∫ₓ^∞ e^{−t}/t dt for x > 0 (Numerical Recipes §6.3 `expint`, * specialised to n = 1): the power series for x ≤ 1, Lentz's continued * frac
src/compute-engine/numerics/special-functions.ts:2909
↓ 1 callers
Function
expIntegralEi
(x: number)
src/compute-engine/numerics/special-functions.ts:2950
↓ 1 callers
Function
expToTrig
(expr: Expression)
src/compute-engine/boxed-expression/exp-to-trig.ts:18
↓ 1 callers
Function
expand
(lex: Tokenizer, args: string[])
src/compute-engine/latex-syntax/tokenizer.ts:300
↓ 1 callers
Function
expandFunction
( ce: ComputeEngine, h: string, ops: ReadonlyArray<Expression> )
src/compute-engine/boxed-expression/expand.ts:120
↓ 1 callers
Function
expandLogPowers
* "PowerExpand" for logarithms, restricted to the solver: rewrite * `ln(fᶜ) → c·ln f` and `ln(√f) → ½·ln f` (likewise `log_b(fᶜ) → c·log_b f`), * so
src/compute-engine/boxed-expression/solve.ts:1719
↓ 1 callers
Function
expandPartialFractions
(u: Expression, ctx: Ctx)
src/compute-engine/rubi/rubi-utils.ts:4342
↓ 1 callers
Function
expandPeriodicRoots
* Expand the principal roots of a periodic equation into the full root family * that lands in a bounded domain. * * Returns `undefined` when the eq
src/compute-engine/boxed-expression/solve-domain.ts:742
↓ 1 callers
Function
expandPolyOverLinear
(u: Expression, ctx: Ctx)
src/compute-engine/rubi/rubi-utils.ts:4264
↓ 1 callers
Function
expandTrigOf
* Expand a single trig/hyperbolic function `op(arg)`. Returns `null` when there * is nothing to expand (the argument is a single atomic angle), so th
src/compute-engine/symbolic/trig-rewrite.ts:323
↓ 1 callers
Function
explainSolve
* Explanation of `solve()` for a univariate equation: the same * `findUnivariateRoots` + assumptions-filter pipeline the plain `solve()` * runs, wit
src/compute-engine/boxed-expression/explain.ts:84
↓ 1 callers
Function
explanationFromRuleSteps
* Curate and label a raw `RuleSteps` chain into an `Explanation`. * * The chain's step 0 (the `'initial'` seed) becomes `initial`; the last * value
src/compute-engine/boxed-expression/explain.ts:171
↓ 1 callers
Function
explicitDerivativeRhs
( equation: Expression, dependentName: string, independentName: string )
src/compute-engine/differential-equation-utils.ts:81
↓ 1 callers
Function
exponent
(s: string, i: number)
src/math-json/parse-sympy.ts:47
↓ 1 callers
Function
exponentfloat
( s: string, i: number )
src/math-json/parse-sympy.ts:198
↓ 1 callers
Function
exprHasWildcards
True if `expr` contains a wildcard (a symbol/operator starting with `_`).
src/compute-engine/engine-assumptions.ts:388
↓ 1 callers
Function
exprToStringRecursive
* Special printing utility for printing the *MathJson* representation - of either a boxed or * un-boxed expression. * * If an *Expression*, the **p
test/utils.ts:44
↓ 1 callers
Function
expression
()
src/compute-engine/tensor/tensors.ts:139
↓ 1 callers
Method
expression
(x: T)
src/compute-engine/types-expression.ts:284
↓ 1 callers
Function
expressionAsTensor
( ce: ComputeEngine, operator: string, rows: ReadonlyArray<Expression>, shape: number[], dtype: T )
src/compute-engine/boxed-expression/boxed-tensor.ts:566
↓ 1 callers
Function
expressionForDependent
( dependent: Expression, independent: Expression )
src/compute-engine/symbolic/differential-equations.ts:207
↓ 1 callers
Function
expressionList
( s: string, start: number )
src/math-json/parse-sympy.ts:312
↓ 1 callers
Function
expressionTensorInfo
( operator: string, rows: ReadonlyArray<Expression> )
src/compute-engine/boxed-expression/boxed-tensor.ts:481
↓ 1 callers
Function
extract
(text: str)
docs/mathnet/scripts/extract-fragments.py:24
↓ 1 callers
Function
extractCoefficients
* Decompose an equation residual into monomials over `unknowns`, aggregated by * exponent vector. Returns `null` when the residual is not a polynomia
src/compute-engine/boxed-expression/diophantine.ts:147
↓ 1 callers
Function
extractContent
* Extract the integer content (GCD of all integer coefficients) from a * polynomial, then recursively factor the primitive part. * Returns null if c
src/compute-engine/boxed-expression/factor.ts:483
↓ 1 callers
Function
extractFactorialTerm
* Extracts factorial information from a term in an Add expression. * Handles: Factorial(n), Negate(Factorial(n)), Multiply(c, Factorial(n))
src/compute-engine/symbolic/simplify-factorial.ts:69
↓ 1 callers
Function
extractInputs
(transcript, sourceUrl)
benchmarks/wester/extract.mjs:73
↓ 1 callers
Function
extractIntervalBounds
( expr: Expression, symbol: string )
src/compute-engine/boxed-expression/inequality-bounds.ts:30
← previous
next →
2,901–3,000 of 5,294, ranked by callers