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
↓ 6 callers
Function
ev
(e: any[])
test/compute-engine/number-theory.test.ts:533
↓ 6 callers
Method
evaluateAsync
Asynchronous version of `evaluate()`. * * The `options` argument can include a `signal` property, which is an * `AbortSignal` object. If the
src/compute-engine/types-expression.ts:1808
↓ 6 callers
Function
expectFiniteMatchesBruteForce
Cross-checks a `'finite'` result (D ≤ 0 branch) against `bruteForcePell`.
test/compute-engine/diophantine.test.ts:454
↓ 6 callers
Function
extractCoefficient
* Extract the coefficient of a single variable from a linear expression. * For 2x + 3y + 5, extractCoefficient(expr, 'x') returns 2.
src/compute-engine/boxed-expression/solve-linear-system.ts:212
↓ 6 callers
Method
fence
(f: string)
src/cortex/formatter.ts:407
↓ 6 callers
Function
finalValue
(set: BoxedRuleSet, expr: BoxedExpression)
test/compute-engine/rule-aggregation.test.ts:104
↓ 6 callers
Function
fmtMs
(x)
benchmarks/report_marketing.mjs:86
↓ 6 callers
Function
foldableRule
Build a foldable functional rule over `head` (the shape `wrapHotHeadRule` * produces): no match pattern, no top-level condition, a single `operators
test/compute-engine/rule-aggregation.test.ts:40
↓ 6 callers
Function
format
(num: string)
test/compute-engine/latex-syntax/numbers.test.ts:424
↓ 6 callers
Function
fp
(v: number)
test/compute-engine/rubi-utils.test.ts:447
↓ 6 callers
Function
freshEngine
()
test/compute-engine/set-comprehension.test.ts:13
↓ 6 callers
Function
getStrides
(shape: number[])
src/compute-engine/tensor/tensors.ts:866
↓ 6 callers
Function
gpuVec3
Return the vec3 constructor name for the target language.
src/compute-engine/compilation/gpu-target.ts:335
↓ 6 callers
Function
hasAssumptions
(ce: ComputeEngine)
src/compute-engine/boxed-expression/constraint-subject.ts:412
↓ 6 callers
Function
hasDecimalLiteral
Does the JSON of `expr` contain any non-integer (decimal) numeric literal?
test/compute-engine/trig-rewrite.test.ts:73
↓ 6 callers
Function
hashCode
(s: string)
src/compute-engine/boxed-expression/utils.ts:110
↓ 6 callers
Function
headOfArg
(arg: Json)
test/compute-engine/rubi-utils.test.ts:563
↓ 6 callers
Function
igtQE
(e: Expression, k: number)
src/compute-engine/rubi/rubi-utils.ts:1025
↓ 6 callers
Method
indexWhere
* If this is an indexed collection, return the index of the first element * that matches the predicate. *
src/compute-engine/types-expression.ts:2143
↓ 6 callers
Method
inlineExpression
* Inline or wrap expression in IIFE based on complexity
src/compute-engine/compilation/base-compiler.ts:1404
↓ 6 callers
Function
intCoef
(key: string)
src/compute-engine/boxed-expression/diophantine.ts:615
↓ 6 callers
Method
intRec
( integrand: Expression, variable: string, depth: number )
src/compute-engine/rubi/driver.ts:312
↓ 6 callers
Function
integrationConstants
( equation: Expression, count: number )
src/compute-engine/symbolic/differential-equations.ts:245
↓ 6 callers
Method
invalidate
(cacheName: string)
src/compute-engine/engine-cache.ts:40
↓ 6 callers
Function
inverse
(x: Rational)
src/compute-engine/numerics/rationals.ts:177
↓ 6 callers
Function
isDistributionExpression
(x: Expression)
src/compute-engine/library/distributions.ts:40
↓ 6 callers
Function
isFunctionObject
( expr: MathJsonExpression | null )
src/math-json/utils.ts:55
↓ 6 callers
Function
isIndexedCollection
( expr: Expression | null | undefined )
src/compute-engine/boxed-expression/type-guards.ts:81
↓ 6 callers
Function
isInequalityOperator
(operator: string | undefined)
src/compute-engine/latex-syntax/utils.ts:29
↓ 6 callers
Function
isLinebreak
(c: number)
src/point-free-parser/characters.ts:570
↓ 6 callers
Function
isOctahedral
(n: number | bigint)
test/compute-engine/number-theory.test.ts:3
↓ 6 callers
Function
isRational
(x: unknown | null)
src/compute-engine/numerics/rationals.ts:9
↓ 6 callers
Method
isZeroWithTolerance
(tolerance: number | BigDecimal)
src/compute-engine/numeric-value/big-numeric-value.ts:179
↓ 6 callers
Function
isqrt
Integer (floor) square root of `n ≥ 0` via Newton's method on bigints.
src/compute-engine/numerics/diophantine.ts:72
↓ 6 callers
Function
isqrtExact
`[⌊√n⌋, isPerfectSquare]` for `n ≥ 0`.
src/compute-engine/numerics/diophantine.ts:86
↓ 6 callers
Function
labelFor
(because: string)
src/compute-engine/boxed-expression/explain-labels.ts:48
↓ 6 callers
Function
latexTemplate
(s: string, lhs: string, rhs: string)
src/compute-engine/latex-syntax/serializer-style.ts:163
↓ 6 callers
Function
limitAtPosInf
( e0: Expression, x: string, ce: ComputeEngine, depth: number )
src/compute-engine/symbolic/limit.ts:206
↓ 6 callers
Method
listCompilationTargets
@internal Return the names of all registered compilation targets.
src/compute-engine/types-engine.ts:305
↓ 6 callers
Function
loadCorpus
(dir: string)
scripts/fungrim/load.ts:52
↓ 6 callers
Function
log
(...args: unknown[])
test/compute-engine/compile-python-generate.test.ts:24
↓ 6 callers
Method
lookupOEIS
* Look up sequences in OEIS by their terms. * * @param terms - Array of sequence terms to search for * @param options - Optional configuratio
src/compute-engine/types-engine.ts:599
↓ 6 callers
Function
machineVals
(vals: ReadonlyArray<Expression>)
src/compute-engine/library/statistics.ts:849
↓ 6 callers
Function
makeEngine
Shells used by the guards below (subset of data/fungrim/declarations.json, * with `collection<complex>` setified to `set<complex>` as in * scripts/f
test/compute-engine/internals/fungrim-guards.test.ts:49
↓ 6 callers
Function
min
( a: Interval | IntervalResult, b: Interval | IntervalResult )
src/compute-engine/interval/elementary.ts:549
↓ 6 callers
Function
namedElement
(el: NamedElement)
src/common/type/serialize.ts:209
↓ 6 callers
Method
neg
()
src/compute-engine/numeric-value/exact-numeric-value.ts:511
↓ 6 callers
Method
nextCol
(offset: number)
src/cortex/formatter.ts:107
↓ 6 callers
Function
nonStrictEngine
()
test/compute-engine/application-validation-regressions.test.ts:255
↓ 6 callers
Function
norm
(s)
benchmarks/report.mjs:130
↓ 6 callers
Function
noteFor
(tk)
benchmarks/report.mjs:660
↓ 6 callers
Function
nthRoot
( base: Interval | IntervalResult, n: number )
src/compute-engine/interval/elementary.ts:296
↓ 6 callers
Function
parseCode
( text: string, grammar: SyntaxGrammar = defaultGrammar, pos = 0 )
src/common/syntax-highlighter.ts:302
↓ 6 callers
Method
parseGroup
()
src/compute-engine/latex-syntax/parse.ts:1261
↓ 6 callers
Function
parseIntegral
* Parse an expression of the form: * `/int_a^b\int_c^d f(x, y) dx dy` * to * `["Integrate", f(x, y), [x, a, b], [y, c, d]]` * * The number
src/compute-engine/latex-syntax/dictionary/definitions-calculus.ts:35
↓ 6 callers
Function
parseSpan
(t: string)
src/common/markdown-span.ts:5
↓ 6 callers
Function
parseString
(parser: Parser, value: string)
src/point-free-parser/core-combinators.ts:133
↓ 6 callers
Method
parseWhitespace
()
src/point-free-parser/parsers.ts:172
↓ 6 callers
Function
polygamma
(n: number, x: number)
src/compute-engine/numerics/special-functions.ts:1499
↓ 6 callers
Function
prependIndexedEntry
( index: Map<string, T[]>, trigger: string, entry: T )
src/compute-engine/latex-syntax/dictionary/definitions.ts:173
↓ 6 callers
Method
print
* Output to the console a string representation of the expression. * * Note that lazy collections are eagerly evaluated when printed. *
src/compute-engine/types-expression.ts:712
↓ 6 callers
Function
pushResult
(m: BoxedSubstitution)
src/compute-engine/engine-assumptions.ts:80
↓ 6 callers
Method
pushScope
* Push a new lexical scope (and its evaluation context) onto the stack.
src/compute-engine/index.ts:1262
↓ 6 callers
Function
quickTwoSum
Exact: a + b = s + e, assuming |a| ≥ |b| (fast two-sum)
src/compute-engine/numerics/special-functions.ts:2191
↓ 6 callers
Function
refineSymbolType
* Narrow the declared type of `symbol` to `type` from an `Element` * assumption (historical cases 1 & 2 of `assumeElement`, merged).
src/compute-engine/assume.ts:942
↓ 6 callers
Function
replacesTo
(input: unknown, expected: unknown)
test/compute-engine/fungrim-loader.test.ts:964
↓ 6 callers
Function
rnd
()
benchmarks/big-decimal/ops-bench.mjs:44
↓ 6 callers
Function
round
(x: Interval | IntervalResult)
src/compute-engine/interval/elementary.ts:489
↓ 6 callers
Function
rtExpr
Rt[u, n] = RtAux[TogetherSimplify[u], n] — Rubi's canonical n-th root. * RtAux DISTRIBUTES the root over products/quotients and pairs sign flips * w
src/compute-engine/rubi/rubi-utils.ts:1266
↓ 6 callers
Function
run
(code: string, xb: number[], yb: number[])
test/compute-engine/compile-interval-glsl.test.ts:148
↓ 6 callers
Method
separator
(op: string)
src/cortex/formatter.ts:403
↓ 6 callers
Function
serializeD
( latex: string, options?: { variable?: string } )
test/compute-engine/explain.test.ts:659
↓ 6 callers
Function
serializeImplicitOperator
( serializer: Serializer, expr: MathJsonExpression, command: string )
src/compute-engine/latex-syntax/dictionary/definitions-linear-algebra.ts:482
↓ 6 callers
Function
serializeScientificNotationNumber
* Scientific notation has: * - a whole part [1..9] * - an optional fractional part (many digits) * - an optional exponent * @param valString * @p
src/compute-engine/latex-syntax/serialize-number.ts:216
↓ 6 callers
Function
solved
(eq: string, opts?: { solve: boolean })
test/compute-engine/fungrim-loader.test.ts:708
↓ 6 callers
Function
standaloneCosineShift
( ce: ComputeEngine, e: Expression, x: string )
src/compute-engine/rubi/rubi-utils.ts:2989
↓ 6 callers
Function
staysPut
(input: unknown)
test/compute-engine/fungrim-loader.test.ts:1558
↓ 6 callers
Method
sub
* Subtract other from this. * Aligns exponents, subtracts significands. The result is exact.
src/big-decimal/big-decimal.ts:448
↓ 6 callers
Function
supsub
(c: '_' | '^', body: string, x: string)
src/compute-engine/latex-syntax/tokenizer.ts:448
↓ 6 callers
Function
symbolicLimit
( body: Expression, x: string, point: Expression, dir: number | undefined, ce: ComputeEngine )
src/compute-engine/symbolic/limit.ts:50
↓ 6 callers
Function
tan
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:90
↓ 6 callers
Function
termsAsExpression
( ce: ComputeEngine, terms: { exponent: Rational; terms: ReadonlyArray<Expression> }[] )
src/compute-engine/boxed-expression/arithmetic-mul-div.ts:619
↓ 6 callers
Function
timeit
(fn)
benchmarks/runners/run_ce_rubi.mjs:111
↓ 6 callers
Function
toWGSLType
(type: string)
src/compute-engine/compilation/wgsl-target.ts:74
↓ 6 callers
Function
ts
(t: any)
test/common/types.test.ts:1374
↓ 6 callers
Function
typeCouldBeCollection
* Return true if a type could be a collection type at runtime. * This is used for threadable/broadcastable functions to accept arguments * whose typ
src/compute-engine/boxed-expression/validate.ts:21
↓ 6 callers
Function
unchanged
()
src/compute-engine/boxed-expression/arithmetic-power.ts:69
↓ 6 callers
Function
verifyFirstOrderSolution
( solution: ReturnType<typeof dsolve>, rhs: unknown )
test/compute-engine/differential-equations.test.ts:27
↓ 6 callers
Function
wd
(r: IV)
test/compute-engine/interval-glsl-eval.ts:43
↓ 6 callers
Method
withReferences
* Attach `freeSymbols` / `unsupported` (from `analyzeReferences`) to a * compilation result, returning the same object. Used by the built-in * t
src/compute-engine/compilation/base-compiler.ts:1380
↓ 6 callers
Method
wrapShort
Add a group fence around the expression if it is * short (not a function)
src/compute-engine/latex-syntax/types.ts:1430
↓ 6 callers
Function
zetaNegativeInteger
(n: number)
src/compute-engine/numerics/bernoulli.ts:105
↓ 5 callers
Function
N
(s: string)
test/compute-engine/numeric-mode.test.ts:4
↓ 5 callers
Method
_declareSymbolValue
* For internal use. Use `ce.declare()` instead. * @internal
src/compute-engine/types-engine.ts:424
↓ 5 callers
Method
_setSymbolValue
* Use `ce.assign(id, value)` instead. * @internal
src/compute-engine/types-engine.ts:465
↓ 5 callers
Function
absC
(z: Complex)
scripts/fungrim/numeric-check.ts:95
↓ 5 callers
Function
acos
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:260
↓ 5 callers
Function
aggregateHotHeadDispatch
( rules: ReadonlyArray<BoxedRule> )
src/compute-engine/boxed-expression/rule-index.ts:413
↓ 5 callers
Function
allExactPi
True if every solution value is exact (a π-multiple or 0), not a float.
test/compute-engine/solve-domain.test.ts:341
↓ 5 callers
Function
applicableN1
(fn: Expression)
src/compute-engine/function-utils.ts:680
← previous
next →
901–1,000 of 5,294, ranked by callers