mathjs 10.1.1 → 10.2.0

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 (325) hide show
  1. package/HISTORY.md +17 -0
  2. package/docs/expressions/algebra.md +27 -0
  3. package/docs/reference/functions/abs.md +6 -0
  4. package/docs/reference/functions/acos.md +6 -0
  5. package/docs/reference/functions/acosh.md +6 -0
  6. package/docs/reference/functions/acot.md +6 -0
  7. package/docs/reference/functions/acoth.md +6 -0
  8. package/docs/reference/functions/acsc.md +6 -0
  9. package/docs/reference/functions/acsch.md +6 -0
  10. package/docs/reference/functions/add.md +6 -0
  11. package/docs/reference/functions/and.md +6 -0
  12. package/docs/reference/functions/apply.md +6 -0
  13. package/docs/reference/functions/arg.md +6 -0
  14. package/docs/reference/functions/asec.md +6 -0
  15. package/docs/reference/functions/asech.md +6 -0
  16. package/docs/reference/functions/asin.md +6 -0
  17. package/docs/reference/functions/asinh.md +6 -0
  18. package/docs/reference/functions/atan.md +6 -0
  19. package/docs/reference/functions/atan2.md +6 -0
  20. package/docs/reference/functions/atanh.md +6 -0
  21. package/docs/reference/functions/bellNumbers.md +6 -0
  22. package/docs/reference/functions/bin.md +6 -0
  23. package/docs/reference/functions/bitAnd.md +6 -0
  24. package/docs/reference/functions/bitNot.md +6 -0
  25. package/docs/reference/functions/bitOr.md +6 -0
  26. package/docs/reference/functions/bitXor.md +6 -0
  27. package/docs/reference/functions/catalan.md +6 -0
  28. package/docs/reference/functions/cbrt.md +6 -0
  29. package/docs/reference/functions/ceil.md +6 -0
  30. package/docs/reference/functions/clone.md +6 -0
  31. package/docs/reference/functions/column.md +6 -0
  32. package/docs/reference/functions/combinations.md +6 -0
  33. package/docs/reference/functions/combinationsWithRep.md +6 -0
  34. package/docs/reference/functions/compare.md +6 -0
  35. package/docs/reference/functions/compareNatural.md +6 -0
  36. package/docs/reference/functions/compareText.md +6 -0
  37. package/docs/reference/functions/compile.md +6 -0
  38. package/docs/reference/functions/composition.md +6 -0
  39. package/docs/reference/functions/concat.md +6 -0
  40. package/docs/reference/functions/conj.md +6 -0
  41. package/docs/reference/functions/cos.md +6 -0
  42. package/docs/reference/functions/cosh.md +6 -0
  43. package/docs/reference/functions/cot.md +6 -0
  44. package/docs/reference/functions/coth.md +6 -0
  45. package/docs/reference/functions/count.md +6 -0
  46. package/docs/reference/functions/cross.md +6 -0
  47. package/docs/reference/functions/csc.md +6 -0
  48. package/docs/reference/functions/csch.md +6 -0
  49. package/docs/reference/functions/ctranspose.md +6 -0
  50. package/docs/reference/functions/cube.md +6 -0
  51. package/docs/reference/functions/deepEqual.md +6 -0
  52. package/docs/reference/functions/derivative.md +6 -0
  53. package/docs/reference/functions/det.md +6 -0
  54. package/docs/reference/functions/diag.md +6 -0
  55. package/docs/reference/functions/diff.md +6 -0
  56. package/docs/reference/functions/distance.md +6 -0
  57. package/docs/reference/functions/divide.md +6 -0
  58. package/docs/reference/functions/dot.md +6 -0
  59. package/docs/reference/functions/dotDivide.md +6 -0
  60. package/docs/reference/functions/dotMultiply.md +6 -0
  61. package/docs/reference/functions/dotPow.md +6 -0
  62. package/docs/reference/functions/eigs.md +6 -0
  63. package/docs/reference/functions/equal.md +6 -0
  64. package/docs/reference/functions/equalText.md +6 -0
  65. package/docs/reference/functions/erf.md +6 -0
  66. package/docs/reference/functions/evaluate.md +6 -0
  67. package/docs/reference/functions/exp.md +6 -0
  68. package/docs/reference/functions/expm.md +6 -0
  69. package/docs/reference/functions/expm1.md +6 -0
  70. package/docs/reference/functions/factorial.md +6 -0
  71. package/docs/reference/functions/filter.md +6 -0
  72. package/docs/reference/functions/fix.md +6 -0
  73. package/docs/reference/functions/flatten.md +6 -0
  74. package/docs/reference/functions/floor.md +6 -0
  75. package/docs/reference/functions/forEach.md +6 -0
  76. package/docs/reference/functions/format.md +6 -0
  77. package/docs/reference/functions/gamma.md +6 -0
  78. package/docs/reference/functions/gcd.md +6 -0
  79. package/docs/reference/functions/getMatrixDataType.md +6 -0
  80. package/docs/reference/functions/hasNumericValue.md +6 -0
  81. package/docs/reference/functions/help.md +6 -0
  82. package/docs/reference/functions/hex.md +6 -0
  83. package/docs/reference/functions/hypot.md +6 -0
  84. package/docs/reference/functions/identity.md +6 -0
  85. package/docs/reference/functions/im.md +6 -0
  86. package/docs/reference/functions/intersect.md +6 -0
  87. package/docs/reference/functions/inv.md +6 -0
  88. package/docs/reference/functions/invmod.md +6 -0
  89. package/docs/reference/functions/isInteger.md +6 -0
  90. package/docs/reference/functions/isNaN.md +6 -0
  91. package/docs/reference/functions/isNegative.md +6 -0
  92. package/docs/reference/functions/isNumeric.md +6 -0
  93. package/docs/reference/functions/isPositive.md +6 -0
  94. package/docs/reference/functions/isPrime.md +6 -0
  95. package/docs/reference/functions/isZero.md +6 -0
  96. package/docs/reference/functions/kldivergence.md +6 -0
  97. package/docs/reference/functions/kron.md +6 -0
  98. package/docs/reference/functions/larger.md +6 -0
  99. package/docs/reference/functions/largerEq.md +6 -0
  100. package/docs/reference/functions/lcm.md +6 -0
  101. package/docs/reference/functions/leafCount.md +52 -0
  102. package/docs/reference/functions/leftShift.md +6 -0
  103. package/docs/reference/functions/log.md +6 -0
  104. package/docs/reference/functions/log10.md +6 -0
  105. package/docs/reference/functions/log1p.md +6 -0
  106. package/docs/reference/functions/log2.md +6 -0
  107. package/docs/reference/functions/lsolve.md +6 -0
  108. package/docs/reference/functions/lsolveAll.md +6 -0
  109. package/docs/reference/functions/lup.md +6 -0
  110. package/docs/reference/functions/lusolve.md +6 -0
  111. package/docs/reference/functions/mad.md +6 -0
  112. package/docs/reference/functions/map.md +6 -0
  113. package/docs/reference/functions/matrixFromColumns.md +6 -0
  114. package/docs/reference/functions/matrixFromFunction.md +6 -0
  115. package/docs/reference/functions/matrixFromRows.md +6 -0
  116. package/docs/reference/functions/max.md +6 -0
  117. package/docs/reference/functions/mean.md +6 -0
  118. package/docs/reference/functions/median.md +6 -0
  119. package/docs/reference/functions/min.md +6 -0
  120. package/docs/reference/functions/mod.md +6 -0
  121. package/docs/reference/functions/mode.md +6 -0
  122. package/docs/reference/functions/multinomial.md +6 -0
  123. package/docs/reference/functions/multiply.md +6 -0
  124. package/docs/reference/functions/norm.md +6 -0
  125. package/docs/reference/functions/not.md +6 -0
  126. package/docs/reference/functions/nthRoot.md +6 -0
  127. package/docs/reference/functions/nthRoots.md +6 -0
  128. package/docs/reference/functions/numeric.md +6 -0
  129. package/docs/reference/functions/oct.md +6 -0
  130. package/docs/reference/functions/ones.md +6 -0
  131. package/docs/reference/functions/or.md +6 -0
  132. package/docs/reference/functions/parser.md +6 -0
  133. package/docs/reference/functions/partitionSelect.md +6 -0
  134. package/docs/reference/functions/permutations.md +6 -0
  135. package/docs/reference/functions/pickRandom.md +6 -0
  136. package/docs/reference/functions/pow.md +6 -0
  137. package/docs/reference/functions/print.md +6 -0
  138. package/docs/reference/functions/prod.md +6 -0
  139. package/docs/reference/functions/qr.md +6 -0
  140. package/docs/reference/functions/quantileSeq.md +6 -0
  141. package/docs/reference/functions/random.md +6 -0
  142. package/docs/reference/functions/randomInt.md +6 -0
  143. package/docs/reference/functions/range.md +6 -0
  144. package/docs/reference/functions/rationalize.md +7 -1
  145. package/docs/reference/functions/re.md +6 -0
  146. package/docs/reference/functions/reshape.md +7 -0
  147. package/docs/reference/functions/resize.md +6 -0
  148. package/docs/reference/functions/resolve.md +46 -0
  149. package/docs/reference/functions/rightArithShift.md +6 -0
  150. package/docs/reference/functions/rightLogShift.md +6 -0
  151. package/docs/reference/functions/rotate.md +6 -0
  152. package/docs/reference/functions/rotationMatrix.md +6 -0
  153. package/docs/reference/functions/round.md +6 -0
  154. package/docs/reference/functions/row.md +6 -0
  155. package/docs/reference/functions/sec.md +6 -0
  156. package/docs/reference/functions/sech.md +6 -0
  157. package/docs/reference/functions/setCartesian.md +6 -0
  158. package/docs/reference/functions/setDifference.md +6 -0
  159. package/docs/reference/functions/setDistinct.md +6 -0
  160. package/docs/reference/functions/setIntersect.md +6 -0
  161. package/docs/reference/functions/setIsSubset.md +6 -0
  162. package/docs/reference/functions/setMultiplicity.md +6 -0
  163. package/docs/reference/functions/setPowerset.md +6 -0
  164. package/docs/reference/functions/setSize.md +6 -0
  165. package/docs/reference/functions/setSymDifference.md +6 -0
  166. package/docs/reference/functions/setUnion.md +6 -0
  167. package/docs/reference/functions/sign.md +6 -0
  168. package/docs/reference/functions/simplify.md +43 -6
  169. package/docs/reference/functions/simplifyCore.md +50 -0
  170. package/docs/reference/functions/sin.md +6 -0
  171. package/docs/reference/functions/sinh.md +6 -0
  172. package/docs/reference/functions/size.md +6 -0
  173. package/docs/reference/functions/slu.md +6 -0
  174. package/docs/reference/functions/smaller.md +6 -0
  175. package/docs/reference/functions/smallerEq.md +6 -0
  176. package/docs/reference/functions/sort.md +6 -0
  177. package/docs/reference/functions/sqrt.md +6 -0
  178. package/docs/reference/functions/sqrtm.md +6 -0
  179. package/docs/reference/functions/square.md +6 -0
  180. package/docs/reference/functions/squeeze.md +6 -0
  181. package/docs/reference/functions/std.md +6 -0
  182. package/docs/reference/functions/stirlingS2.md +6 -0
  183. package/docs/reference/functions/subset.md +6 -0
  184. package/docs/reference/functions/subtract.md +6 -0
  185. package/docs/reference/functions/sum.md +6 -0
  186. package/docs/reference/functions/tan.md +6 -0
  187. package/docs/reference/functions/tanh.md +6 -0
  188. package/docs/reference/functions/to.md +6 -0
  189. package/docs/reference/functions/trace.md +6 -0
  190. package/docs/reference/functions/transpose.md +6 -0
  191. package/docs/reference/functions/typeOf.md +6 -0
  192. package/docs/reference/functions/unaryMinus.md +6 -0
  193. package/docs/reference/functions/unaryPlus.md +6 -0
  194. package/docs/reference/functions/unequal.md +6 -0
  195. package/docs/reference/functions/usolve.md +6 -0
  196. package/docs/reference/functions/usolveAll.md +6 -0
  197. package/docs/reference/functions/variance.md +6 -0
  198. package/docs/reference/functions/xgcd.md +6 -0
  199. package/docs/reference/functions/xor.md +6 -0
  200. package/docs/reference/functions/zeros.md +6 -0
  201. package/docs/reference/functions.md +3 -0
  202. package/lib/browser/math.js +6 -6
  203. package/lib/browser/math.js.map +1 -1
  204. package/lib/cjs/core/create.js +4 -4
  205. package/lib/cjs/core/function/import.js +3 -3
  206. package/lib/cjs/core/function/typed.js +2 -2
  207. package/lib/cjs/defaultInstance.js +3 -3
  208. package/lib/cjs/entry/allFactoriesAny.js +1 -1
  209. package/lib/cjs/entry/allFactoriesNumber.js +1 -1
  210. package/lib/cjs/entry/configReadonly.js +1 -1
  211. package/lib/cjs/entry/dependenciesAny/dependenciesLeafCount.generated.js +23 -0
  212. package/lib/cjs/entry/dependenciesAny/dependenciesRationalize.generated.js +3 -0
  213. package/lib/cjs/entry/dependenciesAny/dependenciesResolve.generated.js +32 -0
  214. package/lib/cjs/entry/dependenciesAny/dependenciesSimplify.generated.js +6 -0
  215. package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyCore.generated.js +65 -0
  216. package/lib/cjs/entry/dependenciesAny.generated.js +24 -0
  217. package/lib/cjs/entry/dependenciesNumber/dependenciesRationalize.generated.js +3 -0
  218. package/lib/cjs/entry/dependenciesNumber/dependenciesResolve.generated.js +32 -0
  219. package/lib/cjs/entry/dependenciesNumber/dependenciesSimplify.generated.js +6 -0
  220. package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyCore.generated.js +65 -0
  221. package/lib/cjs/entry/dependenciesNumber.generated.js +16 -0
  222. package/lib/cjs/entry/impureFunctionsAny.generated.js +67 -29
  223. package/lib/cjs/entry/impureFunctionsNumber.generated.js +96 -64
  224. package/lib/cjs/entry/pureFunctionsAny.generated.js +53 -55
  225. package/lib/cjs/entry/pureFunctionsNumber.generated.js +46 -48
  226. package/lib/cjs/expression/Help.js +4 -0
  227. package/lib/cjs/expression/Parser.js +1 -1
  228. package/lib/cjs/expression/embeddedDocs/core/typed.js +1 -1
  229. package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +14 -5
  230. package/lib/cjs/expression/embeddedDocs/function/algebra/leafCount.js +15 -0
  231. package/lib/cjs/expression/embeddedDocs/function/algebra/resolve.js +16 -0
  232. package/lib/cjs/expression/embeddedDocs/function/algebra/simplify.js +1 -1
  233. package/lib/cjs/expression/embeddedDocs/function/algebra/simplifyCore.js +15 -0
  234. package/lib/cjs/expression/node/FunctionNode.js +7 -7
  235. package/lib/cjs/expression/node/IndexNode.js +1 -1
  236. package/lib/cjs/expression/node/Node.js +3 -3
  237. package/lib/cjs/expression/node/ObjectNode.js +1 -1
  238. package/lib/cjs/expression/node/utils/access.js +1 -1
  239. package/lib/cjs/expression/node/utils/assign.js +1 -1
  240. package/lib/cjs/expression/parse.js +13 -13
  241. package/lib/cjs/factoriesAny.js +24 -0
  242. package/lib/cjs/factoriesNumber.js +16 -0
  243. package/lib/cjs/function/algebra/decomposition/qr.js +1 -1
  244. package/lib/cjs/function/algebra/leafCount.js +66 -0
  245. package/lib/cjs/function/algebra/rationalize.js +24 -41
  246. package/lib/cjs/function/algebra/resolve.js +106 -0
  247. package/lib/cjs/function/algebra/simplify/simplifyConstant.js +5 -5
  248. package/lib/cjs/function/algebra/simplify/util.js +171 -33
  249. package/lib/cjs/function/algebra/simplify.js +554 -207
  250. package/lib/cjs/function/algebra/{simplify/simplifyCore.js → simplifyCore.js} +67 -43
  251. package/lib/cjs/function/algebra/solver/lsolveAll.js +2 -2
  252. package/lib/cjs/function/algebra/solver/usolveAll.js +2 -2
  253. package/lib/cjs/function/arithmetic/ceil.js +3 -3
  254. package/lib/cjs/function/arithmetic/floor.js +3 -3
  255. package/lib/cjs/function/arithmetic/invmod.js +1 -1
  256. package/lib/cjs/function/arithmetic/norm.js +1 -1
  257. package/lib/cjs/function/arithmetic/round.js +1 -1
  258. package/lib/cjs/function/matrix/eigs/complexEigs.js +5 -5
  259. package/lib/cjs/function/matrix/matrixFromColumns.js +1 -1
  260. package/lib/cjs/function/matrix/matrixFromRows.js +1 -1
  261. package/lib/cjs/function/probability/util/seededRNG.js +2 -2
  262. package/lib/cjs/function/relational/compareNatural.js +6 -6
  263. package/lib/cjs/header.js +2 -2
  264. package/lib/cjs/plain/bignumber/index.js +1 -1
  265. package/lib/cjs/plain/number/combinations.js +18 -6
  266. package/lib/cjs/type/bignumber/BigNumber.js +2 -2
  267. package/lib/cjs/type/bignumber/function/bignumber.js +1 -1
  268. package/lib/cjs/type/boolean.js +2 -2
  269. package/lib/cjs/type/complex/Complex.js +14 -14
  270. package/lib/cjs/type/complex/function/complex.js +1 -1
  271. package/lib/cjs/type/fraction/Fraction.js +6 -6
  272. package/lib/cjs/type/fraction/function/fraction.js +1 -1
  273. package/lib/cjs/type/matrix/DenseMatrix.js +5 -5
  274. package/lib/cjs/type/matrix/SparseMatrix.js +2 -2
  275. package/lib/cjs/type/number.js +1 -1
  276. package/lib/cjs/type/string.js +2 -2
  277. package/lib/cjs/type/unit/Unit.js +8 -8
  278. package/lib/cjs/utils/customs.js +2 -2
  279. package/lib/cjs/utils/emitter.js +1 -1
  280. package/lib/cjs/utils/function.js +2 -2
  281. package/lib/cjs/utils/is.js +6 -6
  282. package/lib/cjs/utils/latex.js +3 -3
  283. package/lib/cjs/utils/lruQueue.js +1 -1
  284. package/lib/cjs/utils/map.js +3 -3
  285. package/lib/cjs/utils/object.js +2 -2
  286. package/lib/cjs/utils/snapshot.js +7 -7
  287. package/lib/cjs/utils/string.js +2 -2
  288. package/lib/cjs/version.js +1 -1
  289. package/lib/esm/entry/dependenciesAny/dependenciesLeafCount.generated.js +12 -0
  290. package/lib/esm/entry/dependenciesAny/dependenciesRationalize.generated.js +2 -0
  291. package/lib/esm/entry/dependenciesAny/dependenciesResolve.generated.js +18 -0
  292. package/lib/esm/entry/dependenciesAny/dependenciesSimplify.generated.js +4 -0
  293. package/lib/esm/entry/dependenciesAny/dependenciesSimplifyCore.generated.js +40 -0
  294. package/lib/esm/entry/dependenciesAny.generated.js +3 -0
  295. package/lib/esm/entry/dependenciesNumber/dependenciesRationalize.generated.js +2 -0
  296. package/lib/esm/entry/dependenciesNumber/dependenciesResolve.generated.js +18 -0
  297. package/lib/esm/entry/dependenciesNumber/dependenciesSimplify.generated.js +4 -0
  298. package/lib/esm/entry/dependenciesNumber/dependenciesSimplifyCore.generated.js +40 -0
  299. package/lib/esm/entry/dependenciesNumber.generated.js +2 -0
  300. package/lib/esm/entry/impureFunctionsAny.generated.js +57 -22
  301. package/lib/esm/entry/impureFunctionsNumber.generated.js +83 -53
  302. package/lib/esm/entry/pureFunctionsAny.generated.js +42 -42
  303. package/lib/esm/entry/pureFunctionsNumber.generated.js +32 -32
  304. package/lib/esm/expression/Help.js +4 -0
  305. package/lib/esm/expression/embeddedDocs/core/typed.js +1 -1
  306. package/lib/esm/expression/embeddedDocs/embeddedDocs.js +6 -0
  307. package/lib/esm/expression/embeddedDocs/function/algebra/leafCount.js +8 -0
  308. package/lib/esm/expression/embeddedDocs/function/algebra/resolve.js +9 -0
  309. package/lib/esm/expression/embeddedDocs/function/algebra/simplify.js +1 -1
  310. package/lib/esm/expression/embeddedDocs/function/algebra/simplifyCore.js +8 -0
  311. package/lib/esm/factoriesAny.js +3 -0
  312. package/lib/esm/factoriesNumber.js +2 -0
  313. package/lib/esm/function/algebra/leafCount.js +59 -0
  314. package/lib/esm/function/algebra/rationalize.js +24 -40
  315. package/lib/esm/function/algebra/resolve.js +95 -0
  316. package/lib/esm/function/algebra/simplify/simplifyConstant.js +3 -3
  317. package/lib/esm/function/algebra/simplify/util.js +170 -34
  318. package/lib/esm/function/algebra/simplify.js +549 -202
  319. package/lib/esm/function/algebra/{simplify/simplifyCore.js → simplifyCore.js} +60 -44
  320. package/lib/esm/plain/number/combinations.js +18 -6
  321. package/lib/esm/version.js +1 -1
  322. package/package.json +15 -10
  323. package/types/index.d.ts +44 -2
  324. package/lib/cjs/function/algebra/simplify/resolve.js +0 -76
  325. package/lib/esm/function/algebra/simplify/resolve.js +0 -67
