MCPcopy Create free account

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

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

↓ 92 callersFunctionsymbol
( expr: MathJsonExpression | null | undefined )
src/math-json/utils.ts:186
↓ 91 callersMethodfloor
()
src/compute-engine/numeric-value/big-numeric-value.ts:651
↓ 90 callersFunctionevaluate
(expr: Expression)
test/compute-engine/collections.test.ts:4
↓ 87 callersFunctionparse
(s)
test/compute-engine/latex-syntax/symbols.test.ts:8
↓ 85 callersFunctionisFinite
()
src/compute-engine/boxed-expression/abstract-boxed-expression.ts:792
↓ 84 callersMethodround
()
src/compute-engine/numeric-value/big-numeric-value.ts:663
↓ 81 callersMethodassert
(value, ...message)
test/jest-config.ts:100
↓ 80 callersFunctionisString
( expr: Expression | null | undefined )
src/compute-engine/boxed-expression/type-guards.ts:57
↓ 80 callersFunctionparse
(latex: string)
test/compute-engine/factor.test.ts:17
↓ 79 callersFunctionf
(x: number)
test/compute-engine/derivatives.test.ts:676
↓ 78 callersFunctionreformat
(s: string)
test/compute-engine/latex-syntax/numbers.test.ts:323
↓ 77 callersFunctionserialize
(expr, precedence = 0)
src/compute-engine/boxed-expression/ascii-math.ts:570
↓ 76 callersFunctionexpectInterval
(result, expectedLo, expectedHi, tolerance = 1e-10)
test/compute-engine/interval-arithmetic.test.ts:80
↓ 76 callersFunctionunwrapOrPropagate
( ...inputs: Array<Interval | IntervalResult> )
src/compute-engine/interval/util.ts:204
↓ 75 callersMethodentries
()
src/compute-engine/types-expression.ts:2279
↓ 75 callersMethodfind
(term: Expression)
src/compute-engine/boxed-expression/arithmetic-add.ts:413
↓ 74 callersFunctionevalStr
(e: any)
test/compute-engine/exactness-regressions.test.ts:10
↓ 73 callersFunctiontoBigint
(expr: Expression | undefined)
src/compute-engine/boxed-expression/numerics.ts:201
↓ 73 callersFunctionzeroQ
(d: Expression)
src/compute-engine/rubi/rubi-utils.ts:447
↓ 72 callersFunctioncheckDeadline
(deadline: number | undefined)
src/common/interruptible.ts:27
↓ 72 callersMethodparseExpression
* Parse an expression: * * ``` * <expression> ::= * | <primary> ( <infix-op> <expression> )? * | <prefix-op> <expression> * * <
src/compute-engine/latex-syntax/types.ts:1096
↓ 70 callersFunctionL
(a: (number | any)[])
test/compute-engine/statistics.test.ts:14
↓ 70 callersMethodclone
(value: number | ExactNumericValueData)
src/compute-engine/numeric-value/exact-numeric-value.ts:204
↓ 68 callersFunctionB
(s: string)
test/compute-engine/distributions.test.ts:178
↓ 65 callersMethodln
Logarithm (natural by default)
src/compute-engine/types-expression.ts:1132
↓ 65 callersFunctionlog
(...args: unknown[])
test/compute-engine/compile-performance.test.ts:21
↓ 65 callersFunctionparse
(s)
test/compute-engine/latex-syntax/sets.test.ts:3
↓ 64 callersFunctionasSmallInteger
( expr: number | Expression | undefined )
src/compute-engine/boxed-expression/numerics.ts:139
↓ 64 callersMethodclone
(value: number | BigDecimal | NumericValueData)
src/compute-engine/numeric-value/big-numeric-value.ts:125
↓ 64 callersFunctionmachineValue
( expr: MathJsonExpression | null | undefined )
src/math-json/utils.ts:289
↓ 63 callersMethodisNaN
()
src/compute-engine/boxed-expression/boxed-symbol.ts:633
↓ 61 callersFunctionisNaN
()
src/compute-engine/boxed-expression/abstract-boxed-expression.ts:783
↓ 60 callersMethoddeclareSequence
* Declare a sequence with a recurrence relation. * * @example * ```typescript * // Fibonacci sequence * ce.declareSequence('F', { *
src/compute-engine/types-engine.ts:517
↓ 60 callersMethodisLess
* * The value of both expressions are compared. * * If the expressions cannot be compared, return `undefined` * * @category Relational
src/compute-engine/types-expression.ts:1501
↓ 60 callersFunctionisTensor
(val: unknown)
src/compute-engine/boxed-expression/boxed-tensor.ts:477
↓ 60 callersMethodtoMathJson
* Serialize to a MathJSON expression with specified options. * * Use `{ fractionalDigits: 'auto' }` to round arbitrary-precision * numbers to
src/compute-engine/types-expression.ts:655
↓ 59 callersFunctionadd
(...xs: ReadonlyArray<Expression>)
src/compute-engine/boxed-expression/arithmetic-add.ts:201
↓ 59 callersMethodclone
(value: number | BigDecimal | NumericValueData)
src/compute-engine/numeric-value/machine-numeric-value.ts:106
↓ 59 callersFunctionparseTrig
* Trigonometric functions have some special conventions that require a * custom parser: they can be followed by a "-1" superscript indicating * that
src/compute-engine/latex-syntax/dictionary/definitions-trigonometry.ts:16
↓ 58 callersFunctiontoInteger
(expr: Expression | undefined)
src/compute-engine/boxed-expression/numerics.ts:186
↓ 57 callersFunctioncheck
(s: string, f: jest.ProvidesCallback)
test/compute-engine/latex-syntax/errors.test.ts:7
↓ 56 callersMethodatan
Inverse tangent (arctangent).
src/big-decimal/transcendentals.ts:48
↓ 55 callersFunctioncheckPower
( input: string, priorForms: CanonicalForm[] = ['Number'] )
test/compute-engine/canonical-form.test.ts:267
↓ 55 callersMethodstring
(s: string, metadata?: Metadata)
src/compute-engine/types-engine.ts:340
↓ 55 callersFunctionw
(s = '')
benchmarks/report_marketing.mjs:95
↓ 54 callersMethodcomplex
Create a complex number. * The return value is an object with methods to perform arithmetic * operations: * - `re` (real part, as a JavaScrip
src/compute-engine/index.ts:964
↓ 53 callersMethodisGreater
* The value of both expressions are compared. * * If the expressions cannot be compared, return `undefined` * @category Relational Operator
src/compute-engine/types-expression.ts:1517
↓ 52 callersFunctionparse
(s: string)
test/compute-engine/latex-syntax/calculus.test.ts:3
↓ 51 callersMethodfrom
(expr: Expression)
src/compute-engine/boxed-expression/arithmetic-mul-div.ts:70
↓ 50 callersMethodcreateNode
( kind: string, additional: Partial<T> = {} )
src/common/type/parser.ts:224
↓ 50 callersFunctiongetInequalityBoundsFromAssumptions
( ce: ComputeEngine, subject: string | Subject )
src/compute-engine/boxed-expression/inequality-bounds.ts:173
↓ 50 callersFunctionpolynomialDegree
(expr: Expression, variable: string)
src/compute-engine/boxed-expression/polynomials.ts:147
↓ 49 callersMethodfloor
* Round toward -Infinity. * `3.7` → `3`, `-3.7` → `-4`. * For integers returns this. NaN/Infinity → return this.
src/big-decimal/big-decimal.ts:621
↓ 49 callersFunctionrealNum
real machine value of an expression, or null if not a real number
src/compute-engine/rubi/rubi-utils.ts:115
↓ 49 callersMethodtan
Tangent. Returns NaN for NaN/Infinity inputs.
src/big-decimal/transcendentals.ts:42
↓ 48 callersMethodlookupDefinition
(id: MathJsonSymbol)
src/compute-engine/types-engine.ts:473
↓ 48 callersMethodnextToken
Return the next token and advance the index
src/compute-engine/latex-syntax/types.ts:908
↓ 48 callersMethodparseGroup
* Parse an expression in a LaTeX group enclosed in curly brackets `{}`. * These are often used as arguments to LaTeX commands, for example * `\f
src/compute-engine/latex-syntax/types.ts:975
↓ 47 callersFunctioncond
(json: Json)
test/compute-engine/rubi-utils.test.ts:42
↓ 47 callersFunctionpow10
(n: number)
src/big-decimal/utils.ts:34
↓ 47 callersMethodskipTo
(offset: number)
src/point-free-parser/parsers.ts:140
↓ 46 callersMethodceil
()
src/compute-engine/numeric-value/big-numeric-value.ts:657
↓ 46 callersMethodround
* Round half away from zero (standard math rounding). * `3.5` → `4`, `-3.5` → `-4`, `3.4` → `3`, `3.6` → `4`. * For integers returns this. NaN/I
src/big-decimal/big-decimal.ts:657
↓ 45 callersFunctioncheck
(arg: string | Expression)
test/compute-engine/latex-syntax/sequences.test.ts:4
↓ 45 callersMethodconsume
()
src/common/buffer.ts:18
↓ 45 callersMethodvalues
()
src/compute-engine/types-expression.ts:2280
↓ 44 callersFunctioninvalidCortex
(s: string)
test/utils.ts:337
↓ 44 callersFunctionshouldNumericize
( numericApproximation: boolean | undefined, ...ops: ReadonlyArray<Expression | undefined | null> )
src/compute-engine/boxed-expression/apply.ts:82
↓ 43 callersFunctionD
(expr: string, ...vars: string[])
test/compute-engine/derivatives.test.ts:11
↓ 43 callersMethodadvance
()
src/common/type/parser.ts:203
↓ 43 callersMethodexplain
* Return a structured, step-by-step explanation of an operation applied * to this expression: the textbook chain *expression → step (with a * re
src/compute-engine/types-expression.ts:1717
↓ 43 callersFunctionloadIdentities
( ce: IComputeEngine, options: FungrimLoadOptions = {} )
src/compute-engine/fungrim/loader.ts:672
↓ 43 callersMethodlt
(other: number | NumericValue)
src/compute-engine/numeric-value/big-numeric-value.ts:680
↓ 43 callersMethodmatch
(token: LatexToken)
src/compute-engine/latex-syntax/parse.ts:963
↓ 43 callersFunctionparseVal
parseVal checks that the result is a numericValue (or an integer)
test/compute-engine/latex-syntax/numbers.test.ts:10
↓ 43 callersMethodrule
Define a new rule or a rule description
src/point-free-parser/grammar.ts:98
↓ 43 callersFunctionvalidateSymbol
( s: unknown )
src/math-json/symbols.ts:97
↓ 42 callersMethodcmp
* Compare this value with another. * Returns -1 if this < other, 0 if equal, 1 if this > other, NaN if either is NaN.
src/big-decimal/big-decimal.ts:239
↓ 42 callersFunctionwithPrecision
(prec: number, fn: () => T)
test/big-decimal/comprehensive-benchmark.ts:86
↓ 41 callersMethodasin
Inverse sine (arcsine). Returns NaN for |x| > 1.
src/big-decimal/transcendentals.ts:44
↓ 41 callersFunctionparse
(s: string)
test/compute-engine/latex-syntax/numbers.test.ts:5
↓ 41 callersMethodroot
Exponentiation
src/compute-engine/types-expression.ts:1128
↓ 41 callersFunctionwithPrecision
(prec: number, fn: () => T)
test/big-decimal/precision-comparison.test.ts:53
↓ 40 callersFunctionapply
( expr: Expression, fn: (x: number) => number | Complex, bigFn?: (x: BigDecimal) => BigDecimal | Complex
src/compute-engine/boxed-expression/apply.ts:90
↓ 40 callersFunctionexpand
(expr: Expression)
src/compute-engine/boxed-expression/expand.ts:198
↓ 40 callersFunctiongetPolynomialCoefficients
( expr: Expression, variable: string )
src/compute-engine/boxed-expression/polynomials.ts:214
↓ 40 callersMethodisInteger
True when the value represents a mathematical integer (exponent >= 0) and is finite.
src/big-decimal/big-decimal.ts:219
↓ 40 callersMethodpeek
()
src/common/buffer.ts:14
↓ 40 callersMethodskipVisualSpace
Skip over "visual space" which includes space tokens, empty groups `{}`, and commands such as `\,` and `\!`
src/compute-engine/latex-syntax/types.ts:946
↓ 39 callersMethodcbrt
Cube root. Supports negative values.
src/big-decimal/transcendentals.ts:30
↓ 39 callersMethodceil
* Round toward +Infinity. * `3.2` → `4`, `-3.2` → `-3`. * For integers returns this. NaN/Infinity → return this.
src/big-decimal/big-decimal.ts:639
↓ 39 callersFunctioncheck
(name: string, cond: boolean, detail = '')
docs/reviews/2026-07-archive/round2-gate.ts:8
↓ 39 callersMethodgetCompilationTarget
@internal Get a registered compilation target by name.
src/compute-engine/types-engine.ts:302
↓ 39 callersFunctiongetFactIndex
(ce: ComputeEngine)
src/compute-engine/boxed-expression/constraint-subject.ts:373
↓ 38 callersFunctionev
(e: any)
test/compute-engine/distributions.test.ts:408
↓ 38 callersFunctionfromRaw
(sig: bigint, exp: number)
src/big-decimal/big-decimal.ts:1395
↓ 38 callersFunctionisValueDef
( def: BoxedDefinition | undefined )
src/compute-engine/boxed-expression/utils.ts:405
↓ 38 callersFunctionmul
(...xs: ReadonlyArray<Expression>)
src/compute-engine/boxed-expression/arithmetic-mul-div.ts:1310
↓ 37 callersFunctionbenchmark
(fn: () => any, iterations: number)
test/compute-engine/compile-performance.test.ts:27
↓ 37 callersMethodcreateToken
(type: TokenType, value: string)
src/common/type/lexer.ts:234
← previousnext →101–200 of 5,294, ranked by callers