@cortex-js/compute-engine 0.35.6 → 0.50.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.
Files changed (223) hide show
  1. package/README.md +121 -5
  2. package/dist/compute-engine.esm.js +55594 -51135
  3. package/dist/compute-engine.min.esm.js +1081 -78
  4. package/dist/compute-engine.min.umd.js +1081 -78
  5. package/dist/compute-engine.umd.js +53638 -49162
  6. package/dist/math-json.esm.js +2 -2
  7. package/dist/math-json.min.esm.js +2 -2
  8. package/dist/math-json.min.umd.js +2 -2
  9. package/dist/math-json.umd.js +2 -2
  10. package/dist/types/common/ansi-codes.d.ts +1 -1
  11. package/dist/types/common/configuration-change.d.ts +1 -1
  12. package/dist/types/common/fuzzy-string-match.d.ts +1 -1
  13. package/dist/types/common/grapheme-splitter.d.ts +1 -1
  14. package/dist/types/common/interruptible.d.ts +1 -1
  15. package/dist/types/common/one-of.d.ts +1 -1
  16. package/dist/types/common/signals.d.ts +1 -1
  17. package/dist/types/common/type/ast-nodes.d.ts +1 -1
  18. package/dist/types/common/type/boxed-type.d.ts +1 -1
  19. package/dist/types/common/type/lexer.d.ts +1 -1
  20. package/dist/types/common/type/parse.d.ts +1 -1
  21. package/dist/types/common/type/parser.d.ts +8 -1
  22. package/dist/types/common/type/primitive.d.ts +2 -1
  23. package/dist/types/common/type/reduce.d.ts +1 -1
  24. package/dist/types/common/type/serialize.d.ts +1 -1
  25. package/dist/types/common/type/subtype.d.ts +1 -1
  26. package/dist/types/common/type/type-builder.d.ts +1 -1
  27. package/dist/types/common/type/types.d.ts +1 -1
  28. package/dist/types/common/type/utils.d.ts +3 -2
  29. package/dist/types/common/utils.d.ts +1 -1
  30. package/dist/types/compute-engine/assume.d.ts +4 -22
  31. package/dist/types/compute-engine/boxed-expression/abstract-boxed-expression.d.ts +66 -76
  32. package/dist/types/compute-engine/boxed-expression/apply.d.ts +4 -4
  33. package/dist/types/compute-engine/boxed-expression/arithmetic-add.d.ts +15 -6
  34. package/dist/types/compute-engine/boxed-expression/arithmetic-mul-div.d.ts +72 -6
  35. package/dist/types/compute-engine/boxed-expression/arithmetic-power.d.ts +8 -8
  36. package/dist/types/compute-engine/boxed-expression/ascii-math.d.ts +5 -8
  37. package/dist/types/compute-engine/boxed-expression/box.d.ts +63 -8
  38. package/dist/types/compute-engine/boxed-expression/boxed-dictionary.d.ts +13 -12
  39. package/dist/types/compute-engine/boxed-expression/boxed-function.d.ts +44 -43
  40. package/dist/types/compute-engine/boxed-expression/boxed-number.d.ts +31 -30
  41. package/dist/types/compute-engine/boxed-expression/boxed-operator-definition.d.ts +18 -18
  42. package/dist/types/compute-engine/boxed-expression/boxed-patterns.d.ts +5 -37
  43. package/dist/types/compute-engine/boxed-expression/boxed-string.d.ts +5 -4
  44. package/dist/types/compute-engine/boxed-expression/boxed-symbol.d.ts +34 -33
  45. package/dist/types/compute-engine/boxed-expression/boxed-tensor.d.ts +34 -33
  46. package/dist/types/compute-engine/boxed-expression/boxed-value-definition.d.ts +8 -8
  47. package/dist/types/compute-engine/boxed-expression/cache.d.ts +1 -1
  48. package/dist/types/compute-engine/boxed-expression/canonical-utils.d.ts +2 -2
  49. package/dist/types/compute-engine/boxed-expression/canonical.d.ts +2 -2
  50. package/dist/types/compute-engine/boxed-expression/compare.d.ts +7 -4
  51. package/dist/types/compute-engine/boxed-expression/constants.d.ts +6 -0
  52. package/dist/types/compute-engine/boxed-expression/expand.d.ts +4 -5
  53. package/dist/types/compute-engine/boxed-expression/expression-map.d.ts +9 -9
  54. package/dist/types/compute-engine/boxed-expression/factor.d.ts +7 -7
  55. package/dist/types/compute-engine/boxed-expression/flatten.d.ts +4 -13
  56. package/dist/types/compute-engine/boxed-expression/hold.d.ts +3 -3
  57. package/dist/types/compute-engine/boxed-expression/inequality-bounds.d.ts +21 -0
  58. package/dist/types/compute-engine/boxed-expression/init-lazy-refs.d.ts +1 -0
  59. package/dist/types/compute-engine/boxed-expression/invisible-operator.d.ts +4 -0
  60. package/dist/types/compute-engine/boxed-expression/match.d.ts +2 -2
  61. package/dist/types/compute-engine/boxed-expression/negate.d.ts +4 -4
  62. package/dist/types/compute-engine/boxed-expression/numerics.d.ts +8 -8
  63. package/dist/types/compute-engine/boxed-expression/order.d.ts +14 -14
  64. package/dist/types/compute-engine/boxed-expression/pattern-utils.d.ts +41 -0
  65. package/dist/types/compute-engine/boxed-expression/polynomial-degree.d.ts +18 -0
  66. package/dist/types/compute-engine/boxed-expression/polynomials.d.ts +12 -35
  67. package/dist/types/compute-engine/boxed-expression/predicates.d.ts +2 -0
  68. package/dist/types/compute-engine/boxed-expression/product.d.ts +1 -66
  69. package/dist/types/compute-engine/boxed-expression/rules.d.ts +51 -51
  70. package/dist/types/compute-engine/boxed-expression/serialize.d.ts +6 -3
  71. package/dist/types/compute-engine/boxed-expression/sgn.d.ts +2 -2
  72. package/dist/types/compute-engine/boxed-expression/simplify.d.ts +2 -2
  73. package/dist/types/compute-engine/boxed-expression/solve-linear-system.d.ts +8 -8
  74. package/dist/types/compute-engine/boxed-expression/solve.d.ts +3 -11
  75. package/dist/types/compute-engine/boxed-expression/trigonometry.d.ts +7 -7
  76. package/dist/types/compute-engine/boxed-expression/type-guards.d.ts +31 -0
  77. package/dist/types/compute-engine/boxed-expression/utils.d.ts +13 -13
  78. package/dist/types/compute-engine/boxed-expression/validate.d.ts +10 -10
  79. package/dist/types/compute-engine/collection-utils.d.ts +4 -4
  80. package/dist/types/compute-engine/compilation/base-compiler.d.ts +3 -3
  81. package/dist/types/compute-engine/compilation/compile-expression.d.ts +25 -0
  82. package/dist/types/compute-engine/compilation/glsl-target.d.ts +12 -41
  83. package/dist/types/compute-engine/compilation/gpu-target.d.ts +50 -0
  84. package/dist/types/compute-engine/compilation/interval-glsl-target.d.ts +11 -11
  85. package/dist/types/compute-engine/compilation/interval-javascript-target.d.ts +7 -7
  86. package/dist/types/compute-engine/compilation/interval-wgsl-target.d.ts +54 -0
  87. package/dist/types/compute-engine/compilation/javascript-target.d.ts +6 -6
  88. package/dist/types/compute-engine/compilation/python-target.d.ts +61 -0
  89. package/dist/types/compute-engine/compilation/types.d.ts +38 -22
  90. package/dist/types/compute-engine/compilation/wgsl-target.d.ts +41 -0
  91. package/dist/types/compute-engine/cost-function.d.ts +3 -3
  92. package/dist/types/compute-engine/engine-assumptions.d.ts +6 -0
  93. package/dist/types/compute-engine/engine-cache.d.ts +6 -0
  94. package/dist/types/compute-engine/engine-common-symbols.d.ts +6 -0
  95. package/dist/types/compute-engine/engine-compilation-targets.d.ts +17 -0
  96. package/dist/types/compute-engine/engine-configuration-lifecycle.d.ts +15 -0
  97. package/dist/types/compute-engine/engine-declarations.d.ts +19 -0
  98. package/dist/types/compute-engine/engine-expression-entrypoints.d.ts +44 -0
  99. package/dist/types/compute-engine/engine-extension-contracts.d.ts +9 -0
  100. package/dist/types/compute-engine/engine-latex-dictionary-state.d.ts +13 -0
  101. package/dist/types/compute-engine/engine-library-bootstrap.d.ts +6 -0
  102. package/dist/types/compute-engine/engine-numeric-configuration.d.ts +34 -0
  103. package/dist/types/compute-engine/engine-parse-entrypoint.d.ts +7 -0
  104. package/dist/types/compute-engine/engine-runtime-state.d.ts +19 -0
  105. package/dist/types/compute-engine/engine-scope.d.ts +13 -0
  106. package/dist/types/compute-engine/engine-sequences.d.ts +14 -0
  107. package/dist/types/compute-engine/engine-simplification-rules.d.ts +15 -0
  108. package/dist/types/compute-engine/engine-startup-coordinator.d.ts +28 -0
  109. package/dist/types/compute-engine/engine-type-resolver.d.ts +12 -0
  110. package/dist/types/compute-engine/engine-validation-entrypoints.d.ts +13 -0
  111. package/dist/types/compute-engine/free-functions.d.ts +20 -0
  112. package/dist/types/compute-engine/function-utils.d.ts +10 -10
  113. package/dist/types/compute-engine/global-types.d.ts +5 -3301
  114. package/dist/types/compute-engine/index.d.ts +156 -112
  115. package/dist/types/compute-engine/interval/arithmetic.d.ts +1 -1
  116. package/dist/types/compute-engine/interval/comparison.d.ts +1 -1
  117. package/dist/types/compute-engine/interval/elementary.d.ts +1 -1
  118. package/dist/types/compute-engine/interval/index.d.ts +1 -1
  119. package/dist/types/compute-engine/interval/trigonometric.d.ts +1 -1
  120. package/dist/types/compute-engine/interval/types.d.ts +1 -1
  121. package/dist/types/compute-engine/interval/util.d.ts +1 -1
  122. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-algebra.d.ts +1 -1
  123. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-arithmetic.d.ts +1 -1
  124. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-calculus.d.ts +1 -1
  125. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-complex.d.ts +1 -1
  126. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-core.d.ts +1 -1
  127. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-linear-algebra.d.ts +1 -1
  128. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-logic.d.ts +1 -1
  129. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-other.d.ts +1 -1
  130. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-relational-operators.d.ts +1 -1
  131. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-sets.d.ts +1 -1
  132. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-statistics.d.ts +1 -1
  133. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-symbols.d.ts +1 -1
  134. package/dist/types/compute-engine/latex-syntax/dictionary/definitions-trigonometry.d.ts +1 -1
  135. package/dist/types/compute-engine/latex-syntax/dictionary/definitions.d.ts +4 -80
  136. package/dist/types/compute-engine/latex-syntax/dictionary/indexed-types.d.ts +83 -0
  137. package/dist/types/compute-engine/latex-syntax/parse-number.d.ts +28 -0
  138. package/dist/types/compute-engine/latex-syntax/parse-symbol.d.ts +2 -2
  139. package/dist/types/compute-engine/latex-syntax/parse.d.ts +23 -33
  140. package/dist/types/compute-engine/latex-syntax/serialize-number.d.ts +2 -2
  141. package/dist/types/compute-engine/latex-syntax/serializer-style.d.ts +8 -8
  142. package/dist/types/compute-engine/latex-syntax/serializer.d.ts +15 -15
  143. package/dist/types/compute-engine/latex-syntax/tokenizer.d.ts +1 -1
  144. package/dist/types/compute-engine/latex-syntax/types.d.ts +73 -53
  145. package/dist/types/compute-engine/latex-syntax/utils.d.ts +1 -1
  146. package/dist/types/compute-engine/library/arithmetic.d.ts +1 -2
  147. package/dist/types/compute-engine/library/calculus.d.ts +1 -1
  148. package/dist/types/compute-engine/library/collections.d.ts +4 -4
  149. package/dist/types/compute-engine/library/combinatorics.d.ts +1 -1
  150. package/dist/types/compute-engine/library/complex.d.ts +1 -1
  151. package/dist/types/compute-engine/library/control-structures.d.ts +1 -1
  152. package/dist/types/compute-engine/library/core.d.ts +1 -1
  153. package/dist/types/compute-engine/library/library.d.ts +19 -6
  154. package/dist/types/compute-engine/library/linear-algebra.d.ts +1 -1
  155. package/dist/types/compute-engine/library/logic-analysis.d.ts +19 -32
  156. package/dist/types/compute-engine/library/logic.d.ts +1 -5
  157. package/dist/types/compute-engine/library/number-theory.d.ts +1 -1
  158. package/dist/types/compute-engine/library/polynomials.d.ts +1 -1
  159. package/dist/types/compute-engine/library/random-expression.d.ts +2 -2
  160. package/dist/types/compute-engine/library/relational-operator.d.ts +1 -1
  161. package/dist/types/compute-engine/library/sets.d.ts +1 -1
  162. package/dist/types/compute-engine/library/statistics.d.ts +1 -1
  163. package/dist/types/compute-engine/library/trigonometry.d.ts +1 -1
  164. package/dist/types/compute-engine/library/type-handlers.d.ts +4 -0
  165. package/dist/types/compute-engine/library/utils.d.ts +12 -12
  166. package/dist/types/compute-engine/numeric-value/big-numeric-value.d.ts +5 -5
  167. package/dist/types/compute-engine/numeric-value/exact-numeric-value.d.ts +5 -5
  168. package/dist/types/compute-engine/numeric-value/machine-numeric-value.d.ts +5 -5
  169. package/dist/types/compute-engine/numeric-value/types.d.ts +2 -3
  170. package/dist/types/compute-engine/numerics/bigint.d.ts +1 -1
  171. package/dist/types/compute-engine/numerics/expression.d.ts +3 -3
  172. package/dist/types/compute-engine/numerics/interval.d.ts +2 -2
  173. package/dist/types/compute-engine/numerics/monte-carlo.d.ts +1 -1
  174. package/dist/types/compute-engine/numerics/numeric-bigint.d.ts +1 -1
  175. package/dist/types/compute-engine/numerics/numeric-bignum.d.ts +1 -1
  176. package/dist/types/compute-engine/numerics/numeric-complex.d.ts +1 -1
  177. package/dist/types/compute-engine/numerics/numeric.d.ts +1 -1
  178. package/dist/types/compute-engine/numerics/primes.d.ts +1 -1
  179. package/dist/types/compute-engine/numerics/rationals.d.ts +4 -4
  180. package/dist/types/compute-engine/numerics/richardson.d.ts +1 -1
  181. package/dist/types/compute-engine/numerics/special-functions.d.ts +120 -1
  182. package/dist/types/compute-engine/numerics/statistics.d.ts +1 -2
  183. package/dist/types/compute-engine/numerics/strings.d.ts +1 -1
  184. package/dist/types/compute-engine/numerics/types.d.ts +3 -1
  185. package/dist/types/compute-engine/oeis.d.ts +3 -3
  186. package/dist/types/compute-engine/sequence.d.ts +13 -13
  187. package/dist/types/compute-engine/symbolic/antiderivative.d.ts +2 -2
  188. package/dist/types/compute-engine/symbolic/derivative.d.ts +3 -3
  189. package/dist/types/compute-engine/symbolic/distribute.d.ts +2 -2
  190. package/dist/types/compute-engine/symbolic/fu-cost.d.ts +6 -6
  191. package/dist/types/compute-engine/symbolic/fu-transforms.d.ts +46 -46
  192. package/dist/types/compute-engine/symbolic/fu.d.ts +4 -4
  193. package/dist/types/compute-engine/symbolic/logic-utils.d.ts +54 -0
  194. package/dist/types/compute-engine/symbolic/simplify-abs.d.ts +4 -4
  195. package/dist/types/compute-engine/symbolic/simplify-divide.d.ts +2 -2
  196. package/dist/types/compute-engine/symbolic/simplify-hyperbolic.d.ts +2 -2
  197. package/dist/types/compute-engine/symbolic/simplify-infinity.d.ts +2 -2
  198. package/dist/types/compute-engine/symbolic/simplify-log.d.ts +2 -2
  199. package/dist/types/compute-engine/symbolic/simplify-logic.d.ts +5 -0
  200. package/dist/types/compute-engine/symbolic/simplify-power.d.ts +2 -2
  201. package/dist/types/compute-engine/symbolic/simplify-product.d.ts +2 -2
  202. package/dist/types/compute-engine/symbolic/simplify-rules.d.ts +65 -4
  203. package/dist/types/compute-engine/symbolic/simplify-sum.d.ts +2 -2
  204. package/dist/types/compute-engine/symbolic/simplify-trig.d.ts +2 -2
  205. package/dist/types/compute-engine/tensor/tensor-fields.d.ts +42 -42
  206. package/dist/types/compute-engine/tensor/tensors.d.ts +4 -4
  207. package/dist/types/compute-engine/types-definitions.d.ts +900 -0
  208. package/dist/types/compute-engine/types-engine.d.ts +375 -0
  209. package/dist/types/compute-engine/types-evaluation.d.ts +67 -0
  210. package/dist/types/compute-engine/types-expression.d.ts +1655 -0
  211. package/dist/types/compute-engine/types-kernel-evaluation.d.ts +164 -0
  212. package/dist/types/compute-engine/types-kernel-serialization.d.ts +147 -0
  213. package/dist/types/compute-engine/types-serialization.d.ts +23 -0
  214. package/dist/types/compute-engine/types.d.ts +2 -2
  215. package/dist/types/compute-engine.d.ts +16 -3
  216. package/dist/types/math-json/symbols.d.ts +1 -1
  217. package/dist/types/math-json/types.d.ts +3 -3
  218. package/dist/types/math-json/utils.d.ts +31 -31
  219. package/dist/types/math-json.d.ts +2 -2
  220. package/package.json +8 -1
  221. package/dist/types/compute-engine/boxed-expression/terms.d.ts +0 -10
  222. package/dist/types/compute-engine/library/invisible-operator.d.ts +0 -4
  223. package/dist/types/compute-engine/library/logic-utils.d.ts +0 -54
