MCPcopy Create free account

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

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

↓ 24 callersFunctionbignumPreferred
(ce: ComputeEngine)
src/compute-engine/boxed-expression/utils.ts:99
↓ 24 callersFunctioncompareDigits
* Compare the first `matchDigits` significant digits of two numeric strings. * Returns true if they match.
test/big-decimal/cross-validation.test.ts:44
↓ 24 callersMethodcurrentChar
()
src/common/json5.ts:308
↓ 24 callersMethodexpect
(type: TokenType)
src/common/type/parser.ts:217
↓ 24 callersFunctionflatten
( ops: T, operator?: string, canonicalize = true )
src/compute-engine/boxed-expression/flatten.ts:17
↓ 24 callersFunctionformatFloat
(n: number)
src/compute-engine/compilation/constant-folding.ts:22
↓ 24 callersFunctionfreshEngine
()
test/compute-engine/internals/query-hooks.test.ts:19
↓ 24 callersFunctiong1
(r: IV, a: IV)
test/compute-engine/interval-glsl-eval.ts:25
↓ 24 callersFunctionnumericTypeHandler
(ops: ReadonlyArray<Expression>)
src/compute-engine/library/type-handlers.ts:34
↓ 24 callersMethodtypeError
( expectedType: Type, actualType: undefined | Type | BoxedType, where?: ExpressionInput )
src/compute-engine/types-engine.ts:344
↓ 24 callersFunctionzeta
(s: number)
test/compute-engine/zeta-values.test.ts:19
↓ 23 callersMethoddigitCount
* Number of decimal digits in |significand|, computed once and cached on this * immutable value. `toPrecision`, `cmp`, `div`, `pow`, `ln` etc. all
src/big-decimal/big-decimal.ts:171
↓ 23 callersFunctionexprToString
(expr: ExpressionInput | null | undefined)
test/utils.ts:102
↓ 23 callersFunctionisLiteralInteger
(e: Expression)
src/compute-engine/rubi/rubi-utils.ts:464
↓ 23 callersMethodmod
* Modulo (remainder after truncating division). * Defined as: this - trunc(this / other) * other * * The sign of the result matches the sign
src/big-decimal/big-decimal.ts:884
↓ 23 callersFunctionnStr
(e: any)
test/compute-engine/exactness-regressions.test.ts:11
↓ 23 callersMethodnextToken
()
src/compute-engine/latex-syntax/parse.ts:564
↓ 23 callersMethodnthRoot
nth root. Supports negative values for odd n.
src/big-decimal/transcendentals.ts:66
↓ 23 callersFunctionparse
(s: string)
test/compute-engine/latex-syntax/stefnotch.test.ts:3
↓ 23 callersMethodpeek
(offset: number = 0)
src/common/type/lexer.ts:93
↓ 23 callersFunctionres
(f: any, v: string, a: any)
test/compute-engine/residue.test.ts:6
↓ 23 callersFunctionsubjectOf
(expr: Expression)
src/compute-engine/boxed-expression/constraint-subject.ts:47
↓ 23 callersFunctiontokenize
(s: string, args: string[] = [])
src/compute-engine/latex-syntax/tokenizer.ts:402
↓ 23 callersFunctiontrigFunction
( operator: string, complexity: number, description?: string )
src/compute-engine/library/trigonometry.ts:614
↓ 23 callersFunctionwithPrecision
* Save and restore precision for both libraries.
test/big-decimal/cross-validation.test.ts:96
↓ 22 callersFunctionbigint
( a: BigDecimal | number | bigint | string )
src/compute-engine/numerics/bigint.ts:3
↓ 22 callersFunctiondPlaceholder
The placeholder for the derivative of `child` in a rule template: * trivial derivatives are resolved inline (matching what the recursion * returns w
src/compute-engine/symbolic/derivative.ts:61
↓ 22 callersFunctionexpectFullLinearFamily
* Full oracle-based check for a solvable linear Diophantine equation: (b) * every substituted parameter tuple satisfies the equation, and (c) every
test/compute-engine/diophantine.test.ts:212
↓ 22 callersFunctionfilter
(sub: BoxedSubstitution)
src/compute-engine/boxed-expression/solve.ts:58
↓ 22 callersFunctionintersectStr
(a: Type, b: Type)
test/compute-engine/internals/type-lattice.test.ts:32
↓ 22 callersFunctionnops
(expr: MathJsonExpression | null | undefined)
src/math-json/utils.ts:171
↓ 22 callersFunctionnum
(e: any)
test/compute-engine/exactness-regressions.test.ts:355
↓ 22 callersFunctionparse
(s: string)
test/compute-engine/incomplete-expressions.test.ts:3
↓ 22 callersFunctionparse
(s: string)
test/compute-engine/latex-syntax/parsing.test.ts:3
↓ 22 callersMethodparseToken
* Some LaTeX commands (but not all) can accept arguments as single * tokens (i.e. without braces), for example `^2`, `\sqrt3` or `\frac12` *
src/compute-engine/latex-syntax/types.ts:991
↓ 22 callersFunctionprecisionReport
* Run a precision comparison and return a summary string for snapshot testing. * * `ourFn` computes the BigDecimal result at the given precision. *
test/big-decimal/precision-comparison.test.ts:72
↓ 22 callersFunctionsimplify
(expr: any)
test/compute-engine/logic.test.ts:487
↓ 22 callersMethodsuccess
* Use when a portion of the source has been successfully parsed.
src/point-free-parser/parsers.ts:257
↓ 21 callersFunctiondifferentiate
( expr: Expression, v: string, depth: number = 0, trace?: DerivativeTrace )
src/compute-engine/symbolic/derivative.ts:400
↓ 21 callersFunctionfnOps
Helper to get `.ops` from a function expression, or undefined.
src/compute-engine/symbolic/logic-utils.ts:24
↓ 21 callersFunctionfresnelC
(x: number)
src/compute-engine/numerics/special-functions.ts:2576
↓ 21 callersFunctionisFiniteIndexedCollection
(col: Expression)
src/compute-engine/collection-utils.ts:16
↓ 21 callersFunctionisWildcard
(expr: Expression)
src/compute-engine/boxed-expression/pattern-utils.ts:18
↓ 21 callersFunctionmachine
A machine-precision case. `fn` computes the mpmath reference. `mp_args` overrides the values passed to fn (defaults to mpf(float) of each arg).
test/compute-engine/nightly/fixtures/gen_kernel_refs.py:44
↓ 21 callersFunctionmapSubexpressions
* Apply a transformation function to all subexpressions (bottom-up)
src/compute-engine/symbolic/fu-transforms.ts:52
↓ 21 callersFunctionserialize
(expr: Expression)
src/math-json/serialize-sympy.ts:86
↓ 21 callersFunctionserialize
(expr: MathJsonExpression)
src/compute-engine/latex-syntax/latex-syntax.ts:305
↓ 20 callersFunctionapplicable
( fn: Expression )
src/compute-engine/function-utils.ts:663
↓ 20 callersFunctioncheck
(label: string, actual: unknown, expected: unknown)
docs/reviews/2026-07-archive/round10-gate.ts:7
↓ 20 callersMethoddeclare
( arg1: | string | { [id: string]: Type | TypeString | Partial<SymbolDefinition>;
src/compute-engine/index.ts:1355
↓ 20 callersFunctionentry
( id: string, formula: unknown, variables: string[] = [], assumptions: unknown = null, cls: 'identit
test/compute-engine/fungrim-compile.test.ts:48
↓ 20 callersFunctionevaluate
(expr: Expression)
test/compute-engine/dictionary.test.ts:7
↓ 20 callersFunctionfoldTerms
( terms: string[], identity: string, op: '+' | '*' )
src/compute-engine/compilation/constant-folding.ts:65
↓ 20 callersFunctionfresnelS
(x: number)
src/compute-engine/numerics/special-functions.ts:2541
↓ 20 callersFunctiongammaln
(z: number)
src/compute-engine/numerics/special-functions.ts:22
↓ 20 callersFunctionhasOperator
(expr: Expression, ...ops: string[])
src/compute-engine/symbolic/fu-transforms.ts:43
↓ 20 callersMethodlte
Returns true if this value is less than or equal to other.
src/big-decimal/big-decimal.ts:377
↓ 20 callersFunctionneg
(x: Rational)
src/compute-engine/numerics/rationals.ts:168
↓ 20 callersFunctionpolyCoeffsX
(u: Expression, x: string)
src/compute-engine/rubi/rubi-utils.ts:351
↓ 20 callersFunctionsolutions
Evaluate a `Solve` expression and return its solution values as numbers, * sorted ascending. Throws if the result is not a decided `List`.
test/compute-engine/solve-domain.test.ts:10
↓ 20 callersFunctionunwrapInterval
* Helper to extract numeric interval from result
test/compute-engine/compile-interval-js.test.ts:668
↓ 20 callersFunctionverifyEquationSolution
( equation: unknown, solution: ReturnType<typeof dsolve>, sample: Record<string, number> )
test/compute-engine/differential-equations.test.ts:52
↓ 19 callersFunctionW
(x: MathJSON)
scripts/fungrim/compile-rules.ts:285
↓ 19 callersFunctionbigGamma
(ce: ComputeEngine, z: BigNum)
src/compute-engine/numerics/special-functions.ts:637
↓ 19 callersFunctionboxedToUnitExpression
(expr: Expression)
src/compute-engine/library/units.ts:23
↓ 19 callersFunctionfindUnivariateRoots
( expr: Expression, x: string, depth = 0, trace?: RuleSteps )
src/compute-engine/boxed-expression/solve.ts:1982
↓ 19 callersFunctiongetUnitDimension
(symbol: string)
src/compute-engine/numerics/unit-data.ts:297
↓ 19 callersMethodinverse
()
src/compute-engine/types-expression.ts:338
↓ 19 callersMethodisLessEqual
* The value of both expressions are compared. * * If the expressions cannot be compared, return `undefined` * @category Relational Operator
src/compute-engine/types-expression.ts:1509
↓ 19 callersFunctionloadIntegrationRules
( ce: ComputeEngine, options?: IntegrationRulesLoadOptions )
src/compute-engine/rubi/loader.ts:53
↓ 19 callersFunctionnormal
The truncated polynomial `Normal(Series(f, x, x0, n))`.
test/compute-engine/series.test.ts:37
↓ 19 callersFunctionparse
(latex: string)
test/compute-engine/parser-component-access.test.ts:7
↓ 19 callersFunctionrecordD
Record one rule application. The template is a thunk so nothing is * allocated when no trace is attached. Nodes that do not depend on `v` * are skip
src/compute-engine/symbolic/derivative.ts:72
↓ 19 callersMethodtoBigInt
* Truncate fractional part and return a bigint. * Throws if the value is NaN or Infinity.
src/big-decimal/big-decimal.ts:1285
↓ 19 callersMethodtoNumericValue
* Attempt to factor a numeric coefficient `c` and a `rest` out of a * canonical expression such that `rest.mul(c)` is equal to `this`. * * At
src/compute-engine/types-expression.ts:993
↓ 19 callersFunctionwiden
(...types: Readonly<Type>[])
src/common/type/subtype.ts:1009
↓ 18 callersMethodatanh
Inverse hyperbolic tangent. Returns NaN for |x| > 1, ±Infinity at ±1.
src/big-decimal/transcendentals.ts:60
↓ 18 callersFunctionbench
(name: string, fn: () => void, iterations = 1000)
test/big-decimal/benchmarks.ts:4
↓ 18 callersFunctionbigintDigits
(n: bigint)
src/big-decimal/utils.ts:198
↓ 18 callersFunctionemit
(**kw)
benchmarks/runners/run_py.py:33
↓ 18 callersFunctioneqNum
(e: Expression, k: number)
src/compute-engine/rubi/rubi-utils.ts:1029
↓ 18 callersFunctionev
(s: string)
test/compute-engine/arithmetic.test.ts:2488
↓ 18 callersFunctionfactorInteger
(n: number | bigint)
test/compute-engine/number-theory.test.ts:52
↓ 18 callersFunctionisEligibleRealRewrite
(x: Expression)
src/compute-engine/function-properties/index.ts:260
↓ 18 callersFunctionlitVal
Finite real value of a number literal, or `undefined` if not a literal.
src/compute-engine/library/distributions.ts:50
↓ 18 callersFunctionmakeTensor
( ce: ComputeEngine, data: TensorData<T> )
src/compute-engine/tensor/tensors.ts:920
↓ 18 callersFunctionmatchNonCanonical
( pattern: Expression, expr: Expression, options?: PatternMatchOptions )
test/compute-engine/patterns.test.ts:1171
↓ 18 callersFunctionparse
(s: string)
test/compute-engine/latex-syntax/collections.test.ts:3
↓ 18 callersFunctionparseUnitDSL
(s: string)
src/compute-engine/numerics/unit-data.ts:621
↓ 18 callersMethodpolynomialCoefficients
* Return the coefficients of this expression as a polynomial in `variable`, * in descending order of degree. Returns `undefined` if the expression
src/compute-engine/types-expression.ts:1224
↓ 18 callersFunctionseries
( fLatex: string, x0Latex?: string, n?: number )
test/compute-engine/series.test.ts:28
↓ 18 callersFunctionupdate
(v: number)
src/compute-engine/interval/trigonometric.ts:605
↓ 18 callersFunctionverify
(latex: string)
test/compute-engine/integration-rules.test.ts:158
↓ 18 callersFunctionwithExtraPrecision
* Run `fn` with `BigDecimal.precision` temporarily raised by `extra` * digits (BigDecimal precision is a module-global, so save/restore).
src/compute-engine/numerics/special-functions.ts:2636
↓ 17 callersFunctionapplyN
( ops: ReadonlyArray<Expression>, fn: (...xs: number[]) => number | Complex, bigFn?: (...xs: BigDecimal[
src/compute-engine/boxed-expression/apply.ts:133
↓ 17 callersFunctionbetaRegularized
(x: number, a: number, b: number)
src/compute-engine/numerics/special-functions.ts:291
↓ 17 callersFunctiond
(...pairs: [string, Expression][])
test/compute-engine/dictionary.test.ts:521
↓ 17 callersMethoddelete
(expr: Expr)
src/compute-engine/types-kernel-evaluation.ts:42
↓ 17 callersFunctionexpectAgree
Assert two BigDecimals agree to `digits` significant digits.
test/big-decimal/elementary-completeness.test.ts:31
↓ 17 callersFunctiongetElement
* Get element from matrix at 1-based indices
src/compute-engine/library/linear-algebra.ts:1891
← previousnext →301–400 of 5,294, ranked by callers