@@ -0,0 +1,40 @@
1
+ /**
2
+ * THIS FILE IS AUTO-GENERATED
3
+ * DON'T MAKE CHANGES HERE
4
+ */
5
+ import { AccessorNodeDependencies } from './dependenciesAccessorNode.generated.js';
6
+ import { ArrayNodeDependencies } from './dependenciesArrayNode.generated.js';
7
+ import { ConstantNodeDependencies } from './dependenciesConstantNode.generated.js';
8
+ import { FunctionNodeDependencies } from './dependenciesFunctionNode.generated.js';
9
+ import { IndexNodeDependencies } from './dependenciesIndexNode.generated.js';
10
+ import { ObjectNodeDependencies } from './dependenciesObjectNode.generated.js';
11
+ import { OperatorNodeDependencies } from './dependenciesOperatorNode.generated.js';
12
+ import { ParenthesisNodeDependencies } from './dependenciesParenthesisNode.generated.js';
13
+ import { SymbolNodeDependencies } from './dependenciesSymbolNode.generated.js';
14
+ import { addDependencies } from './dependenciesAdd.generated.js';
15
+ import { divideDependencies } from './dependenciesDivide.generated.js';
16
+ import { equalDependencies } from './dependenciesEqual.generated.js';
17
+ import { isZeroDependencies } from './dependenciesIsZero.generated.js';
18
+ import { multiplyDependencies } from './dependenciesMultiply.generated.js';
19
+ import { powDependencies } from './dependenciesPow.generated.js';
20
+ import { subtractDependencies } from './dependenciesSubtract.generated.js';
21
+ import { createSimplifyCore } from '../../factoriesAny.js';
22
+ export var simplifyCoreDependencies = {
23
+ AccessorNodeDependencies,
24
+ ArrayNodeDependencies,
25
+ ConstantNodeDependencies,
26
+ FunctionNodeDependencies,
27
+ IndexNodeDependencies,
28
+ ObjectNodeDependencies,
29
+ OperatorNodeDependencies,
30
+ ParenthesisNodeDependencies,
31
+ SymbolNodeDependencies,
32
+ addDependencies,
33
+ divideDependencies,
34
+ equalDependencies,
35
+ isZeroDependencies,
36
+ multiplyDependencies,
37
+ powDependencies,
38
+ subtractDependencies,
39
+ createSimplifyCore
40
+ };
@@ -166,6 +166,7 @@ export { LOG2EDependencies } from './dependenciesAny/dependenciesLOG2E.generated
166
166
  export { largerDependencies } from './dependenciesAny/dependenciesLarger.generated.js';