@@ -1,28 +1,35 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  import { Decimal } from 'decimal.js';
3
3
  import { Type, TypeResolver, TypeString } from '../common/type/types';
4
4
  import { BoxedType } from '../common/type/boxed-type';
5
5
  import type { OneOf } from '../common/one-of';
6
- import { ConfigurationChangeListener } from '../common/configuration-change';
7
- import type { Expression, MathJsonSymbol, MathJsonNumberObject } from '../math-json/types';
8
- import type { ValueDefinition, OperatorDefinition, AngularUnit, AssignValue, AssumeResult, BoxedExpression, BoxedRule, BoxedRuleSet, BoxedSubstitution, CanonicalOptions, SymbolDefinitions, Metadata, Rule, Scope, EvalContext, SemiBoxedExpression, ComputeEngine as IComputeEngine, BoxedDefinition, SymbolDefinition, SequenceDefinition, SequenceStatus, SequenceInfo, OEISSequenceInfo, OEISOptions } from './global-types';
9
- import type { LatexDictionaryEntry, LatexString, LibraryCategory, ParseLatexOptions } from './latex-syntax/types';
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, Scope, EvalContext, ExpressionInput, IComputeEngine, BoxedDefinition, SymbolDefinition, SequenceDefinition, SequenceStatus, SequenceInfo, OEISSequenceInfo, OEISOptions, LibraryDefinition } from './global-types';
9
+ import type { LatexDictionaryEntry, LatexString, LibraryCategory } from './latex-syntax/types';
10
10
  import { type IndexedLatexDictionary } from './latex-syntax/dictionary/definitions';
