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
↓ 3 callers
Function
roundTrips
(x: any)
test/compute-engine/nightly/roundtrip-battery.test.ts:28
↓ 3 callers
Function
sameArg
* Check if two expressions have the same argument (for trig functions)
src/compute-engine/symbolic/fu-transforms.ts:75
↓ 3 callers
Function
scaleLaurent
(ce: ComputeEngine, k: Expression, a: Laurent)
src/compute-engine/symbolic/series.ts:585
↓ 3 callers
Function
serializeAutoNotationNumber
( valString: string, options: NumberSerializationFormat )
src/compute-engine/latex-syntax/serialize-number.ts:366
↓ 3 callers
Function
serializeGenericFunction
(expr: MathJsonExpression)
src/cortex/serialize-cortex.ts:341
↓ 3 callers
Function
serializeLatex
( expr: MathJsonExpression | null, dict: IndexedLatexDictionary, options: Readonly<SerializeLatexOptions
src/compute-engine/latex-syntax/serializer.ts:713
↓ 3 callers
Function
serializeSymbol
* The `defaultMulticharStyle` indicate which style should be used to * wrap the symbol if it has more than one character and doesn't have a style *
src/compute-engine/latex-syntax/serializer.ts:687
↓ 3 callers
Function
serializeTabular
( serializer: Serializer, rows: ReadonlyArray<MathJsonExpression>, delims: string | undefined | null,
src/compute-engine/latex-syntax/dictionary/definitions-linear-algebra.ts:497
↓ 3 callers
Method
setTolerance
(value: number | 'auto')
src/compute-engine/engine-numeric-configuration.ts:76
↓ 3 callers
Function
sign
(x: Interval | IntervalResult)
src/compute-engine/interval/elementary.ts:690
↓ 3 callers
Method
solution
(offset: number)
src/cortex/formatter.ts:228
↓ 3 callers
Function
solveHigherOrderWithNumericRoots
( equation: Expression, dependentCall: Expression, coefficients: Map<number, Expression>, order: numbe
src/compute-engine/symbolic/differential-equations.ts:815
↓ 3 callers
Function
solveLinearDiophantine
( a: bigint[], c: bigint )
src/compute-engine/numerics/diophantine.ts:356
↓ 3 callers
Function
solved
(res: any)
benchmarks/audit/wester.ts:379
↓ 3 callers
Function
sortExact
(vals: Expression[])
src/compute-engine/library/statistics.ts:736
↓ 3 callers
Function
sortLibraries
(libs: LibraryDefinition[])
src/compute-engine/library/library.ts:278
↓ 3 callers
Function
sortOperands
( operator: string, xs: ReadonlyArray<Expression> )
src/compute-engine/boxed-expression/order.ts:467
↓ 3 callers
Function
soundAt
[re, im] of `expr` simplified then evaluated at x = v, and of the exact * (un-simplified) expression — used to assert the rewrite is faithful.
test/compute-engine/branch-cut-safe.test.ts:113
↓ 3 callers
Function
specialName
If the string is a special name, extract it. A special name is considered * until we run into a '_' or a digit. * So, for example `Number` is not `\
src/compute-engine/latex-syntax/serializer.ts:488
↓ 3 callers
Function
spend
(n: number)
src/compute-engine/boxed-expression/multivariate-gcd.ts:97
↓ 3 callers
Function
splitGraphemes
(string: string)
src/common/grapheme-splitter.ts:72
↓ 3 callers
Function
square
(x: Interval | IntervalResult)
src/compute-engine/interval/elementary.ts:63
↓ 3 callers
Function
squareFactor
* Largest `c ≥ 1` such that `c² | n` (equivalently `n = c²·k` with `k` square * free). `square_factor` in SymPy diophantine.py:3026 — `c = ∏ p^⌊e/2⌋`
src/compute-engine/numerics/diophantine.ts:132
↓ 3 callers
Function
squaredTrig
( term: Expression )
src/compute-engine/symbolic/simplify-trig.ts:645
↓ 3 callers
Method
stack
A list of block stacked on top of one another
src/cortex/formatter.ts:446
↓ 3 callers
Function
storeNotElement
* Store a `NotElement(x, setExpr)` exclusion fact in the assumptions DB. * If `x` has a value, the exclusion is decided by evaluation instead.
src/compute-engine/assume.ts:263
↓ 3 callers
Function
storeNotEqual
* Store a `NotEqual(lhs, rhs)` fact in the assumptions DB. * * Contradiction scope (design §4.3): if neither side has unknowns (e.g. * the symbol h
src/compute-engine/assume.ts:228
↓ 3 callers
Function
stripComments
(src: string)
scripts/rubi/extract-rules.ts:45
↓ 3 callers
Function
subjectFacts
(subject: Subject)
src/compute-engine/boxed-expression/constraint-subject.ts:289
↓ 3 callers
Function
tendsToInfinity
Does |e| → ∞ as x → +∞? true / false / undefined (unknown).
src/compute-engine/symbolic/limit.ts:618
↓ 3 callers
Function
tensorToNumericMatrix
* Convert a boxed vector/matrix tensor into a numeric matrix.
src/compute-engine/library/linear-algebra.ts:2320
↓ 3 callers
Function
th
(j: number)
test/compute-engine/special-functions.test.ts:1451
↓ 3 callers
Function
timeit
(fn)
benchmarks/runners/run_mathjs.mjs:37
↓ 3 callers
Function
timeit
(fn)
benchmarks/audit/run_sympy.py:45
↓ 3 callers
Function
toNumber
(val: unknown)
src/compute-engine/boxed-expression/solve-linear-system.ts:1216
↓ 3 callers
Function
top
(m: Map<string, number>, n = 15)
scripts/rubi/triage-ch6.ts:133
↓ 3 callers
Method
trace
( axis1?: number, axis2?: number )
src/compute-engine/types-expression.ts:327
↓ 3 callers
Function
traceMatches
( matches: RuleSteps, via?: { because: string; form: Expression } )
src/compute-engine/boxed-expression/solve.ts:2171
↓ 3 callers
Function
trigToExp
(expr: Expression)
src/compute-engine/symbolic/trig-rewrite.ts:174
↓ 3 callers
Function
trinomialPartsX
Rubi TrinomialParts[u,x] → {a,b,c,n} with u ≡ a + b·x^n + c·x^(2n)
src/compute-engine/rubi/rubi-utils.ts:1740
↓ 3 callers
Function
union
( ops: ReadonlyArray<Expression>, { engine: ce }: { engine: ComputeEngine } )
src/compute-engine/library/sets.ts:1057
↓ 3 callers
Function
unsign
* Attempt to recognize expressions that could be represented with a * leading negative sign. * For example, `-2`, `\frac{-2}{x}`, `-2x`, etc... * A
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:2593
↓ 3 callers
Function
validateRoots
( expr: Expression, x: string, roots: ReadonlyArray<Expression>, trace?: RuleSteps )
src/compute-engine/boxed-expression/solve.ts:2571
↓ 3 callers
Function
variableTypes
(e: Entry)
scripts/fungrim/load.ts:193
↓ 3 callers
Function
variance
(values: Iterable<number>)
src/compute-engine/numerics/statistics.ts:42
↓ 3 callers
Function
walk
(e: Expression, inv: boolean)
src/compute-engine/rubi/rubi-utils.ts:1289
↓ 3 callers
Method
warn
(...message)
test/jest-config.ts:115
↓ 3 callers
Function
withEntryScope
( ce: ComputeEngine, e: Entry, fn: () => T )
scripts/fungrim/load.ts:270
↓ 3 callers
Function
wpow
(r: IV)
test/compute-engine/interval-glsl-eval.ts:51
↓ 3 callers
Function
wrapRealOnly
* Wrap a compiled result so non-real values are projected to a real number or, * when they are not representable as one, `NaN` (fail closed, D6): *
src/compute-engine/compilation/javascript-target.ts:1823
↓ 3 callers
Method
zero
(vars: string[])
src/compute-engine/boxed-expression/multivariate-poly.ts:34
↓ 2 callers
Function
CTR1
* CTR1: Choose between sin²/cos² Pythagorean substitutions * Tries: original, TR5 (sin² -> 1-cos²), TR6 (cos² -> 1-sin²)
src/compute-engine/symbolic/fu.ts:100
↓ 2 callers
Function
E
(x: number)
test/compute-engine/special-functions.test.ts:1090
↓ 2 callers
Function
ESCAPED_CHARACTER
()
src/cortex/highlight-js-mode.js:105
↓ 2 callers
Function
G
(n: number)
test/compute-engine/rule-aggregation.test.ts:73
↓ 2 callers
Function
INTERPOLATION
()
src/cortex/highlight-js-mode.js:114
↓ 2 callers
Function
TR1
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:87
↓ 2 callers
Function
TR11
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:1124
↓ 2 callers
Function
TR2
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:120
↓ 2 callers
Function
TR22
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:1724
↓ 2 callers
Function
TR2i
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:153
↓ 2 callers
Function
TRmorrie
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:1961
↓ 2 callers
Method
_bignumComponent
(r: Rational, radical: number)
src/compute-engine/numeric-value/exact-numeric-value.ts:261
↓ 2 callers
Method
_cache
@internal
src/compute-engine/types-engine.ts:638
↓ 2 callers
Method
_fuAlgorithm
@internal Fu trigonometric simplification algorithm
src/compute-engine/types-engine.ts:317
↓ 2 callers
Method
_inScope
* Temporarily sets the lexical scope to the provided scope, then * executes the function `f` in that scope and returns the result. * @internal
src/compute-engine/types-engine.ts:419
↓ 2 callers
Function
_mergeBounds
(into: IntervalBounds, from: IntervalBounds)
src/compute-engine/boxed-expression/inequality-bounds.ts:126
↓ 2 callers
Function
_mul
(a: Interval, b: Interval)
src/compute-engine/interval/arithmetic.ts:63
↓ 2 callers
Function
_setDefaultEngineFactory
(factory: () => IComputeEngine)
src/compute-engine/free-functions.ts:26
↓ 2 callers
Method
abs
* Absolute value. If already non-negative, returns this.
src/big-decimal/big-decimal.ts:607
↓ 2 callers
Function
acceleratedEstimate
Partial sums of the lobe integrals, then Wynn's ε-algorithm.
src/compute-engine/numerics/oscillatory-quadrature.ts:192
↓ 2 callers
Function
acoth
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:537
↓ 2 callers
Function
acsc
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:468
↓ 2 callers
Function
acsch
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:552
↓ 2 callers
Function
actualDegree
(coeffs: Expression[])
src/compute-engine/boxed-expression/polynomials.ts:417
↓ 2 callers
Function
add
(tr: [number, number, number])
test/compute-engine/solve-diophantine.test.ts:468
↓ 2 callers
Method
addBoundary
* Boundaries are used to detect the end of an expression. * * They are used for unusual syntactic constructs, for example * `\int \sin x dx`
src/compute-engine/latex-syntax/types.ts:1116
↓ 2 callers
Function
addMultiIndexBaseCase
( ce: ComputeEngine, name: string, key: string, value: Expression )
src/compute-engine/sequence.ts:537
↓ 2 callers
Function
addRaw
(A: F, B: F)
test/compute-engine/compile-interval-glsl.test.ts:431
↓ 2 callers
Function
addSequenceRecurrence
( ce: ComputeEngine, name: string, variable: string, expr: Expression )
src/compute-engine/sequence.ts:558
↓ 2 callers
Function
addTensors
* Add tensors element-wise, with scalar broadcasting support. * - Tensor + Tensor: element-wise addition (shapes must match) * - Scalar + Tensor: br
src/compute-engine/boxed-expression/arithmetic-add.ts:234
↓ 2 callers
Function
addToBucket
(head: string, entry: OrdinalRule)
src/compute-engine/boxed-expression/rule-index.ts:151
↓ 2 callers
Method
addn
(...xs: T[])
src/compute-engine/types-expression.ts:292
↓ 2 callers
Function
affine
An affine form `base + Σ coef[j]·params[j]` as a canonical expression.
src/compute-engine/boxed-expression/diophantine.ts:319
↓ 2 callers
Function
airyAi
(x: number)
src/compute-engine/numerics/special-functions.ts:2353
↓ 2 callers
Function
airyBi
(x: number)
src/compute-engine/numerics/special-functions.ts:2394
↓ 2 callers
Function
airyNegParts
P/Q phase sums shared by Ai(−x) and Bi(−x), x > 9 (DLMF 9.7.9/9.7.11): * Ai(−x) = [cos(ξ−π/4)·P(ξ) + sin(ξ−π/4)·Q(ξ)] / (√π·x^{1/4}) * Bi(−x)
src/compute-engine/numerics/special-functions.ts:2315
↓ 2 callers
Function
airySeriesFG
* Maclaurin series for the Airy functions (DLMF 9.4.1/9.4.3): * Ai(x) = c₁·f(x) − c₂·g(x), Bi(x) = √3·(c₁·f(x) + c₂·g(x)) * with termF_k = termF
src/compute-engine/numerics/special-functions.ts:2268
↓ 2 callers
Function
allNegTermQ
(u: Expression)
src/compute-engine/rubi/rubi-utils.ts:1348
↓ 2 callers
Function
allZeroBeyond
(coeffs: Coeffs, n: number, W: number)
src/compute-engine/symbolic/series.ts:1178
↓ 2 callers
Method
analyzeReferences
* Analyze — without compiling, and never throwing — which external references * the generated code for `expr` would have on `target`: * * - `
src/compute-engine/compilation/base-compiler.ts:1273
↓ 2 callers
Function
anchorSpecificity
* Calculate anchor specificity for ordering. * Higher specificity = more constrained = should match first. * - Number literals: highest specificity
src/compute-engine/boxed-expression/match.ts:655
↓ 2 callers
Function
applicationCount
Number of function-application nodes in a MathJSON tree.
scripts/fungrim/compile-rules.ts:745
↓ 2 callers
Function
applyFunctionLiteral
( expr: BoxedFunction, def: BoxedValueDefinition, options?: Partial<EvaluateOptions> )
src/compute-engine/boxed-expression/boxed-function.ts:1858
↓ 2 callers
Function
applyOuter
* Apply an outer function to an expression.
src/compute-engine/symbolic/antiderivative.ts:375
↓ 2 callers
Function
applyPoleOverride
( ce: IComputeEngine, operator: string, ops: ReadonlyArray<Expression>, result: Expression )
src/compute-engine/function-properties/index.ts:333
↓ 2 callers
Function
applyTR11
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:1165
↓ 2 callers
Function
applyTR11i
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:1354
↓ 2 callers
Function
applyTR22i
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:1913
↓ 2 callers
Function
applyTR7i
(expr: Expression)
src/compute-engine/symbolic/fu-transforms.ts:590
← previous
next →
1,701–1,800 of 5,294, ranked by callers