167
167
  export { largerEqDependencies } from './dependenciesAny/dependenciesLargerEq.generated.js';
168
168
  export { lcmDependencies } from './dependenciesAny/dependenciesLcm.generated.js';
169
+ export { leafCountDependencies } from './dependenciesAny/dependenciesLeafCount.generated.js';
169
170
  export { leftShiftDependencies } from './dependenciesAny/dependenciesLeftShift.generated.js';
170
171
  export { logDependencies } from './dependenciesAny/dependenciesLog.generated.js';
171
172
  export { log10Dependencies } from './dependenciesAny/dependenciesLog10.generated.js';
@@ -253,6 +254,7 @@ export { RelationalNodeDependencies } from './dependenciesAny/dependenciesRelati
253
254
  export { replacerDependencies } from './dependenciesAny/dependenciesReplacer.generated.js';
254
255
  export { reshapeDependencies } from './dependenciesAny/dependenciesReshape.generated.js';
255
256
  export { resizeDependencies } from './dependenciesAny/dependenciesResize.generated.js';
257
+ export { resolveDependencies } from './dependenciesAny/dependenciesResolve.generated.js';
256
258
  export { ResultSetDependencies } from './dependenciesAny/dependenciesResultSet.generated.js';
257
259
  export { reviverDependencies } from './dependenciesAny/dependenciesReviver.generated.js';