11
11
  import type { BigNum, Rational } from './numerics/types';
12
12
  import { ExactNumericValueData, NumericValue, NumericValueData } from './numeric-value/types';
13
+ import type { FormOption } from './types-serialization';
13
14
  import { validatePattern } from './boxed-expression/boxed-patterns';
14
- import { factor, factorPerfectSquare, factorDifferenceOfSquares, factorQuadratic, factorPolynomial } from './boxed-expression/factor';
15
+ import './boxed-expression/init-lazy-refs';
16
+ import { factorPerfectSquare, factorDifferenceOfSquares, factorQuadratic, factorPolynomial } from './boxed-expression/factor';
15
17
  import './boxed-expression/serialize';
16
- export * from './global-types';
18
+ import { type ParseEntrypointOptions } from './engine-parse-entrypoint';
19
+ export type * from './global-types';
20
+ export { parse, simplify, evaluate, N, assign, expand, expandAll, factor, solve, compile, getDefaultEngine, } from './free-functions';
17
21
  export { validatePattern };
18
- export { factor, factorPerfectSquare, factorDifferenceOfSquares, factorQuadratic, factorPolynomial, };
19
- export type { CompileTarget, CompiledOperators, CompiledFunctions, CompilationOptions, CompiledExecutable, LanguageTarget, TargetSource, CompiledFunction, } from './compilation/types';
22
+ export { factorPerfectSquare, factorDifferenceOfSquares, factorQuadratic, factorPolynomial, };
23
+ export type { CompileTarget, CompiledOperators, CompiledFunctions, CompilationOptions, CompilationResult, LanguageTarget, TargetSource, CompiledFunction, } from './compilation/types';
20
24
  export { JavaScriptTarget } from './compilation/javascript-target';
