MCPcopy Create free account

hub / github.com/cortex-js/compute-engine / functions

Functions5,294 in github.com/cortex-js/compute-engine

↓ 2 callersFunctionpart
(e: Expression)
src/compute-engine/compilation/javascript-target.ts:154
↓ 2 callersFunctionpartOf
(term: Expression)
src/compute-engine/assume.ts:1022
↓ 2 callersFunctionpatternComplexity
Compute a complexity score for a pattern operand. Simpler patterns (bare * wildcards) get lower scores and are preferred as identity terms.
src/compute-engine/boxed-expression/match.ts:1327
↓ 2 callersFunctionpct
(x: number)
scripts/fungrim/report.ts:114
↓ 2 callersMethodpeekChar
(offset: number)
src/common/json5.ts:312
↓ 2 callersFunctionpellFamilyMembersInBox
* Applies the family-generation rule documented on `PellResult`: every class * rep times unit^t for `t` in `[-tRange, tRange]`, plus the global negat
test/compute-engine/diophantine.test.ts:406
↓ 2 callersFunctionpellMul
`(x1,y1)·(x2,y2)` in `ℤ[√D]`.
test/compute-engine/diophantine.test.ts:367
↓ 2 callersFunctionpermutations
(arr: T[])
test/compute-engine/comparison-assumptions-regressions.test.ts:13
↓ 2 callersFunctionpickBy
(...preds: ((f: Expression) => boolean)[])
src/compute-engine/rubi/rubi-utils.ts:1445
↓ 2 callersFunctionpointfloat
( s: string, i: number )
src/math-json/parse-sympy.ts:181
↓ 2 callersFunctionpolyDiv
(args: Json[], ctx: Ctx)
src/compute-engine/rubi/rubi-utils.ts:4452
↓ 2 callersMethodpopScope
* Remove the most recent scope from the scope stack.
src/compute-engine/index.ts:1269
↓ 2 callersMethodpopSymbolTable
()
src/compute-engine/latex-syntax/types.ts:878
↓ 2 callersFunctionpowIntC
( ce: ComputeEngine, base: Coeffs, k: number, W: number )
src/compute-engine/symbolic/series.ts:134
↓ 2 callersFunctionpowRatScalar
(x: number, numer: number, e: number)
test/compute-engine/interval-glsl-eval.ts:138
↓ 2 callersMethodpower
(other: Tensor<DT> | DataTypeMap[DT])
src/compute-engine/types-expression.ts:355
↓ 2 callersFunctionpredicateFromArg
* Normalize a predicate argument that may be a string. * * `assume()` and `verify()` accept a predicate as a `BoxedExpression`, a * MathJSON expres
src/compute-engine/engine-assumptions.ts:46
↓ 2 callersFunctionprintTable
(title: string, rows: Row[])
benchmarks/big-decimal/kernel-base2-experiment.ts:415
↓ 2 callersFunctionprocessTerm
(term: Expression)
src/compute-engine/boxed-expression/polynomials.ts:240
↓ 2 callersFunctionprod
(m: Expression)
test/compute-engine/linear-algebra.test.ts:611
↓ 2 callersFunctionps
(x: number, n: number)
test/compute-engine/compile-interval-glsl.test.ts:134
↓ 2 callersFunctionpsc
(x: number, n: number)
test/compute-engine/interval-glsl-eval.ts:80
↓ 2 callersFunctionpush
(t: Readonly<Type>)
src/common/type/subtype.ts:977
↓ 2 callersFunctionpushPartBound
( part: 're' | 'im' | 'abs' | 'arg', v: string, raw: MathJSON, openOp: 'gt' | 'lt', closed
scripts/fungrim/compile-rules.ts:304
↓ 2 callersFunctionqrDecomposition
* QR decomposition using Gram-Schmidt process
src/compute-engine/library/linear-algebra.ts:2104
↓ 2 callersFunctionquadraticQX
Rubi QuadraticQ (scalar case): PolyQ[u,x,2] and not a pure c·x²
src/compute-engine/rubi/rubi-utils.ts:1035
↓ 2 callersFunctionquartiles
(values: Iterable<number>)
src/compute-engine/numerics/statistics.ts:267
↓ 2 callersFunctionrandomExpressionWithHead
( operator: MathJsonSymbol, level: number )
src/compute-engine/library/random-expression.ts:7
↓ 2 callersFunctionrank
* Return the "rank", the order in which the expression should be * sorted.
src/compute-engine/boxed-expression/order.ts:206
↓ 2 callersFunctionrank
(p: Pat)
src/compute-engine/rubi/match.ts:193
↓ 2 callersFunctionrank
(f: string)
src/compute-engine/fungrim/loader.ts:578
↓ 2 callersFunctionratio
(n: C, d: C)
scripts/rubi/benchmark.ts:364
↓ 2 callersFunctionrationalAsFloat
(x: Rational)
src/compute-engine/numerics/rationals.ts:54
↓ 2 callersFunctionrationalExponent
If `e` is a rational constant, return it as `[numerator, denominator]` * (denominator > 0); otherwise `null`.
src/compute-engine/boxed-expression/solve.ts:1450
↓ 2 callersFunctionrationalExpr
(r: Rational)
src/compute-engine/numeric-value/exact-numeric-value.ts:1490
↓ 2 callersFunctionrationalFnQ
(u: Expression, x: string)
src/compute-engine/rubi/rubi-utils.ts:2144
↓ 2 callersFunctionrationalGcd
(lhs: Rational, rhs: Rational)
src/compute-engine/numerics/rationals.ts:208
↓ 2 callersFunctionrationalStr
(r: Rational)
src/compute-engine/numeric-value/exact-numeric-value.ts:1457
↓ 2 callersFunctionrationalize
(x: number)
src/compute-engine/numerics/rationals.ts:265
↓ 2 callersFunctionrawUnnormalized
* Construct a BigDecimal WITHOUT normalizing (trailing zeros not stripped). * The result may violate the normalized-uniqueness invariant, so it must
src/big-decimal/big-decimal.ts:1412
↓ 2 callersFunctionreOf
(r: any)
benchmarks/audit/wester.ts:72
↓ 2 callersFunctionreadBracedText
* Read the content of a `{...}` group as raw text, reconstructing the * string character by character from individual tokens. * * Handles nested br
src/compute-engine/latex-syntax/dictionary/definitions-units.ts:63
↓ 2 callersFunctionreadBracedUnit
* Read a braced group as raw text, resolve it as a unit, and restore the * parser on failure. Shared by siunitx handlers.
src/compute-engine/latex-syntax/dictionary/definitions-units.ts:319
↓ 2 callersMethodreadNumber
()
src/common/type/lexer.ts:181
↓ 2 callersFunctionrealOf
(b: any)
benchmarks/audit/solve.ts:58
↓ 2 callersFunctionrealRatPow
* Real value of `x^(p/q)` for an odd denominator `q` (so the root is real for * every real `x`), following the interpreter's real convention: * -
src/compute-engine/interval/elementary.ts:242
↓ 2 callersFunctionreal_numeric_roots
Evalf an iterable of SymPy roots → sorted unique real numeric strings.
benchmarks/audit/gen_solve.py:163
↓ 2 callersFunctionreal_roots
Real roots of a polynomial (highest degree first), as decimal strings. Used to bake an independent reference root set for `solve` cases — the
benchmarks/gen_cases.py:37
↓ 2 callersFunctionreciprocalOfExpr
`1/subExpr` as a Laurent value. Detects the denominator's valuation `m`; for * a pole (`m > 0`) it re-expands the denominator to order `W + 2m` so th
src/compute-engine/symbolic/series.ts:847
↓ 2 callersFunctionrecurse
( f: (x: number) => number, a: number, b: number, fa: number, fm: number, fb: number, whole: num
src/compute-engine/numerics/oscillatory-quadrature.ts:162
↓ 2 callersFunctionrecursiveSerialize
(x: unknown)
test/jest-config.ts:133
↓ 2 callersFunctionreduce
(x: bigint)
src/compute-engine/library/relational-operator.ts:137
↓ 2 callersFunctionreduceCollection
( collection: Expression, fn: (acc: T, next: Expression) => T | null, initial: T )
src/compute-engine/library/collections.ts:3080
↓ 2 callersFunctionreduceCollection
Generator-based reducer over a finite collection. Yields between * iterations so callers can wrap it with `run`/`runAsync` for timeout * and cancell
src/compute-engine/library/arithmetic.ts:2650
↓ 2 callersFunctionreduceModMonicQuadratic
* Reduce a polynomial (ascending coefficients) modulo the monic quadratic * x² + b·x + c, returning [C, B] for the remainder C + B·x. Horner in the
src/compute-engine/symbolic/antiderivative.ts:2000
↓ 2 callersFunctionreduceRat
Reduce a fraction to lowest terms with a positive denominator.
src/compute-engine/library/number-theory.ts:1340
↓ 2 callersFunctionrefactorProductFactors
* Recursively factor each operand of a product. Used to fully factor the * result of a single difference-of-squares split, whose halves may themselve
src/compute-engine/boxed-expression/factor.ts:628
↓ 2 callersFunctionremainder
( a: Interval | IntervalResult, b: Interval | IntervalResult )
src/compute-engine/interval/elementary.ts:660
↓ 2 callersFunctionrenderCode
(spans: CodeSpan[], theme = DEFAULT_THEME)
src/common/syntax-highlighter.ts:337
↓ 2 callersFunctionrenderReference
Turn a reference (URL or citation string) into a markdown link.
scripts/fungrim/gen-reference-doc.ts:252
↓ 2 callersFunctionreshapeWithCycling
* Reshape a flat array of elements into the target shape, * cycling through elements if the target needs more elements than available. * (APL-style
src/compute-engine/library/linear-algebra.ts:2530
↓ 2 callersFunctionresolveUnitText
* Check whether a raw text string from `\mathrm{...}` or `\text{...}` * represents a known unit (simple or compound). * * Returns a MathJSON unit e
src/compute-engine/latex-syntax/dictionary/definitions-units.ts:143
↓ 2 callersFunctionrestoreBodyScopeParams
Restore param bindings removed by hideBodyScopeParams.
src/compute-engine/function-utils.ts:354
↓ 2 callersFunctionrevlex
(expr: Expression)
src/compute-engine/boxed-expression/polynomial-degree.ts:96
↓ 2 callersFunctionrewrite
(node: Expression)
src/compute-engine/boxed-expression/solve.ts:1530
↓ 2 callersFunctionrgbAnsi
(color: string)
src/common/ansi-codes.ts:136
↓ 2 callersFunctionroot
(x: number)
src/compute-engine/interval/elementary.ts:306
↓ 2 callersFunctionroundDiv
(a: bigint, b: bigint)
benchmarks/big-decimal/kernel-base2-experiment.ts:290
↓ 2 callersFunctionroundHalfAway
(x: number)
test/compute-engine/interval-glsl-eval.ts:211
↓ 2 callersFunctionroundMagnitudeToward
* Round a magnitude `mant · 10^exp` (mant ≥ 0) to `prec` significant digits. * `inexact` flags a nonzero discarded tail below mant's last digit. `up`
src/big-decimal/big-decimal.ts:1425
↓ 2 callersFunctionrref
* Compute RREF and return the pivot columns.
src/compute-engine/library/linear-algebra.ts:2347
↓ 2 callersFunctionrun
(c, p)
benchmarks/big-decimal/bignum-compare.py:46
↓ 2 callersFunctionrunCE
Run one engine on one case and grade it.
benchmarks/audit/solve.ts:74
↓ 2 callersFunctionrunLoop
( body: Expression, elements: ReadonlyArray<Expression>, ce: ComputeEngine )
src/compute-engine/library/control-structures.ts:316
↓ 2 callersFunctionrunOn
(engine: any, c: Case)
benchmarks/audit/wester.ts:239
↓ 2 callersFunctionrunSignGrid
()
test/compute-engine/exactness-regressions.test.ts:257
↓ 2 callersFunctionsafe
(f: () => any)
test/compute-engine/nightly/comparison-matrix.test.ts:113
↓ 2 callersFunctionsameArgument
( lhs: Expression | undefined, rhs: Expression | undefined )
src/compute-engine/symbolic/differential-equations.ts:600
↓ 2 callersFunctionsample
(expr_, pts, vars_=("x",))
benchmarks/audit/run_sympy.py:60
↓ 2 callersFunctionsamplePalette
Sample a palette at position t in [0,1], returning an Oklch expression.
src/compute-engine/library/colors.ts:83
↓ 2 callersFunctionsanitizeLatex
* Given a string of presumed (but possibly invalid) LaTeX, return a * LaTeX string with all the special characters escaped.
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:2362
↓ 2 callersFunctionsanitizeLimitOperand
( expr: MathJsonExpression | null | undefined )
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:2417
↓ 2 callersFunctionsatisfiesInequalities
Check whether a solution record satisfies all inequality constraints. * Substitutes the solution into each inequality and evaluates.
src/compute-engine/boxed-expression/boxed-function.ts:1642
↓ 2 callersMethodsaveState
()
src/common/type/lexer.ts:65
↓ 2 callersFunctionscalarMultiple
(a: number[], b: number[])
benchmarks/audit/wester.ts:390
↓ 2 callersFunctionscaleC
(ce: ComputeEngine, k: Expression, a: Coeffs)
src/compute-engine/symbolic/series.ts:110
↓ 2 callersMethodscaleInt
Multiply every coefficient by an integer scalar.
src/compute-engine/boxed-expression/multivariate-poly.ts:119
↓ 2 callersFunctionsciNorm
(str)
benchmarks/report.mjs:71
↓ 2 callersFunctionsec
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:153
↓ 2 callersFunctionsecondOrderConstantCoefficientBasisFromCoefficients
( equation: Expression, coefficients: Map<number, Expression>, dependentName: string, independentName:
src/compute-engine/symbolic/differential-equations.ts:1047
↓ 2 callersFunctionsequence
( cs: (string | Combinator)[], f: (...results: Result[]) => IR )
src/point-free-parser/core-combinators.ts:226
↓ 2 callersFunctionserializeBigOp
(command: string)
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:2475
↓ 2 callersFunctionserializeExpression
(expr: Expression)
src/math-json/serialize-sympy.ts:71
↓ 2 callersFunctionserializeGeometryAccent
Serialize a geometry accent head, e.g. `Arc(A,B,C)` → `\widehat{ABC}`.
src/compute-engine/latex-syntax/dictionary/definitions-other.ts:151
↓ 2 callersFunctionserializeGeometryMark
Serialize a geometry mark head back to its prefix command, e.g. * `Angle(A,B,C)` → `\angle ABC`. Point labels are concatenated (matching the * par
src/compute-engine/latex-syntax/dictionary/definitions-other.ts:123
↓ 2 callersFunctionserializeIntegral
(command: string)
src/compute-engine/latex-syntax/dictionary/definitions-calculus.ts:308
↓ 2 callersFunctionserializeRepeatingDecimals
( s: string, options: Readonly<JsonSerializationOptions> )
src/compute-engine/boxed-expression/serialize.ts:567
↓ 2 callersFunctionserializeSubtract
Attempt to transform an expression a+b as a subtraction b-a. Return null * if could not. * * The caller should have checked that 'Subtract' is not
src/compute-engine/boxed-expression/serialize.ts:80
↓ 2 callersFunctionseriesArgs
Build and evaluate a `Series` expression.
test/compute-engine/series.test.ts:15
↓ 2 callersFunctionseriesTermDegree
* The degree of `expr` as a (possibly Laurent, i.e. negative-exponent) power * of `variable` — e.g. `1/x` and `x^{-1}` are both degree `-1`. Returns
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:201
← previousnext →2,301–2,400 of 5,294, ranked by callers