258
260
  export { rightArithShiftDependencies } from './dependenciesAny/dependenciesRightArithShift.generated.js';
@@ -282,6 +284,7 @@ export { setSymDifferenceDependencies } from './dependenciesAny/dependenciesSetS
282
284
  export { setUnionDependencies } from './dependenciesAny/dependenciesSetUnion.generated.js';
283
285
  export { signDependencies } from './dependenciesAny/dependenciesSign.generated.js';
284
286
  export { simplifyDependencies } from './dependenciesAny/dependenciesSimplify.generated.js';
287
+ export { simplifyCoreDependencies } from './dependenciesAny/dependenciesSimplifyCore.generated.js';
285
288
  export { sinDependencies } from './dependenciesAny/dependenciesSin.generated.js';
286
289
  export { sinhDependencies } from './dependenciesAny/dependenciesSinh.generated.js';
287
290
  export { sizeDependencies } from './dependenciesAny/dependenciesSize.generated.js';
@@ -20,6 +20,7 @@ import { multiplyDependencies } from './dependenciesMultiply.generated.js';
20
20
  import { parseDependencies } from './dependenciesParse.generated.js';
21
21
  import { powDependencies } from './dependenciesPow.generated.js';
22
22
  import { simplifyDependencies } from './dependenciesSimplify.generated.js';
23
+ import { simplifyCoreDependencies } from './dependenciesSimplifyCore.generated.js';
23
24
  import { subtractDependencies } from './dependenciesSubtract.generated.js';
24
25
  import { typedDependencies } from './dependenciesTyped.generated.js';
25
26
  import { createRationalize } from '../../factoriesNumber.js';