21
25
  export { GLSLTarget } from './compilation/glsl-target';
26
+ export { PythonTarget } from './compilation/python-target';
22
27
  export { IntervalJavaScriptTarget } from './compilation/interval-javascript-target';
23
28
  export { IntervalGLSLTarget } from './compilation/interval-glsl-target';
24
29
  export { BaseCompiler } from './compilation/base-compiler';
25
30
  import type { LanguageTarget } from './compilation/types';
31
+ import { compile as _compile } from './compilation/compile-expression';
32
+ import { fu as _fu } from './symbolic/fu';
26
33
  /**
27
34
  *
28
35
  * To use the Compute Engine, create a `ComputeEngine` instance:
@@ -56,21 +63,21 @@ import type { LanguageTarget } from './compilation/types';
56
63
  *
57
64
  */
58
65
  export declare class ComputeEngine implements IComputeEngine {
59
- readonly True: BoxedExpression;
60
- readonly False: BoxedExpression;
61
- readonly Pi: BoxedExpression;
62
- readonly E: BoxedExpression;
63
- readonly Nothing: BoxedExpression;
64
- readonly Zero: BoxedExpression;
65
- readonly One: BoxedExpression;
66
- readonly Half: BoxedExpression;
67
- readonly NegativeOne: BoxedExpression;
68
- readonly Two: BoxedExpression;
69
- readonly I: BoxedExpression;
70
- readonly NaN: BoxedExpression;
71
- readonly PositiveInfinity: BoxedExpression;
72
- readonly NegativeInfinity: BoxedExpression;
73
- readonly ComplexInfinity: BoxedExpression;
66
+ readonly True: Expression;
67
+ readonly False: Expression;
68
+ readonly Pi: Expression;
69
+ readonly E: Expression;
70
+ readonly Nothing: Expression;
71
+ readonly Zero: Expression;
72
+ readonly One: Expression;
73
+ readonly Half: Expression;
74
+ readonly NegativeOne: Expression;
75
+ readonly Two: Expression;
76
+ readonly I: Expression;
77
+ readonly NaN: Expression;
78
+ readonly PositiveInfinity: Expression;
79
+ readonly NegativeInfinity: Expression;
80
+ readonly ComplexInfinity: Expression;
74
81
  /** The symbol separating the whole part of a number from its fractional
75
82
  * part in a LaTeX string.
76
83
  *
@@ -83,35 +90,21 @@ export declare class ComputeEngine implements IComputeEngine {
83
90
  * */
84
91
  decimalSeparator: LatexString;
85
92
  /** @internal */
86
- _BIGNUM_NAN: Decimal;
93
+ private _numericConfiguration;
87
94
  /** @internal */
88
- _BIGNUM_ZERO: Decimal;
89
- /** @internal */
90
- _BIGNUM_ONE: Decimal;
91
- /** @internal */
92
- _BIGNUM_TWO: Decimal;
93
- /** @internal */
94
- _BIGNUM_HALF: Decimal;
95
- /** @internal */
96
- _BIGNUM_PI: Decimal;
97
- /** @internal */
98
- _BIGNUM_NEGATIVE_ONE: Decimal;
99
- /** @internal */
100
- private _precision;
101
- /** @ internal */
102
- private _angularUnit;
103
- /** @internal */
104
- private _tolerance;
105
- /** @internal */
106
- private _bignumTolerance;
107
- private _negBignumTolerance;
108
- /** @internal */
109
- private __cache;
110
- private _configurationChangeTracker;
95
+ private _cacheStore;
96
+ /** @internal Runtime execution limits and verification mode state */
97
+ private _runtimeState;
98
+ /** @internal Configuration change generation/tracking lifecycle */
99
+ private _configurationLifecycle;
111
100
  /** @internal */
112
101
  private _cost?;
102
+ /** @internal Backing state for simplificationRules */
103
+ private _simplificationRules;
113
104
  /** @internal Registry of compilation targets */
114
105
  private _compilationTargets;
106
+ /** @internal Fu trigonometric simplification algorithm */
107
+ _fuAlgorithm: typeof _fu;
115
108
  /** @internal */
116
109
  private _commonSymbols;
117
110
  /** @internal */
@@ -129,6 +122,20 @@ export declare class ComputeEngine implements IComputeEngine {
129
122
  get contextStack(): ReadonlyArray<EvalContext>;
130
123
  set contextStack(stack: ReadonlyArray<EvalContext>);
131
124
  /** @internal */
125
+ get _BIGNUM_NAN(): Decimal;
126
+ /** @internal */
127
+ get _BIGNUM_ZERO(): Decimal;
128
+ /** @internal */
129
+ get _BIGNUM_ONE(): Decimal;
130
+ /** @internal */
131
+ get _BIGNUM_TWO(): Decimal;
132
+ /** @internal */
133
+ get _BIGNUM_HALF(): Decimal;
134
+ /** @internal */
135
+ get _BIGNUM_PI(): Decimal;
136
+ /** @internal */
137
+ get _BIGNUM_NEGATIVE_ONE(): Decimal;
138
+ /** @internal */
132
139
  get _typeResolver(): TypeResolver;
133
140
  /**
134
141
  * Declare a new type in the current scope.
@@ -136,7 +143,7 @@ export declare class ComputeEngine implements IComputeEngine {
136
143
  * By default, types are nominal. To declare a structural type, set
137
144
  * `alias` to `true`.
138
145
  */
139
- declareType(name: string, type: BoxedType | Type | TypeString, { alias }?: {
146
+ declareType(name: string, type: BoxedType | Type | TypeString, options?: {
140
147
  alias?: boolean;
141
148
  }): void;
142
149
  /**
@@ -149,7 +156,8 @@ export declare class ComputeEngine implements IComputeEngine {
149
156
  * It is used to invalidate caches.
150
157
  * @internal
151
158
  */
152
- _generation: number;
159
+ get _generation(): number;
160
+ set _generation(value: number);
153
161
  /** In strict mode (the default) the Compute Engine performs
154
162
  * validation of domains and signature and may report errors.
155
163
  *
@@ -160,10 +168,6 @@ export declare class ComputeEngine implements IComputeEngine {
160
168
  *
161
169
  */
162
170
  strict: boolean;
163
- /** Absolute time beyond which evaluation should not proceed.
164
- * @internal
165
- */
166
- deadline?: number;
167
171
  /**
168
172
  * Return symbol tables suitable for the specified categories, or `"all"`
169
173
  * for all categories (`"arithmetic"`, `"algebra"`, etc...).
@@ -172,12 +176,8 @@ export declare class ComputeEngine implements IComputeEngine {
172
176
  *
173
177
  */
174
178
  /** @internal */
175
- private _latexDictionaryInput;
176
- /** @internal */
177
- __indexedLatexDictionary: IndexedLatexDictionary;
178
- /** @internal */
179
- _bignum: Decimal.Constructor;
180
- static getStandardLibrary(categories?: LibraryCategory[] | LibraryCategory | 'all'): readonly SymbolDefinitions[];
179
+ private _latexDictionaryState;
180
+ static getStandardLibrary(categories?: LibraryCategory[] | LibraryCategory | 'all'): readonly LibraryDefinition[];
181
181
  /**
182
182
  * Return a LaTeX dictionary suitable for the specified category, or `"all"`
183
183
  * for all categories (`"arithmetic"`, `"algebra"`, etc...).
@@ -230,9 +230,13 @@ export declare class ComputeEngine implements IComputeEngine {
230
230
  * @param options.tolerance If the absolute value of the difference of two
231
231
  * numbers is less than `tolerance`, they are considered equal. Used by
232
232
  * `chop()` as well.
233
+ *
234
+ * @param options.libraries Optional standard/custom library list.
235
+ * Custom library entries are validated during startup (name, dependencies,
236
+ * definitions, and LaTeX dictionary shape).
233
237
  */
234
238
  constructor(options?: {
235
- ids?: readonly SymbolDefinitions[];
239
+ libraries?: readonly (string | LibraryDefinition)[];
236
240
  precision?: number | 'machine';
237
241
  tolerance?: number | 'auto';
238
242
  });
@@ -275,19 +279,40 @@ export declare class ComputeEngine implements IComputeEngine {
275
279
  *
276
280
  * // Use the custom target
277
281
  * const expr = ce.parse('x^2 + y^2');
278
- * const code = expr.compile({ to: 'python' });
282
+ * const code = compile(expr, { to: 'python' });
279
283
  * ```
284
+ *
285
+ * Throws if:
286
+ * - `name` is empty or contains whitespace
287
+ * - `target` does not implement the required `LanguageTarget` methods
280
288
  */
281
- registerCompilationTarget(name: string, target: LanguageTarget): void;
289
+ registerCompilationTarget(name: string, target: LanguageTarget<Expression>): void;
282
290
  /**
283
291
  * Get a registered compilation target by name.
284
292
  *
285
- * @param name - The name of the target (e.g., 'javascript', 'glsl')
293
+ * @param name - The name of the target (e.g., 'javascript', 'glsl', 'python')
286
294
  * @returns The LanguageTarget implementation, or undefined if not found
295
+ */
296
+ getCompilationTarget(name: string): LanguageTarget<Expression> | undefined;
297
+ /**
298
+ * Return the names of all registered compilation targets.
287
299
  *
288
- * @internal
300
+ * @example
301
+ * ```typescript
302
+ * const ce = new ComputeEngine();
303
+ * console.log(ce.listCompilationTargets());
304
+ * // → ['javascript', 'glsl', 'interval-js', 'interval-glsl']
305
+ * ```
289
306
  */
290
- _getCompilationTarget(name: string): LanguageTarget | undefined;
307
+ listCompilationTargets(): string[];
308
+ /**
309
+ * Remove a registered compilation target.
310
+ *
311
+ * @param name - The name of the target to remove
312
+ */
313
+ unregisterCompilationTarget(name: string): void;
314
+ /** @internal Compile a boxed expression. */
315
+ _compile(expr: Expression, options?: Parameters<typeof _compile>[1]): ReturnType<typeof _compile>;
291
316
  get precision(): number;
292
317
  /** The precision, or number of significant digits, of numeric
293
318
  * calculations.
@@ -326,9 +351,14 @@ export declare class ComputeEngine implements IComputeEngine {
326
351
  */
327
352
  get timeLimit(): number;
328
353
  set timeLimit(t: number);
329
- private _timeLimit;
354
+ /** Absolute time beyond which evaluation should not proceed.
355
+ * @internal
356
+ */
357
+ get deadline(): number | undefined;
358
+ set deadline(value: number | undefined);
330
359
  /** The time after which the time limit has been exceeded */
331
- _deadline: number | undefined;
360
+ get _deadline(): number | undefined;
361
+ set _deadline(value: number | undefined);
332
362
  get _timeRemaining(): number;
333
363
  /** Throw `CancellationError` `iteration-limit-exceeded` when the iteration limit
334
364
  * in a loop is exceeded. Default: no limits.
@@ -337,7 +367,6 @@ export declare class ComputeEngine implements IComputeEngine {
337
367
  */
338
368
  get iterationLimit(): number;
339
369
  set iterationLimit(t: number);
340
- private _iterationLimit;
341
370
  /** Signal `recursion-depth-exceeded` when the recursion depth for this
342
371
  * scope is exceeded.
343
372
  *
@@ -345,7 +374,6 @@ export declare class ComputeEngine implements IComputeEngine {
345
374
  */
346
375
  get recursionLimit(): number;
347
376
  set recursionLimit(t: number);
348
- private _recursionLimit;
349
377
  /**
350
378
  * Flag to prevent infinite recursion in the verify/ask/equality checking cycle.
351
379
  *
@@ -368,7 +396,9 @@ export declare class ComputeEngine implements IComputeEngine {
368
396
  * @see eq() in compare.ts
369
397
  * @see Equal/NotEqual operators in relational-operator.ts
370
398
  */
371
- private _isVerifying;
399
+ /** @internal */
400
+ get _isVerifying(): boolean;
401
+ set _isVerifying(value: boolean);
372
402
  /**
373
403
  * @internal
374
404
  * Indicates whether we're currently inside a verify() call.
@@ -436,9 +466,9 @@ export declare class ComputeEngine implements IComputeEngine {
436
466
  * - `isNegative()`
437
467
  * - `isPositive()`
438
468
  * - `isZero()`
439
- * - `sign()` (1, 0 or -1)
440
- *
441
- */
469
+ * - `sign()` (1, 0 or -1)
470
+ *
471
+ */
442
472
  bignum(a: Decimal.Value | bigint): Decimal;
443
473
  /** Create a complex number.
444
474
  * The return value is an object with methods to perform arithmetic
@@ -496,8 +526,27 @@ export declare class ComputeEngine implements IComputeEngine {
496
526
  /**
497
527
  * The cost function is used to determine the "cost" of an expression. For example, when simplifying an expression, the simplification that results in the lowest cost is chosen.
498
528
  */
499
- get costFunction(): (expr: BoxedExpression) => number;
500
- set costFunction(fn: ((expr: BoxedExpression) => number) | undefined);
529
+ get costFunction(): (expr: Expression) => number;
530
+ set costFunction(fn: ((expr: Expression) => number) | undefined);
531
+ /**
532
+ * The rules used by `.simplify()` when no explicit `rules` option is passed.
533
+ * Initialized to a copy of the built-in simplification rules.
534
+ *
535
+ * Add custom rules with `push()`:
536
+ * ```ts
537
+ * ce.simplificationRules.push({
538
+ * match: ['Power', ['Sin', '_x'], 2],
539
+ * replace: ['Subtract', 1, ['Power', ['Cos', '_x'], 2]],
540
+ * });
541
+ * ```
542
+ *
543
+ * Or replace entirely:
544
+ * ```ts
545
+ * ce.simplificationRules = myCustomRules;
546
+ * ```
547
+ */
548
+ get simplificationRules(): Rule[];
549
+ set simplificationRules(rules: Rule[]);
501
550
  /**
502
551
  * Return definition matching the symbol, starting with the current
503
552
  * lexical scope and going up the scope chain.
@@ -544,19 +593,19 @@ export declare class ComputeEngine implements IComputeEngine {
544
593
  /**
545
594
  * Use `ce.box(name)` instead
546
595
  * @internal */
547
- _getSymbolValue(id: MathJsonSymbol): BoxedExpression | undefined;
596
+ _getSymbolValue(id: MathJsonSymbol): Expression | undefined;
548
597
  /**
549
598
  * For internal use. Use `ce.assign(name, value)` instead.
550
599
  * @internal
551
600
  */
552
- _setSymbolValue(id: MathJsonSymbol, value: BoxedExpression | boolean | number | undefined): void;
601
+ _setSymbolValue(id: MathJsonSymbol, value: Expression | boolean | number | undefined): void;
553
602
  /**
554
603
  * Set a value directly in the current context's values map.
555
604
  * This is used for assumptions so that the value is scoped to the current
556
605
  * evaluation context and is automatically removed when the scope is popped.
557
606
  * @internal
558
607
  */
559
- _setCurrentContextValue(id: MathJsonSymbol, value: BoxedExpression | boolean | number | undefined): void;
608
+ _setCurrentContextValue(id: MathJsonSymbol, value: Expression | boolean | number | undefined): void;
560
609
  /**
561
610
  * Declare a symbol in the current lexical scope: specify their type and
562
611
  * other attributes, including optionally a value.
@@ -625,7 +674,7 @@ export declare class ComputeEngine implements IComputeEngine {
625
674
  * For single-index sequences, keys are numbers.
626
675
  * For multi-index sequences, keys are comma-separated strings (e.g., '5,2').
627
676
  */
628
- getSequenceCache(name: string): Map<number | string, BoxedExpression> | undefined;
677
+ getSequenceCache(name: string): Map<number | string, Expression> | undefined;
629
678
  /**
630
679
  * Generate a list of sequence terms from start to end (inclusive).
631
680
  *
@@ -642,7 +691,7 @@ export declare class ComputeEngine implements IComputeEngine {
642
691
  * // → [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55]
643
692
  * ```
644
693
  */
645
- getSequenceTerms(name: string, start: number, end: number, step?: number): BoxedExpression[] | undefined;
694
+ getSequenceTerms(name: string, start: number, end: number, step?: number): Expression[] | undefined;
646
695
  /**
647
696
  * Look up sequences in OEIS by their terms.
648
697
  *
@@ -656,7 +705,7 @@ export declare class ComputeEngine implements IComputeEngine {
656
705
  * // → [{ id: 'A000045', name: 'Fibonacci numbers', ... }]
657
706
  * ```
658
707
  */
659
- lookupOEIS(terms: (number | BoxedExpression)[], options?: OEISOptions): Promise<OEISSequenceInfo[]>;
708
+ lookupOEIS(terms: (number | Expression)[], options?: OEISOptions): Promise<OEISSequenceInfo[]>;
660
709
  /**
661
710
  * Check if a defined sequence matches an OEIS sequence.
662
711
  *
@@ -716,45 +765,43 @@ export declare class ComputeEngine implements IComputeEngine {
716
765
  _checkContinueExecution(): void;
717
766
  /** @internal */
718
767
  _cache<T>(cacheName: string, build: () => T, purge?: (t: T) => T | undefined): T;
719
- /** Return a boxed expression from a number, string or semiboxed expression.
768
+ /** Return a boxed expression from a number, string or expression input.
720
769
  * Calls `ce.function()`, `ce.number()` or `ce.symbol()` as appropriate.
721
770
  */
722
- box(expr: NumericValue | SemiBoxedExpression, options?: {
723
- canonical?: CanonicalOptions;
724
- structural?: boolean;
771
+ box(expr: NumericValue | ExpressionInput, options?: {
772
+ form?: FormOption;
725
773
  scope?: Scope | undefined;
726
- }): BoxedExpression;
727
- function(name: string, ops: ReadonlyArray<BoxedExpression> | ReadonlyArray<Expression>, options?: {
774
+ }): Expression;
775
+ function(name: string, ops: ReadonlyArray<Expression> | ReadonlyArray<MathJsonExpression>, options?: {
728
776
  metadata?: Metadata;
729
- canonical?: CanonicalOptions;
730
- structural?: boolean;
777
+ form?: FormOption;
731
778
  scope?: Scope | undefined;
732
- }): BoxedExpression;
779
+ }): Expression;
733
780
  /**
734
781
  *
735
782
  * Shortcut for `this.box(["Error",...])`.
736
783
  *
737
784
  * The result is canonical.
738
785
  */
739
- error(message: string | string[], where?: string): BoxedExpression;
740
- typeError(expected: Type, actual: undefined | Type | BoxedType, where?: string): BoxedExpression;
786
+ error(message: string | string[], where?: string): Expression;
787
+ typeError(expected: Type, actual: undefined | Type | BoxedType, where?: string): Expression;
741
788
  /**
742
789
  * Add a `["Hold"]` wrapper to `expr`.
743
790
  */
744
- hold(expr: SemiBoxedExpression): BoxedExpression;
791
+ hold(expr: ExpressionInput): Expression;
745
792
  /** Shortcut for `this.box(["Tuple", ...])`
746
793
  *
747
794
  * The result is canonical.
748
795
  */
749
- tuple(...elements: ReadonlyArray<number>): BoxedExpression;
750
- tuple(...elements: ReadonlyArray<BoxedExpression>): BoxedExpression;
796
+ tuple(...elements: ReadonlyArray<number>): Expression;
797
+ tuple(...elements: ReadonlyArray<Expression>): Expression;
751
798
  type(type: Type | TypeString | BoxedType): BoxedType;
752
- string(s: string, metadata?: Metadata): BoxedExpression;
799
+ string(s: string, metadata?: Metadata): Expression;
753
800
  /** Create a boxed symbol */
754
801
  symbol(name: string, options?: {
755
802
  canonical?: CanonicalOptions;
756
803
  metadata?: Metadata;
757
- }): BoxedExpression;
804
+ }): Expression;
758
805
  /**
759
806
  * This function tries to avoid creating a boxed number if `num` corresponds
760
807
  * to a common value for which we have a shared instance (-1, 0, NaN, etc...)
@@ -762,7 +809,7 @@ export declare class ComputeEngine implements IComputeEngine {
762
809
  number(value: number | bigint | string | NumericValue | MathJsonNumberObject | Decimal | Complex | Rational, options?: {
763
810
  metadata: Metadata;
764
811
  canonical: CanonicalOptions;
765
- }): BoxedExpression;
812
+ }): Expression;
766
813
  rules(rules: Rule | ReadonlyArray<Rule | BoxedRule> | BoxedRuleSet | undefined | null, options?: {
767
814
  canonical?: boolean;
768
815
  }): BoxedRuleSet;
@@ -786,23 +833,20 @@ export declare class ComputeEngine implements IComputeEngine {
786
833
  * canonical form
787
834
  *
788
835
  * @internal */
789
- _fn(name: MathJsonSymbol, ops: ReadonlyArray<BoxedExpression>, options?: {
836
+ _fn(name: MathJsonSymbol, ops: ReadonlyArray<Expression>, options?: {
790
837
  metadata?: Metadata;
791
838
  canonical?: boolean;
792
839
  scope?: Scope;
793
- }): BoxedExpression;
840
+ }): Expression;
794
841
  /**
795
- * Parse a string of LaTeX and return a corresponding `BoxedExpression`.
842
+ * Parse a string of LaTeX and return a corresponding `Expression`.
796
843
  *
797
- * If the `canonical` option is set to `true`, the result will be canonical
844
+ * If the `form` option is set to `'canonical'` (the default), the result
845
+ * will be canonical.
798
846
  *
799
847
  */
800
- parse(latex: null, options?: Partial<ParseLatexOptions> & {
801
- canonical?: CanonicalOptions;
802
- }): null;
803
- parse(latex: LatexString, options?: Partial<ParseLatexOptions> & {
804
- canonical?: CanonicalOptions;
805
- }): BoxedExpression;
848
+ parse(latex: null, options?: ParseEntrypointOptions): null;
849
+ parse(latex: LatexString, options?: ParseEntrypointOptions): Expression;
806
850
  /**
807
851
  * Return a list of all the assumptions that match a pattern.
808
852
  *
@@ -812,12 +856,12 @@ export declare class ComputeEngine implements IComputeEngine {
812
856
  * // -> [{'val': 0}]
813
857
  * ```
814
858
  */
815
- ask(pattern: BoxedExpression): BoxedSubstitution[];
859
+ ask(pattern: Expression): BoxedSubstitution[];
816
860
  /**
817
861
  * Answer a query based on the current assumptions.
818
862
  *
819
863
  */
820
- verify(query: BoxedExpression): boolean | undefined;
864
+ verify(query: Expression): boolean | undefined;
821
865
  /**
822
866
  * Add an assumption.
823
867
  *
@@ -831,7 +875,7 @@ export declare class ComputeEngine implements IComputeEngine {
831
875
  *
832
876
  *
833
877
  */
834
- assume(predicate: BoxedExpression): AssumeResult;
878
+ assume(predicate: Expression): AssumeResult;
835
879
  /**
836
880
  * Remove all assumptions about one or more symbols.
837
881
  *
@@ -1,4 +1,4 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  * Basic interval arithmetic operations
3
3
  *
4
4
  * @module interval/arithmetic
@@ -1,4 +1,4 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  * Comparison and conditional interval operations
3
3
  *
4
4
  * @module interval/comparison
@@ -1,4 +1,4 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  * Elementary interval functions (sqrt, pow, exp, ln, abs, floor, ceil, min, max, mod)
3
3
  *
4
4
  * @module interval/elementary
@@ -1,4 +1,4 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  * Interval arithmetic library for reliable function evaluation
3
3
  *
4
4
  * This module provides interval versions of mathematical operations
@@ -1,4 +1,4 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  * Trigonometric interval functions
3
3
  *
4
4
  * @module interval/trigonometric
@@ -1,4 +1,4 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  * Interval arithmetic types for reliable function evaluation
3
3
  *
4
4
  * @module interval/types
@@ -1,4 +1,4 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  * Utility functions for interval arithmetic
3
3
  *
4
4
  * @module interval/util
@@ -1,2 +1,2 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_ALGEBRA: LatexDictionary;
@@ -1,2 +1,2 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_ARITHMETIC: LatexDictionary;
@@ -1,2 +1,2 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_CALCULUS: LatexDictionary;
@@ -1,2 +1,2 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_COMPLEX: LatexDictionary;
@@ -1,4 +1,4 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_CORE: LatexDictionary;
3
3
  export declare const DELIMITERS_SHORTHAND: {
4
4
  '(': string;
@@ -1,2 +1,2 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_LINEAR_ALGEBRA: LatexDictionary;
@@ -1,2 +1,2 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_LOGIC: LatexDictionary;
@@ -1,2 +1,2 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_OTHERS: LatexDictionary;
@@ -1,2 +1,2 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_INEQUALITIES: LatexDictionaryEntry[];
@@ -1,2 +1,2 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_SETS: LatexDictionary;
@@ -1,2 +1,2 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_STATISTICS: LatexDictionary;
@@ -1,3 +1,3 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const SYMBOLS: [string, string, number][];
3
3
  export declare const DEFINITIONS_SYMBOLS: LatexDictionary;
@@ -1,2 +1,2 @@
1
- /* 0.35.6 */
1
+ /* 0.50.1 */
2
2
  export declare const DEFINITIONS_TRIGONOMETRY: LatexDictionary;