@cortex-js/compute-engine 0.69.0 → 0.69.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{chunk-T44CNE4L.js → chunk-QIFCLIET.js} +1 -1
- package/dist/chunks/{chunk-ZQVRT3JA.js → chunk-TWCY5EYT.js} +1 -1
- package/dist/compile.esm.js +2 -2
- package/dist/compile.min.esm.js +2 -2
- package/dist/compile.min.umd.cjs +2 -2
- package/dist/compile.umd.cjs +2 -2
- package/dist/compute-engine.esm.js +4 -4
- package/dist/compute-engine.min.esm.js +3 -3
- package/dist/compute-engine.min.umd.cjs +2 -2
- package/dist/compute-engine.umd.cjs +3 -3
- package/dist/core.esm.js +2 -2
- package/dist/core.min.esm.js +2 -2
- package/dist/core.min.umd.cjs +2 -2
- package/dist/core.umd.cjs +2 -2
- package/dist/identities.esm.js +2 -2
- package/dist/identities.min.esm.js +2 -2
- package/dist/identities.min.umd.cjs +2 -2
- package/dist/identities.umd.cjs +2 -2
- package/dist/integration-rules.esm.js +3 -3
- package/dist/integration-rules.min.esm.js +3 -3
- package/dist/integration-rules.min.umd.cjs +2 -2
- package/dist/integration-rules.umd.cjs +2 -2
- package/dist/interval.esm.js +2 -2
- package/dist/interval.min.esm.js +2 -2
- package/dist/interval.min.umd.cjs +2 -2
- package/dist/interval.umd.cjs +2 -2
- package/dist/latex-syntax.esm.js +2 -2
- package/dist/latex-syntax.min.esm.js +2 -2
- package/dist/latex-syntax.min.umd.cjs +2 -2
- package/dist/latex-syntax.umd.cjs +2 -2
- package/dist/math-json.esm.js +2 -2
- package/dist/math-json.min.esm.js +2 -2
- package/dist/math-json.min.umd.cjs +2 -2
- package/dist/math-json.umd.cjs +2 -2
- package/dist/numerics.esm.js +2 -2
- package/dist/numerics.min.esm.js +2 -2
- package/dist/numerics.min.umd.cjs +2 -2
- package/dist/numerics.umd.cjs +2 -2
- package/dist/types/big-decimal/big-decimal.d.ts +2 -2
- package/dist/types/big-decimal/index.d.ts +2 -2
- package/dist/types/big-decimal/transcendentals.d.ts +2 -2
- package/dist/types/big-decimal/utils.d.ts +1 -1
- package/dist/types/common/ansi-codes.d.ts +1 -1
- package/dist/types/common/configuration-change.d.ts +1 -1
- package/dist/types/common/fuzzy-string-match.d.ts +1 -1
- package/dist/types/common/grapheme-splitter.d.ts +1 -1
- package/dist/types/common/interruptible.d.ts +1 -1
- package/dist/types/common/one-of.d.ts +1 -1
- package/dist/types/common/signals.d.ts +1 -1
- package/dist/types/common/type/ast-nodes.d.ts +1 -1
- package/dist/types/common/type/boxed-type.d.ts +1 -1
- package/dist/types/common/type/lexer.d.ts +1 -1
- package/dist/types/common/type/parse.d.ts +1 -1
- package/dist/types/common/type/parser.d.ts +3 -3
- package/dist/types/common/type/primitive.d.ts +1 -1
- package/dist/types/common/type/reduce.d.ts +1 -1
- package/dist/types/common/type/serialize.d.ts +1 -1
- package/dist/types/common/type/subtype.d.ts +1 -1
- package/dist/types/common/type/type-builder.d.ts +2 -2
- package/dist/types/common/type/types.d.ts +1 -1
- package/dist/types/common/type/utils.d.ts +3 -3
- package/dist/types/common/utils.d.ts +1 -1
- package/dist/types/compile.d.ts +11 -11
- package/dist/types/compute-engine/assume.d.ts +3 -3
- package/dist/types/compute-engine/boxed-expression/abstract-boxed-expression.d.ts +8 -8
- package/dist/types/compute-engine/boxed-expression/apply.d.ts +3 -3
- package/dist/types/compute-engine/boxed-expression/arithmetic-add.d.ts +3 -3
- package/dist/types/compute-engine/boxed-expression/arithmetic-mul-div.d.ts +3 -3
- package/dist/types/compute-engine/boxed-expression/arithmetic-power.d.ts +2 -2
- package/dist/types/compute-engine/boxed-expression/ascii-math.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/box.d.ts +4 -4
- package/dist/types/compute-engine/boxed-expression/boxed-dictionary.d.ts +4 -4
- package/dist/types/compute-engine/boxed-expression/boxed-function.d.ts +6 -6
- package/dist/types/compute-engine/boxed-expression/boxed-number.d.ts +8 -8
- package/dist/types/compute-engine/boxed-expression/boxed-operator-definition.d.ts +3 -3
- package/dist/types/compute-engine/boxed-expression/boxed-patterns.d.ts +3 -3
- package/dist/types/compute-engine/boxed-expression/boxed-string.d.ts +3 -3
- package/dist/types/compute-engine/boxed-expression/boxed-symbol.d.ts +8 -8
- package/dist/types/compute-engine/boxed-expression/boxed-tensor.d.ts +5 -5
- package/dist/types/compute-engine/boxed-expression/boxed-value-definition.d.ts +4 -4
- package/dist/types/compute-engine/boxed-expression/cache.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/canonical-utils.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/canonical.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/compare.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/constants.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/constraint-subject.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/diophantine.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/exp-to-trig.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/expand.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/explain-labels.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/explain.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/expression-map.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/factor.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/flatten.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/hold.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/inequality-bounds.d.ts +2 -2
- package/dist/types/compute-engine/boxed-expression/init-lazy-refs.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/invisible-operator.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/match.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/multivariate-gcd.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/multivariate-poly.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/negate.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/numerics.d.ts +4 -4
- package/dist/types/compute-engine/boxed-expression/order.d.ts +2 -2
- package/dist/types/compute-engine/boxed-expression/pattern-utils.d.ts +2 -2
- package/dist/types/compute-engine/boxed-expression/polynomial-degree.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/polynomials.d.ts +2 -2
- package/dist/types/compute-engine/boxed-expression/predicates.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/rule-index.d.ts +2 -2
- package/dist/types/compute-engine/boxed-expression/rules.d.ts +4 -4
- package/dist/types/compute-engine/boxed-expression/serialize.d.ts +2 -2
- package/dist/types/compute-engine/boxed-expression/sgn.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/simplify.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/solve-domain.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/solve-linear-system.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/solve.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/stochastic-equal.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/trigonometry.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/type-guards.d.ts +2 -2
- package/dist/types/compute-engine/boxed-expression/utils.d.ts +3 -3
- package/dist/types/compute-engine/boxed-expression/validate.d.ts +2 -2
- package/dist/types/compute-engine/collection-utils.d.ts +1 -1
- package/dist/types/compute-engine/compilation/base-compiler.d.ts +2 -2
- package/dist/types/compute-engine/compilation/compile-expression.d.ts +3 -3
- package/dist/types/compute-engine/compilation/constant-folding.d.ts +2 -2
- package/dist/types/compute-engine/compilation/glsl-target.d.ts +3 -3
- package/dist/types/compute-engine/compilation/gpu-target.d.ts +2 -2
- package/dist/types/compute-engine/compilation/interval-glsl-target.d.ts +3 -3
- package/dist/types/compute-engine/compilation/interval-javascript-target.d.ts +98 -98
- package/dist/types/compute-engine/compilation/javascript-target.d.ts +6 -6
- package/dist/types/compute-engine/compilation/python-target.d.ts +2 -2
- package/dist/types/compute-engine/compilation/types.d.ts +1 -1
- package/dist/types/compute-engine/compilation/wgsl-target.d.ts +3 -3
- package/dist/types/compute-engine/cost-function.d.ts +1 -1
- package/dist/types/compute-engine/differential-equation-utils.d.ts +1 -1
- package/dist/types/compute-engine/engine-assumptions.d.ts +2 -2
- package/dist/types/compute-engine/engine-cache.d.ts +1 -1
- package/dist/types/compute-engine/engine-common-symbols.d.ts +1 -1
- package/dist/types/compute-engine/engine-compilation-targets.d.ts +2 -2
- package/dist/types/compute-engine/engine-configuration-lifecycle.d.ts +1 -1
- package/dist/types/compute-engine/engine-declarations.d.ts +4 -4
- package/dist/types/compute-engine/engine-expression-entrypoints.d.ts +7 -7
- package/dist/types/compute-engine/engine-extension-contracts.d.ts +2 -2
- package/dist/types/compute-engine/engine-library-bootstrap.d.ts +1 -1
- package/dist/types/compute-engine/engine-numeric-configuration.d.ts +2 -2
- package/dist/types/compute-engine/engine-runtime-state.d.ts +1 -1
- package/dist/types/compute-engine/engine-scope.d.ts +1 -1
- package/dist/types/compute-engine/engine-sequences.d.ts +1 -1
- package/dist/types/compute-engine/engine-simplification-rules.d.ts +1 -1
- package/dist/types/compute-engine/engine-startup-coordinator.d.ts +2 -2
- package/dist/types/compute-engine/engine-type-resolver.d.ts +1 -1
- package/dist/types/compute-engine/engine-validation-entrypoints.d.ts +3 -3
- package/dist/types/compute-engine/free-functions.d.ts +4 -4
- package/dist/types/compute-engine/function-properties/index.d.ts +2 -2
- package/dist/types/compute-engine/function-utils.d.ts +2 -2
- package/dist/types/compute-engine/fungrim/loader.d.ts +2 -2
- package/dist/types/compute-engine/fungrim/types.d.ts +2 -2
- package/dist/types/compute-engine/global-types.d.ts +5 -5
- package/dist/types/compute-engine/index.d.ts +30 -30
- package/dist/types/compute-engine/interval/arithmetic.d.ts +2 -2
- package/dist/types/compute-engine/interval/comparison.d.ts +2 -2
- package/dist/types/compute-engine/interval/elementary.d.ts +2 -2
- package/dist/types/compute-engine/interval/index.d.ts +12 -12
- package/dist/types/compute-engine/interval/trigonometric.d.ts +2 -2
- package/dist/types/compute-engine/interval/types.d.ts +1 -1
- package/dist/types/compute-engine/interval/util.d.ts +2 -2
- package/dist/types/compute-engine/latex-syntax/dictionary/default-dictionary.d.ts +17 -17
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-algebra.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-arithmetic.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-calculus.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-colors.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-complex.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-core.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-linear-algebra.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-logic.d.ts +2 -2
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-other.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-relational-operators.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-sets.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-statistics.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-symbols.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-trigonometry.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-units.d.ts +2 -2
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions.d.ts +4 -4
- package/dist/types/compute-engine/latex-syntax/dictionary/indexed-types.d.ts +2 -2
- package/dist/types/compute-engine/latex-syntax/latex-syntax.d.ts +3 -3
- package/dist/types/compute-engine/latex-syntax/parse-number.d.ts +3 -3
- package/dist/types/compute-engine/latex-syntax/parse-symbol.d.ts +2 -2
- package/dist/types/compute-engine/latex-syntax/parse.d.ts +5 -5
- package/dist/types/compute-engine/latex-syntax/serialize-dms.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/serialize-number.d.ts +2 -2
- package/dist/types/compute-engine/latex-syntax/serializer-style.d.ts +2 -2
- package/dist/types/compute-engine/latex-syntax/serializer.d.ts +3 -3
- package/dist/types/compute-engine/latex-syntax/tokenizer.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/types.d.ts +5 -5
- package/dist/types/compute-engine/latex-syntax/utils.d.ts +1 -1
- package/dist/types/compute-engine/library/arithmetic.d.ts +1 -1
- package/dist/types/compute-engine/library/calculus.d.ts +2 -2
- package/dist/types/compute-engine/library/collections.d.ts +1 -1
- package/dist/types/compute-engine/library/colors.d.ts +1 -1
- package/dist/types/compute-engine/library/combinatorics.d.ts +1 -1
- package/dist/types/compute-engine/library/complex.d.ts +2 -2
- package/dist/types/compute-engine/library/control-structures.d.ts +1 -1
- package/dist/types/compute-engine/library/core.d.ts +1 -1
- package/dist/types/compute-engine/library/distributions.d.ts +1 -1
- package/dist/types/compute-engine/library/fractals.d.ts +1 -1
- package/dist/types/compute-engine/library/library.d.ts +2 -2
- package/dist/types/compute-engine/library/linear-algebra.d.ts +1 -1
- package/dist/types/compute-engine/library/logic-analysis.d.ts +1 -1
- package/dist/types/compute-engine/library/logic.d.ts +1 -1
- package/dist/types/compute-engine/library/measurement-arithmetic.d.ts +2 -2
- package/dist/types/compute-engine/library/number-theory.d.ts +1 -1
- package/dist/types/compute-engine/library/polynomials.d.ts +1 -1
- package/dist/types/compute-engine/library/quantity-arithmetic.d.ts +2 -2
- package/dist/types/compute-engine/library/random-expression.d.ts +1 -1
- package/dist/types/compute-engine/library/relational-operator.d.ts +1 -1
- package/dist/types/compute-engine/library/sets.d.ts +2 -2
- package/dist/types/compute-engine/library/special-functions.d.ts +1 -1
- package/dist/types/compute-engine/library/statistics.d.ts +1 -1
- package/dist/types/compute-engine/library/trigonometry.d.ts +1 -1
- package/dist/types/compute-engine/library/type-handlers.d.ts +3 -3
- package/dist/types/compute-engine/library/unit-data.d.ts +2 -2
- package/dist/types/compute-engine/library/units.d.ts +2 -2
- package/dist/types/compute-engine/library/utils.d.ts +1 -1
- package/dist/types/compute-engine/numeric-value/big-numeric-value.d.ts +6 -6
- package/dist/types/compute-engine/numeric-value/exact-numeric-value.d.ts +5 -5
- package/dist/types/compute-engine/numeric-value/machine-numeric-value.d.ts +5 -5
- package/dist/types/compute-engine/numeric-value/types.d.ts +4 -4
- package/dist/types/compute-engine/numerics/bernoulli.d.ts +1 -1
- package/dist/types/compute-engine/numerics/bigint.d.ts +1 -1
- package/dist/types/compute-engine/numerics/complex-esm-augment.d.ts +1 -1
- package/dist/types/compute-engine/numerics/differential-equations.d.ts +1 -1
- package/dist/types/compute-engine/numerics/diophantine.d.ts +1 -1
- package/dist/types/compute-engine/numerics/distributions.d.ts +1 -1
- package/dist/types/compute-engine/numerics/expression.d.ts +1 -1
- package/dist/types/compute-engine/numerics/interval.d.ts +1 -1
- package/dist/types/compute-engine/numerics/linear-algebra.d.ts +1 -1
- package/dist/types/compute-engine/numerics/monte-carlo.d.ts +1 -1
- package/dist/types/compute-engine/numerics/numeric-bigint.d.ts +1 -1
- package/dist/types/compute-engine/numerics/numeric-bignum.d.ts +1 -1
- package/dist/types/compute-engine/numerics/numeric-complex.d.ts +2 -2
- package/dist/types/compute-engine/numerics/numeric.d.ts +1 -1
- package/dist/types/compute-engine/numerics/oscillatory-quadrature.d.ts +1 -1
- package/dist/types/compute-engine/numerics/polynomial-roots.d.ts +1 -1
- package/dist/types/compute-engine/numerics/primes.d.ts +1 -1
- package/dist/types/compute-engine/numerics/random.d.ts +1 -1
- package/dist/types/compute-engine/numerics/rationals.d.ts +1 -1
- package/dist/types/compute-engine/numerics/richardson.d.ts +1 -1
- package/dist/types/compute-engine/numerics/special-functions.d.ts +2 -2
- package/dist/types/compute-engine/numerics/statistics.d.ts +1 -1
- package/dist/types/compute-engine/numerics/strings.d.ts +2 -2
- package/dist/types/compute-engine/numerics/types.d.ts +1 -1
- package/dist/types/compute-engine/numerics/unit-data.d.ts +1 -1
- package/dist/types/compute-engine/oeis.d.ts +2 -2
- package/dist/types/compute-engine/rubi/compile.d.ts +3 -3
- package/dist/types/compute-engine/rubi/driver.d.ts +3 -3
- package/dist/types/compute-engine/rubi/loader.d.ts +1 -1
- package/dist/types/compute-engine/rubi/match.d.ts +1 -1
- package/dist/types/compute-engine/rubi/normal-form.d.ts +2 -2
- package/dist/types/compute-engine/rubi/rubi-utils.d.ts +3 -3
- package/dist/types/compute-engine/rubi/types.d.ts +1 -1
- package/dist/types/compute-engine/sequence.d.ts +2 -2
- package/dist/types/compute-engine/symbolic/antiderivative.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/derivative.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/differential-equations.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/distribute.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/explain-derivative.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/fu-cost.d.ts +2 -2
- package/dist/types/compute-engine/symbolic/fu-transforms.d.ts +2 -2
- package/dist/types/compute-engine/symbolic/fu.d.ts +6 -6
- package/dist/types/compute-engine/symbolic/limit.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/logic-utils.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/residue.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/series.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-abs.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-divide.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-factorial.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-hyperbolic.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-infinity.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-log.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-logic.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-power.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-product.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-rules.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-sum.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-trig.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/trig-rewrite.d.ts +1 -1
- package/dist/types/compute-engine/tensor/tensor-fields.d.ts +3 -3
- package/dist/types/compute-engine/tensor/tensors.d.ts +1 -1
- package/dist/types/compute-engine/types-definitions.d.ts +6 -6
- package/dist/types/compute-engine/types-engine.d.ts +19 -19
- package/dist/types/compute-engine/types-evaluation.d.ts +5 -5
- package/dist/types/compute-engine/types-expression.d.ts +9 -9
- package/dist/types/compute-engine/types-kernel-evaluation.d.ts +5 -5
- package/dist/types/compute-engine/types-kernel-serialization.d.ts +1 -1
- package/dist/types/compute-engine/types-serialization.d.ts +2 -2
- package/dist/types/compute-engine/types.d.ts +8 -8
- package/dist/types/compute-engine.d.ts +27 -27
- package/dist/types/core.d.ts +12 -12
- package/dist/types/identities.d.ts +3 -3
- package/dist/types/integration-rules.d.ts +3 -3
- package/dist/types/interval.d.ts +8 -8
- package/dist/types/latex-syntax.d.ts +7 -7
- package/dist/types/math-json/symbols.d.ts +1 -1
- package/dist/types/math-json/types.d.ts +1 -1
- package/dist/types/math-json/utils.d.ts +1 -1
- package/dist/types/math-json.d.ts +3 -3
- package/dist/types/numerics.d.ts +23 -23
- package/package.json +2 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import { BoxedType } from '../common/type/boxed-type';
|
|
3
|
-
import type { Expression, Metadata, ExpressionInput } from './global-types';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import { BoxedType } from '../common/type/boxed-type.js';
|
|
3
|
+
import type { Expression, Metadata, ExpressionInput } from './global-types.js';
|
|
4
4
|
type ValidationHost = {
|
|
5
5
|
string(s: string, metadata?: Metadata): Expression;
|
|
6
6
|
function(name: string, ops: ReadonlyArray<ExpressionInput>, options?: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import type { Type, TypeString } from '../common/type/types';
|
|
3
|
-
import type { LatexString, ParseLatexOptions } from './latex-syntax/types';
|
|
4
|
-
import { compile as compileExpr } from './compilation/compile-expression';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import type { Type, TypeString } from '../common/type/types.js';
|
|
3
|
+
import type { LatexString, ParseLatexOptions } from './latex-syntax/types.js';
|
|
4
|
+
import { compile as compileExpr } from './compilation/compile-expression.js';
|
|
5
5
|
/** @internal Called by the entry point to register a factory that creates
|
|
6
6
|
* the default engine with LatexSyntax pre-configured. */
|
|
7
7
|
export declare function _setDefaultEngineFactory(factory: () => IComputeEngine): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import type { Expression, ExpressionInput } from '../types-expression';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import type { Expression, ExpressionInput } from '../types-expression.js';
|
|
3
3
|
/** A single analytic-property record for an operator. The MathJSON fields are
|
|
4
4
|
* raw (as translated from Fungrim); box them with `ce.expr` to query. */
|
|
5
5
|
export interface FunctionPropertyRecord {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import type { BoxedDefinition, Expression, IComputeEngine as ComputeEngine, Scope } from './global-types';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import type { BoxedDefinition, Expression, IComputeEngine as ComputeEngine, Scope } from './global-types.js';
|
|
3
3
|
/***
|
|
4
4
|
* ### THEORY OF OPERATIONS
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import type { FungrimLoadOptions, FungrimLoadReport, FungrimRuleData } from './types';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import type { FungrimLoadOptions, FungrimLoadReport, FungrimRuleData } from './types.js';
|
|
3
3
|
/** The compiled artifact (the whole slice, bundled as JSON). */
|
|
4
4
|
export declare const FUNGRIM_CORE: FungrimRuleData;
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
export type * from './types-serialization';
|
|
3
|
-
export type { ValueDefinition, SequenceDefinition, SequenceStatus, SequenceInfo, OEISSequenceInfo, OEISOptions, OperatorDefinition, BaseDefinition, SimplifyOptions, ExplainOptions, SymbolDefinition, SymbolDefinitions, LibraryDefinition, AngularUnit, Sign, BaseCollectionHandlers, IndexedCollectionHandlers, CollectionHandlers, TaggedValueDefinition, TaggedOperatorDefinition, BoxedDefinition, BoxedBaseDefinition, BoxedValueDefinition, OperatorDefinitionFlags, BoxedOperatorDefinition, } from './types-definitions';
|
|
4
|
-
export type * from './types-evaluation';
|
|
5
|
-
export type * from './types-engine';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
export type * from './types-serialization.js';
|
|
3
|
+
export type { ValueDefinition, SequenceDefinition, SequenceStatus, SequenceInfo, OEISSequenceInfo, OEISOptions, OperatorDefinition, BaseDefinition, SimplifyOptions, ExplainOptions, SymbolDefinition, SymbolDefinitions, LibraryDefinition, AngularUnit, Sign, BaseCollectionHandlers, IndexedCollectionHandlers, CollectionHandlers, TaggedValueDefinition, TaggedOperatorDefinition, BoxedDefinition, BoxedBaseDefinition, BoxedValueDefinition, OperatorDefinitionFlags, BoxedOperatorDefinition, } from './types-definitions.js';
|
|
4
|
+
export type * from './types-evaluation.js';
|
|
5
|
+
export type * from './types-engine.js';
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import { BigDecimal } from '../big-decimal';
|
|
3
|
-
import { Type, TypeResolver, TypeString } from '../common/type/types';
|
|
4
|
-
import { BoxedType } from '../common/type/boxed-type';
|
|
5
|
-
import type { OneOf } from '../common/one-of';
|
|
6
|
-
import type { ConfigurationChangeListener } from '../common/configuration-change';
|
|
7
|
-
import type { MathJsonExpression, MathJsonSymbol, MathJsonNumberObject } from '../math-json/types';
|
|
8
|
-
import type { ValueDefinition, OperatorDefinition, AngularUnit, AssignValue, AssumeResult, Expression, BoxedRule, BoxedRuleSet, BoxedSubstitution, CanonicalOptions, Metadata, Rule, RulePurpose, Scope, EvalContext, ExpressionInput, IComputeEngine, IntegrationProvider, ILatexSyntax, BoxedDefinition, SymbolDefinition, SequenceDefinition, SequenceStatus, SequenceInfo, OEISSequenceInfo, OEISOptions, LibraryDefinition, OperatorInfo, SymbolInfo } from './global-types';
|
|
9
|
-
import type { LibraryCategory, ParseLatexOptions, SerializeLatexOptions } from './latex-syntax/types';
|
|
10
|
-
import type { BigNum, Rational } from './numerics/types';
|
|
11
|
-
import { ExactNumericValueData, NumericValue, NumericValueData } from './numeric-value/types';
|
|
12
|
-
import type { FormOption } from './types-serialization';
|
|
13
|
-
import { validatePattern } from './boxed-expression/boxed-patterns';
|
|
14
|
-
import './boxed-expression/init-lazy-refs';
|
|
15
|
-
import { factorPerfectSquare, factorDifferenceOfSquares, factorQuadratic, factorPolynomial } from './boxed-expression/factor';
|
|
16
|
-
import './boxed-expression/serialize';
|
|
17
|
-
import type { FunctionProperties } from './function-properties';
|
|
18
|
-
export type * from './global-types';
|
|
19
|
-
export { parse, expr, simplify, evaluate, N, declare, assign, expand, expandAll, factor, solve, compile, getDefaultEngine, } from './free-functions';
|
|
20
|
-
export type { FreeFunctionOptions } from './free-functions';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import { BigDecimal } from '../big-decimal/index.js';
|
|
3
|
+
import { Type, TypeResolver, TypeString } from '../common/type/types.js';
|
|
4
|
+
import { BoxedType } from '../common/type/boxed-type.js';
|
|
5
|
+
import type { OneOf } from '../common/one-of.js';
|
|
6
|
+
import type { ConfigurationChangeListener } from '../common/configuration-change.js';
|
|
7
|
+
import type { MathJsonExpression, MathJsonSymbol, MathJsonNumberObject } from '../math-json/types.js';
|
|
8
|
+
import type { ValueDefinition, OperatorDefinition, AngularUnit, AssignValue, AssumeResult, Expression, BoxedRule, BoxedRuleSet, BoxedSubstitution, CanonicalOptions, Metadata, Rule, RulePurpose, Scope, EvalContext, ExpressionInput, IComputeEngine, IntegrationProvider, ILatexSyntax, BoxedDefinition, SymbolDefinition, SequenceDefinition, SequenceStatus, SequenceInfo, OEISSequenceInfo, OEISOptions, LibraryDefinition, OperatorInfo, SymbolInfo } from './global-types.js';
|
|
9
|
+
import type { LibraryCategory, ParseLatexOptions, SerializeLatexOptions } from './latex-syntax/types.js';
|
|
10
|
+
import type { BigNum, Rational } from './numerics/types.js';
|
|
11
|
+
import { ExactNumericValueData, NumericValue, NumericValueData } from './numeric-value/types.js';
|
|
12
|
+
import type { FormOption } from './types-serialization.js';
|
|
13
|
+
import { validatePattern } from './boxed-expression/boxed-patterns.js';
|
|
14
|
+
import './boxed-expression/init-lazy-refs.js';
|
|
15
|
+
import { factorPerfectSquare, factorDifferenceOfSquares, factorQuadratic, factorPolynomial } from './boxed-expression/factor.js';
|
|
16
|
+
import './boxed-expression/serialize.js';
|
|
17
|
+
import type { FunctionProperties } from './function-properties/index.js';
|
|
18
|
+
export type * from './global-types.js';
|
|
19
|
+
export { parse, expr, simplify, evaluate, N, declare, assign, expand, expandAll, factor, solve, compile, getDefaultEngine, } from './free-functions.js';
|
|
20
|
+
export type { FreeFunctionOptions } from './free-functions.js';
|
|
21
21
|
export { validatePattern };
|
|
22
22
|
export { factorPerfectSquare, factorDifferenceOfSquares, factorQuadratic, factorPolynomial, };
|
|
23
|
-
export type { CompileTarget, CompiledOperators, CompiledFunctions, CompilationOptions, CompilationResult, LanguageTarget, TargetSource, CompiledFunction, } from './compilation/types';
|
|
24
|
-
export { BigDecimal } from '../big-decimal';
|
|
25
|
-
export { JavaScriptTarget } from './compilation/javascript-target';
|
|
26
|
-
export { GLSLTarget } from './compilation/glsl-target';
|
|
27
|
-
export { PythonTarget } from './compilation/python-target';
|
|
28
|
-
export { IntervalJavaScriptTarget } from './compilation/interval-javascript-target';
|
|
29
|
-
export { BaseCompiler } from './compilation/base-compiler';
|
|
30
|
-
import type { LanguageTarget } from './compilation/types';
|
|
31
|
-
import { compile as _compile } from './compilation/compile-expression';
|
|
32
|
-
import { fu as _fu } from './symbolic/fu';
|
|
23
|
+
export type { CompileTarget, CompiledOperators, CompiledFunctions, CompilationOptions, CompilationResult, LanguageTarget, TargetSource, CompiledFunction, } from './compilation/types.js';
|
|
24
|
+
export { BigDecimal } from '../big-decimal/index.js';
|
|
25
|
+
export { JavaScriptTarget } from './compilation/javascript-target.js';
|
|
26
|
+
export { GLSLTarget } from './compilation/glsl-target.js';
|
|
27
|
+
export { PythonTarget } from './compilation/python-target.js';
|
|
28
|
+
export { IntervalJavaScriptTarget } from './compilation/interval-javascript-target.js';
|
|
29
|
+
export { BaseCompiler } from './compilation/base-compiler.js';
|
|
30
|
+
import type { LanguageTarget } from './compilation/types.js';
|
|
31
|
+
import { compile as _compile } from './compilation/compile-expression.js';
|
|
32
|
+
import { fu as _fu } from './symbolic/fu.js';
|
|
33
33
|
export declare class ComputeEngine implements IComputeEngine {
|
|
34
34
|
/** @internal Factory for creating LatexSyntax instances. Registered by the
|
|
35
35
|
* full entry point (compute-engine.ts). When set, `new ComputeEngine()`
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
* Basic interval arithmetic operations
|
|
3
3
|
*
|
|
4
4
|
* @module interval/arithmetic
|
|
5
5
|
*/
|
|
6
|
-
import type { Interval, IntervalResult } from './types';
|
|
6
|
+
import type { Interval, IntervalResult } from './types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Add two intervals (or IntervalResults).
|
|
9
9
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
* Comparison and conditional interval operations
|
|
3
3
|
*
|
|
4
4
|
* @module interval/comparison
|
|
5
5
|
*/
|
|
6
|
-
import type { Interval, IntervalResult, BoolInterval } from './types';
|
|
6
|
+
import type { Interval, IntervalResult, BoolInterval } from './types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Less than comparison for intervals.
|
|
9
9
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
* Elementary interval functions (sqrt, pow, exp, ln, abs, floor, ceil, min, max, mod)
|
|
3
3
|
*
|
|
4
4
|
* @module interval/elementary
|
|
5
5
|
*/
|
|
6
|
-
import type { Interval, IntervalResult } from './types';
|
|
6
|
+
import type { Interval, IntervalResult } from './types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Square root of an interval (or IntervalResult).
|
|
9
9
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
* Interval arithmetic library for reliable function evaluation
|
|
3
3
|
*
|
|
4
4
|
* This module provides interval versions of mathematical operations
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @module interval
|
|
10
10
|
*/
|
|
11
|
-
import { ok as _ok, point as _point, containsExtremum as _containsExtremum, unionResults as _unionResults, mergeDomainClip as _mergeDomainClip, isPoint as _isPoint, containsZero as _containsZero, isPositive as _isPositive, isNegative as _isNegative, isNonNegative as _isNonNegative, isNonPositive as _isNonPositive, width as _width, midpoint as _midpoint, getValue as _getValue, unwrap as _unwrap, unwrapOrPropagate as _unwrapOrPropagate } from './util';
|
|
12
|
-
import { add as _add, sub as _sub, mul as _mul, div as _div, negate as _negate } from './arithmetic';
|
|
13
|
-
import { sqrt as _sqrt, square as _square, pow as _pow, powInterval as _powInterval, powRational as _powRational, nthRoot as _nthRoot, exp as _exp, ln as _ln, log10 as _log10, log2 as _log2, abs as _abs, floor as _floor, ceil as _ceil, round as _round, fract as _fract, trunc as _trunc, min as _min, max as _max, mod as _mod, remainder as _remainder, heaviside as _heaviside, sign as _sign, gamma as _gamma, gammaln as _gammaln, factorial as _factorial, factorial2 as _factorial2, binomial as _binomial, gcd as _gcd, lcm as _lcm, chop as _chop, erf as _erf, erfc as _erfc, exp2 as _exp2, hypot as _hypot } from './elementary';
|
|
14
|
-
import { sin as _sin, cos as _cos, tan as _tan, cot as _cot, sec as _sec, csc as _csc, asin as _asin, acos as _acos, atan as _atan, atan2 as _atan2, sinh as _sinh, cosh as _cosh, tanh as _tanh, asinh as _asinh, acosh as _acosh, atanh as _atanh, acot as _acot, acsc as _acsc, asec as _asec, coth as _coth, csch as _csch, sech as _sech, acoth as _acoth, acsch as _acsch, asech as _asech, sinc as _sinc, fresnelS as _fresnelS, fresnelC as _fresnelC } from './trigonometric';
|
|
15
|
-
import { less as _less, lessEqual as _lessEqual, greater as _greater, greaterEqual as _greaterEqual, equal as _equal, notEqual as _notEqual, and as _and, or as _or, not as _not, piecewise as _piecewise, clamp as _clamp } from './comparison';
|
|
16
|
-
export type { Interval, IntervalResult, BoolInterval } from './types';
|
|
17
|
-
export { ok, point, containsExtremum, unionResults, mergeDomainClip, isPoint, containsZero, isPositive, isNegative, isNonNegative, isNonPositive, width, midpoint, getValue, unwrap, unwrapOrPropagate, } from './util';
|
|
18
|
-
export { add, sub, mul, div, negate, _mul } from './arithmetic';
|
|
19
|
-
export { sqrt, square, pow, powInterval, powRational, nthRoot, exp, ln, log10, log2, abs, floor, ceil, round, fract, trunc, min, max, mod, remainder, heaviside, sign, gamma, gammaln, factorial, factorial2, binomial, gcd, lcm, } from './elementary';
|
|
20
|
-
export { sin, cos, tan, cot, sec, csc, asin, acos, atan, atan2, sinh, cosh, tanh, asinh, acosh, atanh, acot, acsc, asec, coth, csch, sech, acoth, acsch, asech, sinc, fresnelS, fresnelC, } from './trigonometric';
|
|
21
|
-
export { less, lessEqual, greater, greaterEqual, equal, notEqual, and, or, not, piecewise, clamp, } from './comparison';
|
|
11
|
+
import { ok as _ok, point as _point, containsExtremum as _containsExtremum, unionResults as _unionResults, mergeDomainClip as _mergeDomainClip, isPoint as _isPoint, containsZero as _containsZero, isPositive as _isPositive, isNegative as _isNegative, isNonNegative as _isNonNegative, isNonPositive as _isNonPositive, width as _width, midpoint as _midpoint, getValue as _getValue, unwrap as _unwrap, unwrapOrPropagate as _unwrapOrPropagate } from './util.js';
|
|
12
|
+
import { add as _add, sub as _sub, mul as _mul, div as _div, negate as _negate } from './arithmetic.js';
|
|
13
|
+
import { sqrt as _sqrt, square as _square, pow as _pow, powInterval as _powInterval, powRational as _powRational, nthRoot as _nthRoot, exp as _exp, ln as _ln, log10 as _log10, log2 as _log2, abs as _abs, floor as _floor, ceil as _ceil, round as _round, fract as _fract, trunc as _trunc, min as _min, max as _max, mod as _mod, remainder as _remainder, heaviside as _heaviside, sign as _sign, gamma as _gamma, gammaln as _gammaln, factorial as _factorial, factorial2 as _factorial2, binomial as _binomial, gcd as _gcd, lcm as _lcm, chop as _chop, erf as _erf, erfc as _erfc, exp2 as _exp2, hypot as _hypot } from './elementary.js';
|
|
14
|
+
import { sin as _sin, cos as _cos, tan as _tan, cot as _cot, sec as _sec, csc as _csc, asin as _asin, acos as _acos, atan as _atan, atan2 as _atan2, sinh as _sinh, cosh as _cosh, tanh as _tanh, asinh as _asinh, acosh as _acosh, atanh as _atanh, acot as _acot, acsc as _acsc, asec as _asec, coth as _coth, csch as _csch, sech as _sech, acoth as _acoth, acsch as _acsch, asech as _asech, sinc as _sinc, fresnelS as _fresnelS, fresnelC as _fresnelC } from './trigonometric.js';
|
|
15
|
+
import { less as _less, lessEqual as _lessEqual, greater as _greater, greaterEqual as _greaterEqual, equal as _equal, notEqual as _notEqual, and as _and, or as _or, not as _not, piecewise as _piecewise, clamp as _clamp } from './comparison.js';
|
|
16
|
+
export type { Interval, IntervalResult, BoolInterval } from './types.js';
|
|
17
|
+
export { ok, point, containsExtremum, unionResults, mergeDomainClip, isPoint, containsZero, isPositive, isNegative, isNonNegative, isNonPositive, width, midpoint, getValue, unwrap, unwrapOrPropagate, } from './util.js';
|
|
18
|
+
export { add, sub, mul, div, negate, _mul } from './arithmetic.js';
|
|
19
|
+
export { sqrt, square, pow, powInterval, powRational, nthRoot, exp, ln, log10, log2, abs, floor, ceil, round, fract, trunc, min, max, mod, remainder, heaviside, sign, gamma, gammaln, factorial, factorial2, binomial, gcd, lcm, } from './elementary.js';
|
|
20
|
+
export { sin, cos, tan, cot, sec, csc, asin, acos, atan, atan2, sinh, cosh, tanh, asinh, acosh, atanh, acot, acsc, asec, coth, csch, sech, acoth, acsch, asech, sinc, fresnelS, fresnelC, } from './trigonometric.js';
|
|
21
|
+
export { less, lessEqual, greater, greaterEqual, equal, notEqual, and, or, not, piecewise, clamp, } from './comparison.js';
|
|
22
22
|
/**
|
|
23
23
|
* The complete interval arithmetic library object.
|
|
24
24
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
* Trigonometric interval functions
|
|
3
3
|
*
|
|
4
4
|
* @module interval/trigonometric
|
|
5
5
|
*/
|
|
6
|
-
import type { Interval, IntervalResult } from './types';
|
|
6
|
+
import type { Interval, IntervalResult } from './types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Sine of an interval.
|
|
9
9
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
* Utility functions for interval arithmetic
|
|
3
3
|
*
|
|
4
4
|
* @module interval/util
|
|
5
5
|
*/
|
|
6
|
-
import type { Interval, IntervalResult } from './types';
|
|
6
|
+
import type { Interval, IntervalResult } from './types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Wrap a plain interval in an IntervalResult.
|
|
9
9
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
* Default LaTeX dictionary assembly.
|
|
3
3
|
*
|
|
4
4
|
* This file imports all individual domain dictionaries and assembles them
|
|
@@ -6,22 +6,22 @@
|
|
|
6
6
|
* independently importable -- they do not depend on the engine's library
|
|
7
7
|
* system.
|
|
8
8
|
*/
|
|
9
|
-
import type { LatexDictionary } from '../types';
|
|
10
|
-
import { DEFINITIONS_CORE } from './definitions-core';
|
|
11
|
-
import { DEFINITIONS_SYMBOLS } from './definitions-symbols';
|
|
12
|
-
import { DEFINITIONS_ALGEBRA } from './definitions-algebra';
|
|
13
|
-
import { DEFINITIONS_LOGIC } from './definitions-logic';
|
|
14
|
-
import { DEFINITIONS_SETS } from './definitions-sets';
|
|
15
|
-
import { DEFINITIONS_INEQUALITIES } from './definitions-relational-operators';
|
|
16
|
-
import { DEFINITIONS_ARITHMETIC } from './definitions-arithmetic';
|
|
17
|
-
import { DEFINITIONS_COMPLEX } from './definitions-complex';
|
|
18
|
-
import { DEFINITIONS_TRIGONOMETRY } from './definitions-trigonometry';
|
|
19
|
-
import { DEFINITIONS_CALCULUS } from './definitions-calculus';
|
|
20
|
-
import { DEFINITIONS_LINEAR_ALGEBRA } from './definitions-linear-algebra';
|
|
21
|
-
import { DEFINITIONS_STATISTICS } from './definitions-statistics';
|
|
22
|
-
import { DEFINITIONS_UNITS } from './definitions-units';
|
|
23
|
-
import { DEFINITIONS_OTHERS } from './definitions-other';
|
|
24
|
-
import { DEFINITIONS_COLORS } from './definitions-colors';
|
|
9
|
+
import type { LatexDictionary } from '../types.js';
|
|
10
|
+
import { DEFINITIONS_CORE } from './definitions-core.js';
|
|
11
|
+
import { DEFINITIONS_SYMBOLS } from './definitions-symbols.js';
|
|
12
|
+
import { DEFINITIONS_ALGEBRA } from './definitions-algebra.js';
|
|
13
|
+
import { DEFINITIONS_LOGIC } from './definitions-logic.js';
|
|
14
|
+
import { DEFINITIONS_SETS } from './definitions-sets.js';
|
|
15
|
+
import { DEFINITIONS_INEQUALITIES } from './definitions-relational-operators.js';
|
|
16
|
+
import { DEFINITIONS_ARITHMETIC } from './definitions-arithmetic.js';
|
|
17
|
+
import { DEFINITIONS_COMPLEX } from './definitions-complex.js';
|
|
18
|
+
import { DEFINITIONS_TRIGONOMETRY } from './definitions-trigonometry.js';
|
|
19
|
+
import { DEFINITIONS_CALCULUS } from './definitions-calculus.js';
|
|
20
|
+
import { DEFINITIONS_LINEAR_ALGEBRA } from './definitions-linear-algebra.js';
|
|
21
|
+
import { DEFINITIONS_STATISTICS } from './definitions-statistics.js';
|
|
22
|
+
import { DEFINITIONS_UNITS } from './definitions-units.js';
|
|
23
|
+
import { DEFINITIONS_OTHERS } from './definitions-other.js';
|
|
24
|
+
import { DEFINITIONS_COLORS } from './definitions-colors.js';
|
|
25
25
|
export { DEFINITIONS_CORE, DEFINITIONS_SYMBOLS, DEFINITIONS_ALGEBRA, DEFINITIONS_LOGIC, DEFINITIONS_SETS, DEFINITIONS_INEQUALITIES, DEFINITIONS_ARITHMETIC, DEFINITIONS_COMPLEX, DEFINITIONS_TRIGONOMETRY, DEFINITIONS_CALCULUS, DEFINITIONS_LINEAR_ALGEBRA, DEFINITIONS_STATISTICS, DEFINITIONS_UNITS, DEFINITIONS_OTHERS, DEFINITIONS_COLORS, };
|
|
26
26
|
export { DEFINITIONS_CORE as CORE_DICTIONARY, DEFINITIONS_SYMBOLS as SYMBOLS_DICTIONARY, DEFINITIONS_ALGEBRA as ALGEBRA_DICTIONARY, DEFINITIONS_LOGIC as LOGIC_DICTIONARY, DEFINITIONS_SETS as SETS_DICTIONARY, DEFINITIONS_INEQUALITIES as INEQUALITIES_DICTIONARY, DEFINITIONS_ARITHMETIC as ARITHMETIC_DICTIONARY, DEFINITIONS_COMPLEX as COMPLEX_DICTIONARY, DEFINITIONS_TRIGONOMETRY as TRIGONOMETRY_DICTIONARY, DEFINITIONS_CALCULUS as CALCULUS_DICTIONARY, DEFINITIONS_LINEAR_ALGEBRA as LINEAR_ALGEBRA_DICTIONARY, DEFINITIONS_STATISTICS as STATISTICS_DICTIONARY, DEFINITIONS_UNITS as UNITS_DICTIONARY, DEFINITIONS_OTHERS as OTHERS_DICTIONARY, DEFINITIONS_COLORS as COLORS_DICTIONARY, };
|
|
27
27
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const DEFINITIONS_ALGEBRA: LatexDictionary;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const DEFINITIONS_ARITHMETIC: LatexDictionary;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const DEFINITIONS_CALCULUS: LatexDictionary;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const DEFINITIONS_COMPLEX: LatexDictionary;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const DEFINITIONS_LINEAR_ALGEBRA: LatexDictionary;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import type { MathJsonExpression } from '../../../math-json';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import type { MathJsonExpression } from '../../../math-json.js';
|
|
3
3
|
export declare const DEFINITIONS_LOGIC: LatexDictionary;
|
|
4
4
|
export declare function parseQuantifier(kind: 'NotForAll' | 'NotExists' | 'ForAll' | 'Exists' | 'ExistsUnique'): (parser: Parser, terminator?: Readonly<Terminator>) => MathJsonExpression | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const DEFINITIONS_OTHERS: LatexDictionary;
|
package/dist/types/compute-engine/latex-syntax/dictionary/definitions-relational-operators.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const DEFINITIONS_INEQUALITIES: LatexDictionaryEntry[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const DEFINITIONS_SETS: LatexDictionary;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const DEFINITIONS_STATISTICS: LatexDictionary;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const DEFINITIONS_TRIGONOMETRY: LatexDictionary;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
* LaTeX dictionary entries for parsing and serializing physical quantities
|
|
3
3
|
* with units.
|
|
4
4
|
*
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
* parser tries longer triggers first, so `\mathrm{e}` will always match before
|
|
20
20
|
* our 1-token `\mathrm` entry.
|
|
21
21
|
*/
|
|
22
|
-
import type { LatexDictionary } from '../types';
|
|
22
|
+
import type { LatexDictionary } from '../types.js';
|
|
23
23
|
export declare const DEFINITIONS_UNITS: LatexDictionary;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import { LatexDictionaryEntry } from '../types';
|
|
3
|
-
export type { CommonEntry, IndexedSymbolEntry, IndexedExpressionEntry, IndexedFunctionEntry, IndexedMatchfixEntry, IndexedInfixEntry, IndexedPrefixEntry, IndexedPostfixEntry, IndexedEnvironmentEntry, IndexedLatexDictionaryEntry, IndexedLatexDictionary, } from './indexed-types';
|
|
4
|
-
import type { IndexedSymbolEntry, IndexedExpressionEntry, IndexedFunctionEntry, IndexedMatchfixEntry, IndexedInfixEntry, IndexedPostfixEntry, IndexedEnvironmentEntry, IndexedLatexDictionaryEntry, IndexedLatexDictionary } from './indexed-types';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import { LatexDictionaryEntry } from '../types.js';
|
|
3
|
+
export type { CommonEntry, IndexedSymbolEntry, IndexedExpressionEntry, IndexedFunctionEntry, IndexedMatchfixEntry, IndexedInfixEntry, IndexedPrefixEntry, IndexedPostfixEntry, IndexedEnvironmentEntry, IndexedLatexDictionaryEntry, IndexedLatexDictionary, } from './indexed-types.js';
|
|
4
|
+
import type { IndexedSymbolEntry, IndexedExpressionEntry, IndexedFunctionEntry, IndexedMatchfixEntry, IndexedInfixEntry, IndexedPostfixEntry, IndexedEnvironmentEntry, IndexedLatexDictionaryEntry, IndexedLatexDictionary } from './indexed-types.js';
|
|
5
5
|
/** @internal */
|
|
6
6
|
export declare function isIndexedSymbolEntry(entry: IndexedLatexDictionaryEntry): entry is IndexedSymbolEntry;
|
|
7
7
|
/** @internal */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
* Type definitions for the indexed LaTeX dictionary.
|
|
3
3
|
*
|
|
4
4
|
* These are separated from definitions.ts to break a circular dependency:
|
|
5
5
|
* types.ts needs these types for the Serializer interface, while definitions.ts
|
|
6
6
|
* needs types from types.ts. This file is a leaf module imported by both.
|
|
7
7
|
*/
|
|
8
|
-
import type { Delimiter, EnvironmentParseHandler, ExpressionParseHandler, InfixParseHandler, LatexString, LatexToken, MatchfixParseHandler, PostfixParseHandler, Precedence, SerializeHandler } from '../types';
|
|
8
|
+
import type { Delimiter, EnvironmentParseHandler, ExpressionParseHandler, InfixParseHandler, LatexString, LatexToken, MatchfixParseHandler, PostfixParseHandler, Precedence, SerializeHandler } from '../types.js';
|
|
9
9
|
export type CommonEntry = {
|
|
10
10
|
/** Note: a name is required if a serialize handler is provided */
|
|
11
11
|
name?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
* Standalone LaTeX <-> MathJSON parsing and serialization.
|
|
3
3
|
*
|
|
4
4
|
* This module provides a `LatexSyntax` class and free-standing `parse()` /
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @module latex-syntax
|
|
9
9
|
*/
|
|
10
|
-
import type { MathJsonExpression } from '../../math-json/types';
|
|
11
|
-
import type { LatexDictionaryEntry, LatexString, ParseLatexOptions, SerializeLatexOptions } from './types';
|
|
10
|
+
import type { MathJsonExpression } from '../../math-json/types.js';
|
|
11
|
+
import type { LatexDictionaryEntry, LatexString, ParseLatexOptions, SerializeLatexOptions } from './types.js';
|
|
12
12
|
/**
|
|
13
13
|
* Options accepted by the {@link LatexSyntax} constructor.
|
|
14
14
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
* Number parsing extracted from the _Parser class for modularity.
|
|
3
3
|
*
|
|
4
4
|
* All functions take a `Parser` interface and a `NumberFormatTokens` config
|
|
5
5
|
* that holds the pre-tokenized formatting strings from ParseLatexOptions.
|
|
6
6
|
*/
|
|
7
|
-
import type { MathJsonExpression } from '../../math-json/types';
|
|
8
|
-
import type { LatexToken, Parser } from './types';
|
|
7
|
+
import type { MathJsonExpression } from '../../math-json/types.js';
|
|
8
|
+
import type { LatexToken, Parser } from './types.js';
|
|
9
9
|
/**
|
|
10
10
|
* Pre-tokenized formatting strings used during number parsing.
|
|
11
11
|
* Created once in the _Parser constructor from ParseLatexOptions.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import { Parser } from './types';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import { Parser } from './types.js';
|
|
3
3
|
/** For error handling, if we have a symbol prefix, assume
|
|
4
4
|
* the symbol is invalid (it would have been captured by
|
|
5
5
|
* `matchSymbol()` otherwise) and return an error expression */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import { ParseLatexOptions, LatexToken, Terminator, Parser, SymbolTable } from './types';
|
|
3
|
-
import type { IndexedLatexDictionary, IndexedLatexDictionaryEntry, IndexedInfixEntry, IndexedPostfixEntry, IndexedPrefixEntry, IndexedSymbolEntry, IndexedExpressionEntry, IndexedFunctionEntry } from './dictionary/definitions';
|
|
4
|
-
import { BoxedType } from '../../common/type/boxed-type';
|
|
5
|
-
import { TypeString } from '../types';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import { ParseLatexOptions, LatexToken, Terminator, Parser, SymbolTable } from './types.js';
|
|
3
|
+
import type { IndexedLatexDictionary, IndexedLatexDictionaryEntry, IndexedInfixEntry, IndexedPostfixEntry, IndexedPrefixEntry, IndexedSymbolEntry, IndexedExpressionEntry, IndexedFunctionEntry } from './dictionary/definitions.js';
|
|
4
|
+
import { BoxedType } from '../../common/type/boxed-type.js';
|
|
5
|
+
import { TypeString } from '../types.js';
|
|
6
6
|
/**
|
|
7
7
|
* ## THEORY OF OPERATIONS
|
|
8
8
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import { NumberSerializationFormat } from './types';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import { NumberSerializationFormat } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* @param expr - A number, can be represented as a string
|
|
5
5
|
* (particularly useful for arbitrary precision numbers) or a number (-12.45)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import { DelimiterScale } from './types';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import { DelimiterScale } from './types.js';
|
|
3
3
|
export declare function getApplyFunctionStyle(_expr: MathJsonExpression, _level: number): DelimiterScale;
|
|
4
4
|
export declare function getGroupStyle(_expr: MathJsonExpression, _level: number): DelimiterScale;
|
|
5
5
|
export declare function getRootStyle(_expr: MathJsonExpression | null, level: number): 'radical' | 'quotient' | 'solidus';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import { LatexString, SerializeLatexOptions, DelimiterScale } from './types';
|
|
3
|
-
import type { IndexedLatexDictionary, IndexedLatexDictionaryEntry } from './dictionary/definitions';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import { LatexString, SerializeLatexOptions, DelimiterScale } from './types.js';
|
|
3
|
+
import type { IndexedLatexDictionary, IndexedLatexDictionaryEntry } from './dictionary/definitions.js';
|
|
4
4
|
export declare class Serializer {
|
|
5
5
|
options: Readonly<Required<SerializeLatexOptions>>;
|
|
6
6
|
readonly dictionary: IndexedLatexDictionary;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import type { MathJsonExpression, MathJsonSymbol } from '../../math-json/types';
|
|
3
|
-
import type { TypeString } from '../../common/type/types';
|
|
4
|
-
import type { DisplayDigits } from '../types-kernel-serialization';
|
|
5
|
-
import { BoxedType } from '../../common/type/boxed-type';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import type { MathJsonExpression, MathJsonSymbol } from '../../math-json/types.js';
|
|
3
|
+
import type { TypeString } from '../../common/type/types.js';
|
|
4
|
+
import type { DisplayDigits } from '../types-kernel-serialization.js';
|
|
5
|
+
import { BoxedType } from '../../common/type/boxed-type.js';
|
|
6
6
|
export type SymbolTable = {
|
|
7
7
|
parent: SymbolTable | null;
|
|
8
8
|
ids: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import '../symbolic/explain-derivative';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import '../symbolic/explain-derivative.js';
|
|
3
3
|
export declare const CALCULUS_LIBRARY: SymbolDefinitions[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const COLORS_LIBRARY: SymbolDefinitions;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const COMBINATORICS_LIBRARY: SymbolDefinitions[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* 0.69.
|
|
2
|
-
import { type SubjectPart } from '../boxed-expression/constraint-subject';
|
|
1
|
+
/* 0.69.1 */
|
|
2
|
+
import { type SubjectPart } from '../boxed-expression/constraint-subject.js';
|
|
3
3
|
/**
|
|
4
4
|
* Assumption-based sign fallback for the part extractors
|
|
5
5
|
* (`Real`, `Imaginary`, `Argument` — and `Abs` in the arithmetic library):
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.69.
|
|
1
|
+
/* 0.69.1 */
|
|
2
2
|
export declare const CONTROL_STRUCTURES_LIBRARY: SymbolDefinitions[];
|