@@ -42,6 +43,7 @@ export var rationalizeDependencies = {
42
43
  parseDependencies,
43
44
  powDependencies,
44
45
  simplifyDependencies,
46
+ simplifyCoreDependencies,
45
47
  subtractDependencies,
46
48
  typedDependencies,
47
49
  createRationalize
@@ -0,0 +1,18 @@
1
+ /**
2
+ * THIS FILE IS AUTO-GENERATED
3
+ * DON'T MAKE CHANGES HERE
4
+ */
5
+ import { ConstantNodeDependencies } from './dependenciesConstantNode.generated.js';
6
+ import { FunctionNodeDependencies } from './dependenciesFunctionNode.generated.js';
7
+ import { OperatorNodeDependencies } from './dependenciesOperatorNode.generated.js';
8
+ import { ParenthesisNodeDependencies } from './dependenciesParenthesisNode.generated.js';
9
+ import { parseDependencies } from './dependenciesParse.generated.js';
10
+ import { createResolve } from '../../factoriesNumber.js';
11
+ export var resolveDependencies = {
12
+ ConstantNodeDependencies,
13
+ FunctionNodeDependencies,
14
+ OperatorNodeDependencies,
15
+ ParenthesisNodeDependencies,
16
+ parseDependencies,
17
+ createResolve
18
+ };
@@ -19,6 +19,8 @@ import { matrixDependencies } from './dependenciesMatrix.generated.js';
19
19
  import { multiplyDependencies } from './dependenciesMultiply.generated.js';
20
20
  import { parseDependencies } from './dependenciesParse.generated.js';
21
21
  import { powDependencies } from './dependenciesPow.generated.js';
22
+ import { resolveDependencies } from './dependenciesResolve.generated.js';
23
+ import { simplifyCoreDependencies } from './dependenciesSimplifyCore.generated.js';
22
24
  import { subtractDependencies } from './dependenciesSubtract.generated.js';
23
25
  import { typedDependencies } from './dependenciesTyped.generated.js';
24
26
  import { createSimplify } from '../../factoriesNumber.js';
@@ -40,6 +42,8 @@ export var simplifyDependencies = {
40
42
  multiplyDependencies,
41
43
  parseDependencies,
42
44
  powDependencies,
45
+ resolveDependencies,
46
+ simplifyCoreDependencies,
43
47
  subtractDependencies,
44
48
  typedDependencies,
45
49
  createSimplify
@@ -0,0 +1,40 @@
1
+ /**
2
+ * THIS FILE IS AUTO-GENERATED
3
+ * DON'T MAKE CHANGES HERE
4
+ */
5
+ import { AccessorNodeDependencies } from './dependenciesAccessorNode.generated.js';
6
+ import { ArrayNodeDependencies } from './dependenciesArrayNode.generated.js';
7
+ import { ConstantNodeDependencies } from './dependenciesConstantNode.generated.js';
8
+ import { FunctionNodeDependencies } from './dependenciesFunctionNode.generated.js';
9
+ import { IndexNodeDependencies } from './dependenciesIndexNode.generated.js';
10
+ import { ObjectNodeDependencies } from './dependenciesObjectNode.generated.js';
11
+ import { OperatorNodeDependencies } from './dependenciesOperatorNode.generated.js';
12
+ import { ParenthesisNodeDependencies } from './dependenciesParenthesisNode.generated.js';
13
+ import { SymbolNodeDependencies } from './dependenciesSymbolNode.generated.js';
14
+ import { addDependencies } from './dependenciesAdd.generated.js';
15
+ import { divideDependencies } from './dependenciesDivide.generated.js';
16
+ import { equalDependencies } from './dependenciesEqual.generated.js';
17
+ import { isZeroDependencies } from './dependenciesIsZero.generated.js';
18
+ import { multiplyDependencies } from './dependenciesMultiply.generated.js';
19
+ import { powDependencies } from './dependenciesPow.generated.js';
20
+ import { subtractDependencies } from './dependenciesSubtract.generated.js';
21
+ import { createSimplifyCore } from '../../factoriesNumber.js';
22
+ export var simplifyCoreDependencies = {
23
+ AccessorNodeDependencies,
24
+ ArrayNodeDependencies,
25
+ ConstantNodeDependencies,
26
+ FunctionNodeDependencies,
27
+ IndexNodeDependencies,
28
+ ObjectNodeDependencies,
29
+ OperatorNodeDependencies,
30
+ ParenthesisNodeDependencies,
31
+ SymbolNodeDependencies,
32
+ addDependencies,
33
+ divideDependencies,
34
+ equalDependencies,
35
+ isZeroDependencies,
36
+ multiplyDependencies,
37
+ powDependencies,
38
+ subtractDependencies,
39
+ createSimplifyCore
40
+ };
@@ -153,6 +153,7 @@ export { rangeTransformDependencies } from './dependenciesNumber/dependenciesRan
153
153
  export { rationalizeDependencies } from './dependenciesNumber/dependenciesRationalize.generated.js';
154
154
  export { RelationalNodeDependencies } from './dependenciesNumber/dependenciesRelationalNode.generated.js';
155
155
  export { replacerDependencies } from './dependenciesNumber/dependenciesReplacer.generated.js';
156
+ export { resolveDependencies } from './dependenciesNumber/dependenciesResolve.generated.js';
156
157
  export { ResultSetDependencies } from './dependenciesNumber/dependenciesResultSet.generated.js';
157
158
  export { reviverDependencies } from './dependenciesNumber/dependenciesReviver.generated.js';
158
159
  export { rightArithShiftDependencies } from './dependenciesNumber/dependenciesRightArithShift.generated.js';
@@ -165,6 +166,7 @@ export { secDependencies } from './dependenciesNumber/dependenciesSec.generated.
165
166
  export { sechDependencies } from './dependenciesNumber/dependenciesSech.generated.js';
166
167
  export { signDependencies } from './dependenciesNumber/dependenciesSign.generated.js';
167
168
  export { simplifyDependencies } from './dependenciesNumber/dependenciesSimplify.generated.js';
169
+ export { simplifyCoreDependencies } from './dependenciesNumber/dependenciesSimplifyCore.generated.js';
168
170
  export { sinDependencies } from './dependenciesNumber/dependenciesSin.generated.js';
169
171
  export { sinhDependencies } from './dependenciesNumber/dependenciesSinh.generated.js';
170
172
  export { sizeDependencies } from './dependenciesNumber/dependenciesSize.generated.js';
@@ -5,9 +5,9 @@ import _extends from "@babel/runtime/helpers/extends";
5
5
  * DON'T MAKE CHANGES HERE
6
6
  */
7
7
  import { config } from './configReadonly.js';
8
- import { createChainClass, createNode, createObjectNode, createOperatorNode, createParenthesisNode, createRelationalNode, createArrayNode, createBlockNode, createConditionalNode, createConstantNode, createRangeNode, createReviver, createChain, createFunctionAssignmentNode, createAccessorNode, createAssignmentNode, createIndexNode, createSymbolNode, createFunctionNode, createParse, createCompile, createEvaluate, createHelpClass, createParserClass, createParser, createSimplify, createDerivative, createHelp, createRationalize, createFilterTransform, createForEachTransform, createMapTransform, createApplyTransform, createDiffTransform, createIndexTransform, createSubsetTransform, createConcatTransform, createMaxTransform, createMinTransform, createRangeTransform, createRowTransform, createSumTransform, createColumnTransform, createMeanTransform, createVarianceTransform, createStdTransform } from '../factoriesAny.js';
8
+ import { createChainClass, createNode, createObjectNode, createOperatorNode, createParenthesisNode, createRelationalNode, createArrayNode, createBlockNode, createConditionalNode, createConstantNode, createRangeNode, createReviver, createChain, createFunctionAssignmentNode, createAccessorNode, createAssignmentNode, createIndexNode, createSymbolNode, createFunctionNode, createParse, createResolve, createCompile, createEvaluate, createHelpClass, createLeafCount, createParserClass, createParser, createSimplifyCore, createSimplify, createDerivative, createRationalize, createHelp, createFilterTransform, createForEachTransform, createMapTransform, createApplyTransform, createDiffTransform, createIndexTransform, createSubsetTransform, createConcatTransform, createMaxTransform, createMinTransform, createRangeTransform, createRowTransform, createSumTransform, createColumnTransform, createStdTransform, createMeanTransform, createVarianceTransform } from '../factoriesAny.js';
9
9
  import { BigNumber, Complex, e, _false, fineStructure, Fraction, i, _Infinity, LN10, LOG10E, Matrix, _NaN, _null, phi, Range, ResultSet, SQRT1_2, // eslint-disable-line camelcase
10
- sackurTetrode, tau, _true, version, DenseMatrix, efimovFactor, LN2, pi, replacer, SQRT2, typed, unaryPlus, weakMixingAngle, abs, acos, acot, acsc, addScalar, arg, asech, asinh, atan, atanh, bignumber, bitNot, boolean, clone, combinations, complex, conj, cosh, coth, csc, cube, equalScalar, erf, exp, expm1, filter, forEach, format, getMatrixDataType, hex, im, isInteger, isNegative, isPositive, isZero, LOG2E, log10, log2, map, multiplyScalar, not, number, oct, pickRandom, print, random, re, sec, sign, sin, SparseMatrix, splitUnit, square, string, tan, typeOf, acosh, acsch, apply, asec, bin, combinationsWithRep, cos, csch, isNaN, isPrime, randomInt, sech, sinh, sparse, sqrt, tanh, unaryMinus, acoth, cot, fraction, isNumeric, matrix, matrixFromFunction, mod, nthRoot, numeric, or, prod, reshape, size, smaller, squeeze, subset, subtract, to, transpose, xgcd, zeros, and, bitAnd, bitXor, cbrt, compare, compareText, concat, count, ctranspose, diag, divideScalar, dotDivide, equal, flatten, gcd, hasNumericValue, hypot, ImmutableDenseMatrix, Index, kron, largerEq, leftShift, lsolve, matrixFromColumns, min, mode, nthRoots, ones, partitionSelect, resize, rightLogShift, round, smallerEq, unequal, usolve, xor, add, atan2, bitOr, catalan, compareNatural, deepEqual, diff, dot, equalText, floor, identity, invmod, larger, log, lsolveAll, matrixFromRows, multiply, pow, qr, range, rightArithShift, row, setCartesian, setDistinct, setIsSubset, setPowerset, slu, sum, trace, usolveAll, asin, ceil, column, composition, cross, distance, dotMultiply, FibonacciHeap, fix, gamma, index, lcm, max, quantileSeq, setDifference, setMultiplicity, setSymDifference, sort, Unit, vacuumImpedance, wienDisplacement, atomicMass, bohrMagneton, boltzmann, conductanceQuantum, createUnit, deuteronMass, dotPow, electricConstant, elementaryCharge, factorial, fermiCoupling, gasConstant, gravity, intersect, inverseConductanceQuantum, klitzing, loschmidt, magneticConstant, molarMass, molarPlanckConstant, neutronMass, nuclearMagneton, permutations, planckConstant, planckMass, planckTime, quantumOfCirculation, reducedPlanckConstant, rydberg, setIntersect, setUnion, Spa, stefanBoltzmann, unit, avogadro, bohrRadius, coulomb, electronMass, faraday, hartreeEnergy, log1p, magneticFluxQuantum, molarMassC12, planckCharge, planckTemperature, secondRadiation, speedOfLight, stirlingS2, bellNumbers, firstRadiation, lup, molarVolume, protonMass, setSize, thomsonCrossSection, classicalElectronRadius, det, gravitationConstant, inv, lusolve, sqrtm, divide, expm, kldivergence, mean, median, planckLength, variance, std, eigs, multinomial, mad, norm, rotationMatrix, rotate } from './pureFunctionsAny.generated.js';
10
+ sackurTetrode, tau, _true, version, DenseMatrix, efimovFactor, LN2, pi, replacer, SQRT2, typed, unaryPlus, weakMixingAngle, abs, acos, acot, acsc, addScalar, arg, asech, asinh, atan, atanh, bignumber, bitNot, boolean, clone, combinations, complex, conj, cosh, coth, csc, cube, equalScalar, erf, exp, expm1, filter, forEach, format, getMatrixDataType, hex, im, isInteger, isNegative, isPositive, isZero, LOG2E, log10, log2, map, multiplyScalar, not, number, oct, pickRandom, print, random, re, sec, sign, sin, SparseMatrix, splitUnit, square, string, tan, typeOf, acosh, acsch, apply, asec, bin, combinationsWithRep, cos, csch, isNaN, isPrime, randomInt, sech, sinh, sparse, sqrt, tanh, unaryMinus, acoth, cot, fraction, isNumeric, matrix, matrixFromFunction, mod, nthRoot, numeric, or, prod, reshape, size, smaller, squeeze, subset, subtract, to, transpose, xgcd, zeros, and, bitAnd, bitXor, cbrt, compare, compareText, concat, count, ctranspose, diag, divideScalar, dotDivide, equal, flatten, gcd, hasNumericValue, hypot, ImmutableDenseMatrix, Index, kron, largerEq, leftShift, lsolve, matrixFromColumns, min, mode, nthRoots, ones, partitionSelect, resize, rightArithShift, round, smallerEq, unequal, usolve, xor, add, atan2, bitOr, catalan, compareNatural, deepEqual, diff, dot, equalText, floor, identity, invmod, larger, log, lsolveAll, matrixFromRows, multiply, pow, qr, range, rightLogShift, row, setCartesian, setDistinct, setIsSubset, setPowerset, slu, sum, trace, usolveAll, asin, ceil, column, composition, cross, distance, dotMultiply, FibonacciHeap, fix, gamma, index, lcm, log1p, max, quantileSeq, setDifference, setMultiplicity, setSymDifference, sort, Unit, vacuumImpedance, wienDisplacement, atomicMass, bohrMagneton, boltzmann, conductanceQuantum, createUnit, deuteronMass, dotPow, electricConstant, elementaryCharge, factorial, fermiCoupling, gasConstant, gravity, intersect, inverseConductanceQuantum, klitzing, loschmidt, magneticConstant, molarMass, molarPlanckConstant, neutronMass, nuclearMagneton, permutations, planckConstant, planckMass, planckTime, quantumOfCirculation, reducedPlanckConstant, rydberg, setIntersect, setUnion, Spa, stefanBoltzmann, unit, avogadro, bohrRadius, coulomb, electronMass, faraday, hartreeEnergy, lup, magneticFluxQuantum, molarMassC12, planckCharge, planckTemperature, secondRadiation, speedOfLight, stirlingS2, bellNumbers, det, firstRadiation, molarVolume, protonMass, setSize, thomsonCrossSection, classicalElectronRadius, gravitationConstant, inv, lusolve, sqrtm, divide, expm, kldivergence, mean, median, planckLength, variance, eigs, mad, multinomial, std, norm, rotationMatrix, rotate } from './pureFunctionsAny.generated.js';
11
11
  var math = {}; // NOT pure!
12
12
 
13
13
  var mathWithTransform = {}; // NOT pure!
@@ -103,6 +103,13 @@ export var parse = createParse({
103
103
  numeric,
104
104
  typed
105
105
  });
106
+ export var resolve = createResolve({
107
+ ConstantNode,
108
+ FunctionNode,
109
+ OperatorNode,
110
+ ParenthesisNode,
111
+ parse
112
+ });
106
113
  export var compile = createCompile({
107
114
  parse,
108
115
  typed
@@ -114,6 +121,10 @@ export var evaluate = createEvaluate({
114
121
  export var Help = createHelpClass({
115
122
  parse
116
123
  });
124
+ export var leafCount = createLeafCount({
125
+ parse,
126
+ typed
127
+ });
117
128
  export var Parser = createParserClass({
118
129
  evaluate
119
130
  });
@@ -121,6 +132,24 @@ export var parser = createParser({
121
132
  Parser,
122
133
  typed
123
134
  });
135
+ export var simplifyCore = createSimplifyCore({
136
+ AccessorNode,
137
+ ArrayNode,
138
+ ConstantNode,
139
+ FunctionNode,
140
+ IndexNode,
141
+ ObjectNode,
142
+ OperatorNode,
143
+ ParenthesisNode,
144
+ SymbolNode,
145
+ add,
146
+ divide,
147
+ equal,
148
+ isZero,
149
+ multiply,
150
+ pow,
151
+ subtract
152
+ });
124
153
  export var simplify = createSimplify({
125
154
  bignumber,
126
155
  fraction,
@@ -143,6 +172,8 @@ export var simplify = createSimplify({
143
172
  multiply,
144
173
  parse,
145
174
  pow,
175
+ resolve,
176
+ simplifyCore,
146
177
  subtract,
147
178
  typed
148
179
  });
@@ -160,11 +191,6 @@ export var derivative = createDerivative({
160
191
  simplify,
161
192
  typed
162
193
  });
163
- export var help = createHelp({
164
- Help,
165
- mathWithTransform,
166
- typed
167
- });
168
194
  export var rationalize = createRationalize({
169
195
  bignumber,
170
196
  fraction,
@@ -188,9 +214,15 @@ export var rationalize = createRationalize({
188
214
  parse,
189
215
  pow,
190
216
  simplify,
217
+ simplifyCore,
191
218
  subtract,
192
219
  typed
193
220
  });
221
+ export var help = createHelp({
222
+ Help,
223
+ mathWithTransform,
224
+ typed
225
+ });
194
226
 
195
227
  _extends(math, {
196
228
  e,
@@ -341,7 +373,7 @@ _extends(math, {
341
373
  ones,
342
374
  partitionSelect,
343
375
  resize,
344
- rightLogShift,
376
+ rightArithShift,
345
377
  round,
346
378
  smallerEq,
347
379
  unequal,
@@ -367,7 +399,7 @@ _extends(math, {
367
399
  pow,
368
400
  qr,
369
401
  range,
370
- rightArithShift,
402
+ rightLogShift,
371
403
  row,
372
404
  setCartesian,
373
405
  setDistinct,
@@ -388,6 +420,7 @@ _extends(math, {
388
420
  gamma,
389
421
  index,
390
422
  lcm,
423
+ log1p,
391
424
  max,
392
425
  quantileSeq,
393
426
  setDifference,
@@ -435,26 +468,27 @@ _extends(math, {
435
468
  electronMass,
436
469
  faraday,
437
470
  hartreeEnergy,
438
- log1p,
471
+ lup,
439
472
  magneticFluxQuantum,
440
473
  molarMassC12,
441
474
  parse,
442
475
  planckCharge,
443
476
  planckTemperature,
477
+ resolve,
444
478
  secondRadiation,
445
479
  speedOfLight,
446
480
  stirlingS2,
447
481
  bellNumbers,
448
482
  compile,
483
+ det,
449
484
  evaluate,
450
485
  firstRadiation,
451
- lup,
486
+ leafCount,
452
487
  molarVolume,
453
488
  protonMass,
454
489
  setSize,
455
490
  thomsonCrossSection,
456
491
  classicalElectronRadius,
457
- det,
458
492
  gravitationConstant,
459
493
  inv,
460
494
  lusolve,
@@ -466,15 +500,16 @@ _extends(math, {
466
500
  mean,
467
501
  median,
468
502
  planckLength,
469
- simplify,
503
+ simplifyCore,
470
504
  variance,
505
+ eigs,
506
+ mad,
507
+ multinomial,
508
+ simplify,
471
509
  derivative,
472
- help,
473
510
  rationalize,
474
511
  std,
475
- eigs,
476
- multinomial,
477
- mad,
512
+ help,
478
513
  norm,
479
514
  rotationMatrix,
480
515
  rotate,
@@ -554,6 +589,11 @@ _extends(mathWithTransform, math, {
554
589
  range,
555
590
  typed
556
591
  }),
592
+ std: createStdTransform({
593
+ sqrt,
594
+ typed,
595
+ variance
596
+ }),
557
597
  mean: createMeanTransform({
558
598
  add,
559
599
  divide,
@@ -567,11 +607,6 @@ _extends(mathWithTransform, math, {
567
607
  multiply,
568
608
  subtract,
569
609
  typed
570
- }),
571
- std: createStdTransform({
572
- sqrt,
573
- typed,
574
- variance
575
610
  })
576
611
  });
577
612
 
@@ -5,9 +5,9 @@ import _extends from "@babel/runtime/helpers/extends";
5
5
  * DON'T MAKE CHANGES HERE
6
6
  */
7
7
  import { config } from './configReadonly.js';
8
- import { createChainClass, createReviver, createChain, createNode, createObjectNode, createRangeNode, createRelationalNode, createSymbolNode, createAccessorNode, createAssignmentNode, createConditionalNode, createFunctionNode, createIndexNode, createOperatorNode, createConstantNode, createFunctionAssignmentNode, createParenthesisNode, createBlockNode, createArrayNode, createParse, createSimplify, createCompile, createEvaluate, createHelpClass, createParserClass, createDerivative, createRationalize, createHelp, createParser, createApplyTransform, createFilterTransform, createForEachTransform, createMapTransform, createMeanTransform, createSubsetTransform, createStdTransform, createSumTransform, createMaxTransform, createMinTransform, createRangeTransform, createVarianceTransform } from '../factoriesNumber.js';
9
- import { e, _false, index, _Infinity, LN10, LOG10E, matrix, _NaN, _null, phi, Range, replacer, SQRT1_2, // eslint-disable-line camelcase
10
- subset, tau, typed, unaryPlus, version, xor, abs, acos, acot, acsc, add, and, asec, asin, atan, atanh, bitAnd, bitOr, boolean, cbrt, combinations, compare, compareText, cos, cot, csc, cube, divide, equalScalar, erf, exp, filter, fix, forEach, format, gamma, isInteger, isNegative, isPositive, isZero, LOG2E, largerEq, leftShift, log10, log2, map, mean, mod, multiply, not, number, or, pi, pow, random, rightArithShift, round, sec, sign, sin, size, smallerEq, square, string, subtract, tanh, typeOf, unequal, xgcd, acoth, addScalar, asech, bitNot, ceil, combinationsWithRep, cosh, csch, divideScalar, equalText, expm1, isNumeric, LN2, lcm, log1p, multiplyScalar, nthRoot, pickRandom, randomInt, ResultSet, SQRT2, sinh, sqrt, tan, unaryMinus, acosh, apply, asinh, bitXor, catalan, compareNatural, equal, factorial, hasNumericValue, isNaN, larger, mode, norm, partitionSelect, print, quantileSeq, rightLogShift, smaller, stirlingS2, _true, variance, acsch, atan2, composition, deepEqual, floor, hypot, log, median, multinomial, permutations, range, sech, std, clone, coth, gcd, isPrime, numeric, prod, bellNumbers, mad, sum, max, min } from './pureFunctionsNumber.generated.js';
8
+ import { createChainClass, createChain, createNode, createObjectNode, createRangeNode, createRelationalNode, createReviver, createSymbolNode, createAccessorNode, createAssignmentNode, createBlockNode, createConditionalNode, createFunctionNode, createIndexNode, createOperatorNode, createConstantNode, createFunctionAssignmentNode, createParenthesisNode, createArrayNode, createSimplifyCore, createParse, createResolve, createCompile, createEvaluate, createHelpClass, createParserClass, createSimplify, createDerivative, createRationalize, createHelp, createParser, createApplyTransform, createFilterTransform, createForEachTransform, createMapTransform, createMeanTransform, createSubsetTransform, createVarianceTransform, createMaxTransform, createMinTransform, createRangeTransform, createStdTransform, createSumTransform } from '../factoriesNumber.js';
9
+ import { e, _false, index, _Infinity, LN10, LOG10E, matrix, _NaN, _null, phi, Range, replacer, ResultSet, SQRT1_2, // eslint-disable-line camelcase
10
+ subset, tau, typed, unaryPlus, version, xor, abs, acos, acot, acsc, add, and, asec, asin, atan, atanh, bitAnd, bitOr, boolean, cbrt, combinations, compare, compareText, cos, cot, csc, cube, divide, equalScalar, erf, exp, filter, fix, forEach, format, gamma, isInteger, isNegative, isPositive, isZero, LOG2E, largerEq, leftShift, log10, log2, map, mean, mod, multiply, not, number, or, pi, pow, random, rightLogShift, SQRT2, sech, sin, size, smallerEq, square, string, subtract, tanh, typeOf, unequal, xgcd, acoth, addScalar, asech, bitNot, ceil, combinationsWithRep, cosh, csch, divideScalar, equalText, expm1, isNumeric, LN2, lcm, log1p, multiplyScalar, nthRoot, pickRandom, randomInt, rightArithShift, sec, sinh, sqrt, tan, unaryMinus, acosh, apply, asinh, bitXor, clone, equal, factorial, hasNumericValue, isNaN, larger, mode, norm, partitionSelect, print, quantileSeq, round, smaller, stirlingS2, _true, variance, acsch, atan2, catalan, composition, deepEqual, floor, hypot, log, median, multinomial, permutations, range, sign, std, compareNatural, coth, gcd, isPrime, numeric, prod, sum, bellNumbers, mad, max, min } from './pureFunctionsNumber.generated.js';
11
11
  var math = {}; // NOT pure!
12
12
 
13
13
  var mathWithTransform = {}; // NOT pure!
@@ -17,9 +17,6 @@ var classes = {}; // NOT pure!
17
17
  export var Chain = createChainClass({
18
18
  math
19
19
  });
20
- export var reviver = createReviver({
21
- classes
22
- });
23
20
  export var chain = createChain({
24
21
  Chain,
25
22
  typed
@@ -36,6 +33,9 @@ export var RangeNode = createRangeNode({
36
33
  export var RelationalNode = createRelationalNode({
37
34
  Node
38
35
  });
36
+ export var reviver = createReviver({
37
+ classes
38
+ });
39
39
  export var SymbolNode = createSymbolNode({
40
40
  Node,
41
41
  math
@@ -49,6 +49,10 @@ export var AssignmentNode = createAssignmentNode({
49
49
  Node,
50
50
  subset
51
51
  });
52
+ export var BlockNode = createBlockNode({
53
+ Node,
54
+ ResultSet
55
+ });
52
56
  export var ConditionalNode = createConditionalNode({
53
57
  Node
54
58
  });
@@ -75,13 +79,27 @@ export var FunctionAssignmentNode = createFunctionAssignmentNode({
75
79
  export var ParenthesisNode = createParenthesisNode({
76
80
  Node
77
81
  });
78
- export var BlockNode = createBlockNode({
79
- Node,
80
- ResultSet
81
- });
82
82
  export var ArrayNode = createArrayNode({
83
83
  Node
84
84
  });
85
+ export var simplifyCore = createSimplifyCore({
86
+ AccessorNode,
87
+ ArrayNode,
88
+ ConstantNode,
89
+ FunctionNode,
90
+ IndexNode,
91
+ ObjectNode,
92
+ OperatorNode,
93
+ ParenthesisNode,
94
+ SymbolNode,
95
+ add,
96
+ divide,
97
+ equal,
98
+ isZero,
99
+ multiply,
100
+ pow,
101
+ subtract
102
+ });
85
103
  export var parse = createParse({
86
104
  AccessorNode,
87
105
  ArrayNode,
@@ -102,6 +120,27 @@ export var parse = createParse({
102
120
  numeric,
103
121
  typed
104
122
  });
123
+ export var resolve = createResolve({
124
+ ConstantNode,
125
+ FunctionNode,
126
+ OperatorNode,
127
+ ParenthesisNode,
128
+ parse
129
+ });
130
+ export var compile = createCompile({
131
+ parse,
132
+ typed
133
+ });
134
+ export var evaluate = createEvaluate({
135
+ parse,
136
+ typed
137
+ });
138
+ export var Help = createHelpClass({
139
+ parse
140
+ });
141
+ export var Parser = createParserClass({
142
+ evaluate
143
+ });
105
144
  export var simplify = createSimplify({
106
145
  AccessorNode,
107
146
  ArrayNode,
@@ -122,23 +161,11 @@ export var simplify = createSimplify({
122
161
  multiply,
123
162
  parse,
124
163
  pow,
164
+ resolve,
165
+ simplifyCore,
125
166
  subtract,
126
167
  typed
127
168
  });
128
- export var compile = createCompile({
129
- parse,
130
- typed
131
- });
132
- export var evaluate = createEvaluate({
133
- parse,
134
- typed
135
- });
136
- export var Help = createHelpClass({
137
- parse
138
- });
139
- export var Parser = createParserClass({
140
- evaluate
141
- });
142
169
  export var derivative = createDerivative({
143
170
  ConstantNode,
144
171
  FunctionNode,
@@ -174,6 +201,7 @@ export var rationalize = createRationalize({
174
201
  parse,
175
202
  pow,
176
203
  simplify,
204
+ simplifyCore,
177
205
  subtract,
178
206
  typed
179
207
  });
@@ -199,7 +227,6 @@ _extends(math, {
199
227
  null: _null,
200
228
  phi,
201
229
  replacer,
202
- reviver,
203
230
  SQRT1_2,
204
231
  subset,
205
232
  tau,
@@ -258,10 +285,10 @@ _extends(math, {
258
285
  pi,
259
286
  pow,
260
287
  random,
261
- rightArithShift,
262
- round,
263
- sec,
264
- sign,
288
+ reviver,
289
+ rightLogShift,
290
+ SQRT2,
291
+ sech,
265
292
  sin,
266
293
  size,
267
294
  smallerEq,
@@ -291,7 +318,8 @@ _extends(math, {
291
318
  nthRoot,
292
319
  pickRandom,
293
320
  randomInt,
294
- SQRT2,
321
+ rightArithShift,
322
+ sec,
295
323
  sinh,
296
324
  sqrt,
297
325
  tan,
@@ -300,8 +328,7 @@ _extends(math, {
300
328
  apply,
301
329
  asinh,
302
330
  bitXor,
303
- catalan,
304
- compareNatural,
331
+ clone,
305
332
  equal,
306
333
  factorial,
307
334
  hasNumericValue,
@@ -312,13 +339,14 @@ _extends(math, {
312
339
  partitionSelect,
313
340
  print,
314
341
  quantileSeq,
315
- rightLogShift,
342
+ round,
316
343
  smaller,
317
344
  stirlingS2,
318
345
  true: _true,
319
346
  variance,
320
347
  acsch,
321
348
  atan2,
349
+ catalan,
322
350
  composition,
323
351
  deepEqual,
324
352
  floor,
@@ -328,23 +356,25 @@ _extends(math, {
328
356
  multinomial,
329
357
  permutations,
330
358
  range,
331
- sech,
359
+ sign,
332
360
  std,
333
361
  'PI': pi,
334
- clone,
362
+ compareNatural,
335
363
  coth,
336
364
  gcd,
337
365
  isPrime,
338
366
  numeric,
339
367
  prod,
368
+ simplifyCore,
369
+ sum,
340
370
  bellNumbers,
341
371
  mad,
342
- sum,
343
372
  max,
344
373
  parse,
345
- simplify,
374
+ resolve,
346
375
  compile,
347
376
  evaluate,
377
+ simplify,
348
378
  derivative,
349
379
  min,
350
380
  rationalize,
@@ -373,15 +403,13 @@ _extends(mathWithTransform, math, {
373
403
  typed
374
404
  }),
375
405
  subset: createSubsetTransform({}),
376
- std: createStdTransform({
377
- sqrt,
378
- typed,
379
- variance
380
- }),
381
- sum: createSumTransform({
406
+ variance: createVarianceTransform({
382
407
  add,
383
- config,
384
- numeric,
408
+ apply,
409
+ divide,
410
+ isNaN,
411
+ multiply,
412
+ subtract,
385
413
  typed
386
414
  }),
387
415
  max: createMaxTransform({
@@ -405,13 +433,15 @@ _extends(mathWithTransform, math, {
405
433
  smallerEq,
406
434
  typed
407
435
  }),
408
- variance: createVarianceTransform({
436
+ std: createStdTransform({
437
+ sqrt,
438
+ typed,
439
+ variance
440
+ }),
441
+ sum: createSumTransform({
409
442
  add,
410
- apply,
411
- divide,
412
- isNaN,
413
- multiply,
414
- subtract,
443
+ config,
444
+ numeric,
415
445
  typed
416
446
  })
417
447
  });
@@ -419,6 +449,7 @@ _extends(mathWithTransform, math, {
419
449
  _extends(classes, {
420
450
  Chain,
421
451
  Range,
452
+ ResultSet,
422
453
  Node,
423
454
  ObjectNode,
424
455
  RangeNode,
@@ -426,15 +457,14 @@ _extends(classes, {
426
457
  SymbolNode,
427
458
  AccessorNode,
428
459
  AssignmentNode,
460
+ BlockNode,
429
461
  ConditionalNode,
430
462
  FunctionNode,
431
463
  IndexNode,
432
464
  OperatorNode,
433
- ResultSet,
434
465
  ConstantNode,
435
466
  FunctionAssignmentNode,
436
467
  ParenthesisNode,
437
- BlockNode,
438
468
  ArrayNode,
439
469
  Help,
440
470
  Parser