MCPcopy Create free account

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

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

↓ 13 callersMethodexpr
Return a boxed expression from a number, string or expression input. * Calls `ce.function()`, `ce.number()` or `ce.symbol()` as appropriate.
src/compute-engine/index.ts:1571
↓ 13 callersFunctionfactorPerfectSquare
(expr: Expression)
src/compute-engine/boxed-expression/factor.ts:72
↓ 13 callersFunctionflush
()
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:2188
↓ 13 callersFunctiongammaP
(a: number, x: number)
src/compute-engine/numerics/special-functions.ts:230
↓ 13 callersMethodgt
Returns true if this value is strictly greater than other.
src/big-decimal/big-decimal.ts:384
↓ 13 callersFunctionhighPrecRef
(fn: (d: typeof Decimal) => string)
test/big-decimal/comprehensive-benchmark.ts:353
↓ 13 callersFunctionisDefiniteValue
* A resolved, usable limit value: free of the limit variable, and neither * (complex) infinity nor NaN. Crucially this accepts finite *symbolic* * c
src/compute-engine/symbolic/limit.ts:847
↓ 13 callersMethodisEOF
()
src/common/type/lexer.ts:119
↓ 13 callersFunctionisOne
(x: Rational)
src/compute-engine/numerics/rationals.ts:32
↓ 13 callersFunctionisect
(a: string, b: string)
test/compute-engine/internals/type-lattice.test.ts:360
↓ 13 callersFunctionmatch
(s: string)
src/common/markdown-span.ts:16
↓ 13 callersFunctionmatchVariation
(op: string, ops: ReadonlyArray<ExpressionInput>)
src/compute-engine/boxed-expression/match.ts:378
↓ 13 callersMethodmodP
Reduce every coefficient into the symmetric range (−p/2, p/2] modulo `p`.
src/compute-engine/boxed-expression/multivariate-poly.ts:282
↓ 13 callersFunctionnoFloats
(s: string)
test/compute-engine/calculus.test.ts:560
↓ 13 callersFunctionnumAt
(engine: any, boxed: any, v: string, p: number)
benchmarks/audit/wester.ts:77
↓ 13 callersFunctionpolynomialDivide
( dividend: Expression, divisor: Expression, variable: string )
src/compute-engine/boxed-expression/polynomials.ts:393
↓ 13 callersFunctionsubstituteWildcards
( x: MathJSON, sub: Readonly<Record<string, MathJSON>> )
scripts/fungrim/compile-rules.ts:175
↓ 13 callersFunctionverify
(latex: string, timeLimit = engine.timeLimit)
test/compute-engine/calculus.test.ts:450
↓ 12 callersFunctionM
(rows: number[][])
test/compute-engine/linear-algebra.test.ts:1846
↓ 12 callersFunctionN
(latex: string)
test/utils.ts:116
↓ 12 callersFunctionapplyAngle
( angle: Expression, fn: (x: number) => number | Complex | Expression, bigFn?: (x: BigDecimal) => BigDec
src/compute-engine/boxed-expression/trigonometry.ts:225
↓ 12 callersFunctionasEquation
The equation `f = 0`, with any internal `_x` unknown displayed as `x`.
src/compute-engine/boxed-expression/solve.ts:89
↓ 12 callersFunctionatPrecision
(p: number, fn: () => T)
test/big-decimal/ln-agm.test.ts:16
↓ 12 callersFunctionbernoulliRational
(n: number)
src/compute-engine/numerics/bernoulli.ts:53
↓ 12 callersFunctionbigintSqrt
(n: bigint)
src/big-decimal/utils.ts:615
↓ 12 callersFunctionbind
(name: string, expr: Json)
test/compute-engine/rubi-utils.test.ts:39
↓ 12 callersFunctioncoeffAt
Coefficient of `t^p` in `L` (Zero outside the stored window).
src/compute-engine/symbolic/series.ts:539
↓ 12 callersFunctioncoeffX
Coefficient of xᵏ in a constant/linear expr (0 when absent).
src/compute-engine/rubi/rubi-utils.ts:3210
↓ 12 callersFunctiondiv
(a: Expression, b: Expression)
src/compute-engine/library/distributions.ts:270
↓ 12 callersFunctionfactor
(expr: Expression)
src/compute-engine/boxed-expression/factor.ts:696
↓ 12 callersFunctionfactorQuadratic
( expr: Expression, variable: string )
src/compute-engine/boxed-expression/factor.ts:298
↓ 12 callersFunctionfilter
(sub: BoxedSubstitution)
src/compute-engine/symbolic/antiderivative.ts:722
↓ 12 callersFunctionformatGPUNumber
(n: number)
src/compute-engine/compilation/gpu-target.ts:3265
↓ 12 callersFunctionfpsqrt
(a: bigint, bits: number)
src/big-decimal/utils.ts:87
↓ 12 callersFunctiongetDefaultEngine
()
src/compute-engine/free-functions.ts:30
↓ 12 callersMethodgetSequenceCache
* Get the memoization cache for a sequence. * Returns a Map of index → value, or `undefined` if not a sequence or memoization is disabled. *
src/compute-engine/types-engine.ts:561
↓ 12 callersMethodgetSequenceTerms
* Generate a list of sequence terms from start to end (inclusive). * * @param name - The sequence name * @param start - Starting index (inclu
src/compute-engine/types-engine.ts:579
↓ 12 callersFunctiongpuVec2
Return the vec2 constructor name for the target language.
src/compute-engine/compilation/gpu-target.ts:330
↓ 12 callersFunctionidentityDigits
(approx: string, exact: string)
test/big-decimal/comprehensive-benchmark.ts:502
↓ 12 callersFunctionisEquivalentSimplify
(a: string | Expression, b: string)
test/compute-engine/benchmarks/grudnitski.test.ts:10
↓ 12 callersFunctionisFunction
( expr: Expression | null | undefined, operator?: string )
src/compute-engine/numerics/interval.ts:28
↓ 12 callersMethodisIntegerValued
True if the expression is provably integer-typed.
src/compute-engine/compilation/base-compiler.ts:1174
↓ 12 callersFunctionmod
(a: bigint, p: bigint)
src/compute-engine/boxed-expression/multivariate-gcd.ts:106
↓ 12 callersFunctionmod
( a: Interval | IntervalResult, b: Interval | IntervalResult )
src/compute-engine/interval/elementary.ts:589
↓ 12 callersFunctionmul
(ce: ComputeEngine, fs: Expression[])
src/compute-engine/rubi/normal-form.ts:62
↓ 12 callersMethodnormalizeIdentifier
* Convert a LaTeX identifier string to its canonical MathJSON name without * declaring the symbol in the engine scope. * * Examples: * - `
src/compute-engine/types-engine.ts:673
↓ 12 callersFunctionnumberToExpression
( num: number | bigint, fractionalDigits?: string | number )
src/compute-engine/numerics/expression.ts:34
↓ 12 callersFunctionorder
(a: Expression, b: Expression)
src/compute-engine/boxed-expression/order.ts:298
↓ 12 callersMethodpeekDefinitions
( kind: | 'expression' | 'function' | 'symbol' | 'infix' | 'prefix' |
src/compute-engine/latex-syntax/parse.ts:802
↓ 12 callersFunctionpolevl
Horner form polynomial evaluation (highest degree coefficient first)
src/compute-engine/numerics/special-functions.ts:2496
↓ 12 callersFunctionradiansToAngle
( x: Expression | undefined )
src/compute-engine/boxed-expression/trigonometry.ts:245
↓ 12 callersFunctionruleOf
(id: string)
test/compute-engine/fungrim-compile.test.ts:478
↓ 12 callersFunctionrun
(gen: Generator<T>, timeLimitMs: number)
src/common/interruptible.ts:114
↓ 12 callersFunctionsimplifyDerivative
* Return a derivative result without simplification. * * ## Recursion Safety * * IMPORTANT: Do not call `.simplify()` on the result to avoid infin
src/compute-engine/symbolic/derivative.ts:101
↓ 12 callersFunctionsin
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:25
↓ 12 callersFunctionskip
(e: Entry, reason: SkipReason, detail?: string)
scripts/fungrim/compile-rules.ts:1404
↓ 12 callersMethodskipWhitespace
()
src/common/json5.ts:262
↓ 12 callersFunctionsubjectKey
(subject: Subject)
src/compute-engine/boxed-expression/constraint-subject.ts:61
↓ 12 callersMethodtempVar
* Generate a temporary variable name
src/compute-engine/compilation/base-compiler.ts:1397
↓ 11 callersFunctionNToJson
(latex: string)
test/compute-engine/smoke.test.ts:34
↓ 11 callersFunctionP
(s: string, vars: string[])
test/compute-engine/multivariate-gcd.test.ts:12
↓ 11 callersMethod_compile
@internal Compile a boxed expression.
src/compute-engine/types-engine.ts:296
↓ 11 callersMethod_getSymbolValue
* Use `ce.expr(id)` instead * @internal
src/compute-engine/types-engine.ts:461
↓ 11 callersFunctionasBigint
( x: Complex | BigDecimal | ExpressionInput | undefined )
src/compute-engine/boxed-expression/numerics.ts:78
↓ 11 callersFunctioncheckArity
( ce: ComputeEngine, ops: ReadonlyArray<Expression>, count: number )
src/compute-engine/boxed-expression/validate.ts:65
↓ 11 callersFunctioncollectWildcards
(x: MathJSON, out = new Set<string>())
scripts/fungrim/compile-rules.ts:185
↓ 11 callersFunctionemit
(o)
benchmarks/runners/run_ce.mjs:29
↓ 11 callersFunctionexactData
* If every value flattened from `ops` is an exact, finite real number, return * them as boxed expressions; otherwise `null` (caller falls back to the
src/compute-engine/library/statistics.ts:681
↓ 11 callersFunctionexprOrigin
Decorate an expression with a source origin * (offset range in the source code)
src/cortex/parse-cortex.ts:61
↓ 11 callersFunctionfiniteNumericValue
( term: Expression | undefined )
src/compute-engine/boxed-expression/constraint-subject.ts:86
↓ 11 callersFunctionflattenBigScalars
(args: ReadonlyArray<Expression>)
src/compute-engine/library/statistics.ts:662
↓ 11 callersFunctionflattenScalars
(args: ReadonlyArray<Expression>)
src/compute-engine/library/statistics.ts:658
↓ 11 callersFunctiongauss2F1SeriesC
( a: Complex, b: Complex, c: Complex, z: Complex, maxTerms = 10_000 )
src/compute-engine/numerics/numeric-complex.ts:575
↓ 11 callersFunctiongetExpressionScale
(expr: UnitExpression)
src/compute-engine/numerics/unit-data.ts:469
↓ 11 callersFunctiongetSignFromAssumptions
( ce: ComputeEngine, subject: string | Subject )
src/compute-engine/assume.ts:1212
↓ 11 callersFunctionheading
* Returns a heading in markdown format * @param level The level of the heading * @param text The text of the heading
plugins/grok-theme/index.mjs:1438
↓ 11 callersFunctionidentity
(name: string, lhs: string, rhs: string, p = 60)
test/compute-engine/special-functions.test.ts:743
↓ 11 callersFunctionisTensor
( expr: Expression | null | undefined )
src/compute-engine/boxed-expression/type-guards.ts:63
↓ 11 callersFunctionjson
(latex: string)
test/compute-engine/latex-syntax/base-form.test.ts:4
↓ 11 callersFunctionlistToIntervalInSetContext
* Transform a List or Tuple with exactly 2 elements to an Interval in set contexts. * * This enables contextual parsing where `[a, b]` and `(a, b)`
src/compute-engine/library/sets.ts:134
↓ 11 callersFunctionmapArgs
( expr: MathJsonExpression, fn: (x: MathJsonExpression) => T )
src/math-json/utils.ts:393
↓ 11 callersFunctionmathJsonToWL
(node)
benchmarks/runners/mathjson-to-wl.mjs:53
↓ 11 callersFunctionmodPow
(base: bigint, exp: bigint, mod: bigint)
src/compute-engine/numerics/primes.ts:185
↓ 11 callersFunctionnextPrime
(n: number, k?: number)
test/compute-engine/number-theory.test.ts:186
↓ 11 callersFunctionnormalizeAlpha
* Canonicalize an alpha value. Returns `undefined` for undefined, non-finite, * or effectively-1 inputs so downstream sites can use a simple * `alph
src/compute-engine/compilation/javascript-target.ts:1051
↓ 11 callersMethodoperatorInfo
* Introspect a registered operator head. * * Returns `undefined` if no definition is registered in this engine. * Otherwise returns `{ kind,
src/compute-engine/types-engine.ts:658
↓ 11 callersFunctionordinalsOf
( bucket: ReadonlyArray<{ ordinal: number }> | undefined )
test/compute-engine/rule-index.test.ts:56
↓ 11 callersMethodparseExpression
(minPrec = 0)
scripts/rubi/wl-parser.ts:213
↓ 11 callersMethodreadUntil
(char: string)
src/common/markdown-block.ts:265
↓ 11 callersFunctionreducedRational
(r: Rational)
src/compute-engine/numerics/rationals.ts:237
↓ 11 callersFunctionresolve
(gk: Expression, k: number)
src/compute-engine/symbolic/series.ts:1203
↓ 11 callersFunctions
(x)
benchmarks/audit/gen.py:30
↓ 11 callersFunctionserializeJsonNumber
( ce: ComputeEngine, value: number | bigint | NumericValue | BigDecimal | Complex | Rational, options: R
src/compute-engine/boxed-expression/serialize.ts:631
↓ 11 callersFunctionserializeKeyword
* Serialize a keyword (`if`, `then`, `else`, `for`, …) according to the * `keywordStyle` serialization option. * * `lead`/`trail` request a surroun
src/compute-engine/latex-syntax/dictionary/definitions-core.ts:553
↓ 11 callersFunctionsimplify
( expr: Expression, options?: Partial<InternalSimplifyOptions>, steps?: RuleSteps )
src/compute-engine/boxed-expression/simplify.ts:99
↓ 11 callersMethodsqrtToward
* Square root with **directed rounding** to `BigDecimal.precision` significant * digits (`'floor'` ≤ true ≤ `'ceiling'`). Computed from an exact in
src/big-decimal/big-decimal.ts:843
↓ 11 callersFunctiontoTimesPower
(ce: ComputeEngine, e: Expression)
src/compute-engine/rubi/normal-form.ts:19
↓ 11 callersFunctiontotientSet
(n: number | string)
test/compute-engine/set-comprehension.test.ts:18
↓ 11 callersFunctionwildcardType
( expr: Expression | string )
src/compute-engine/boxed-expression/pattern-utils.ts:68
↓ 10 callersFunctionL
(s: string)
test/compute-engine/nightly/js-parity-fuzz.test.ts:30
← previousnext →501–600 of 5,294, ranked by callers