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
extractIntervalLimits
* Extract index, lower, and upper from a Limits expression. * Returns the raw Expression nodes so they can be compiled.
src/compute-engine/compilation/interval-javascript-target.ts:301
↓ 1 callers
Function
extractLinearCoefficients
* Extract linear coefficients from an equation for given variables. * Returns null if the equation is not linear in the variables. * * For equation
src/compute-engine/boxed-expression/solve-linear-system.ts:166
↓ 1 callers
Function
extractLinearConstraint
* Extract a linear constraint from an inequality expression. * Normalizes to form: a*x + b*y + c <= 0 (or < 0)
src/compute-engine/boxed-expression/solve-linear-system.ts:1162
↓ 1 callers
Function
extractLinks
(html)
benchmarks/wester/extract.mjs:32
↓ 1 callers
Function
extractMonomialContent
* Pull a common monomial factor xᵏ out of a polynomial: x³+x² → x²·(x+1), * 3x⁴+2x³ → x³·(3x+2). The cofactor is recursively factored. Returns null
src/compute-engine/boxed-expression/factor.ts:669
↓ 1 callers
Function
extractMultiplier
* Helper to extract a numeric multiplier from an expression. * Returns [numericValue, coeffExpr, baseArg] where: * - numericValue: the numeric value
src/compute-engine/symbolic/fu-transforms.ts:1930
↓ 1 callers
Function
extractProductEquation
* Extract product equation of the form xy = p. * Returns the product value p, or null if not a product equation.
src/compute-engine/boxed-expression/solve-linear-system.ts:774
↓ 1 callers
Function
extractSquaredTrig
* Extract sin^2 or cos^2 term info from an expression
src/compute-engine/symbolic/fu-transforms.ts:2130
↓ 1 callers
Function
extractSumEquation
* Extract sum equation of the form x + y = s. * Returns the sum value s, or null if not a sum equation.
src/compute-engine/boxed-expression/solve-linear-system.ts:892
↓ 1 callers
Function
extractTanProduct
* Extract the coefficient and tangent arguments from a product term. * Returns [coef, tanArg1, tanArg2] if the term is coef*tan(a)*tan(b)
src/compute-engine/symbolic/fu-transforms.ts:1445
↓ 1 callers
Function
extractXYCoefficient
* Extract coefficient of xy term and constant from an expression.
src/compute-engine/boxed-expression/solve-linear-system.ts:806
↓ 1 callers
Function
factorByRationalRoots
( expr: Expression, variable: string )
src/compute-engine/boxed-expression/factor.ts:384
↓ 1 callers
Function
factorInfo
* One factor's contribution: `{ idx, exp }` for a pure power of unknown `idx`, * `{ idx: -1 }` for an unknown-free coefficient factor, or `null` when
src/compute-engine/boxed-expression/diophantine.ts:113
↓ 1 callers
Function
factorial
(n: number)
src/compute-engine/numerics/bernoulli.ts:32
↓ 1 callers
Function
factorial
Helper to compute factorial for error messages
src/common/utils.ts:73
↓ 1 callers
Function
factorial2
(n: number)
src/compute-engine/numerics/numeric.ts:216
↓ 1 callers
Function
fastEval
()
test/compute-engine/performance.test.ts:96
↓ 1 callers
Function
featuresOf
(expr: Expression)
src/compute-engine/fungrim/loader.ts:520
↓ 1 callers
Method
fencedBlock
( open: string, block: FormattingBlock, close: string )
src/cortex/formatter.ts:482
↓ 1 callers
Function
fib
(n: number)
test/compute-engine/subscript-evaluate.test.ts:38
↓ 1 callers
Function
fillArray
( dims: number[], index: number[], level = 0 )
src/compute-engine/library/collections.ts:2023
↓ 1 callers
Function
filterRootsByType
Filter solutions by the declared type of the variable. * For example, if the variable is declared as integer, discard non-integer roots.
src/compute-engine/boxed-expression/solve.ts:2631
↓ 1 callers
Function
filterValuesWithCondition
* EL-3: Filter domain values using a condition expression. * Evaluates the condition for each value and returns only those where the condition is tru
src/compute-engine/library/logic-analysis.ts:38
↓ 1 callers
Function
findFailingConjunct
(json: Json, ctx: Ctx)
src/compute-engine/rubi/rubi-utils.ts:561
↓ 1 callers
Function
findLineIntersection
* Find the intersection of two lines given by constraints. * Line 1: a1*x + b1*y + c1 = 0 * Line 2: a2*x + b2*y + c2 = 0
src/compute-engine/boxed-expression/solve-linear-system.ts:1241
↓ 1 callers
Function
findMatchingBaseCase
* Find matching base case for given indices.
src/compute-engine/sequence.ts:197
↓ 1 callers
Function
findNumericSeed
( ce: ComputeEngine, e: Entry, guards: ReadonlyArray<GuardSpec>, closures: ReadonlyArray<(sub: Sub) =>
scripts/fungrim/compile-rules.ts:1282
↓ 1 callers
Function
findPrimeImplicants
( expr: Expression, ce: ComputeEngine )
src/compute-engine/library/logic-analysis.ts:754
↓ 1 callers
Function
findPrimeImplicates
( expr: Expression, ce: ComputeEngine )
src/compute-engine/library/logic-analysis.ts:810
↓ 1 callers
Function
findRationalRoots
* Use the rational root theorem to find rational roots of a polynomial. * * Given polynomial a_n*x^n + ... + a_1*x + a_0, the possible rational root
src/compute-engine/boxed-expression/solve.ts:2726
↓ 1 callers
Function
findSeriesVariable
First non-constant symbol found in `expr` (pre-order), or `null`.
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:179
↓ 1 callers
Function
findTanAngle
* Try to find angle C (as fraction of pi) such that tan(C) ~ k
src/compute-engine/symbolic/fu-transforms.ts:1429
↓ 1 callers
Function
finiteBaseType
The *finite* counterpart of a numeric primitive type (the ±∞-admitting * types map to their finite subtype; already-finite types map to themselves).
src/common/type/subtype.ts:224
↓ 1 callers
Function
fires
(decl: string)
test/compute-engine/fungrim-loader.test.ts:1404
↓ 1 callers
Function
fix
(node: Json)
scripts/rubi/extract-rules.ts:146
↓ 1 callers
Function
flattenAnd
(a: MathJSON)
scripts/fungrim/compile-rules.ts:234
↓ 1 callers
Function
flattenComparisonChain
* Flatten a (possibly nested) chain of comparison operators into an ordered * list of `terms` and the `links` (operators) between them, in *reading*
src/compute-engine/library/relational-operator.ts:735
↓ 1 callers
Function
flattenForm
* Apply the "Flatten" form to the expression: * - remove delimiters * - flatten associative functions * * This function is recursive.
src/compute-engine/boxed-expression/canonical.ts:94
↓ 1 callers
Function
flattenInvisibleOperator
( ops: ReadonlyArray<Expression> )
src/compute-engine/boxed-expression/invisible-operator.ts:275
↓ 1 callers
Function
flattenSequence
( xs: ReadonlyArray<Expression> )
src/compute-engine/boxed-expression/flatten.ts:71
↓ 1 callers
Function
flattenUnionMembers
* Recursively flatten nested unions and reduce + structurally de-duplicate the * members. `(a | (b | c))` and `((a | b) | c)` yield the same flat mem
src/common/type/reduce.ts:164
↓ 1 callers
Function
fmt
(z: Complex)
scripts/fungrim/numeric-check.ts:149
↓ 1 callers
Function
fmt
(x)
benchmarks/report_changelog.mjs:236
↓ 1 callers
Function
fmt
(v)
benchmarks/big-decimal/run-ops.mjs:92
↓ 1 callers
Function
fmtSpeedup
(r)
benchmarks/report_changelog.mjs:90
↓ 1 callers
Function
fmtT
(ms)
benchmarks/report.mjs:466
↓ 1 callers
Function
fmtUs
(ms)
benchmarks/report_changelog.mjs:77
↓ 1 callers
Function
fmtUs
(ms?: number)
benchmarks/audit/audit.ts:245
↓ 1 callers
Function
foldEPowers
Collect same-base exponential factors of a product: E^p·E^q → E^(p+q). CE's * canonical Multiply does not fuse symbolic-exponent powers (it would ch
src/compute-engine/rubi/rubi-utils.ts:3636
↓ 1 callers
Function
foldExponentialExponents
* Simplify `expr`, additionally collapsing "stuck" exponential products such as * `e^x·e^-x → 1` and `e^-x·e^(2x) → e^x`. The general simplifier comb
src/compute-engine/symbolic/differential-equations.ts:433
↓ 1 callers
Function
foldIndexPowers
* If every factor is the index or a power of the index with an index-free * exponent, fold the product into a single power x^(Σα). * * Canonicaliza
src/compute-engine/symbolic/antiderivative.ts:213
↓ 1 callers
Function
formOk
(form: string, text: string)
benchmarks/audit/audit.ts:200
↓ 1 callers
Function
formToInternal
(form?: FormOption)
src/compute-engine/boxed-expression/box.ts:111
↓ 1 callers
Function
formatSpeedup
(s: number)
test/big-decimal/comprehensive-benchmark.ts:103
↓ 1 callers
Function
fotAux
(u: Expression, v: FotState, x: string)
src/compute-engine/rubi/rubi-utils.ts:3129
↓ 1 callers
Function
fplnAGM
* AGM logarithm (Sasaki–Kanada): for s large, ln(s) = π / (2·AGM(1, 4/s)). * We pick m so s = (x/2^bits)·2^m is large enough (≥ 2^(bits/2+4)), comput
src/big-decimal/utils.ts:465
↓ 1 callers
Function
fplnDirect
* Direct-log fixed-point natural logarithm (machine-seed + log1p correction). * * ln(v) = y₀ + log1p(v·e^{−y₀} − 1), where y₀ = Math.log(v) is a ~48
src/big-decimal/utils.ts:391
↓ 1 callers
Function
fppi10
(scale: bigint)
benchmarks/big-decimal/kernel-base2-experiment.ts:61
↓ 1 callers
Function
fppi2
(bits: number)
benchmarks/big-decimal/kernel-base2-experiment.ts:171
↓ 1 callers
Function
fraction
(s: string, i: number)
src/math-json/parse-sympy.ts:60
↓ 1 callers
Method
fractionStyle
( expr: MathJsonExpression, level: number )
src/compute-engine/latex-syntax/serializer.ts:371
↓ 1 callers
Function
fractionalLinearInnerQ
True if `u` contains a `Power(base, p)` whose base is LINEAR in `x` and * whose exponent `p` is a POSITIVE non-integer literal (`√(c+d·x)`, * `(c+d·
src/compute-engine/rubi/rubi-utils.ts:2338
↓ 1 callers
Function
fresnelS
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:660
↓ 1 callers
Function
fromDense
(d: bigint[], vars: string[], p: bigint)
src/compute-engine/boxed-expression/multivariate-gcd.ts:298
↓ 1 callers
Function
fromNumber
* Construct (significand, exponent) from a JavaScript number. * Handles NaN, +/-Infinity, integers, and floats.
src/big-decimal/big-decimal.ts:1485
↓ 1 callers
Function
fromNumericValue
(ce: ComputeEngine, value: NumericValue)
src/compute-engine/boxed-expression/box.ts:969
↓ 1 callers
Function
fromRoman
(roman: string)
src/compute-engine/numerics/strings.ts:1
↓ 1 callers
Function
fullAnchor
(model)
plugins/grok-theme/index.mjs:1481
↓ 1 callers
Method
function
( name: string, ops: ReadonlyArray<Expression> | ReadonlyArray<MathJsonExpression>, options?: {
src/compute-engine/index.ts:1752
↓ 1 callers
Function
functionName
(expr: Expression)
src/compute-engine/symbolic/differential-equations.ts:27
↓ 1 callers
Function
functionOfExponential
(u: Expression, x: string)
src/compute-engine/rubi/rubi-utils.ts:3375
↓ 1 callers
Method
functionOfExponentialFallback
∫u dx where u is purely a function of a single exponential F^v (v linear in * x) — Rubi rule 2.3#97's substitution, applied (ungated by `$exponFlag
src/compute-engine/rubi/driver.ts:712
↓ 1 callers
Function
functionOfExponentialFunction
( u: Expression, x: string )
src/compute-engine/rubi/rubi-utils.ts:3383
↓ 1 callers
Function
functionOfExponentialQ
FunctionOfExponentialQ[u,x] — u is a function of F^v with an explicit * exponential present (not merely a hyperbolic).
src/compute-engine/rubi/rubi-utils.ts:3369
↓ 1 callers
Function
functionOfExponentialSubstitution
( u: Expression, x: string )
src/compute-engine/rubi/rubi-utils.ts:3404
↓ 1 callers
Function
functionOfQ
FunctionOfQ[v, u, x, pure] — restricted to the pure trig-substitution * targets this slice handles; false (decline) otherwise.
src/compute-engine/rubi/rubi-utils.ts:3479
↓ 1 callers
Function
functionOfTrig
FunctionOfTrig[u, x]: the common linear trig argument, or the False symbol.
src/compute-engine/rubi/rubi-utils.ts:3166
↓ 1 callers
Function
gaussSolve
* Solve `A x = b` (A square) by Gaussian elimination with partial pivoting, * using boxed arithmetic so exact rational entries yield exact solutions.
src/compute-engine/library/statistics.ts:1154
↓ 1 callers
Function
gauss_pow
(re, im, n)
benchmarks/audit/gen.py:126
↓ 1 callers
Function
gaussianElimination
* Solve Ax = b using Gaussian elimination with partial pivoting. * Returns the solution vector or null if no unique solution exists. * * Uses exact
src/compute-engine/boxed-expression/solve-linear-system.ts:347
↓ 1 callers
Function
gcd
* Greatest common divisor
src/compute-engine/symbolic/fu-transforms.ts:1631
↓ 1 callers
Function
gcd
* Exact Bernoulli numbers and exact values of the Riemann zeta function at * integers, computed with bigint rationals. * * Used by the exact (non-n
src/compute-engine/numerics/bernoulli.ts:16
↓ 1 callers
Function
gcd
(a: BigNum, b: BigNum)
src/compute-engine/numerics/numeric-bignum.ts:4
↓ 1 callers
Function
gcd
( a: Interval | IntervalResult, b: Interval | IntervalResult )
src/compute-engine/interval/elementary.ts:963
↓ 1 callers
Function
genBinomialMatchQ
(u: Expression, x: string)
src/compute-engine/rubi/rubi-utils.ts:2210
↓ 1 callers
Function
genTrinomialMatchQ
(u: Expression, x: string)
src/compute-engine/rubi/rubi-utils.ts:2215
↓ 1 callers
Function
generateAssignments
( variables: string[], domains: Record<string, Json>, seed: number, maxCandidates: number )
scripts/fungrim/sample.ts:178
↓ 1 callers
Function
generateNumbers
* Linear Congruential Generator for deterministic pseudo-random numbers. * Constants from the classic C rand() implementation.
test/compute-engine/performance.test.ts:8
↓ 1 callers
Function
generateReferenceDoc
( opts: { check?: boolean } = {} )
scripts/fungrim/gen-reference-doc.ts:348
↓ 1 callers
Function
generateTruthTable
( expr: Expression, ce: ComputeEngine )
src/compute-engine/library/logic-analysis.ts:627
↓ 1 callers
Method
get
(offset: number)
src/point-free-parser/parsers.ts:98
↓ 1 callers
Function
getActiveCaches
()
src/compute-engine/rubi/rubi-utils.ts:421
↓ 1 callers
Function
getExpressionDatatype
(expr: Expression)
src/compute-engine/tensor/tensor-fields.ts:512
↓ 1 callers
Method
getFunctions
()
test/compute-engine/compile-plugin.test.ts:20
↓ 1 callers
Method
getFunctions
()
test/compute-engine/compile-plugin.test.ts:74
↓ 1 callers
Method
getFunctions
()
test/compute-engine/extension-contracts.test.ts:21
↓ 1 callers
Method
getFunctions
()
examples/compile-plugin-architecture.js:66
↓ 1 callers
Method
getFunctions
()
examples/compile-plugin-architecture.js:146
↓ 1 callers
Function
getIndexAssignment
* Expect an expression of the form ['Equal', index, lower] or * ['Equal', index, ['Range', lower, upper]] *
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:2153
↓ 1 callers
Function
getIndexes
( sub: MathJsonExpression | null, sup: MathJsonExpression | null )
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:2269
← previous
next →
3,001–3,100 of 5,294, ranked by callers