MCPcopy Create free account

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

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

↓ 1 callersFunctionreduceIntersectionType
(type: AlgebraicType)
src/common/type/reduce.ts:341
↓ 1 callersFunctionreduceListType
(type: ListType)
src/common/type/reduce.ts:382
↓ 1 callersFunctionreduceMembers
* Reduce and structurally de-duplicate the member types of an algebraic * type. The key of each member is computed once (a string for primitive * ty
src/common/type/reduce.ts:120
↓ 1 callersFunctionreduceMonomialOverSqrtQuadratic
* ∫ xᵐ/√(c + d·x²) dx (no linear term) via the reduction * Iₘ = xᵐ⁻¹·√Q/(m·d) − ((m−1)·c/(m·d))·Iₘ₋₂, * with base cases I₀ = ∫1/√Q (closed form) a
src/compute-engine/symbolic/antiderivative.ts:2550
↓ 1 callersFunctionreduceNegationType
(type: NegationType)
src/common/type/reduce.ts:134
↓ 1 callersFunctionreduceRecordType
(type: RecordType)
src/common/type/reduce.ts:453
↓ 1 callersFunctionreduceSameBasePower
* Reduce a same-base power difference `cᵃ − cᵇ = 0` to `a − b = 0`: the * exponents must be equal because `x ↦ cˣ` is injective for a positive consta
src/compute-engine/boxed-expression/solve.ts:1661
↓ 1 callersFunctionreduceSetType
(type: SetType)
src/common/type/reduce.ts:411
↓ 1 callersFunctionreduceSignatureType
(type: FunctionSignature)
src/common/type/reduce.ts:486
↓ 1 callersFunctionreduceTrigPeriodicity
* Reduce trigonometric functions by their periodicity. * * For sin/cos/sec/csc (period 2π): reduce coefficient of π modulo 2 * For tan/cot (period
src/compute-engine/symbolic/simplify-trig.ts:140
↓ 1 callersFunctionreduceTupleType
(type: TupleType)
src/common/type/reduce.ts:429
↓ 1 callersFunctionrefRounded
Reference rounded to `p` significant digits.
test/big-decimal/ln-direct.test.ts:59
↓ 1 callersFunctionrefRounded
* Return the reference rounded to `p` significant digits, as a decimal string * comparable to BigDecimal.toString() (drop trailing zeros of the refer
test/big-decimal/exp-reduction.test.ts:46
↓ 1 callersFunctionrefSamples
(c: Case)
benchmarks/audit/wester.ts:206
↓ 1 callersFunctionreferencesCompatHead
(formula: MathJSON)
scripts/fungrim/compile-rules.ts:1357
↓ 1 callersFunctionreferencesOf
(e: Entry)
scripts/fungrim/gen-reference-doc.ts:266
↓ 1 callersFunctionrefineTypeIfUnknown
* Narrow the type of `symbol` to `type` only when its current type is * unknown, or inferred and `type` actually narrows it. Never widens, and * nev
src/compute-engine/assume.ts:1135
↓ 1 callersFunctionrefineTypesFromIntegerSlots
* For variables that have no `Element` conjunct (e.g. AsymptoticTo entries * with null assumptions), refine `complex` to `integer` when the variable
scripts/fungrim/load.ts:226
↓ 1 callersMethodregisterDefaults
()
src/compute-engine/engine-compilation-targets.ts:43
↓ 1 callersFunctionregisterSequence
* Register a sequence in the registry for introspection.
src/compute-engine/sequence.ts:74
↓ 1 callersFunctionreliableLimitSamples
* Probe the geometric sample ladder that `extrapolate()` uses for a numeric * limit and report how many leading samples are *trustworthy*. * * Retu
src/compute-engine/numerics/numeric.ts:298
↓ 1 callersFunctionremDenseModP
Remainder of a / b for dense univariate polynomials over ℤ_p.
src/compute-engine/boxed-expression/multivariate-gcd.ts:324
↓ 1 callersFunctionremoveDuplicatePoints
* Remove duplicate points (within tolerance)
src/compute-engine/boxed-expression/solve-linear-system.ts:1280
↓ 1 callersFunctionrenderBlockquote
(block: TaggedBlockQuote)
src/common/markdown-block.ts:361
↓ 1 callersFunctionrenderCodeBlock
(block: TaggedCodeBlock)
src/common/markdown-block.ts:368
↓ 1 callersFunctionrenderEntry
Render one identity entry into `lines`.
scripts/fungrim/gen-reference-doc.ts:279
↓ 1 callersFunctionrenderHeading
(block: TaggedHeading)
src/common/markdown-block.ts:328
↓ 1 callersFunctionrenderMarkdownBlock
(blocks: TaggedBlock[])
src/common/markdown-block.ts:388
↓ 1 callersFunctionrenderParagraph
(block: TaggedParagraph)
src/common/markdown-block.ts:321
↓ 1 callersMethodrenderSpan
(span: StyledSpan)
src/common/terminal.ts:196
↓ 1 callersFunctionreorderSeriesTerms
* Reorder the operands of a top-level `Add` into textbook series order when * (and only when) they include a `BigO` remainder term: * * - ascendi
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:294
↓ 1 callersFunctionrepairTerminalWrapping
(lines)
benchmarks/wester/extract.mjs:56
↓ 1 callersFunctionrepeat
( value: Expression, count?: number )
src/compute-engine/collection-utils.ts:20
↓ 1 callersFunctionreplaceFirst
Replace the first (pre-order) subexpression of `e` that is `isSame` as * `needle` with `replacement`. Returns `null` when `needle` does not occur.
src/compute-engine/symbolic/explain-derivative.ts:91
↓ 1 callersFunctionrequiredFeatures
The features (named heads/symbols) that must appear somewhere in any * expression the pattern can match with `useVariations: false`.
src/compute-engine/fungrim/loader.ts:544
↓ 1 callersFunctionrequiredHeads
(pat: Pat)
src/compute-engine/rubi/compile.ts:136
↓ 1 callersFunctionresN
(f: any, v: string, a: any)
test/compute-engine/residue.test.ts:10
↓ 1 callersFunctionresetCommonSymbols
(commonSymbols: CommonSymbolTable)
src/compute-engine/engine-common-symbols.ts:31
↓ 1 callersFunctionresidue
( body: Expression, varName: string, point: Expression, ce: ComputeEngine )
src/compute-engine/symbolic/residue.ts:49
↓ 1 callersFunctionresolve
(name: string)
src/compute-engine/compilation/gpu-target.ts:3233
↓ 1 callersFunctionresolveBootstrapLibraries
( libraries?: readonly (string | LibraryDefinition)[] )
src/compute-engine/engine-library-bootstrap.ts:27
↓ 1 callersFunctionresolveTypeReference
( scope: ResolverScope, name: string )
src/compute-engine/engine-type-resolver.ts:24
↓ 1 callersMethodresultToJSON
(result: Result<T>)
src/common/result.ts:89
↓ 1 callersMethodresultToString
(result: Result<T>)
src/common/result.ts:81
↓ 1 callersFunctionresultantRec
Recursive core of {@link polynomialResultant}. Returns `null` (not a * polynomial) so the public wrapper can map it to `undefined`.
src/compute-engine/boxed-expression/polynomials.ts:571
↓ 1 callersFunctionreverse
* Build the reverse fancy Unicode table from the FANCY_UNICODE table
src/point-free-parser/characters.ts:540
↓ 1 callersFunctionrewriteUpperHalfPlane
* Render the upper half-plane membership `Element(x, HH)` as the explicit part * predicate `Im(x) > 0` — the form the engine actually guards on and t
scripts/fungrim/gen-reference-doc.ts:208
↓ 1 callersFunctionrgbToHex
Convert an RgbColor (0-255) to a hex string (#rrggbb or #rrggbbaa).
src/compute-engine/library/colors.ts:290
↓ 1 callersFunctionrk4
( f: (x: number, y: number) => number, x0: number, y0: number, x1: number, options: RK4Options )
src/compute-engine/numerics/differential-equations.ts:15
↓ 1 callersFunctionrk4System
( f: (x: number, y: readonly number[]) => readonly number[] | undefined, x0: number, y0: readonly number
src/compute-engine/numerics/differential-equations.ts:59
↓ 1 callersFunctionrnd
()
test/compute-engine/comparison-assumptions-regressions.test.ts:68
↓ 1 callersMethodroot
(exp: number | Expression)
src/compute-engine/boxed-expression/boxed-function.ts:835
↓ 1 callersMethodroot
(exponent: number)
src/compute-engine/numeric-value/exact-numeric-value.ts:955
↓ 1 callersFunctionrootMultiplicity
( polynomial: Expression, variable: string, root: Expression, maxMultiplicity: number )
src/compute-engine/symbolic/differential-equations.ts:692
↓ 1 callersMethodround
()
src/compute-engine/numeric-value/exact-numeric-value.ts:1187
↓ 1 callersFunctionroundEstimateToError
* Rounds the error to 2 significant digits, and rounds the estimate * to the same decimal place as the error. * Returns an object with the rounded e
src/compute-engine/numerics/monte-carlo.ts:31
↓ 1 callersFunctionroundStep
* Sound enclosure of a step-rounding function on an interval, given its * point-rounding rule. If both endpoints round to the same integer the functi
src/compute-engine/interval/elementary.ts:465
↓ 1 callersFunctionroundToSignificantDigits
* Round a numeric result to `p` significant digits at the *value* level, so * the returned number genuinely carries `p` digits (independent of whatev
src/compute-engine/library/core.ts:1711
↓ 1 callersFunctionrt
(u: Json, n: number)
test/compute-engine/rubi-utils.test.ts:187
↓ 1 callersFunctionrtAuxBody
(u: Expression, n: number)
src/compute-engine/rubi/rubi-utils.ts:1388
↓ 1 callersFunctionrtFactors
flatten Multiply/Divide/Negate into a factor list (denominator factors * become synthetic Power(f, −1) so the RtAux power/odd-exponent logic * sees
src/compute-engine/rubi/rubi-utils.ts:1286
↓ 1 callersMethodrules
( rules: | Rule | ReadonlyArray<Rule | BoxedRule> | BoxedRuleSet | undefined
src/compute-engine/index.ts:1850
↓ 1 callersFunctionrunCE
(c: any)
benchmarks/audit/audit.ts:82
↓ 1 callersFunctionrunCase
(ce, kase)
benchmarks/runners/run_ce_rubi.mjs:171
↓ 1 callersFunctionrunCeWarmBatch
()
benchmarks/report.mjs:244
↓ 1 callersFunctionrunCell
(cmd, argsTemplate, prec)
benchmarks/big-decimal/run-ops.mjs:40
↓ 1 callersFunctionrunExp
()
benchmarks/big-decimal/kernel-base2-experiment.ts:345
↓ 1 callersFunctionrunLoopLegacy
( body: Expression, collection: Expression, ce: ComputeEngine )
src/compute-engine/library/control-structures.ts:457
↓ 1 callersFunctionrunLoopNested
* Recursive nested iteration over Element clauses, producing a flat list of * body evaluations. Stops early on Break/Return by mutating `state.stoppe
src/compute-engine/library/control-structures.ts:388
↓ 1 callersFunctionrunOne
(tool, kase)
benchmarks/report.mjs:202
↓ 1 callersFunctionrunProblem
( p: Problem, seed: number, rubi?: { ce: ComputeEngine; driver: RubiDriver } )
scripts/rubi/benchmark.ts:196
↓ 1 callersFunctionrunSinCos
()
benchmarks/big-decimal/kernel-base2-experiment.ts:379
↓ 1 callersFunctionrunStage1
( corpus: Corpus, filter: (e: Entry) => boolean )
scripts/fungrim/box-check.ts:118
↓ 1 callersFunctionrunStage2
( corpus: Corpus, filter: (e: Entry) => boolean, seed: number, onProgress?: (done: number, total: numb
scripts/fungrim/numeric-check.ts:334
↓ 1 callersFunctionrunSymPy
Grade SymPy's precomputed outcome the same way (its roots are real numeric, * sourced from solve()/mpmath — trusted sound).
benchmarks/audit/solve.ts:104
↓ 1 callersFunctionrunSymPy
()
benchmarks/audit/wester.ts:307
↓ 1 callersFunctionrunSymPyAll
()
benchmarks/audit/audit.ts:137
↓ 1 callersFunctionrunWolfram
()
benchmarks/audit/wester.ts:328
↓ 1 callersFunctionrunWolframAll
()
benchmarks/audit/solve.ts:117
↓ 1 callersFunctionrunWolframAll
()
benchmarks/audit/audit.ts:154
↓ 1 callersFunctionrun_benchmarks
Run all benchmarks and display results
benchmarks/python-performance.py:89
↓ 1 callersFunctionrun_numpy
()
benchmarks/runners/run_py.py:180
↓ 1 callersFunctionrun_sympy
()
benchmarks/runners/run_py.py:73
↓ 1 callersFunctionsampleTrueRange
( f: (v: { x: number; y: number }) => number, xb: IV, yb: IV )
test/compute-engine/compile-interval-glsl.test.ts:247
↓ 1 callersFunctionsatisfiesConstraint
* Check if a point satisfies a constraint.
src/compute-engine/boxed-expression/solve-linear-system.ts:1262
↓ 1 callersMethodscalarConditionTarget
* Create a target that compiles conditions as plain JS booleans. * Used inside `compileLoopBody` so that `if (cond)` gets a real boolean, * not
src/compute-engine/compilation/base-compiler.ts:967
↓ 1 callersFunctionscaleTensor
Scale every element of a vector or matrix `tensor` by the scalar `scalar`.
src/compute-engine/boxed-expression/arithmetic-mul-div.ts:1405
↓ 1 callersFunctionscan
(node: Expression)
src/compute-engine/boxed-expression/solve.ts:912
↓ 1 callersFunctionsech
(x: Interval | IntervalResult)
src/compute-engine/interval/trigonometric.ts:528
↓ 1 callersFunctionsecondOrderConstantCoefficientBasis
( equation: Expression, dependentName: string, independentName: string )
src/compute-engine/symbolic/differential-equations.ts:1024
↓ 1 callersFunctionselfTest
( ce: ComputeEngine, e: Entry, matchW: MathJSON, replaceW: MathJSON, guards: ReadonlyArray<GuardSpec
scripts/fungrim/compile-rules.ts:965
↓ 1 callersFunctionselfTestScoped
( ce: ComputeEngine, e: Entry, matchW: MathJSON, replaceW: MathJSON, guards: ReadonlyArray<GuardSpec
scripts/fungrim/compile-rules.ts:992
↓ 1 callersFunctionselfTestSolveTemplate
( match: MathJSON, replace: MathJSON, innerA: MathJSON )
scripts/fungrim/apply-solve-templates.ts:152
↓ 1 callersFunctionserializeBaseForm
(expr: Expression)
src/math-json/serialize-sympy.ts:4
↓ 1 callersFunctionserializeComment
(expr: MathJsonExpression)
src/cortex/serialize-cortex.ts:161
↓ 1 callersFunctionserializeFraction
( serializer: Serializer, expr: MathJsonExpression | null )
src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts:859
↓ 1 callersFunctionserializeFunction
(expr: MathJsonExpression)
src/cortex/serialize-cortex.ts:337
↓ 1 callersFunctionserializeFunction
(expr: Expression)
src/math-json/serialize-sympy.ts:53
↓ 1 callersMethodserializeFunction
( expr: MathJsonExpression, def?: IndexedLatexDictionaryEntry )
src/compute-engine/latex-syntax/serializer.ts:275
↓ 1 callersMethodserializeFunction
( expr: MathJsonExpression, def?: SerializerDictionaryEntry )
src/compute-engine/latex-syntax/types.ts:1396
← previousnext →3,601–3,700 of 5,294, ranked by callers