Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ functions
Functions
5,294 in github.com/cortex-js/compute-engine
⨍
Functions
5,294
◇
Types & classes
304
↓ 3 callers
Function
approximateDigitCount
* Approximate digit count of `m`'s magnitude in the given `base`, derived * from the cheap bit-length estimate above. Used as a pre-check — before *
src/compute-engine/library/number-theory.ts:39
↓ 3 callers
Function
areCompatibleUnits
(a: string, b: string)
src/compute-engine/numerics/unit-data.ts:320
↓ 3 callers
Method
asConstant
Constant value if this is a constant polynomial, else `undefined`.
src/compute-engine/boxed-expression/multivariate-poly.ts:67
↓ 3 callers
Function
asNumber
* Convert a raw tensor storage value to a JS number. * * `tensor.tensor.at()` (AbstractTensor.at) returns raw storage values * whose type depends o
src/compute-engine/library/linear-algebra.ts:2288
↓ 3 callers
Method
assign
( arg1: string | { [id: string]: AssignValue }, arg2?: AssignValue )
src/compute-engine/index.ts:1522
↓ 3 callers
Function
assumeInteger
(declared: string)
test/compute-engine/type-soundness-regressions.test.ts:43
↓ 3 callers
Function
atPrecision
Run `fn` at a temporarily raised precision, restoring afterwards.
test/big-decimal/elementary-completeness.test.ts:15
↓ 3 callers
Function
atanh
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:422
↓ 3 callers
Function
baseEventuallyPositive
( base: Expression, x: string, ce: ComputeEngine )
src/compute-engine/symbolic/limit.ts:914
↓ 3 callers
Function
basicIndexedCollectionHandlers
()
src/compute-engine/collection-utils.ts:192
↓ 3 callers
Function
bestOf
* Select the expression with the lowest cost from a list of candidates.
src/compute-engine/symbolic/fu.ts:60
↓ 3 callers
Function
bgcd
(a: bigint, b: bigint)
src/compute-engine/boxed-expression/diophantine.ts:70
↓ 3 callers
Function
bigKurtosis
(values: Iterable<BigDecimal>)
src/compute-engine/numerics/statistics.ts:149
↓ 3 callers
Function
bigOp
( expr: Expression, op: string, serialize: AsciiMathSerializer )
src/compute-engine/boxed-expression/ascii-math.ts:425
↓ 3 callers
Function
bigPopulationVariance
( values: Iterable<BigDecimal> )
src/compute-engine/numerics/statistics.ts:83
↓ 3 callers
Function
bigSqrtSeed
* Seed for an integer square root of `n`: a value within a few bits of * sqrt(n). Uses a float64 sqrt directly when `n` fits in a double, else * ext
src/big-decimal/utils.ts:126
↓ 3 callers
Function
bigVariance
(values: Iterable<BigDecimal>)
src/compute-engine/numerics/statistics.ts:55
↓ 3 callers
Function
bigintSign
(n: bigint)
src/big-decimal/utils.ts:191
↓ 3 callers
Function
blcm
(a: bigint, b: bigint)
src/compute-engine/boxed-expression/diophantine.ts:77
↓ 3 callers
Method
boundaryError
( msg: string | [string, ...MathJsonExpression[]] )
src/compute-engine/latex-syntax/parse.ts:635
↓ 3 callers
Function
boxDomain
(b: F, extent: number)
test/compute-engine/compile-interval-glsl.test.ts:402
↓ 3 callers
Function
boxFunction
( ce: ComputeEngine, name: MathJsonSymbol, ops: readonly ExpressionInput[], options?: { metadata?:
src/compute-engine/boxed-expression/box.ts:186
↓ 3 callers
Function
boxMachineNumber
* Box a kernel result that is a plain JS double. * * In an engine working above machine precision, a plain-double result means * it was computed at
src/compute-engine/boxed-expression/apply.ts:27
↓ 3 callers
Function
bruteForcePell
( D: bigint, N: bigint, bound: bigint = 1000n )
src/compute-engine/numerics/diophantine.ts:1142
↓ 3 callers
Function
build
()
benchmarks/gen_cases.py:286
↓ 3 callers
Function
cancelCommonFactors
( expr: Expression, variable: string )
src/compute-engine/boxed-expression/polynomials.ts:764
↓ 3 callers
Function
cancellationLoss
* Number of leading decimal digits lost to cancellation for an O(1) * fixed-point magnitude `fp / 2^bits` that is much smaller than 1 — i.e. how * m
src/big-decimal/transcendentals.ts:212
↓ 3 callers
Function
canonicalAngle
( x: Expression | undefined )
src/compute-engine/boxed-expression/utils.ts:185
↓ 3 callers
Function
carlsonRJ
(x: number, y: number, z: number, p: number)
src/compute-engine/numerics/special-functions.ts:3447
↓ 3 callers
Function
carlsonRJComplex
( x: Complex, y: Complex, z: Complex, p: Complex )
src/compute-engine/numerics/numeric-complex.ts:390
↓ 3 callers
Function
casesOf
(cat)
benchmarks/report.mjs:306
↓ 3 callers
Function
cell
(side: any)
benchmarks/audit/audit.ts:278
↓ 3 callers
Function
checkTypes
( ce: ComputeEngine, args: ReadonlyArray<Expression>, types: Type[] )
src/compute-engine/boxed-expression/validate.ts:274
↓ 3 callers
Method
choice
(...inBlocks: (string | FormattingBlock)[])
src/cortex/formatter.ts:476
↓ 3 callers
Function
clamp
( x: Interval | IntervalResult, lo: Interval | IntervalResult, hi: Interval | IntervalResult )
src/compute-engine/interval/comparison.ts:210
↓ 3 callers
Function
classify
(c: any, res: any)
benchmarks/audit/audit.ts:207
↓ 3 callers
Method
cleanExpansionResult
Clean the exponential-fallback antiderivative: collect like terms via a * bounded simplify (the raw expansion repeats `c·x` once per exponential
src/compute-engine/rubi/driver.ts:752
↓ 3 callers
Method
clone
()
src/compute-engine/boxed-expression/multivariate-poly.ts:54
↓ 3 callers
Function
close
(a: [number, number], b: [number, number])
test/compute-engine/branch-cut-safe.test.ts:27
↓ 3 callers
Function
codeBlock
(content)
plugins/grok-theme/index.mjs:1416
↓ 3 callers
Function
coefficientWithoutPowerOfX
( coefficient: Expression, independentName: string, power: number )
src/compute-engine/symbolic/differential-equations.ts:1257
↓ 3 callers
Function
collect
(x: unknown)
test/compute-engine/fungrim-compile.test.ts:828
↓ 3 callers
Function
collectDerivativeTerms
( residual: Expression, dependentName: string, independentName: string )
src/compute-engine/symbolic/differential-equations.ts:327
↓ 3 callers
Function
collectLinearTerms
( residual: Expression, dependentName: string, independentName: string )
src/compute-engine/symbolic/differential-equations.ts:145
↓ 3 callers
Function
collectSymbols
( expr: Expression, symbols = new Set<string>() )
src/compute-engine/symbolic/differential-equations.ts:227
↓ 3 callers
Function
collectSymbols
All symbol-position strings appearing in a MathJSON tree.
src/compute-engine/fungrim/loader.ts:85
↓ 3 callers
Function
collectWildcards
All wildcard symbols (`_…`) appearing in a MathJSON tree.
src/compute-engine/fungrim/loader.ts:75
↓ 3 callers
Function
colorExprToOklch
* Convert a typed color expression to an `OklchColor`, preserving wide-gamut * components for Oklab/Oklch inputs (no sRGB pinch point). Returns `null
src/compute-engine/library/colors.ts:165
↓ 3 callers
Function
compileGuards
( assumptions: MathJSON, variables: ReadonlyArray<string> )
scripts/fungrim/compile-rules.ts:279
↓ 3 callers
Method
compileLambda
* Create a lambda function from an expression * * @param expr - The expression to compile * @param parameters - Parameter names
src/compute-engine/compilation/python-target.ts:687
↓ 3 callers
Function
complexAt
( expr: BoxedExpression, x: string, value: number | C )
scripts/rubi/benchmark.ts:133
↓ 3 callers
Function
componentExpr
( rational: Rational, radical: number )
src/compute-engine/boxed-expression/serialize.ts:692
↓ 3 callers
Function
componentToExpression
Serialize one exact component `rational · √radical` to MathJSON (the * shapes historically produced by `ExactNumericValue.toJSON()` for real * value
src/compute-engine/numeric-value/exact-numeric-value.ts:1486
↓ 3 callers
Function
componentToString
String form of one exact component `rational · √radical` (the shapes * historically produced by `ExactNumericValue.toString()` for real values).
src/compute-engine/numeric-value/exact-numeric-value.ts:1456
↓ 3 callers
Function
computeBernoulliEven
( n: number, deadline?: number )
src/compute-engine/numerics/special-functions.ts:691
↓ 3 callers
Function
computeNullSpaceBasis
* Return a basis of the null space of A as row vectors.
src/compute-engine/library/linear-algebra.ts:2407
↓ 3 callers
Function
conditionValue
* Evaluate a condition predicate at a concrete value. Returns `true`/`false` * for a decided boolean, `undefined` when it does not reduce to a boolea
src/compute-engine/boxed-expression/solve-domain.ts:956
↓ 3 callers
Function
conj
(a: Complex, b: Complex)
src/compute-engine/numerics/numeric-complex.ts:404
↓ 3 callers
Function
constructibleValues
( operator: string, x: Expression | undefined )
src/compute-engine/boxed-expression/trigonometry.ts:682
↓ 3 callers
Function
containsSelfReference
( expr: Expression, seqName: string )
src/compute-engine/sequence.ts:652
↓ 3 callers
Function
convertUnit
( value: number, fromUnit: string, toUnit: string )
src/compute-engine/numerics/unit-data.ts:379
↓ 3 callers
Function
correctDigits
Derive the number of correct significant digits from relative error.
test/big-decimal/comprehensive-benchmark.ts:80
↓ 3 callers
Function
countBy
(xs: ReadonlyArray<T>, key: (x: T) => string)
scripts/fungrim/apply-solve-templates.ts:299
↓ 3 callers
Function
countVariables
(e: Expression)
src/compute-engine/boxed-expression/solve-linear-system.ts:36
↓ 3 callers
Function
createErrorExpression
( engine: ValidationHost, message: string | string[], where?: string )
src/compute-engine/engine-validation-entrypoints.ts:18
↓ 3 callers
Function
ddDivD
(a: DD, b: number)
src/compute-engine/numerics/special-functions.ts:2229
↓ 3 callers
Function
ddMulD
(a: DD, b: number)
src/compute-engine/numerics/special-functions.ts:2224
↓ 3 callers
Function
declareSyntheticHeads
( ce: ComputeEngine, headCount: number = SYNTHETIC_HEAD_COUNT )
test/compute-engine/rule-dispatch-corpus.ts:271
↓ 3 callers
Function
dedupePairsLocal
(pairs: [bigint, bigint][])
test/compute-engine/diophantine.test.ts:379
↓ 3 callers
Function
deterministicRandom
(seed: number)
src/compute-engine/numerics/random.ts:15
↓ 3 callers
Function
dictEngine
()
test/compute-engine/parser-component-access.test.ts:124
↓ 3 callers
Function
dictionaryFromEntries
( dict: Record<string, MathJsonExpression> )
src/math-json/utils.ts:252
↓ 3 callers
Function
digamma
(x: number)
src/compute-engine/numerics/special-functions.ts:1428
↓ 3 callers
Function
digitsCorrect
* Number of correct significant digits of `actual` against the 60-digit * reference `ref` (via the relative error, computed in BigDecimal).
test/compute-engine/internals/special-functions-bignum.test.ts:61
↓ 3 callers
Function
div
(num: Expression, denom: number | Expression)
src/compute-engine/boxed-expression/arithmetic-mul-div.ts:890
↓ 3 callers
Method
divExactInteger
Divide every coefficient by `d` exactly (throws if any is not divisible).
src/compute-engine/boxed-expression/multivariate-poly.ts:150
↓ 3 callers
Function
domainToType
(expr: Expression)
src/compute-engine/boxed-expression/utils.ts:154
↓ 3 callers
Function
dot
* Dot product of two vectors
src/compute-engine/library/linear-algebra.ts:2157
↓ 3 callers
Function
durandKernerRoots
( coeffs: number[], deadline?: number )
src/compute-engine/numerics/polynomial-roots.ts:12
↓ 3 callers
Function
either
* Any of the passed expresssions may match * * Creates a huge this | this | that | that match * @param {(RegExp | string)[] } args * @returns {str
src/cortex/highlight-js-mode.js:36
↓ 3 callers
Function
empty
(a: number[])
test/compute-engine/compile-interval-glsl.test.ts:103
↓ 3 callers
Function
entryFields
Read optional union-member fields off an entry without narrowing on `kind`.
src/compute-engine/latex-syntax/dictionary/definitions.ts:78
↓ 3 callers
Function
enumerateInteger2
* Tight enclosure of an integer-valued binary function over the integer grid * spanned by two intervals, by enumerating every grid point. Returns `nu
src/compute-engine/interval/elementary.ts:911
↓ 3 callers
Function
erf
(x: number)
src/compute-engine/numerics/special-functions.ts:415
↓ 3 callers
Method
err
(error: string | Error)
src/common/result.ts:45
↓ 3 callers
Method
errorAtToken
(token: Token, message: string, suggestion?: string)
src/common/type/parser.ts:176
↓ 3 callers
Function
escapeChars
(str)
plugins/grok-theme/index.mjs:1374
↓ 3 callers
Function
evalDeriv
(z: Complex)
src/compute-engine/symbolic/antiderivative.ts:2206
↓ 3 callers
Function
evalVarModP
(a: MPoly, i: number, value: bigint, p: bigint)
src/compute-engine/boxed-expression/multivariate-gcd.ts:397
↓ 3 callers
Function
evaluateStatements
( ce: ComputeEngine, ops: Iterable<Expression> )
src/compute-engine/function-utils.ts:312
↓ 3 callers
Function
exactMean
(ce: ComputeEngine, vals: Expression[])
src/compute-engine/library/statistics.ts:704
↓ 3 callers
Function
expandProducts
( ce: ComputeEngine, ops: ReadonlyArray<Expression> )
src/compute-engine/boxed-expression/arithmetic-mul-div.ts:1280
↓ 3 callers
Method
expectChar
(expected: string)
src/common/json5.ts:299
↓ 3 callers
Function
expectNoLinearSolution
(a: bigint[], c: bigint)
test/compute-engine/diophantine.test.ts:235
↓ 3 callers
Function
explainExpression
( expr: Expression, operation: ExplainOperation = 'simplify', options?: ExplainOptions )
src/compute-engine/boxed-expression/explain.ts:48
↓ 3 callers
Function
expression
( s: string, i: number )
src/math-json/parse-sympy.ts:355
↓ 3 callers
Function
expressionError
(latex: string)
test/utils.ts:259
↓ 3 callers
Function
extGcd
* Extended Euclidean algorithm: returns `[g, x, y]` with `a·x + b·y = g`, * where `g = gcd(a, b)` (its sign follows `a`/`b`; callers that need a * n
src/compute-engine/library/number-theory.ts:1153
↓ 3 callers
Function
extendedGcd
( a: bigint, b: bigint )
src/compute-engine/numerics/diophantine.ts:151
↓ 3 callers
Function
extractConstantTerm
* Extract the constant term (terms not containing any of the variables).
src/compute-engine/boxed-expression/solve-linear-system.ts:280
← previous
next →
1,401–1,500 of 5,294, ranked by callers