MCPcopy Create free account

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

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

↓ 1 callersFunctionserializeHexFloat
(value: number)
src/compute-engine/latex-syntax/serialize-number.ts:473
↓ 1 callersFunctionserializeIndexingSet
( serializer: Serializer, indexingSet: MathJsonExpression )
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:2440
↓ 1 callersFunctionserializeJson
( ce: ComputeEngine, expr: Expression, options: Readonly<JsonSerializationOptions> )
src/compute-engine/boxed-expression/serialize.ts:916
↓ 1 callersFunctionserializeJsonString
( s: string, options: Readonly<JsonSerializationOptions> )
src/compute-engine/boxed-expression/serialize.ts:502
↓ 1 callersFunctionserializeLeibnizPartial
* Serialize an applied multi-index partial derivative in Leibniz notation, e.g. * `Apply(Derivative(f, 1, 0), x, y)` → `\frac{\partial}{\partial x} f
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:2404
↓ 1 callersFunctionserializeNumber
(expr: Expression)
src/math-json/serialize-sympy.ts:15
↓ 1 callersFunctionserializeOperator
(expr: MathJsonExpression)
src/cortex/serialize-cortex.ts:372
↓ 1 callersFunctionserializePrettyJsonFunction
* The pretty version of `serializeJsonFunction()` applies * additional transformations to make the MathJSON more readable, for example * it uses `D
src/compute-engine/boxed-expression/serialize.ts:121
↓ 1 callersFunctionserializeString
(s: string)
src/cortex/serialize-cortex.ts:154
↓ 1 callersFunctionserializeString
(_expr: Expression)
src/math-json/serialize-sympy.ts:81
↓ 1 callersFunctionserializeSymbol
(expr: Expression)
src/math-json/serialize-sympy.ts:45
↓ 1 callersMethodserializeSymbol
( expr: MathJsonExpression, def?: IndexedLatexDictionaryEntry )
src/compute-engine/latex-syntax/serializer.ts:261
↓ 1 callersFunctionserializeTabularBody
* Serialize a body expression as tabular content if it's a matrix shape * (List of Lists): cells separated by `&`, rows separated by `\\`. * Otherwi
src/compute-engine/latex-syntax/dictionary/definitions.ts:626
↓ 1 callersFunctionseriesAtInfinity
( f: Expression, x: string, sign: number, n: number, W: number, ce: ComputeEngine )
src/compute-engine/symbolic/series.ts:1184
↓ 1 callersMethodsetAngularUnit
(value: AngularUnit)
src/compute-engine/engine-numeric-configuration.ts:64
↓ 1 callersFunctionsetComprehensionContains
* Three-valued membership for a set-builder: decide by enumeration over * finite domains; over symbolic/infinite domains, decide via the domain and
src/compute-engine/library/collections.ts:3007
↓ 1 callersMethodsetPrecision
(value: number | 'machine' | 'auto')
src/compute-engine/engine-numeric-configuration.ts:42
↓ 1 callersFunctionsetSymbolDefinitions
( engine: ComputeEngine, table: SymbolDefinitions )
src/compute-engine/library/library.ts:370
↓ 1 callersFunctionsetify
* declarations.json types Fungrim domains (AlgebraicNumbers, Lattice, Rings, * SL2Z, ...) as `collection<...>`, but CE's SetMinus/Union/Intersection
scripts/fungrim/load.ts:104
↓ 1 callersFunctionsettleIsReal
(hA: number, hB: number, v: number)
src/compute-engine/numerics/numeric.ts:318
↓ 1 callersFunctionsgn
(expr: Expression)
src/compute-engine/boxed-expression/sgn.ts:4
↓ 1 callersFunctionsha256Dir
(root: string, files: string[])
scripts/rubi/translate.ts:46
↓ 1 callersMethodshouldContinueExecution
()
src/compute-engine/engine-runtime-state.ts:95
↓ 1 callersFunctionshouldFlatten
(x: Expression)
src/compute-engine/boxed-expression/flatten.ts:29
↓ 1 callersFunctionshuffle
(a: T[], seed: number)
test/compute-engine/comparison-assumptions-regressions.test.ts:65
↓ 1 callersFunctionsignExpand
Expand class reps to all four sign combinations (deduplicated).
src/compute-engine/numerics/diophantine.ts:1039
↓ 1 callersMethodsignalOrigin
(offset: number)
src/common/debug.ts:60
↓ 1 callersFunctionsimplePoleResidue
( op: string, point: Expression, ce: ComputeEngine )
src/compute-engine/symbolic/residue.ts:120
↓ 1 callersFunctionsimple_power
r"""Simple Power: x^2 + y^2 + z^2
benchmarks/python-performance.py:35
↓ 1 callersFunctionsimplerQ
(u: Expression, v: Expression)
src/compute-engine/rubi/rubi-utils.ts:1227
↓ 1 callersFunctionsimplerSqrtQ
Rubi SimplerSqrtQ[u,v] — is √u simpler than √v
src/compute-engine/rubi/rubi-utils.ts:2120
↓ 1 callersFunctionsimplifyAbsCore
(x: Expression)
src/compute-engine/symbolic/simplify-abs.ts:65
↓ 1 callersFunctionsimplifyAbsPowerCore
(x: Expression)
src/compute-engine/symbolic/simplify-abs.ts:263
↓ 1 callersFunctionsimplifyExpression
( expr: Expression, rules: BoxedRuleSet, options: SimplifyOptions, steps: RuleSteps )
src/compute-engine/boxed-expression/simplify.ts:374
↓ 1 callersFunctionsimplifyLogCore
(x: Expression)
src/compute-engine/symbolic/simplify-log.ts:40
↓ 1 callersFunctionsimplifyNonCommutativeFunction
( expr: Expression, rules: BoxedRuleSet, options: Partial<InternalSimplifyOptions>, steps: RuleSteps )
src/compute-engine/boxed-expression/simplify.ts:441
↓ 1 callersFunctionsimplifyTrig
(x: Expression)
src/compute-engine/symbolic/simplify-trig.ts:249
↓ 1 callersFunctionsinIntegral
(x: number)
src/compute-engine/numerics/special-functions.ts:2892
↓ 1 callersFunctionsinc
(x: number)
src/compute-engine/numerics/special-functions.ts:2607
↓ 1 callersFunctionsinc
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:595
↓ 1 callersFunctionsinhCoshArgsPolynomialQ
(u: Expression, x: string)
src/compute-engine/rubi/rubi-utils.ts:3423
↓ 1 callersFunctionskeletonize
Replace Blank/BlankOptional atoms with placeholder symbols.
src/compute-engine/rubi/compile.ts:61
↓ 1 callersMethodskipComment
()
scripts/rubi/wl-parser.ts:56
↓ 1 callersMethodskipEmptyLines
()
src/common/markdown-block.ts:254
↓ 1 callersFunctionskipInlineSpaces
(parser: Parser)
src/point-free-parser/whitespace-parsers.ts:4
↓ 1 callersFunctionskipUntilString
(parser: Parser, pattern: string)
src/point-free-parser/parsers.ts:369
↓ 1 callersMethodskipVisualSpace
()
src/compute-engine/latex-syntax/parse.ts:927
↓ 1 callersMethodskipWhitespace
()
src/common/type/lexer.ts:123
↓ 1 callersFunctionslotNames
(pat: Pat, out = new Set<string>())
src/compute-engine/rubi/match.ts:242
↓ 1 callersFunctionslowEval
()
test/compute-engine/performance.test.ts:78
↓ 1 callersFunctionslugify
(s: string)
scripts/fungrim/gen-reference-doc.ts:275
↓ 1 callersFunctionsnakeCase
(value)
benchmarks/wester/extract.mjs:17
↓ 1 callersFunctionsolutionRecord
( result: | null | ReadonlyArray<Expression> | Record<string, Expression> | Array<Record<str
src/compute-engine/symbolic/differential-equations.ts:1243
↓ 1 callersFunctionsolveByGeneratorSubstitution
* Solve an equation that is a polynomial in a single nonlinear *generator* * `g(x)` — a logarithm, exponential, trig function, radical, or a nested
src/compute-engine/boxed-expression/solve.ts:1804
↓ 1 callersFunctionsolveByPowerGcdSubstitution
* Exact reduction of a "sparse" polynomial whose x-exponents share a common * factor g > 1 — e.g. a biquadratic `x⁴ + bx² + c` (g = 2) — via the * s
src/compute-engine/boxed-expression/solve.ts:1582
↓ 1 callersFunctionsolveByRationalPowerSubstitution
* Solve an equation that is a polynomial in `x^{1/d}` (d > 1) by the * substitution `u = x^{1/d}` — i.e. equations mixing several rational powers *
src/compute-engine/boxed-expression/solve.ts:1475
↓ 1 callersFunctionsolveByZeroProduct
* Zero-product solving: the real roots of a product are the union of the roots * of its factors (a product is zero iff one factor is). Handles equati
src/compute-engine/boxed-expression/solve.ts:1875
↓ 1 callersFunctionsolveCubic
* Solve depressed cubic t³ + pt + q = 0, return roots shifted by shift. * A complex root is returned as a `[re, im]` pair (a real 3×3 matrix can * h
src/compute-engine/library/linear-algebra.ts:1996
↓ 1 callersFunctionsolveHigherOrderHomogeneousConstantCoefficient
( equation: Expression, dependentCall: Expression, dependentName: string, independentName: string )
src/compute-engine/symbolic/differential-equations.ts:903
↓ 1 callersFunctionsolveInverseTrigEquation
* Solve `g(x) = h(x)` where `g` and `h` are two *different* inverse-trig * functions of the unknown (e.g. `arcsin x = arctan x`, `arccos x = arctan x
src/compute-engine/boxed-expression/solve.ts:1947
↓ 1 callersFunctionsolveLinearCase
( ce: ComputeEngine, eq: Expression, residual: Expression, unknowns: string[], coeffs: Map<string, {
src/compute-engine/boxed-expression/diophantine.ts:460
↓ 1 callersFunctionsolveLinearInequalitySystem
( inequalities: Expression[], variables: string[] )
src/compute-engine/boxed-expression/solve-linear-system.ts:1105
↓ 1 callersFunctionsolveLinearSystem
* Solve a linear system by fraction-free Gaussian elimination in EXACT integer * arithmetic (`bigint`). The matrix is an augmented matrix [A|b] with
src/compute-engine/boxed-expression/factor.ts:853
↓ 1 callersFunctionsolveNestedSqrtEquation
* Detect and solve nested sqrt equations of the form √(f(x, √x)) = a. * * Pattern 4: √(x + √x) = a (or similar with √x inside outer sqrt) * - Use s
src/compute-engine/boxed-expression/solve.ts:1239
↓ 1 callersFunctionsolveNoCaptureFilter
Root-template filter (mirrors `solve.ts`'s `filter`): no wildcard other * than the unknown `_x` may capture `_x`, so `__b` is a genuine constant *
src/compute-engine/fungrim/loader.ts:335
↓ 1 callersFunctionsolveNullSpace
* Find a non-trivial solution to Ax = 0 (null space vector). * Delegates to computeNullSpaceBasis and returns the first basis vector, * normalized t
src/compute-engine/library/linear-algebra.ts:2256
↓ 1 callersFunctionsolveOr
Solve an Or expression by solving each operand independently and merging * results. For univariate: collects Expression[], deduplicates via JSON. *
src/compute-engine/boxed-expression/boxed-function.ts:1655
↓ 1 callersFunctionsolveOverDomain
( ce: ComputeEngine, ceq: Expression, spec: SolveSpec )
src/compute-engine/boxed-expression/solve-domain.ts:216
↓ 1 callersFunctionsolveOverMultipleDomains
( ce: ComputeEngine, ceq: Expression, specs: SolveSpec[] )
src/compute-engine/boxed-expression/solve-domain.ts:356
↓ 1 callersFunctionsolveParametric
* Solve an under-determined linear system (more variables than equations). * Returns parametric solutions where free variables appear in expressions.
src/compute-engine/boxed-expression/solve-linear-system.ts:448
↓ 1 callersFunctionsolvePellCase
( ce: ComputeEngine, eq: Expression, residual: Expression, unknowns: string[], coeffs: Map<string, {
src/compute-engine/boxed-expression/diophantine.ts:598
↓ 1 callersFunctionsolvePolynomialByCoefficients
* Closed-form roots of a univariate polynomial (degree ≥ 2) from its * coefficients, bypassing the commutative pattern-matcher. Degree 2 uses the *
src/compute-engine/boxed-expression/solve.ts:2348
↓ 1 callersFunctionsolvePythagoreanCase
* `x² + y² = z²` and its relatives: exactly three unknowns, a homogeneous * diagonal quadratic (only the pure squares `x²`, `y²`, `z²` — no constant,
src/compute-engine/boxed-expression/diophantine.ts:855
↓ 1 callersFunctionsolveQuadraticByCoefficients
* Solve a quadratic `a·x² + b·x + c = 0` by extracting its coefficients and * applying the quadratic formula. * * This is more robust than surface
src/compute-engine/boxed-expression/solve.ts:2675
↓ 1 callersFunctionsolveReducedLinear
* Solve a reduced linear system `a·x = c` where every `a[i] ≠ 0` and * `m = a.length ≥ 2`, returning `m` linear forms over `m − 1` parameters, or *
src/compute-engine/numerics/diophantine.ts:278
↓ 1 callersFunctionsolveSecondOrderCauchyEulerHomogeneous
( equation: Expression, dependentCall: Expression, dependentName: string, independentName: string )
src/compute-engine/symbolic/differential-equations.ts:1270
↓ 1 callersFunctionsolveSecondOrderHomogeneousConstantCoefficient
( equation: Expression, dependentCall: Expression, dependentName: string, independentName: string )
src/compute-engine/symbolic/differential-equations.ts:994
↓ 1 callersFunctionsolveSecondOrderNonhomogeneousConstantCoefficient
( equation: Expression, dependentCall: Expression, dependentName: string, independentName: string )
src/compute-engine/symbolic/differential-equations.ts:1104
↓ 1 callersFunctionsolveSingleSqrtEquation
* Eliminate a single square root with an arbitrary (possibly non-constant) * coefficient. Writes the equation `expr = 0` as `A(x)·√R(x) + B(x) = 0` —
src/compute-engine/boxed-expression/solve.ts:899
↓ 1 callersFunctionsolveSystem
Solve a system of equations or inequalities given as an array of * expressions (from List or And). Returns null if no solution found.
src/compute-engine/boxed-expression/boxed-function.ts:1562
↓ 1 callersFunctionsolveTwoSqrtEquation
* Detect and solve equations with two sqrt terms: √(f(x)) + √(g(x)) = e * * Pattern 3: √(ax + b) + √(cx + d) = e * Algorithm (double squaring): *
src/compute-engine/boxed-expression/solve.ts:992
↓ 1 callersFunctionsome
( something: string | Combinator<IR>, f: (...results: Result<IR>[]) => IR )
src/point-free-parser/core-combinators.ts:358
↓ 1 callersFunctionsomeNegTermQ
(u: Expression)
src/compute-engine/rubi/rubi-utils.ts:1353
↓ 1 callersFunctionsortUnionMembers
* Canonical total order over union members (SYM P2-20). We order members * lexicographically by their serialized form — a deterministic total order
src/common/type/reduce.ts:190
↓ 1 callersMethodsourceAround
line: 1..., column: 1...
src/common/debug.ts:84
↓ 1 callersFunctionspecialDiopDN
* `_special_diop_DN` fast path for `1 < N² < D`, `D` non-square * (SymPy diophantine.py:2064). Returns class representatives.
src/compute-engine/numerics/diophantine.ts:884
↓ 1 callersFunctionspecialFunctionResidue
( body: Expression, varName: string, point: Expression, ce: ComputeEngine )
src/compute-engine/symbolic/residue.ts:163
↓ 1 callersFunctionspecialLaurent
* Leading Laurent data of a recognized special function `op` about its pole at * `point`, returned as a `Laurent` in the local variable `t = x − poin
src/compute-engine/symbolic/series.ts:734
↓ 1 callersFunctionspecialPoleInvolved
True when `f` applies a pole-carrying special function to an argument that * lands on one of its recorded poles at `x0` — the signal to prefer the La
src/compute-engine/symbolic/series.ts:1160
↓ 1 callersFunctionspellcheckSymbols
Recursively examine the symbols and operators and for any * that don't have a definition, suggest an alternative name.
src/compute-engine/boxed-expression/validate.ts:594
↓ 1 callersFunctionsplitDerivativeTerm
( term: Expression, dependentName: string, independentName: string )
src/compute-engine/symbolic/differential-equations.ts:265
↓ 1 callersFunctionsplitSign
Split an exponent into (|exponent|, sign), canonicalizing through `mul` so * `−1·x` keys identically to `x` (the raw `negate` leaves a `1·x` artifact
src/compute-engine/rubi/normal-form.ts:131
↓ 1 callersFunctionsplitTerm
( term: Expression, dependentName: string, independentName: string )
src/compute-engine/symbolic/differential-equations.ts:32
↓ 1 callersMethodsqrt
()
src/compute-engine/boxed-expression/boxed-symbol.ts:289
↓ 1 callersMethodsqrt
()
src/compute-engine/numeric-value/machine-numeric-value.ts:449
↓ 1 callersFunctionsqrtModOddPrimePower
* All roots of `x² ≡ a (mod pᵏ)` for an ODD prime `p`, `k ≥ 1`, sorted * ascending in `[0, pᵏ)`. Handles the ramified case `p | a` (including * `a ≡
src/compute-engine/numerics/diophantine.ts:476
↓ 1 callersFunctionsqrtModPow2
* All roots of `x² ≡ a (mod 2ᵏ)`, `k ≥ 1`, sorted ascending in `[0, 2ᵏ)`. * Powers of two have special structure: mod 2 every value squares to itself
src/compute-engine/numerics/diophantine.ts:551
↓ 1 callersFunctionsqrtModPrime
* Tonelli–Shanks: a single square root of `a` modulo an ODD PRIME `p`, in * `[0, p)`, or `null` if `a` is a quadratic non-residue. The other root is
src/compute-engine/numerics/diophantine.ts:427
↓ 1 callersFunctionsqrtUnitOddPrimePower
* Both roots of `x² ≡ u (mod pᵏ)` for an ODD prime `p` and `u` coprime to `p`, * via Tonelli–Shanks mod `p` then Hensel lifting. Returns `[]` if `u`
src/compute-engine/numerics/diophantine.ts:524
↓ 1 callersFunctionstayInert
(latex: string)
test/compute-engine/rubi-utils.test.ts:654
← previousnext →3,701–3,800 of 5,294, ranked by callers