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
makeMonic
* Make a polynomial monic (leading coefficient = 1).
src/compute-engine/boxed-expression/polynomials.ts:733
↓ 3 callers
Method
markCached
()
src/compute-engine/engine-simplification-rules.ts:37
↓ 3 callers
Function
match
( subject: Expression, pattern: string | ExpressionInput, options?: PatternMatchOptions )
src/compute-engine/boxed-expression/match.ts:1393
↓ 3 callers
Function
matchBracedKeyword
* Try to match `{keyword}`, where `keyword` is the content between braces, * after the brace-introducing command (`\text` or `\keyword`) has already
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:3053
↓ 3 callers
Function
matchPrefixedSymbol
* Match a prefix symbol. * * It can be: * - a multi-letter symbol: `\operatorname{speed}` * (`\operatorname` specified both the spacing around th
src/compute-engine/latex-syntax/parse-symbol.ts:234
↓ 3 callers
Function
matchRootsSteps
(expr: Expression)
src/compute-engine/boxed-expression/solve.ts:2159
↓ 3 callers
Function
matchVariations
For some patterns, we accept "variants" to avoid having to * specify all possible forms of the pattern. * * For example, we accept `0+x` as a match
src/compute-engine/boxed-expression/match.ts:368
↓ 3 callers
Function
matchesString
(s: string)
src/math-json/utils.ts:522
↓ 3 callers
Function
matchingDigits
* Count matching significant digits between two numeric strings. * Returns the number of leading digits that agree.
test/big-decimal/precision-comparison.test.ts:34
↓ 3 callers
Function
mathjsonToLatex
( ce: ReturnType<typeof createEngine>, e: Entry, node: unknown )
scripts/fungrim/gen-reference-doc.ts:215
↓ 3 callers
Function
maxResidual
(mj: any)
test/compute-engine/solve.test.ts:776
↓ 3 callers
Function
memberHead
(name: string)
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:51
↓ 3 callers
Function
mgcdModP
* GCD of A, B in ℤ_p[vars]; both nonzero, reduced mod p. Returns a poly mod p. * `lcContent` is the integer content of the main-variable leading coef
src/compute-engine/boxed-expression/multivariate-gcd.ts:138
↓ 3 callers
Function
mjToSympy
(e: any)
benchmarks/audit/wester.ts:92
↓ 3 callers
Function
mkP
(p)
benchmarks/big-decimal/ops-bench.mjs:54
↓ 3 callers
Function
modInverse
* Modular inverse of `a` modulo `m ≥ 1`, in `[0, m)`, or `null` if * `gcd(a, m) ≠ 1`.
src/compute-engine/numerics/diophantine.ts:102
↓ 3 callers
Function
monoPartsX
structural monomial split u = coef·x^exp (coef and exp x-free; exp may * be symbolic). No expansion — mirrors Mathematica's literal matching of * a_
src/compute-engine/rubi/rubi-utils.ts:1521
↓ 3 callers
Function
mulLaurent
( ce: ComputeEngine, a: Laurent, b: Laurent, W: number )
src/compute-engine/symbolic/series.ts:595
↓ 3 callers
Method
neg
()
src/compute-engine/boxed-expression/boxed-symbol.ts:225
↓ 3 callers
Method
neg
()
src/compute-engine/boxed-expression/boxed-function.ts:756
↓ 3 callers
Function
negate
(expr: Expression)
src/compute-engine/boxed-expression/negate.ts:29
↓ 3 callers
Function
negativeSign
(s: Sign | undefined)
src/compute-engine/boxed-expression/sgn.ts:91
↓ 3 callers
Method
nextToken
()
src/common/type/lexer.ts:244
↓ 3 callers
Function
nomePower
e^{iπτ·s} for real s
src/compute-engine/numerics/numeric-complex.ts:947
↓ 3 callers
Function
nonNegativeSign
(s: Sign | undefined)
src/compute-engine/boxed-expression/sgn.ts:64
↓ 3 callers
Function
nonPositiveSign
(s: Sign | undefined)
src/compute-engine/boxed-expression/sgn.ts:111
↓ 3 callers
Function
normalizeLocalAssign
(expr: MathJsonExpression)
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:3393
↓ 3 callers
Function
normalizedUnknownsForSolve
( syms: | string | Iterable<string> | Expression | Iterable<Expression> | null | und
src/compute-engine/boxed-expression/utils.ts:118
↓ 3 callers
Function
notEqualKleene
* Three-valued disequality `x ≠ e`, used by the `SetMinus` query * decomposition (docs/fungrim/FUNGRIM-PLAN-3-ASSUMPTIONS.md §5.1c/§5.1d). * * - `f
src/compute-engine/library/sets.ts:1156
↓ 3 callers
Function
note
(x: { v: Verdict; note?: string })
benchmarks/audit/solve.ts:245
↓ 3 callers
Function
nthRoot
literal principal root u^(1/n) (Rubi NthRoot)
src/compute-engine/rubi/rubi-utils.ts:1277
↓ 3 callers
Function
numOf
(boxed: any)
benchmarks/audit/wester.ts:81
↓ 3 callers
Method
number
* This function tries to avoid creating a boxed number if `num` corresponds * to a common value for which we have a shared instance (-1, 0, NaN, et
src/compute-engine/index.ts:1835
↓ 3 callers
Function
numberExpression
* If n is a small number, use a shorthand (i.e. a JS number). Otherwise, * use a {num: n} object. * * For zero, always use a {num} object to avoid
src/compute-engine/latex-syntax/parse-number.ts:259
↓ 3 callers
Function
numberSgn
Computes the Sign of a number
src/compute-engine/library/arithmetic.ts:183
↓ 3 callers
Function
numericallyEvaluable
(F: Expression, x: string)
src/compute-engine/rubi/rubi-utils.ts:3847
↓ 3 callers
Function
nv
Numeric value as a [re, im] pair (NaN-safe).
test/compute-engine/branch-cut-safe.test.ts:19
↓ 3 callers
Function
nvSum
( ce: ComputeEngine, numericValues: NumericValue[] )
src/compute-engine/boxed-expression/arithmetic-add.ts:490
↓ 3 callers
Function
oppositeSgn
Given the sgn of x, returns the sgn of -x
src/compute-engine/library/arithmetic.ts:192
↓ 3 callers
Function
optionsToInternal
(options?: { form?: FormOption; canonical?: CanonicalOptions; structural?: boolean; })
src/compute-engine/boxed-expression/box.ts:135
↓ 3 callers
Function
p
(i: number)
src/compute-engine/symbolic/antiderivative.ts:680
↓ 3 callers
Function
p4
(c: any)
test/compute-engine/special-functions.test.ts:1453
↓ 3 callers
Function
paramsAreScalar
Returns true when every formal parameter of a signature is a scalar * type (not a collection/list/tuple/function). * * Accepts either a `Type` (typ
src/compute-engine/boxed-expression/boxed-function.ts:1910
↓ 3 callers
Function
parenthesizeFactor
(expr: Expression, code: string)
src/compute-engine/compilation/constant-folding.ts:118
↓ 3 callers
Function
parse
(latex: string)
test/compute-engine/parser-for-comprehension.test.ts:7
↓ 3 callers
Method
parseArguments
* This returns an array of arguments (as in a function application), * or null if there is no match. * * - 'enclosure' : will look for an arg
src/compute-engine/latex-syntax/parse.ts:1674
↓ 3 callers
Function
parseAt
( ...close: string[] )
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:3411
↓ 3 callers
Method
parseBlocks
()
src/common/markdown-block.ts:25
↓ 3 callers
Method
parseDimensions
()
src/common/type/parser.ts:802
↓ 3 callers
Function
parseEscapeSequence
(parser: Parser)
src/point-free-parser/string-parsers.ts:11
↓ 3 callers
Function
parseFunctionSup
* Consume an optional power superscript following a function name, e.g. the * `^2` in `\ln^2 x` or the `^{-1}` in `\ln^{-1} x`. Mirrors the handling
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:2507
↓ 3 callers
Method
parseLatexNumber
* A Latex number can be a decimal, hex or octal number. * It is used in some Latex commands, such as `\char` * * From TeX:8695 (scan_int):
src/compute-engine/latex-syntax/parse.ts:1000
↓ 3 callers
Function
parseModifierExpression
(parser: Parser)
src/compute-engine/boxed-expression/rules.ts:377
↓ 3 callers
Method
parseNamedElement
()
src/common/type/parser.ts:578
↓ 3 callers
Method
parsePostfixOperator
( lhs: MathJsonExpression | null, until?: Readonly<Terminator> )
src/compute-engine/latex-syntax/parse.ts:2607
↓ 3 callers
Function
parseSequence
* Parse a sequence of expressions separated with `sep`
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:175
↓ 3 callers
Function
parseSignedInteger
* Parse a signed integer. The `part` argument is used to determine * what grouping separator should be expected.
src/compute-engine/latex-syntax/parse-number.ts:75
↓ 3 callers
Function
parseSubintegrand
Parse a sub expression that may contain indexes, for example `2xdx`
src/compute-engine/latex-syntax/dictionary/definitions-calculus.ts:241
↓ 3 callers
Method
parseTabular
* Parse an expression in a tabular format, where rows are separated by `\\` * and columns by `&`. * * Return rows of sparse columns: empty ro
src/compute-engine/latex-syntax/types.ts:1040
↓ 3 callers
Method
parseValue
()
src/common/json5.ts:23
↓ 3 callers
Method
parseValue
()
src/common/type/parser.ts:1152
↓ 3 callers
Function
partOfVariable
`[PartHead, v]` for an entry variable `v` → the part tag, else null.
scripts/fungrim/compile-rules.ts:259
↓ 3 callers
Function
pct
(n: number, d: number)
scripts/fungrim/guard-census.ts:213
↓ 3 callers
Method
peek
* Return the next char, but do not advance
src/compute-engine/latex-syntax/tokenizer.ts:162
↓ 3 callers
Method
peekLine
()
src/common/markdown-block.ts:282
↓ 3 callers
Function
pellFundamental
(D: bigint)
src/compute-engine/numerics/diophantine.ts:805
↓ 3 callers
Function
piChudnovskyDecimal
(digits: number)
src/big-decimal/utils.ts:579
↓ 3 callers
Function
polyDivideX
( P: Expression, L: Expression, x: string )
src/compute-engine/rubi/rubi-utils.ts:369
↓ 3 callers
Function
populationVariance
(values: Iterable<number>)
src/compute-engine/numerics/statistics.ts:70
↓ 3 callers
Function
positiveSign
(s: Sign | undefined)
src/compute-engine/boxed-expression/sgn.ts:43
↓ 3 callers
Function
pow2
(b: ReturnType<typeof ce.expr>)
test/compute-engine/arithmetic.test.ts:1952
↓ 3 callers
Function
powLaurent
( ce: ComputeEngine, base: Laurent, k: number, W: number )
src/compute-engine/symbolic/series.ts:624
↓ 3 callers
Function
powOrOne
(base: Expression, exp: Expression)
src/compute-engine/rubi/rubi-utils.ts:4332
↓ 3 callers
Function
powerForm
* Apply the 'Power' form recursively. Each sub-expression is visited * and any `Power` at the current level is canonicalized via `canonicalPower`. *
src/compute-engine/boxed-expression/canonical.ts:305
↓ 3 callers
Function
prefixLen
(k: string)
src/compute-engine/boxed-expression/rules.ts:1084
↓ 3 callers
Function
processInverseFunction
( ce: ComputeEngine, xs: ReadonlyArray<Expression> )
src/compute-engine/boxed-expression/trigonometry.ts:569
↓ 3 callers
Function
pt
(x)
benchmarks/audit/run_sympy_wester.py:37
↓ 3 callers
Function
pureFunctionOfTrigQ
PureFunctionOf{Sin,Cos,Tan}Q: every trig subterm of argument `v` has a head * in `allowed`, and no bare `x` appears (IntegrationUtilityFunctions.m).
src/compute-engine/rubi/rubi-utils.ts:3452
↓ 3 callers
Function
pushFactor
(f: Expression, sign: 1 | -1)
src/compute-engine/symbolic/antiderivative.ts:2460
↓ 3 callers
Function
pushHarmonizationScenario
(ce: ComputeEngine)
test/compute-engine/solve-rules.test.ts:201
↓ 3 callers
Function
qmTermToClause
* Convert a QM term (for maxterms) to a clause (Or of literals). * For maxterms: 0 means positive literal, 1 means negative literal.
src/compute-engine/library/logic-analysis.ts:960
↓ 3 callers
Function
qmTermToExpression
* Convert a QM term (for minterms) to a Expression. * Each term becomes an And of literals.
src/compute-engine/library/logic-analysis.ts:933
↓ 3 callers
Function
quantityPower
( ce: ComputeEngine, base: Expression, exp: Expression )
src/compute-engine/library/quantity-arithmetic.ts:272
↓ 3 callers
Function
rationalExpr
(r: Rational)
src/compute-engine/boxed-expression/serialize.ts:677
↓ 3 callers
Function
readStringLiteral
* Extract a lowercase string literal from a boxed expression, or `null` * if it isn't a string literal. Operators that need to switch on a * colorsp
src/compute-engine/compilation/gpu-target.ts:395
↓ 3 callers
Function
reciprocalC
Reciprocal `1/b` of a series `b` with nonzero constant term.
src/compute-engine/symbolic/series.ts:268
↓ 3 callers
Function
reciprocalLaurent
`1/b` to upper power `W`. The caller must have expanded `b` to a high enough * order that its unit part reaches `W + val(b)` (see `reciprocalOfExpr`)
src/compute-engine/symbolic/series.ts:637
↓ 3 callers
Function
reduce
(num: bigint, den: bigint)
src/compute-engine/numerics/bernoulli.ts:23
↓ 3 callers
Function
reduceStr
(s: string)
test/compute-engine/internals/type-lattice.test.ts:238
↓ 3 callers
Function
reduceUnionType
(type: AlgebraicType)
src/common/type/reduce.ts:197
↓ 3 callers
Function
reducerElementError
* Guard for `Sum`/`Product` accumulation over a collection: an already-failed * accumulator propagates, and a non-numeric (string) element is rejecte
src/compute-engine/library/arithmetic.ts:2601
↓ 3 callers
Function
referencesDependent
* Whether `expr` mentions the dependent function head (or symbol) anywhere, * regardless of its argument. Unlike `hasDependentOrDerivative`, this als
src/compute-engine/symbolic/differential-equations.ts:112
↓ 3 callers
Function
relClose
Relative difference |a - b| / |b| is below `bound` (given as a string).
test/big-decimal/transcendentals.test.ts:1113
↓ 3 callers
Method
relationalOperator
A relational operator: =, <=, etc..
src/cortex/formatter.ts:394
↓ 3 callers
Function
relativeError
Compute relative error: |approx - exact| / |exact|
test/big-decimal/comprehensive-benchmark.ts:64
↓ 3 callers
Method
removeBoundary
()
src/compute-engine/latex-syntax/types.ts:1117
↓ 3 callers
Method
renderBlock
(block: StyledBlock)
src/common/terminal.ts:123
↓ 3 callers
Function
reset
()
src/compute-engine/boxed-expression/abstract-boxed-expression.ts:886
↓ 3 callers
Function
root
( a: Expression, b: Expression, { numericApproximation }: { numericApproximation: boolean } )
src/compute-engine/boxed-expression/arithmetic-power.ts:910
↓ 3 callers
Method
roundToPrecKnownDigits
* Round to `n` significant digits (round-half-to-even) given a *precomputed* * decimal digit count of |significand|. Precondition: the value is fin
src/big-decimal/big-decimal.ts:1260
← previous
next →
1,601–1,700 of 5,294, ranked by callers