mathjs 12.4.3 → 13.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1331) hide show
  1. package/HISTORY.md +234 -463
  2. package/README.md +4 -4
  3. package/lib/browser/math.js +1 -1
  4. package/lib/browser/math.js.LICENSE.txt +10 -4
  5. package/lib/browser/math.js.map +1 -1
  6. package/lib/cjs/constants.js +77 -55
  7. package/lib/cjs/core/config.js +9 -3
  8. package/lib/cjs/core/create.js +21 -18
  9. package/lib/cjs/core/function/config.js +23 -15
  10. package/lib/cjs/core/function/import.js +29 -36
  11. package/lib/cjs/core/function/typed.js +88 -46
  12. package/lib/cjs/defaultInstance.js +4 -5
  13. package/lib/cjs/entry/allFactoriesAny.js +3 -4
  14. package/lib/cjs/entry/allFactoriesNumber.js +3 -4
  15. package/lib/cjs/entry/configReadonly.js +3 -2
  16. package/lib/cjs/entry/dependenciesAny/dependenciesAbs.generated.js +1 -1
  17. package/lib/cjs/entry/dependenciesAny/dependenciesAccessorNode.generated.js +1 -1
  18. package/lib/cjs/entry/dependenciesAny/dependenciesAcos.generated.js +1 -1
  19. package/lib/cjs/entry/dependenciesAny/dependenciesAcosh.generated.js +1 -1
  20. package/lib/cjs/entry/dependenciesAny/dependenciesAcot.generated.js +1 -1
  21. package/lib/cjs/entry/dependenciesAny/dependenciesAcoth.generated.js +1 -1
  22. package/lib/cjs/entry/dependenciesAny/dependenciesAcsc.generated.js +1 -1
  23. package/lib/cjs/entry/dependenciesAny/dependenciesAcsch.generated.js +1 -1
  24. package/lib/cjs/entry/dependenciesAny/dependenciesAdd.generated.js +1 -1
  25. package/lib/cjs/entry/dependenciesAny/dependenciesAddScalar.generated.js +1 -1
  26. package/lib/cjs/entry/dependenciesAny/dependenciesAnd.generated.js +1 -1
  27. package/lib/cjs/entry/dependenciesAny/dependenciesAndTransform.generated.js +1 -1
  28. package/lib/cjs/entry/dependenciesAny/dependenciesApply.generated.js +1 -1
  29. package/lib/cjs/entry/dependenciesAny/dependenciesApplyTransform.generated.js +1 -1
  30. package/lib/cjs/entry/dependenciesAny/dependenciesArg.generated.js +1 -1
  31. package/lib/cjs/entry/dependenciesAny/dependenciesArrayNode.generated.js +1 -1
  32. package/lib/cjs/entry/dependenciesAny/dependenciesAsec.generated.js +1 -1
  33. package/lib/cjs/entry/dependenciesAny/dependenciesAsech.generated.js +1 -1
  34. package/lib/cjs/entry/dependenciesAny/dependenciesAsin.generated.js +1 -1
  35. package/lib/cjs/entry/dependenciesAny/dependenciesAsinh.generated.js +1 -1
  36. package/lib/cjs/entry/dependenciesAny/dependenciesAssignmentNode.generated.js +1 -1
  37. package/lib/cjs/entry/dependenciesAny/dependenciesAtan.generated.js +1 -1
  38. package/lib/cjs/entry/dependenciesAny/dependenciesAtan2.generated.js +1 -1
  39. package/lib/cjs/entry/dependenciesAny/dependenciesAtanh.generated.js +1 -1
  40. package/lib/cjs/entry/dependenciesAny/dependenciesAtomicMass.generated.js +1 -1
  41. package/lib/cjs/entry/dependenciesAny/dependenciesAvogadro.generated.js +1 -1
  42. package/lib/cjs/entry/dependenciesAny/dependenciesBellNumbers.generated.js +1 -1
  43. package/lib/cjs/entry/dependenciesAny/dependenciesBigNumberClass.generated.js +1 -1
  44. package/lib/cjs/entry/dependenciesAny/dependenciesBigint.generated.js +17 -0
  45. package/lib/cjs/entry/dependenciesAny/dependenciesBignumber.generated.js +1 -1
  46. package/lib/cjs/entry/dependenciesAny/dependenciesBin.generated.js +1 -1
  47. package/lib/cjs/entry/dependenciesAny/dependenciesBitAnd.generated.js +1 -1
  48. package/lib/cjs/entry/dependenciesAny/dependenciesBitAndTransform.generated.js +1 -1
  49. package/lib/cjs/entry/dependenciesAny/dependenciesBitNot.generated.js +1 -1
  50. package/lib/cjs/entry/dependenciesAny/dependenciesBitOr.generated.js +1 -1
  51. package/lib/cjs/entry/dependenciesAny/dependenciesBitOrTransform.generated.js +1 -1
  52. package/lib/cjs/entry/dependenciesAny/dependenciesBitXor.generated.js +1 -1
  53. package/lib/cjs/entry/dependenciesAny/dependenciesBlockNode.generated.js +1 -1
  54. package/lib/cjs/entry/dependenciesAny/dependenciesBohrMagneton.generated.js +1 -1
  55. package/lib/cjs/entry/dependenciesAny/dependenciesBohrRadius.generated.js +1 -1
  56. package/lib/cjs/entry/dependenciesAny/dependenciesBoltzmann.generated.js +1 -1
  57. package/lib/cjs/entry/dependenciesAny/dependenciesBoolean.generated.js +1 -1
  58. package/lib/cjs/entry/dependenciesAny/dependenciesCatalan.generated.js +1 -1
  59. package/lib/cjs/entry/dependenciesAny/dependenciesCbrt.generated.js +1 -1
  60. package/lib/cjs/entry/dependenciesAny/dependenciesCeil.generated.js +1 -1
  61. package/lib/cjs/entry/dependenciesAny/dependenciesChain.generated.js +1 -1
  62. package/lib/cjs/entry/dependenciesAny/dependenciesChainClass.generated.js +1 -1
  63. package/lib/cjs/entry/dependenciesAny/dependenciesClassicalElectronRadius.generated.js +1 -1
  64. package/lib/cjs/entry/dependenciesAny/dependenciesClone.generated.js +1 -1
  65. package/lib/cjs/entry/dependenciesAny/dependenciesColumn.generated.js +1 -1
  66. package/lib/cjs/entry/dependenciesAny/dependenciesColumnTransform.generated.js +1 -1
  67. package/lib/cjs/entry/dependenciesAny/dependenciesCombinations.generated.js +1 -1
  68. package/lib/cjs/entry/dependenciesAny/dependenciesCombinationsWithRep.generated.js +1 -1
  69. package/lib/cjs/entry/dependenciesAny/dependenciesCompare.generated.js +1 -1
  70. package/lib/cjs/entry/dependenciesAny/dependenciesCompareNatural.generated.js +1 -1
  71. package/lib/cjs/entry/dependenciesAny/dependenciesCompareText.generated.js +1 -1
  72. package/lib/cjs/entry/dependenciesAny/dependenciesCompile.generated.js +1 -1
  73. package/lib/cjs/entry/dependenciesAny/dependenciesComplex.generated.js +1 -1
  74. package/lib/cjs/entry/dependenciesAny/dependenciesComplexClass.generated.js +1 -1
  75. package/lib/cjs/entry/dependenciesAny/dependenciesComposition.generated.js +1 -1
  76. package/lib/cjs/entry/dependenciesAny/dependenciesConcat.generated.js +1 -1
  77. package/lib/cjs/entry/dependenciesAny/dependenciesConcatTransform.generated.js +1 -1
  78. package/lib/cjs/entry/dependenciesAny/dependenciesConditionalNode.generated.js +1 -1
  79. package/lib/cjs/entry/dependenciesAny/dependenciesConductanceQuantum.generated.js +1 -1
  80. package/lib/cjs/entry/dependenciesAny/dependenciesConj.generated.js +1 -1
  81. package/lib/cjs/entry/dependenciesAny/dependenciesConstantNode.generated.js +1 -1
  82. package/lib/cjs/entry/dependenciesAny/dependenciesCorr.generated.js +1 -1
  83. package/lib/cjs/entry/dependenciesAny/dependenciesCos.generated.js +1 -1
  84. package/lib/cjs/entry/dependenciesAny/dependenciesCosh.generated.js +1 -1
  85. package/lib/cjs/entry/dependenciesAny/dependenciesCot.generated.js +1 -1
  86. package/lib/cjs/entry/dependenciesAny/dependenciesCoth.generated.js +1 -1
  87. package/lib/cjs/entry/dependenciesAny/dependenciesCoulomb.generated.js +1 -1
  88. package/lib/cjs/entry/dependenciesAny/dependenciesCount.generated.js +1 -1
  89. package/lib/cjs/entry/dependenciesAny/dependenciesCreateUnit.generated.js +1 -1
  90. package/lib/cjs/entry/dependenciesAny/dependenciesCross.generated.js +1 -1
  91. package/lib/cjs/entry/dependenciesAny/dependenciesCsc.generated.js +1 -1
  92. package/lib/cjs/entry/dependenciesAny/dependenciesCsch.generated.js +1 -1
  93. package/lib/cjs/entry/dependenciesAny/dependenciesCtranspose.generated.js +1 -1
  94. package/lib/cjs/entry/dependenciesAny/dependenciesCube.generated.js +1 -1
  95. package/lib/cjs/entry/dependenciesAny/dependenciesCumSum.generated.js +1 -1
  96. package/lib/cjs/entry/dependenciesAny/dependenciesCumSumTransform.generated.js +1 -1
  97. package/lib/cjs/entry/dependenciesAny/dependenciesDeepEqual.generated.js +1 -1
  98. package/lib/cjs/entry/dependenciesAny/dependenciesDenseMatrixClass.generated.js +1 -1
  99. package/lib/cjs/entry/dependenciesAny/dependenciesDerivative.generated.js +1 -1
  100. package/lib/cjs/entry/dependenciesAny/dependenciesDet.generated.js +1 -1
  101. package/lib/cjs/entry/dependenciesAny/dependenciesDeuteronMass.generated.js +1 -1
  102. package/lib/cjs/entry/dependenciesAny/dependenciesDiag.generated.js +1 -1
  103. package/lib/cjs/entry/dependenciesAny/dependenciesDiff.generated.js +1 -1
  104. package/lib/cjs/entry/dependenciesAny/dependenciesDiffTransform.generated.js +1 -1
  105. package/lib/cjs/entry/dependenciesAny/dependenciesDistance.generated.js +1 -1
  106. package/lib/cjs/entry/dependenciesAny/dependenciesDivide.generated.js +1 -1
  107. package/lib/cjs/entry/dependenciesAny/dependenciesDivideScalar.generated.js +1 -1
  108. package/lib/cjs/entry/dependenciesAny/dependenciesDot.generated.js +1 -1
  109. package/lib/cjs/entry/dependenciesAny/dependenciesDotDivide.generated.js +1 -1
  110. package/lib/cjs/entry/dependenciesAny/dependenciesDotMultiply.generated.js +1 -1
  111. package/lib/cjs/entry/dependenciesAny/dependenciesDotPow.generated.js +1 -1
  112. package/lib/cjs/entry/dependenciesAny/dependenciesE.generated.js +1 -1
  113. package/lib/cjs/entry/dependenciesAny/dependenciesEfimovFactor.generated.js +1 -1
  114. package/lib/cjs/entry/dependenciesAny/dependenciesEigs.generated.js +1 -1
  115. package/lib/cjs/entry/dependenciesAny/dependenciesElectricConstant.generated.js +1 -1
  116. package/lib/cjs/entry/dependenciesAny/dependenciesElectronMass.generated.js +1 -1
  117. package/lib/cjs/entry/dependenciesAny/dependenciesElementaryCharge.generated.js +1 -1
  118. package/lib/cjs/entry/dependenciesAny/dependenciesEqual.generated.js +1 -1
  119. package/lib/cjs/entry/dependenciesAny/dependenciesEqualScalar.generated.js +1 -1
  120. package/lib/cjs/entry/dependenciesAny/dependenciesEqualText.generated.js +1 -1
  121. package/lib/cjs/entry/dependenciesAny/dependenciesErf.generated.js +1 -1
  122. package/lib/cjs/entry/dependenciesAny/dependenciesEvaluate.generated.js +1 -1
  123. package/lib/cjs/entry/dependenciesAny/dependenciesExp.generated.js +1 -1
  124. package/lib/cjs/entry/dependenciesAny/dependenciesExpm.generated.js +1 -1
  125. package/lib/cjs/entry/dependenciesAny/dependenciesExpm1.generated.js +1 -1
  126. package/lib/cjs/entry/dependenciesAny/dependenciesFactorial.generated.js +1 -1
  127. package/lib/cjs/entry/dependenciesAny/dependenciesFalse.generated.js +1 -1
  128. package/lib/cjs/entry/dependenciesAny/dependenciesFaraday.generated.js +1 -1
  129. package/lib/cjs/entry/dependenciesAny/dependenciesFermiCoupling.generated.js +1 -1
  130. package/lib/cjs/entry/dependenciesAny/dependenciesFft.generated.js +1 -1
  131. package/lib/cjs/entry/dependenciesAny/dependenciesFibonacciHeapClass.generated.js +1 -1
  132. package/lib/cjs/entry/dependenciesAny/dependenciesFilter.generated.js +1 -1
  133. package/lib/cjs/entry/dependenciesAny/dependenciesFilterTransform.generated.js +1 -1
  134. package/lib/cjs/entry/dependenciesAny/dependenciesFineStructure.generated.js +1 -1
  135. package/lib/cjs/entry/dependenciesAny/dependenciesFirstRadiation.generated.js +1 -1
  136. package/lib/cjs/entry/dependenciesAny/dependenciesFix.generated.js +1 -1
  137. package/lib/cjs/entry/dependenciesAny/dependenciesFlatten.generated.js +1 -1
  138. package/lib/cjs/entry/dependenciesAny/dependenciesFloor.generated.js +1 -1
  139. package/lib/cjs/entry/dependenciesAny/dependenciesForEach.generated.js +1 -1
  140. package/lib/cjs/entry/dependenciesAny/dependenciesForEachTransform.generated.js +1 -1
  141. package/lib/cjs/entry/dependenciesAny/dependenciesFormat.generated.js +1 -1
  142. package/lib/cjs/entry/dependenciesAny/dependenciesFraction.generated.js +1 -1
  143. package/lib/cjs/entry/dependenciesAny/dependenciesFractionClass.generated.js +1 -1
  144. package/lib/cjs/entry/dependenciesAny/dependenciesFreqz.generated.js +1 -1
  145. package/lib/cjs/entry/dependenciesAny/dependenciesFunctionAssignmentNode.generated.js +1 -1
  146. package/lib/cjs/entry/dependenciesAny/dependenciesFunctionNode.generated.js +1 -1
  147. package/lib/cjs/entry/dependenciesAny/dependenciesGamma.generated.js +1 -1
  148. package/lib/cjs/entry/dependenciesAny/dependenciesGasConstant.generated.js +1 -1
  149. package/lib/cjs/entry/dependenciesAny/dependenciesGcd.generated.js +1 -1
  150. package/lib/cjs/entry/dependenciesAny/dependenciesGetMatrixDataType.generated.js +1 -1
  151. package/lib/cjs/entry/dependenciesAny/dependenciesGravitationConstant.generated.js +1 -1
  152. package/lib/cjs/entry/dependenciesAny/dependenciesGravity.generated.js +1 -1
  153. package/lib/cjs/entry/dependenciesAny/dependenciesHartreeEnergy.generated.js +1 -1
  154. package/lib/cjs/entry/dependenciesAny/dependenciesHasNumericValue.generated.js +1 -1
  155. package/lib/cjs/entry/dependenciesAny/dependenciesHelp.generated.js +1 -1
  156. package/lib/cjs/entry/dependenciesAny/dependenciesHelpClass.generated.js +1 -1
  157. package/lib/cjs/entry/dependenciesAny/dependenciesHex.generated.js +1 -1
  158. package/lib/cjs/entry/dependenciesAny/dependenciesHypot.generated.js +1 -1
  159. package/lib/cjs/entry/dependenciesAny/dependenciesI.generated.js +1 -1
  160. package/lib/cjs/entry/dependenciesAny/dependenciesIdentity.generated.js +1 -1
  161. package/lib/cjs/entry/dependenciesAny/dependenciesIfft.generated.js +1 -1
  162. package/lib/cjs/entry/dependenciesAny/dependenciesIm.generated.js +1 -1
  163. package/lib/cjs/entry/dependenciesAny/dependenciesImmutableDenseMatrixClass.generated.js +1 -1
  164. package/lib/cjs/entry/dependenciesAny/dependenciesIndex.generated.js +1 -1
  165. package/lib/cjs/entry/dependenciesAny/dependenciesIndexClass.generated.js +1 -1
  166. package/lib/cjs/entry/dependenciesAny/dependenciesIndexNode.generated.js +1 -1
  167. package/lib/cjs/entry/dependenciesAny/dependenciesIndexTransform.generated.js +1 -1
  168. package/lib/cjs/entry/dependenciesAny/dependenciesInfinity.generated.js +1 -1
  169. package/lib/cjs/entry/dependenciesAny/dependenciesIntersect.generated.js +1 -1
  170. package/lib/cjs/entry/dependenciesAny/dependenciesInv.generated.js +1 -1
  171. package/lib/cjs/entry/dependenciesAny/dependenciesInverseConductanceQuantum.generated.js +1 -1
  172. package/lib/cjs/entry/dependenciesAny/dependenciesInvmod.generated.js +1 -1
  173. package/lib/cjs/entry/dependenciesAny/dependenciesIsInteger.generated.js +1 -1
  174. package/lib/cjs/entry/dependenciesAny/dependenciesIsNaN.generated.js +1 -1
  175. package/lib/cjs/entry/dependenciesAny/dependenciesIsNegative.generated.js +1 -1
  176. package/lib/cjs/entry/dependenciesAny/dependenciesIsNumeric.generated.js +1 -1
  177. package/lib/cjs/entry/dependenciesAny/dependenciesIsPositive.generated.js +1 -1
  178. package/lib/cjs/entry/dependenciesAny/dependenciesIsPrime.generated.js +1 -1
  179. package/lib/cjs/entry/dependenciesAny/dependenciesIsZero.generated.js +3 -1
  180. package/lib/cjs/entry/dependenciesAny/dependenciesKldivergence.generated.js +1 -1
  181. package/lib/cjs/entry/dependenciesAny/dependenciesKlitzing.generated.js +1 -1
  182. package/lib/cjs/entry/dependenciesAny/dependenciesKron.generated.js +1 -1
  183. package/lib/cjs/entry/dependenciesAny/dependenciesLN10.generated.js +1 -1
  184. package/lib/cjs/entry/dependenciesAny/dependenciesLN2.generated.js +1 -1
  185. package/lib/cjs/entry/dependenciesAny/dependenciesLOG10E.generated.js +1 -1
  186. package/lib/cjs/entry/dependenciesAny/dependenciesLOG2E.generated.js +1 -1
  187. package/lib/cjs/entry/dependenciesAny/dependenciesLarger.generated.js +1 -1
  188. package/lib/cjs/entry/dependenciesAny/dependenciesLargerEq.generated.js +1 -1
  189. package/lib/cjs/entry/dependenciesAny/dependenciesLcm.generated.js +1 -1
  190. package/lib/cjs/entry/dependenciesAny/dependenciesLeafCount.generated.js +1 -1
  191. package/lib/cjs/entry/dependenciesAny/dependenciesLeftShift.generated.js +1 -1
  192. package/lib/cjs/entry/dependenciesAny/dependenciesLgamma.generated.js +1 -1
  193. package/lib/cjs/entry/dependenciesAny/dependenciesLog.generated.js +1 -1
  194. package/lib/cjs/entry/dependenciesAny/dependenciesLog10.generated.js +1 -1
  195. package/lib/cjs/entry/dependenciesAny/dependenciesLog1p.generated.js +1 -1
  196. package/lib/cjs/entry/dependenciesAny/dependenciesLog2.generated.js +1 -1
  197. package/lib/cjs/entry/dependenciesAny/dependenciesLoschmidt.generated.js +1 -1
  198. package/lib/cjs/entry/dependenciesAny/dependenciesLsolve.generated.js +1 -1
  199. package/lib/cjs/entry/dependenciesAny/dependenciesLsolveAll.generated.js +1 -1
  200. package/lib/cjs/entry/dependenciesAny/dependenciesLup.generated.js +1 -1
  201. package/lib/cjs/entry/dependenciesAny/dependenciesLusolve.generated.js +1 -1
  202. package/lib/cjs/entry/dependenciesAny/dependenciesLyap.generated.js +1 -1
  203. package/lib/cjs/entry/dependenciesAny/dependenciesMad.generated.js +1 -1
  204. package/lib/cjs/entry/dependenciesAny/dependenciesMagneticConstant.generated.js +1 -1
  205. package/lib/cjs/entry/dependenciesAny/dependenciesMagneticFluxQuantum.generated.js +1 -1
  206. package/lib/cjs/entry/dependenciesAny/dependenciesMap.generated.js +1 -1
  207. package/lib/cjs/entry/dependenciesAny/dependenciesMapTransform.generated.js +1 -1
  208. package/lib/cjs/entry/dependenciesAny/dependenciesMatrix.generated.js +1 -1
  209. package/lib/cjs/entry/dependenciesAny/dependenciesMatrixClass.generated.js +1 -1
  210. package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromColumns.generated.js +1 -1
  211. package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromFunction.generated.js +1 -1
  212. package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromRows.generated.js +1 -1
  213. package/lib/cjs/entry/dependenciesAny/dependenciesMax.generated.js +1 -1
  214. package/lib/cjs/entry/dependenciesAny/dependenciesMaxTransform.generated.js +1 -1
  215. package/lib/cjs/entry/dependenciesAny/dependenciesMean.generated.js +1 -1
  216. package/lib/cjs/entry/dependenciesAny/dependenciesMeanTransform.generated.js +1 -1
  217. package/lib/cjs/entry/dependenciesAny/dependenciesMedian.generated.js +1 -1
  218. package/lib/cjs/entry/dependenciesAny/dependenciesMin.generated.js +1 -1
  219. package/lib/cjs/entry/dependenciesAny/dependenciesMinTransform.generated.js +1 -1
  220. package/lib/cjs/entry/dependenciesAny/dependenciesMod.generated.js +1 -1
  221. package/lib/cjs/entry/dependenciesAny/dependenciesMode.generated.js +1 -1
  222. package/lib/cjs/entry/dependenciesAny/dependenciesMolarMass.generated.js +1 -1
  223. package/lib/cjs/entry/dependenciesAny/dependenciesMolarMassC12.generated.js +1 -1
  224. package/lib/cjs/entry/dependenciesAny/dependenciesMolarPlanckConstant.generated.js +1 -1
  225. package/lib/cjs/entry/dependenciesAny/dependenciesMolarVolume.generated.js +1 -1
  226. package/lib/cjs/entry/dependenciesAny/dependenciesMultinomial.generated.js +1 -1
  227. package/lib/cjs/entry/dependenciesAny/dependenciesMultiply.generated.js +1 -1
  228. package/lib/cjs/entry/dependenciesAny/dependenciesMultiplyScalar.generated.js +1 -1
  229. package/lib/cjs/entry/dependenciesAny/dependenciesNaN.generated.js +1 -1
  230. package/lib/cjs/entry/dependenciesAny/dependenciesNeutronMass.generated.js +1 -1
  231. package/lib/cjs/entry/dependenciesAny/dependenciesNode.generated.js +1 -1
  232. package/lib/cjs/entry/dependenciesAny/dependenciesNorm.generated.js +1 -1
  233. package/lib/cjs/entry/dependenciesAny/dependenciesNot.generated.js +1 -1
  234. package/lib/cjs/entry/dependenciesAny/dependenciesNthRoot.generated.js +1 -1
  235. package/lib/cjs/entry/dependenciesAny/dependenciesNthRoots.generated.js +1 -1
  236. package/lib/cjs/entry/dependenciesAny/dependenciesNuclearMagneton.generated.js +1 -1
  237. package/lib/cjs/entry/dependenciesAny/dependenciesNull.generated.js +1 -1
  238. package/lib/cjs/entry/dependenciesAny/dependenciesNumber.generated.js +1 -1
  239. package/lib/cjs/entry/dependenciesAny/dependenciesNumeric.generated.js +1 -1
  240. package/lib/cjs/entry/dependenciesAny/dependenciesObjectNode.generated.js +1 -1
  241. package/lib/cjs/entry/dependenciesAny/dependenciesOct.generated.js +1 -1
  242. package/lib/cjs/entry/dependenciesAny/dependenciesOnes.generated.js +1 -1
  243. package/lib/cjs/entry/dependenciesAny/dependenciesOperatorNode.generated.js +1 -1
  244. package/lib/cjs/entry/dependenciesAny/dependenciesOr.generated.js +1 -1
  245. package/lib/cjs/entry/dependenciesAny/dependenciesOrTransform.generated.js +1 -1
  246. package/lib/cjs/entry/dependenciesAny/dependenciesParenthesisNode.generated.js +1 -1
  247. package/lib/cjs/entry/dependenciesAny/dependenciesParse.generated.js +1 -1
  248. package/lib/cjs/entry/dependenciesAny/dependenciesParser.generated.js +1 -1
  249. package/lib/cjs/entry/dependenciesAny/dependenciesParserClass.generated.js +1 -1
  250. package/lib/cjs/entry/dependenciesAny/dependenciesPartitionSelect.generated.js +1 -1
  251. package/lib/cjs/entry/dependenciesAny/dependenciesPermutations.generated.js +1 -1
  252. package/lib/cjs/entry/dependenciesAny/dependenciesPhi.generated.js +1 -1
  253. package/lib/cjs/entry/dependenciesAny/dependenciesPi.generated.js +1 -1
  254. package/lib/cjs/entry/dependenciesAny/dependenciesPickRandom.generated.js +1 -1
  255. package/lib/cjs/entry/dependenciesAny/dependenciesPinv.generated.js +1 -1
  256. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckCharge.generated.js +1 -1
  257. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckConstant.generated.js +1 -1
  258. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckLength.generated.js +1 -1
  259. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckMass.generated.js +1 -1
  260. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckTemperature.generated.js +1 -1
  261. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckTime.generated.js +1 -1
  262. package/lib/cjs/entry/dependenciesAny/dependenciesPolynomialRoot.generated.js +1 -1
  263. package/lib/cjs/entry/dependenciesAny/dependenciesPow.generated.js +1 -1
  264. package/lib/cjs/entry/dependenciesAny/dependenciesPrint.generated.js +1 -1
  265. package/lib/cjs/entry/dependenciesAny/dependenciesPrintTransform.generated.js +1 -1
  266. package/lib/cjs/entry/dependenciesAny/dependenciesProd.generated.js +1 -1
  267. package/lib/cjs/entry/dependenciesAny/dependenciesProtonMass.generated.js +1 -1
  268. package/lib/cjs/entry/dependenciesAny/dependenciesQr.generated.js +1 -1
  269. package/lib/cjs/entry/dependenciesAny/dependenciesQuantileSeq.generated.js +1 -1
  270. package/lib/cjs/entry/dependenciesAny/dependenciesQuantileSeqTransform.generated.js +1 -1
  271. package/lib/cjs/entry/dependenciesAny/dependenciesQuantumOfCirculation.generated.js +1 -1
  272. package/lib/cjs/entry/dependenciesAny/dependenciesRandom.generated.js +1 -1
  273. package/lib/cjs/entry/dependenciesAny/dependenciesRandomInt.generated.js +1 -1
  274. package/lib/cjs/entry/dependenciesAny/dependenciesRange.generated.js +1 -1
  275. package/lib/cjs/entry/dependenciesAny/dependenciesRangeClass.generated.js +1 -1
  276. package/lib/cjs/entry/dependenciesAny/dependenciesRangeNode.generated.js +1 -1
  277. package/lib/cjs/entry/dependenciesAny/dependenciesRangeTransform.generated.js +1 -1
  278. package/lib/cjs/entry/dependenciesAny/dependenciesRationalize.generated.js +1 -1
  279. package/lib/cjs/entry/dependenciesAny/dependenciesRe.generated.js +1 -1
  280. package/lib/cjs/entry/dependenciesAny/dependenciesReducedPlanckConstant.generated.js +1 -1
  281. package/lib/cjs/entry/dependenciesAny/dependenciesRelationalNode.generated.js +1 -1
  282. package/lib/cjs/entry/dependenciesAny/dependenciesReplacer.generated.js +1 -1
  283. package/lib/cjs/entry/dependenciesAny/dependenciesReshape.generated.js +1 -1
  284. package/lib/cjs/entry/dependenciesAny/dependenciesResize.generated.js +1 -1
  285. package/lib/cjs/entry/dependenciesAny/dependenciesResolve.generated.js +1 -1
  286. package/lib/cjs/entry/dependenciesAny/dependenciesResultSet.generated.js +1 -1
  287. package/lib/cjs/entry/dependenciesAny/dependenciesReviver.generated.js +1 -1
  288. package/lib/cjs/entry/dependenciesAny/dependenciesRightArithShift.generated.js +1 -1
  289. package/lib/cjs/entry/dependenciesAny/dependenciesRightLogShift.generated.js +1 -1
  290. package/lib/cjs/entry/dependenciesAny/dependenciesRotate.generated.js +1 -1
  291. package/lib/cjs/entry/dependenciesAny/dependenciesRotationMatrix.generated.js +1 -1
  292. package/lib/cjs/entry/dependenciesAny/dependenciesRound.generated.js +1 -1
  293. package/lib/cjs/entry/dependenciesAny/dependenciesRow.generated.js +1 -1
  294. package/lib/cjs/entry/dependenciesAny/dependenciesRowTransform.generated.js +1 -1
  295. package/lib/cjs/entry/dependenciesAny/dependenciesRydberg.generated.js +1 -1
  296. package/lib/cjs/entry/dependenciesAny/dependenciesSQRT1_2.generated.js +1 -1
  297. package/lib/cjs/entry/dependenciesAny/dependenciesSQRT2.generated.js +1 -1
  298. package/lib/cjs/entry/dependenciesAny/dependenciesSackurTetrode.generated.js +1 -1
  299. package/lib/cjs/entry/dependenciesAny/dependenciesSchur.generated.js +1 -1
  300. package/lib/cjs/entry/dependenciesAny/dependenciesSec.generated.js +1 -1
  301. package/lib/cjs/entry/dependenciesAny/dependenciesSech.generated.js +1 -1
  302. package/lib/cjs/entry/dependenciesAny/dependenciesSecondRadiation.generated.js +1 -1
  303. package/lib/cjs/entry/dependenciesAny/dependenciesSetCartesian.generated.js +1 -1
  304. package/lib/cjs/entry/dependenciesAny/dependenciesSetDifference.generated.js +1 -1
  305. package/lib/cjs/entry/dependenciesAny/dependenciesSetDistinct.generated.js +1 -1
  306. package/lib/cjs/entry/dependenciesAny/dependenciesSetIntersect.generated.js +1 -1
  307. package/lib/cjs/entry/dependenciesAny/dependenciesSetIsSubset.generated.js +1 -1
  308. package/lib/cjs/entry/dependenciesAny/dependenciesSetMultiplicity.generated.js +1 -1
  309. package/lib/cjs/entry/dependenciesAny/dependenciesSetPowerset.generated.js +1 -1
  310. package/lib/cjs/entry/dependenciesAny/dependenciesSetSize.generated.js +1 -1
  311. package/lib/cjs/entry/dependenciesAny/dependenciesSetSymDifference.generated.js +1 -1
  312. package/lib/cjs/entry/dependenciesAny/dependenciesSetUnion.generated.js +1 -1
  313. package/lib/cjs/entry/dependenciesAny/dependenciesSign.generated.js +1 -1
  314. package/lib/cjs/entry/dependenciesAny/dependenciesSimplify.generated.js +1 -1
  315. package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyConstant.generated.js +1 -1
  316. package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyCore.generated.js +1 -1
  317. package/lib/cjs/entry/dependenciesAny/dependenciesSin.generated.js +1 -1
  318. package/lib/cjs/entry/dependenciesAny/dependenciesSinh.generated.js +1 -1
  319. package/lib/cjs/entry/dependenciesAny/dependenciesSize.generated.js +1 -1
  320. package/lib/cjs/entry/dependenciesAny/dependenciesSlu.generated.js +1 -1
  321. package/lib/cjs/entry/dependenciesAny/dependenciesSmaller.generated.js +1 -1
  322. package/lib/cjs/entry/dependenciesAny/dependenciesSmallerEq.generated.js +1 -1
  323. package/lib/cjs/entry/dependenciesAny/dependenciesSolveODE.generated.js +1 -1
  324. package/lib/cjs/entry/dependenciesAny/dependenciesSort.generated.js +1 -1
  325. package/lib/cjs/entry/dependenciesAny/dependenciesSpaClass.generated.js +1 -1
  326. package/lib/cjs/entry/dependenciesAny/dependenciesSparse.generated.js +1 -1
  327. package/lib/cjs/entry/dependenciesAny/dependenciesSparseMatrixClass.generated.js +1 -1
  328. package/lib/cjs/entry/dependenciesAny/dependenciesSpeedOfLight.generated.js +1 -1
  329. package/lib/cjs/entry/dependenciesAny/dependenciesSplitUnit.generated.js +1 -1
  330. package/lib/cjs/entry/dependenciesAny/dependenciesSqrt.generated.js +1 -1
  331. package/lib/cjs/entry/dependenciesAny/dependenciesSqrtm.generated.js +1 -1
  332. package/lib/cjs/entry/dependenciesAny/dependenciesSquare.generated.js +1 -1
  333. package/lib/cjs/entry/dependenciesAny/dependenciesSqueeze.generated.js +1 -1
  334. package/lib/cjs/entry/dependenciesAny/dependenciesStd.generated.js +1 -1
  335. package/lib/cjs/entry/dependenciesAny/dependenciesStdTransform.generated.js +1 -1
  336. package/lib/cjs/entry/dependenciesAny/dependenciesStefanBoltzmann.generated.js +1 -1
  337. package/lib/cjs/entry/dependenciesAny/dependenciesStirlingS2.generated.js +1 -1
  338. package/lib/cjs/entry/dependenciesAny/dependenciesString.generated.js +1 -1
  339. package/lib/cjs/entry/dependenciesAny/dependenciesSubset.generated.js +1 -1
  340. package/lib/cjs/entry/dependenciesAny/dependenciesSubsetTransform.generated.js +1 -1
  341. package/lib/cjs/entry/dependenciesAny/dependenciesSubtract.generated.js +1 -1
  342. package/lib/cjs/entry/dependenciesAny/dependenciesSubtractScalar.generated.js +1 -1
  343. package/lib/cjs/entry/dependenciesAny/dependenciesSum.generated.js +1 -1
  344. package/lib/cjs/entry/dependenciesAny/dependenciesSumTransform.generated.js +1 -1
  345. package/lib/cjs/entry/dependenciesAny/dependenciesSylvester.generated.js +1 -1
  346. package/lib/cjs/entry/dependenciesAny/dependenciesSymbolNode.generated.js +1 -1
  347. package/lib/cjs/entry/dependenciesAny/dependenciesSymbolicEqual.generated.js +1 -1
  348. package/lib/cjs/entry/dependenciesAny/dependenciesTan.generated.js +1 -1
  349. package/lib/cjs/entry/dependenciesAny/dependenciesTanh.generated.js +1 -1
  350. package/lib/cjs/entry/dependenciesAny/dependenciesTau.generated.js +1 -1
  351. package/lib/cjs/entry/dependenciesAny/dependenciesThomsonCrossSection.generated.js +1 -1
  352. package/lib/cjs/entry/dependenciesAny/dependenciesTo.generated.js +1 -1
  353. package/lib/cjs/entry/dependenciesAny/dependenciesTrace.generated.js +1 -1
  354. package/lib/cjs/entry/dependenciesAny/dependenciesTranspose.generated.js +1 -1
  355. package/lib/cjs/entry/dependenciesAny/dependenciesTrue.generated.js +1 -1
  356. package/lib/cjs/entry/dependenciesAny/dependenciesTypeOf.generated.js +1 -1
  357. package/lib/cjs/entry/dependenciesAny/dependenciesTyped.generated.js +1 -1
  358. package/lib/cjs/entry/dependenciesAny/dependenciesUnaryMinus.generated.js +1 -1
  359. package/lib/cjs/entry/dependenciesAny/dependenciesUnaryPlus.generated.js +3 -3
  360. package/lib/cjs/entry/dependenciesAny/dependenciesUnequal.generated.js +1 -1
  361. package/lib/cjs/entry/dependenciesAny/dependenciesUnitClass.generated.js +1 -1
  362. package/lib/cjs/entry/dependenciesAny/dependenciesUnitFunction.generated.js +1 -1
  363. package/lib/cjs/entry/dependenciesAny/dependenciesUppercaseE.generated.js +1 -1
  364. package/lib/cjs/entry/dependenciesAny/dependenciesUppercasePi.generated.js +1 -1
  365. package/lib/cjs/entry/dependenciesAny/dependenciesUsolve.generated.js +1 -1
  366. package/lib/cjs/entry/dependenciesAny/dependenciesUsolveAll.generated.js +1 -1
  367. package/lib/cjs/entry/dependenciesAny/dependenciesVacuumImpedance.generated.js +1 -1
  368. package/lib/cjs/entry/dependenciesAny/dependenciesVariance.generated.js +1 -1
  369. package/lib/cjs/entry/dependenciesAny/dependenciesVarianceTransform.generated.js +1 -1
  370. package/lib/cjs/entry/dependenciesAny/dependenciesVersion.generated.js +1 -1
  371. package/lib/cjs/entry/dependenciesAny/dependenciesWeakMixingAngle.generated.js +1 -1
  372. package/lib/cjs/entry/dependenciesAny/dependenciesWienDisplacement.generated.js +1 -1
  373. package/lib/cjs/entry/dependenciesAny/dependenciesXgcd.generated.js +1 -1
  374. package/lib/cjs/entry/dependenciesAny/dependenciesXor.generated.js +1 -1
  375. package/lib/cjs/entry/dependenciesAny/dependenciesZeros.generated.js +1 -1
  376. package/lib/cjs/entry/dependenciesAny/dependenciesZeta.generated.js +1 -1
  377. package/lib/cjs/entry/dependenciesAny/dependenciesZpk2tf.generated.js +1 -1
  378. package/lib/cjs/entry/dependenciesAny.generated.js +369 -362
  379. package/lib/cjs/entry/dependenciesNumber/dependenciesAbs.generated.js +1 -1
  380. package/lib/cjs/entry/dependenciesNumber/dependenciesAccessorNode.generated.js +1 -1
  381. package/lib/cjs/entry/dependenciesNumber/dependenciesAcos.generated.js +1 -1
  382. package/lib/cjs/entry/dependenciesNumber/dependenciesAcosh.generated.js +1 -1
  383. package/lib/cjs/entry/dependenciesNumber/dependenciesAcot.generated.js +1 -1
  384. package/lib/cjs/entry/dependenciesNumber/dependenciesAcoth.generated.js +1 -1
  385. package/lib/cjs/entry/dependenciesNumber/dependenciesAcsc.generated.js +1 -1
  386. package/lib/cjs/entry/dependenciesNumber/dependenciesAcsch.generated.js +1 -1
  387. package/lib/cjs/entry/dependenciesNumber/dependenciesAdd.generated.js +1 -1
  388. package/lib/cjs/entry/dependenciesNumber/dependenciesAddScalar.generated.js +1 -1
  389. package/lib/cjs/entry/dependenciesNumber/dependenciesAnd.generated.js +1 -1
  390. package/lib/cjs/entry/dependenciesNumber/dependenciesApply.generated.js +1 -1
  391. package/lib/cjs/entry/dependenciesNumber/dependenciesApplyTransform.generated.js +1 -1
  392. package/lib/cjs/entry/dependenciesNumber/dependenciesArrayNode.generated.js +1 -1
  393. package/lib/cjs/entry/dependenciesNumber/dependenciesAsec.generated.js +1 -1
  394. package/lib/cjs/entry/dependenciesNumber/dependenciesAsech.generated.js +1 -1
  395. package/lib/cjs/entry/dependenciesNumber/dependenciesAsin.generated.js +1 -1
  396. package/lib/cjs/entry/dependenciesNumber/dependenciesAsinh.generated.js +1 -1
  397. package/lib/cjs/entry/dependenciesNumber/dependenciesAssignmentNode.generated.js +1 -1
  398. package/lib/cjs/entry/dependenciesNumber/dependenciesAtan.generated.js +1 -1
  399. package/lib/cjs/entry/dependenciesNumber/dependenciesAtan2.generated.js +1 -1
  400. package/lib/cjs/entry/dependenciesNumber/dependenciesAtanh.generated.js +1 -1
  401. package/lib/cjs/entry/dependenciesNumber/dependenciesBellNumbers.generated.js +1 -1
  402. package/lib/cjs/entry/dependenciesNumber/dependenciesBigint.generated.js +17 -0
  403. package/lib/cjs/entry/dependenciesNumber/dependenciesBitAnd.generated.js +1 -1
  404. package/lib/cjs/entry/dependenciesNumber/dependenciesBitNot.generated.js +1 -1
  405. package/lib/cjs/entry/dependenciesNumber/dependenciesBitOr.generated.js +1 -1
  406. package/lib/cjs/entry/dependenciesNumber/dependenciesBitXor.generated.js +1 -1
  407. package/lib/cjs/entry/dependenciesNumber/dependenciesBlockNode.generated.js +1 -1
  408. package/lib/cjs/entry/dependenciesNumber/dependenciesBoolean.generated.js +1 -1
  409. package/lib/cjs/entry/dependenciesNumber/dependenciesCatalan.generated.js +1 -1
  410. package/lib/cjs/entry/dependenciesNumber/dependenciesCbrt.generated.js +1 -1
  411. package/lib/cjs/entry/dependenciesNumber/dependenciesCeil.generated.js +1 -1
  412. package/lib/cjs/entry/dependenciesNumber/dependenciesChain.generated.js +1 -1
  413. package/lib/cjs/entry/dependenciesNumber/dependenciesChainClass.generated.js +1 -1
  414. package/lib/cjs/entry/dependenciesNumber/dependenciesClone.generated.js +1 -1
  415. package/lib/cjs/entry/dependenciesNumber/dependenciesCombinations.generated.js +1 -1
  416. package/lib/cjs/entry/dependenciesNumber/dependenciesCombinationsWithRep.generated.js +1 -1
  417. package/lib/cjs/entry/dependenciesNumber/dependenciesCompare.generated.js +1 -1
  418. package/lib/cjs/entry/dependenciesNumber/dependenciesCompareNatural.generated.js +1 -1
  419. package/lib/cjs/entry/dependenciesNumber/dependenciesCompareText.generated.js +1 -1
  420. package/lib/cjs/entry/dependenciesNumber/dependenciesCompile.generated.js +1 -1
  421. package/lib/cjs/entry/dependenciesNumber/dependenciesComposition.generated.js +1 -1
  422. package/lib/cjs/entry/dependenciesNumber/dependenciesConditionalNode.generated.js +1 -1
  423. package/lib/cjs/entry/dependenciesNumber/dependenciesConstantNode.generated.js +1 -1
  424. package/lib/cjs/entry/dependenciesNumber/dependenciesCorr.generated.js +1 -1
  425. package/lib/cjs/entry/dependenciesNumber/dependenciesCos.generated.js +1 -1
  426. package/lib/cjs/entry/dependenciesNumber/dependenciesCosh.generated.js +1 -1
  427. package/lib/cjs/entry/dependenciesNumber/dependenciesCot.generated.js +1 -1
  428. package/lib/cjs/entry/dependenciesNumber/dependenciesCoth.generated.js +1 -1
  429. package/lib/cjs/entry/dependenciesNumber/dependenciesCsc.generated.js +1 -1
  430. package/lib/cjs/entry/dependenciesNumber/dependenciesCsch.generated.js +1 -1
  431. package/lib/cjs/entry/dependenciesNumber/dependenciesCube.generated.js +1 -1
  432. package/lib/cjs/entry/dependenciesNumber/dependenciesCumSum.generated.js +1 -1
  433. package/lib/cjs/entry/dependenciesNumber/dependenciesCumSumTransform.generated.js +1 -1
  434. package/lib/cjs/entry/dependenciesNumber/dependenciesDeepEqual.generated.js +1 -1
  435. package/lib/cjs/entry/dependenciesNumber/dependenciesDerivative.generated.js +1 -1
  436. package/lib/cjs/entry/dependenciesNumber/dependenciesDivide.generated.js +1 -1
  437. package/lib/cjs/entry/dependenciesNumber/dependenciesDivideScalar.generated.js +1 -1
  438. package/lib/cjs/entry/dependenciesNumber/dependenciesE.generated.js +1 -1
  439. package/lib/cjs/entry/dependenciesNumber/dependenciesEqual.generated.js +1 -1
  440. package/lib/cjs/entry/dependenciesNumber/dependenciesEqualScalar.generated.js +1 -1
  441. package/lib/cjs/entry/dependenciesNumber/dependenciesEqualText.generated.js +1 -1
  442. package/lib/cjs/entry/dependenciesNumber/dependenciesErf.generated.js +1 -1
  443. package/lib/cjs/entry/dependenciesNumber/dependenciesEvaluate.generated.js +1 -1
  444. package/lib/cjs/entry/dependenciesNumber/dependenciesExp.generated.js +1 -1
  445. package/lib/cjs/entry/dependenciesNumber/dependenciesExpm1.generated.js +1 -1
  446. package/lib/cjs/entry/dependenciesNumber/dependenciesFactorial.generated.js +1 -1
  447. package/lib/cjs/entry/dependenciesNumber/dependenciesFalse.generated.js +1 -1
  448. package/lib/cjs/entry/dependenciesNumber/dependenciesFilter.generated.js +1 -1
  449. package/lib/cjs/entry/dependenciesNumber/dependenciesFilterTransform.generated.js +1 -1
  450. package/lib/cjs/entry/dependenciesNumber/dependenciesFix.generated.js +1 -1
  451. package/lib/cjs/entry/dependenciesNumber/dependenciesFloor.generated.js +1 -1
  452. package/lib/cjs/entry/dependenciesNumber/dependenciesForEach.generated.js +1 -1
  453. package/lib/cjs/entry/dependenciesNumber/dependenciesForEachTransform.generated.js +1 -1
  454. package/lib/cjs/entry/dependenciesNumber/dependenciesFormat.generated.js +1 -1
  455. package/lib/cjs/entry/dependenciesNumber/dependenciesFunctionAssignmentNode.generated.js +1 -1
  456. package/lib/cjs/entry/dependenciesNumber/dependenciesFunctionNode.generated.js +1 -1
  457. package/lib/cjs/entry/dependenciesNumber/dependenciesGamma.generated.js +1 -1
  458. package/lib/cjs/entry/dependenciesNumber/dependenciesGcd.generated.js +1 -1
  459. package/lib/cjs/entry/dependenciesNumber/dependenciesHasNumericValue.generated.js +1 -1
  460. package/lib/cjs/entry/dependenciesNumber/dependenciesHelp.generated.js +1 -1
  461. package/lib/cjs/entry/dependenciesNumber/dependenciesHelpClass.generated.js +1 -1
  462. package/lib/cjs/entry/dependenciesNumber/dependenciesHypot.generated.js +1 -1
  463. package/lib/cjs/entry/dependenciesNumber/dependenciesIndex.generated.js +1 -1
  464. package/lib/cjs/entry/dependenciesNumber/dependenciesIndexNode.generated.js +1 -1
  465. package/lib/cjs/entry/dependenciesNumber/dependenciesInfinity.generated.js +1 -1
  466. package/lib/cjs/entry/dependenciesNumber/dependenciesIsInteger.generated.js +1 -1
  467. package/lib/cjs/entry/dependenciesNumber/dependenciesIsNaN.generated.js +1 -1
  468. package/lib/cjs/entry/dependenciesNumber/dependenciesIsNegative.generated.js +1 -1
  469. package/lib/cjs/entry/dependenciesNumber/dependenciesIsNumeric.generated.js +1 -1
  470. package/lib/cjs/entry/dependenciesNumber/dependenciesIsPositive.generated.js +1 -1
  471. package/lib/cjs/entry/dependenciesNumber/dependenciesIsPrime.generated.js +1 -1
  472. package/lib/cjs/entry/dependenciesNumber/dependenciesIsZero.generated.js +1 -1
  473. package/lib/cjs/entry/dependenciesNumber/dependenciesLN10.generated.js +1 -1
  474. package/lib/cjs/entry/dependenciesNumber/dependenciesLN2.generated.js +1 -1
  475. package/lib/cjs/entry/dependenciesNumber/dependenciesLOG10E.generated.js +1 -1
  476. package/lib/cjs/entry/dependenciesNumber/dependenciesLOG2E.generated.js +1 -1
  477. package/lib/cjs/entry/dependenciesNumber/dependenciesLarger.generated.js +1 -1
  478. package/lib/cjs/entry/dependenciesNumber/dependenciesLargerEq.generated.js +1 -1
  479. package/lib/cjs/entry/dependenciesNumber/dependenciesLcm.generated.js +1 -1
  480. package/lib/cjs/entry/dependenciesNumber/dependenciesLeftShift.generated.js +1 -1
  481. package/lib/cjs/entry/dependenciesNumber/dependenciesLgamma.generated.js +1 -1
  482. package/lib/cjs/entry/dependenciesNumber/dependenciesLog.generated.js +1 -1
  483. package/lib/cjs/entry/dependenciesNumber/dependenciesLog10.generated.js +1 -1
  484. package/lib/cjs/entry/dependenciesNumber/dependenciesLog1p.generated.js +1 -1
  485. package/lib/cjs/entry/dependenciesNumber/dependenciesLog2.generated.js +1 -1
  486. package/lib/cjs/entry/dependenciesNumber/dependenciesMad.generated.js +1 -1
  487. package/lib/cjs/entry/dependenciesNumber/dependenciesMap.generated.js +1 -1
  488. package/lib/cjs/entry/dependenciesNumber/dependenciesMapTransform.generated.js +1 -1
  489. package/lib/cjs/entry/dependenciesNumber/dependenciesMatrix.generated.js +1 -1
  490. package/lib/cjs/entry/dependenciesNumber/dependenciesMax.generated.js +1 -1
  491. package/lib/cjs/entry/dependenciesNumber/dependenciesMaxTransform.generated.js +1 -1
  492. package/lib/cjs/entry/dependenciesNumber/dependenciesMean.generated.js +1 -1
  493. package/lib/cjs/entry/dependenciesNumber/dependenciesMeanTransform.generated.js +1 -1
  494. package/lib/cjs/entry/dependenciesNumber/dependenciesMedian.generated.js +1 -1
  495. package/lib/cjs/entry/dependenciesNumber/dependenciesMin.generated.js +1 -1
  496. package/lib/cjs/entry/dependenciesNumber/dependenciesMinTransform.generated.js +1 -1
  497. package/lib/cjs/entry/dependenciesNumber/dependenciesMod.generated.js +1 -1
  498. package/lib/cjs/entry/dependenciesNumber/dependenciesMode.generated.js +1 -1
  499. package/lib/cjs/entry/dependenciesNumber/dependenciesMultinomial.generated.js +1 -1
  500. package/lib/cjs/entry/dependenciesNumber/dependenciesMultiply.generated.js +1 -1
  501. package/lib/cjs/entry/dependenciesNumber/dependenciesMultiplyScalar.generated.js +1 -1
  502. package/lib/cjs/entry/dependenciesNumber/dependenciesNaN.generated.js +1 -1
  503. package/lib/cjs/entry/dependenciesNumber/dependenciesNode.generated.js +1 -1
  504. package/lib/cjs/entry/dependenciesNumber/dependenciesNorm.generated.js +1 -1
  505. package/lib/cjs/entry/dependenciesNumber/dependenciesNot.generated.js +1 -1
  506. package/lib/cjs/entry/dependenciesNumber/dependenciesNthRoot.generated.js +1 -1
  507. package/lib/cjs/entry/dependenciesNumber/dependenciesNull.generated.js +1 -1
  508. package/lib/cjs/entry/dependenciesNumber/dependenciesNumber.generated.js +1 -1
  509. package/lib/cjs/entry/dependenciesNumber/dependenciesNumeric.generated.js +1 -1
  510. package/lib/cjs/entry/dependenciesNumber/dependenciesObjectNode.generated.js +1 -1
  511. package/lib/cjs/entry/dependenciesNumber/dependenciesOperatorNode.generated.js +1 -1
  512. package/lib/cjs/entry/dependenciesNumber/dependenciesOr.generated.js +1 -1
  513. package/lib/cjs/entry/dependenciesNumber/dependenciesParenthesisNode.generated.js +1 -1
  514. package/lib/cjs/entry/dependenciesNumber/dependenciesParse.generated.js +1 -1
  515. package/lib/cjs/entry/dependenciesNumber/dependenciesParser.generated.js +1 -1
  516. package/lib/cjs/entry/dependenciesNumber/dependenciesParserClass.generated.js +1 -1
  517. package/lib/cjs/entry/dependenciesNumber/dependenciesPartitionSelect.generated.js +1 -1
  518. package/lib/cjs/entry/dependenciesNumber/dependenciesPermutations.generated.js +1 -1
  519. package/lib/cjs/entry/dependenciesNumber/dependenciesPhi.generated.js +1 -1
  520. package/lib/cjs/entry/dependenciesNumber/dependenciesPi.generated.js +1 -1
  521. package/lib/cjs/entry/dependenciesNumber/dependenciesPickRandom.generated.js +1 -1
  522. package/lib/cjs/entry/dependenciesNumber/dependenciesPow.generated.js +1 -1
  523. package/lib/cjs/entry/dependenciesNumber/dependenciesPrint.generated.js +1 -1
  524. package/lib/cjs/entry/dependenciesNumber/dependenciesProd.generated.js +1 -1
  525. package/lib/cjs/entry/dependenciesNumber/dependenciesQuantileSeq.generated.js +1 -1
  526. package/lib/cjs/entry/dependenciesNumber/dependenciesRandom.generated.js +1 -1
  527. package/lib/cjs/entry/dependenciesNumber/dependenciesRandomInt.generated.js +1 -1
  528. package/lib/cjs/entry/dependenciesNumber/dependenciesRange.generated.js +1 -1
  529. package/lib/cjs/entry/dependenciesNumber/dependenciesRangeClass.generated.js +1 -1
  530. package/lib/cjs/entry/dependenciesNumber/dependenciesRangeNode.generated.js +1 -1
  531. package/lib/cjs/entry/dependenciesNumber/dependenciesRangeTransform.generated.js +1 -1
  532. package/lib/cjs/entry/dependenciesNumber/dependenciesRationalize.generated.js +1 -1
  533. package/lib/cjs/entry/dependenciesNumber/dependenciesRelationalNode.generated.js +1 -1
  534. package/lib/cjs/entry/dependenciesNumber/dependenciesReplacer.generated.js +1 -1
  535. package/lib/cjs/entry/dependenciesNumber/dependenciesResolve.generated.js +1 -1
  536. package/lib/cjs/entry/dependenciesNumber/dependenciesResultSet.generated.js +1 -1
  537. package/lib/cjs/entry/dependenciesNumber/dependenciesReviver.generated.js +1 -1
  538. package/lib/cjs/entry/dependenciesNumber/dependenciesRightArithShift.generated.js +1 -1
  539. package/lib/cjs/entry/dependenciesNumber/dependenciesRightLogShift.generated.js +1 -1
  540. package/lib/cjs/entry/dependenciesNumber/dependenciesRound.generated.js +1 -1
  541. package/lib/cjs/entry/dependenciesNumber/dependenciesSQRT1_2.generated.js +1 -1
  542. package/lib/cjs/entry/dependenciesNumber/dependenciesSQRT2.generated.js +1 -1
  543. package/lib/cjs/entry/dependenciesNumber/dependenciesSec.generated.js +1 -1
  544. package/lib/cjs/entry/dependenciesNumber/dependenciesSech.generated.js +1 -1
  545. package/lib/cjs/entry/dependenciesNumber/dependenciesSign.generated.js +1 -1
  546. package/lib/cjs/entry/dependenciesNumber/dependenciesSimplify.generated.js +1 -1
  547. package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyConstant.generated.js +1 -1
  548. package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyCore.generated.js +1 -1
  549. package/lib/cjs/entry/dependenciesNumber/dependenciesSin.generated.js +1 -1
  550. package/lib/cjs/entry/dependenciesNumber/dependenciesSinh.generated.js +1 -1
  551. package/lib/cjs/entry/dependenciesNumber/dependenciesSize.generated.js +1 -1
  552. package/lib/cjs/entry/dependenciesNumber/dependenciesSmaller.generated.js +1 -1
  553. package/lib/cjs/entry/dependenciesNumber/dependenciesSmallerEq.generated.js +1 -1
  554. package/lib/cjs/entry/dependenciesNumber/dependenciesSqrt.generated.js +1 -1
  555. package/lib/cjs/entry/dependenciesNumber/dependenciesSquare.generated.js +1 -1
  556. package/lib/cjs/entry/dependenciesNumber/dependenciesStd.generated.js +1 -1
  557. package/lib/cjs/entry/dependenciesNumber/dependenciesStdTransform.generated.js +1 -1
  558. package/lib/cjs/entry/dependenciesNumber/dependenciesStirlingS2.generated.js +1 -1
  559. package/lib/cjs/entry/dependenciesNumber/dependenciesString.generated.js +1 -1
  560. package/lib/cjs/entry/dependenciesNumber/dependenciesSubset.generated.js +1 -1
  561. package/lib/cjs/entry/dependenciesNumber/dependenciesSubsetTransform.generated.js +1 -1
  562. package/lib/cjs/entry/dependenciesNumber/dependenciesSubtract.generated.js +1 -1
  563. package/lib/cjs/entry/dependenciesNumber/dependenciesSubtractScalar.generated.js +1 -1
  564. package/lib/cjs/entry/dependenciesNumber/dependenciesSum.generated.js +1 -1
  565. package/lib/cjs/entry/dependenciesNumber/dependenciesSumTransform.generated.js +1 -1
  566. package/lib/cjs/entry/dependenciesNumber/dependenciesSymbolNode.generated.js +1 -1
  567. package/lib/cjs/entry/dependenciesNumber/dependenciesTan.generated.js +1 -1
  568. package/lib/cjs/entry/dependenciesNumber/dependenciesTanh.generated.js +1 -1
  569. package/lib/cjs/entry/dependenciesNumber/dependenciesTau.generated.js +1 -1
  570. package/lib/cjs/entry/dependenciesNumber/dependenciesTrue.generated.js +1 -1
  571. package/lib/cjs/entry/dependenciesNumber/dependenciesTypeOf.generated.js +1 -1
  572. package/lib/cjs/entry/dependenciesNumber/dependenciesTyped.generated.js +1 -1
  573. package/lib/cjs/entry/dependenciesNumber/dependenciesUnaryMinus.generated.js +1 -1
  574. package/lib/cjs/entry/dependenciesNumber/dependenciesUnaryPlus.generated.js +1 -1
  575. package/lib/cjs/entry/dependenciesNumber/dependenciesUnequal.generated.js +1 -1
  576. package/lib/cjs/entry/dependenciesNumber/dependenciesUppercaseE.generated.js +1 -1
  577. package/lib/cjs/entry/dependenciesNumber/dependenciesUppercasePi.generated.js +1 -1
  578. package/lib/cjs/entry/dependenciesNumber/dependenciesVariance.generated.js +1 -1
  579. package/lib/cjs/entry/dependenciesNumber/dependenciesVarianceTransform.generated.js +1 -1
  580. package/lib/cjs/entry/dependenciesNumber/dependenciesVersion.generated.js +1 -1
  581. package/lib/cjs/entry/dependenciesNumber/dependenciesXgcd.generated.js +1 -1
  582. package/lib/cjs/entry/dependenciesNumber/dependenciesXor.generated.js +1 -1
  583. package/lib/cjs/entry/dependenciesNumber/dependenciesZeta.generated.js +1 -1
  584. package/lib/cjs/entry/dependenciesNumber.generated.js +212 -205
  585. package/lib/cjs/entry/impureFunctionsAny.generated.js +193 -192
  586. package/lib/cjs/entry/impureFunctionsNumber.generated.js +187 -186
  587. package/lib/cjs/entry/mainAny.js +11 -11
  588. package/lib/cjs/entry/mainNumber.js +11 -11
  589. package/lib/cjs/entry/pureFunctionsAny.generated.js +1514 -1508
  590. package/lib/cjs/entry/pureFunctionsNumber.generated.js +450 -447
  591. package/lib/cjs/entry/typeChecks.js +45 -39
  592. package/lib/cjs/expression/Help.js +20 -20
  593. package/lib/cjs/expression/Parser.js +7 -5
  594. package/lib/cjs/expression/embeddedDocs/constants/Infinity.js +1 -1
  595. package/lib/cjs/expression/embeddedDocs/constants/LN10.js +1 -1
  596. package/lib/cjs/expression/embeddedDocs/constants/LN2.js +1 -1
  597. package/lib/cjs/expression/embeddedDocs/constants/LOG10E.js +1 -1
  598. package/lib/cjs/expression/embeddedDocs/constants/LOG2E.js +1 -1
  599. package/lib/cjs/expression/embeddedDocs/constants/NaN.js +1 -1
  600. package/lib/cjs/expression/embeddedDocs/constants/SQRT1_2.js +1 -1
  601. package/lib/cjs/expression/embeddedDocs/constants/SQRT2.js +1 -1
  602. package/lib/cjs/expression/embeddedDocs/constants/e.js +1 -1
  603. package/lib/cjs/expression/embeddedDocs/constants/false.js +1 -1
  604. package/lib/cjs/expression/embeddedDocs/constants/i.js +1 -1
  605. package/lib/cjs/expression/embeddedDocs/constants/null.js +1 -1
  606. package/lib/cjs/expression/embeddedDocs/constants/phi.js +1 -1
  607. package/lib/cjs/expression/embeddedDocs/constants/pi.js +1 -1
  608. package/lib/cjs/expression/embeddedDocs/constants/tau.js +1 -1
  609. package/lib/cjs/expression/embeddedDocs/constants/true.js +1 -1
  610. package/lib/cjs/expression/embeddedDocs/constants/version.js +1 -1
  611. package/lib/cjs/expression/embeddedDocs/construction/bigint.js +14 -0
  612. package/lib/cjs/expression/embeddedDocs/construction/bignumber.js +2 -2
  613. package/lib/cjs/expression/embeddedDocs/construction/boolean.js +1 -1
  614. package/lib/cjs/expression/embeddedDocs/construction/complex.js +1 -1
  615. package/lib/cjs/expression/embeddedDocs/construction/createUnit.js +1 -1
  616. package/lib/cjs/expression/embeddedDocs/construction/fraction.js +1 -1
  617. package/lib/cjs/expression/embeddedDocs/construction/index.js +1 -1
  618. package/lib/cjs/expression/embeddedDocs/construction/matrix.js +1 -1
  619. package/lib/cjs/expression/embeddedDocs/construction/number.js +2 -2
  620. package/lib/cjs/expression/embeddedDocs/construction/sparse.js +1 -1
  621. package/lib/cjs/expression/embeddedDocs/construction/splitUnit.js +1 -1
  622. package/lib/cjs/expression/embeddedDocs/construction/string.js +1 -1
  623. package/lib/cjs/expression/embeddedDocs/construction/unit.js +1 -1
  624. package/lib/cjs/expression/embeddedDocs/core/config.js +1 -1
  625. package/lib/cjs/expression/embeddedDocs/core/import.js +1 -1
  626. package/lib/cjs/expression/embeddedDocs/core/typed.js +1 -1
  627. package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +8 -6
  628. package/lib/cjs/expression/embeddedDocs/function/algebra/derivative.js +1 -1
  629. package/lib/cjs/expression/embeddedDocs/function/algebra/leafCount.js +1 -1
  630. package/lib/cjs/expression/embeddedDocs/function/algebra/lsolve.js +1 -1
  631. package/lib/cjs/expression/embeddedDocs/function/algebra/lsolveAll.js +1 -1
  632. package/lib/cjs/expression/embeddedDocs/function/algebra/lup.js +1 -1
  633. package/lib/cjs/expression/embeddedDocs/function/algebra/lusolve.js +1 -1
  634. package/lib/cjs/expression/embeddedDocs/function/algebra/lyap.js +1 -1
  635. package/lib/cjs/expression/embeddedDocs/function/algebra/polynomialRoot.js +1 -1
  636. package/lib/cjs/expression/embeddedDocs/function/algebra/qr.js +1 -1
  637. package/lib/cjs/expression/embeddedDocs/function/algebra/rationalize.js +1 -1
  638. package/lib/cjs/expression/embeddedDocs/function/algebra/resolve.js +1 -1
  639. package/lib/cjs/expression/embeddedDocs/function/algebra/schur.js +1 -1
  640. package/lib/cjs/expression/embeddedDocs/function/algebra/simplify.js +1 -1
  641. package/lib/cjs/expression/embeddedDocs/function/algebra/simplifyConstant.js +1 -1
  642. package/lib/cjs/expression/embeddedDocs/function/algebra/simplifyCore.js +1 -1
  643. package/lib/cjs/expression/embeddedDocs/function/algebra/slu.js +1 -1
  644. package/lib/cjs/expression/embeddedDocs/function/algebra/sylvester.js +1 -1
  645. package/lib/cjs/expression/embeddedDocs/function/algebra/symbolicEqual.js +1 -1
  646. package/lib/cjs/expression/embeddedDocs/function/algebra/usolve.js +1 -1
  647. package/lib/cjs/expression/embeddedDocs/function/algebra/usolveAll.js +1 -1
  648. package/lib/cjs/expression/embeddedDocs/function/arithmetic/abs.js +1 -1
  649. package/lib/cjs/expression/embeddedDocs/function/arithmetic/add.js +1 -1
  650. package/lib/cjs/expression/embeddedDocs/function/arithmetic/cbrt.js +1 -1
  651. package/lib/cjs/expression/embeddedDocs/function/arithmetic/ceil.js +1 -1
  652. package/lib/cjs/expression/embeddedDocs/function/arithmetic/cube.js +1 -1
  653. package/lib/cjs/expression/embeddedDocs/function/arithmetic/divide.js +1 -1
  654. package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotDivide.js +1 -1
  655. package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotMultiply.js +1 -1
  656. package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotPow.js +1 -1
  657. package/lib/cjs/expression/embeddedDocs/function/arithmetic/exp.js +1 -1
  658. package/lib/cjs/expression/embeddedDocs/function/arithmetic/expm.js +1 -1
  659. package/lib/cjs/expression/embeddedDocs/function/arithmetic/expm1.js +1 -1
  660. package/lib/cjs/expression/embeddedDocs/function/arithmetic/fix.js +1 -1
  661. package/lib/cjs/expression/embeddedDocs/function/arithmetic/floor.js +1 -1
  662. package/lib/cjs/expression/embeddedDocs/function/arithmetic/gcd.js +1 -1
  663. package/lib/cjs/expression/embeddedDocs/function/arithmetic/hypot.js +1 -1
  664. package/lib/cjs/expression/embeddedDocs/function/arithmetic/invmod.js +1 -1
  665. package/lib/cjs/expression/embeddedDocs/function/arithmetic/lcm.js +1 -1
  666. package/lib/cjs/expression/embeddedDocs/function/arithmetic/log.js +1 -1
  667. package/lib/cjs/expression/embeddedDocs/function/arithmetic/log10.js +1 -1
  668. package/lib/cjs/expression/embeddedDocs/function/arithmetic/log1p.js +1 -1
  669. package/lib/cjs/expression/embeddedDocs/function/arithmetic/log2.js +1 -1
  670. package/lib/cjs/expression/embeddedDocs/function/arithmetic/mod.js +1 -1
  671. package/lib/cjs/expression/embeddedDocs/function/arithmetic/multiply.js +1 -1
  672. package/lib/cjs/expression/embeddedDocs/function/arithmetic/norm.js +1 -1
  673. package/lib/cjs/expression/embeddedDocs/function/arithmetic/nthRoot.js +1 -1
  674. package/lib/cjs/expression/embeddedDocs/function/arithmetic/nthRoots.js +1 -1
  675. package/lib/cjs/expression/embeddedDocs/function/arithmetic/pow.js +1 -1
  676. package/lib/cjs/expression/embeddedDocs/function/arithmetic/round.js +1 -1
  677. package/lib/cjs/expression/embeddedDocs/function/arithmetic/sign.js +1 -1
  678. package/lib/cjs/expression/embeddedDocs/function/arithmetic/sqrt.js +1 -1
  679. package/lib/cjs/expression/embeddedDocs/function/arithmetic/sqrtm.js +1 -1
  680. package/lib/cjs/expression/embeddedDocs/function/arithmetic/square.js +1 -1
  681. package/lib/cjs/expression/embeddedDocs/function/arithmetic/subtract.js +1 -1
  682. package/lib/cjs/expression/embeddedDocs/function/arithmetic/unaryMinus.js +1 -1
  683. package/lib/cjs/expression/embeddedDocs/function/arithmetic/unaryPlus.js +1 -1
  684. package/lib/cjs/expression/embeddedDocs/function/arithmetic/xgcd.js +1 -1
  685. package/lib/cjs/expression/embeddedDocs/function/bitwise/bitAnd.js +1 -1
  686. package/lib/cjs/expression/embeddedDocs/function/bitwise/bitNot.js +1 -1
  687. package/lib/cjs/expression/embeddedDocs/function/bitwise/bitOr.js +1 -1
  688. package/lib/cjs/expression/embeddedDocs/function/bitwise/bitXor.js +1 -1
  689. package/lib/cjs/expression/embeddedDocs/function/bitwise/leftShift.js +1 -1
  690. package/lib/cjs/expression/embeddedDocs/function/bitwise/rightArithShift.js +1 -1
  691. package/lib/cjs/expression/embeddedDocs/function/bitwise/rightLogShift.js +1 -1
  692. package/lib/cjs/expression/embeddedDocs/function/combinatorics/bellNumbers.js +1 -1
  693. package/lib/cjs/expression/embeddedDocs/function/combinatorics/catalan.js +1 -1
  694. package/lib/cjs/expression/embeddedDocs/function/combinatorics/composition.js +1 -1
  695. package/lib/cjs/expression/embeddedDocs/function/combinatorics/stirlingS2.js +1 -1
  696. package/lib/cjs/expression/embeddedDocs/function/complex/arg.js +1 -1
  697. package/lib/cjs/expression/embeddedDocs/function/complex/conj.js +1 -1
  698. package/lib/cjs/expression/embeddedDocs/function/complex/im.js +1 -1
  699. package/lib/cjs/expression/embeddedDocs/function/complex/re.js +1 -1
  700. package/lib/cjs/expression/embeddedDocs/function/expression/evaluate.js +1 -1
  701. package/lib/cjs/expression/embeddedDocs/function/expression/help.js +1 -1
  702. package/lib/cjs/expression/embeddedDocs/function/geometry/distance.js +1 -1
  703. package/lib/cjs/expression/embeddedDocs/function/geometry/intersect.js +1 -1
  704. package/lib/cjs/expression/embeddedDocs/function/logical/and.js +1 -1
  705. package/lib/cjs/expression/embeddedDocs/function/logical/not.js +1 -1
  706. package/lib/cjs/expression/embeddedDocs/function/logical/or.js +1 -1
  707. package/lib/cjs/expression/embeddedDocs/function/logical/xor.js +1 -1
  708. package/lib/cjs/expression/embeddedDocs/function/matrix/column.js +1 -1
  709. package/lib/cjs/expression/embeddedDocs/function/matrix/concat.js +1 -1
  710. package/lib/cjs/expression/embeddedDocs/function/matrix/count.js +1 -1
  711. package/lib/cjs/expression/embeddedDocs/function/matrix/cross.js +1 -1
  712. package/lib/cjs/expression/embeddedDocs/function/matrix/ctranspose.js +1 -1
  713. package/lib/cjs/expression/embeddedDocs/function/matrix/det.js +1 -1
  714. package/lib/cjs/expression/embeddedDocs/function/matrix/diag.js +1 -1
  715. package/lib/cjs/expression/embeddedDocs/function/matrix/diff.js +1 -1
  716. package/lib/cjs/expression/embeddedDocs/function/matrix/dot.js +1 -1
  717. package/lib/cjs/expression/embeddedDocs/function/matrix/eigs.js +1 -1
  718. package/lib/cjs/expression/embeddedDocs/function/matrix/fft.js +1 -1
  719. package/lib/cjs/expression/embeddedDocs/function/matrix/filter.js +1 -1
  720. package/lib/cjs/expression/embeddedDocs/function/matrix/flatten.js +1 -1
  721. package/lib/cjs/expression/embeddedDocs/function/matrix/forEach.js +1 -1
  722. package/lib/cjs/expression/embeddedDocs/function/matrix/getMatrixDataType.js +1 -1
  723. package/lib/cjs/expression/embeddedDocs/function/matrix/identity.js +1 -1
  724. package/lib/cjs/expression/embeddedDocs/function/matrix/ifft.js +1 -1
  725. package/lib/cjs/expression/embeddedDocs/function/matrix/inv.js +1 -1
  726. package/lib/cjs/expression/embeddedDocs/function/matrix/kron.js +1 -1
  727. package/lib/cjs/expression/embeddedDocs/function/matrix/map.js +1 -1
  728. package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromColumns.js +1 -1
  729. package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromFunction.js +1 -1
  730. package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromRows.js +1 -1
  731. package/lib/cjs/expression/embeddedDocs/function/matrix/ones.js +1 -1
  732. package/lib/cjs/expression/embeddedDocs/function/matrix/partitionSelect.js +1 -1
  733. package/lib/cjs/expression/embeddedDocs/function/matrix/pinv.js +1 -1
  734. package/lib/cjs/expression/embeddedDocs/function/matrix/range.js +1 -1
  735. package/lib/cjs/expression/embeddedDocs/function/matrix/reshape.js +1 -1
  736. package/lib/cjs/expression/embeddedDocs/function/matrix/resize.js +1 -1
  737. package/lib/cjs/expression/embeddedDocs/function/matrix/rotate.js +1 -1
  738. package/lib/cjs/expression/embeddedDocs/function/matrix/rotationMatrix.js +1 -1
  739. package/lib/cjs/expression/embeddedDocs/function/matrix/row.js +1 -1
  740. package/lib/cjs/expression/embeddedDocs/function/matrix/size.js +1 -1
  741. package/lib/cjs/expression/embeddedDocs/function/matrix/sort.js +1 -1
  742. package/lib/cjs/expression/embeddedDocs/function/matrix/squeeze.js +1 -1
  743. package/lib/cjs/expression/embeddedDocs/function/matrix/subset.js +1 -1
  744. package/lib/cjs/expression/embeddedDocs/function/matrix/trace.js +1 -1
  745. package/lib/cjs/expression/embeddedDocs/function/matrix/transpose.js +1 -1
  746. package/lib/cjs/expression/embeddedDocs/function/matrix/zeros.js +1 -1
  747. package/lib/cjs/expression/embeddedDocs/function/numeric/solveODE.js +1 -1
  748. package/lib/cjs/expression/embeddedDocs/function/probability/combinations.js +1 -1
  749. package/lib/cjs/expression/embeddedDocs/function/probability/combinationsWithRep.js +1 -1
  750. package/lib/cjs/expression/embeddedDocs/function/probability/distribution.js +1 -1
  751. package/lib/cjs/expression/embeddedDocs/function/probability/factorial.js +1 -1
  752. package/lib/cjs/expression/embeddedDocs/function/probability/gamma.js +1 -1
  753. package/lib/cjs/expression/embeddedDocs/function/probability/kldivergence.js +1 -1
  754. package/lib/cjs/expression/embeddedDocs/function/probability/lgamma.js +1 -1
  755. package/lib/cjs/expression/embeddedDocs/function/probability/multinomial.js +1 -1
  756. package/lib/cjs/expression/embeddedDocs/function/probability/permutations.js +1 -1
  757. package/lib/cjs/expression/embeddedDocs/function/probability/pickRandom.js +1 -1
  758. package/lib/cjs/expression/embeddedDocs/function/probability/random.js +1 -1
  759. package/lib/cjs/expression/embeddedDocs/function/probability/randomInt.js +1 -1
  760. package/lib/cjs/expression/embeddedDocs/function/relational/compare.js +1 -1
  761. package/lib/cjs/expression/embeddedDocs/function/relational/compareNatural.js +1 -1
  762. package/lib/cjs/expression/embeddedDocs/function/relational/compareText.js +1 -1
  763. package/lib/cjs/expression/embeddedDocs/function/relational/deepEqual.js +1 -1
  764. package/lib/cjs/expression/embeddedDocs/function/relational/equal.js +1 -1
  765. package/lib/cjs/expression/embeddedDocs/function/relational/equalText.js +1 -1
  766. package/lib/cjs/expression/embeddedDocs/function/relational/larger.js +1 -1
  767. package/lib/cjs/expression/embeddedDocs/function/relational/largerEq.js +1 -1
  768. package/lib/cjs/expression/embeddedDocs/function/relational/smaller.js +1 -1
  769. package/lib/cjs/expression/embeddedDocs/function/relational/smallerEq.js +1 -1
  770. package/lib/cjs/expression/embeddedDocs/function/relational/unequal.js +1 -1
  771. package/lib/cjs/expression/embeddedDocs/function/set/setCartesian.js +1 -1
  772. package/lib/cjs/expression/embeddedDocs/function/set/setDifference.js +1 -1
  773. package/lib/cjs/expression/embeddedDocs/function/set/setDistinct.js +1 -1
  774. package/lib/cjs/expression/embeddedDocs/function/set/setIntersect.js +1 -1
  775. package/lib/cjs/expression/embeddedDocs/function/set/setIsSubset.js +1 -1
  776. package/lib/cjs/expression/embeddedDocs/function/set/setMultiplicity.js +1 -1
  777. package/lib/cjs/expression/embeddedDocs/function/set/setPowerset.js +1 -1
  778. package/lib/cjs/expression/embeddedDocs/function/set/setSize.js +1 -1
  779. package/lib/cjs/expression/embeddedDocs/function/set/setSymDifference.js +1 -1
  780. package/lib/cjs/expression/embeddedDocs/function/set/setUnion.js +1 -1
  781. package/lib/cjs/expression/embeddedDocs/function/signal/freqz.js +1 -1
  782. package/lib/cjs/expression/embeddedDocs/function/signal/zpk2tf.js +1 -1
  783. package/lib/cjs/expression/embeddedDocs/function/special/erf.js +1 -1
  784. package/lib/cjs/expression/embeddedDocs/function/special/zeta.js +1 -1
  785. package/lib/cjs/expression/embeddedDocs/function/statistics/corr.js +1 -1
  786. package/lib/cjs/expression/embeddedDocs/function/statistics/cumsum.js +1 -1
  787. package/lib/cjs/expression/embeddedDocs/function/statistics/mad.js +1 -1
  788. package/lib/cjs/expression/embeddedDocs/function/statistics/max.js +1 -1
  789. package/lib/cjs/expression/embeddedDocs/function/statistics/mean.js +1 -1
  790. package/lib/cjs/expression/embeddedDocs/function/statistics/median.js +1 -1
  791. package/lib/cjs/expression/embeddedDocs/function/statistics/min.js +1 -1
  792. package/lib/cjs/expression/embeddedDocs/function/statistics/mode.js +1 -1
  793. package/lib/cjs/expression/embeddedDocs/function/statistics/prod.js +1 -1
  794. package/lib/cjs/expression/embeddedDocs/function/statistics/quantileSeq.js +1 -1
  795. package/lib/cjs/expression/embeddedDocs/function/statistics/std.js +1 -1
  796. package/lib/cjs/expression/embeddedDocs/function/statistics/sum.js +1 -1
  797. package/lib/cjs/expression/embeddedDocs/function/statistics/variance.js +1 -1
  798. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acos.js +1 -1
  799. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acosh.js +1 -1
  800. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acot.js +1 -1
  801. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acoth.js +1 -1
  802. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acsc.js +1 -1
  803. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acsch.js +1 -1
  804. package/lib/cjs/expression/embeddedDocs/function/trigonometry/asec.js +1 -1
  805. package/lib/cjs/expression/embeddedDocs/function/trigonometry/asech.js +1 -1
  806. package/lib/cjs/expression/embeddedDocs/function/trigonometry/asin.js +1 -1
  807. package/lib/cjs/expression/embeddedDocs/function/trigonometry/asinh.js +1 -1
  808. package/lib/cjs/expression/embeddedDocs/function/trigonometry/atan.js +1 -1
  809. package/lib/cjs/expression/embeddedDocs/function/trigonometry/atan2.js +1 -1
  810. package/lib/cjs/expression/embeddedDocs/function/trigonometry/atanh.js +1 -1
  811. package/lib/cjs/expression/embeddedDocs/function/trigonometry/cos.js +1 -1
  812. package/lib/cjs/expression/embeddedDocs/function/trigonometry/cosh.js +1 -1
  813. package/lib/cjs/expression/embeddedDocs/function/trigonometry/cot.js +1 -1
  814. package/lib/cjs/expression/embeddedDocs/function/trigonometry/coth.js +1 -1
  815. package/lib/cjs/expression/embeddedDocs/function/trigonometry/csc.js +1 -1
  816. package/lib/cjs/expression/embeddedDocs/function/trigonometry/csch.js +1 -1
  817. package/lib/cjs/expression/embeddedDocs/function/trigonometry/sec.js +1 -1
  818. package/lib/cjs/expression/embeddedDocs/function/trigonometry/sech.js +1 -1
  819. package/lib/cjs/expression/embeddedDocs/function/trigonometry/sin.js +1 -1
  820. package/lib/cjs/expression/embeddedDocs/function/trigonometry/sinh.js +1 -1
  821. package/lib/cjs/expression/embeddedDocs/function/trigonometry/tan.js +1 -1
  822. package/lib/cjs/expression/embeddedDocs/function/trigonometry/tanh.js +1 -1
  823. package/lib/cjs/expression/embeddedDocs/function/units/to.js +1 -1
  824. package/lib/cjs/expression/embeddedDocs/function/utils/bin.js +1 -1
  825. package/lib/cjs/expression/embeddedDocs/function/utils/clone.js +1 -1
  826. package/lib/cjs/expression/embeddedDocs/function/utils/format.js +1 -1
  827. package/lib/cjs/expression/embeddedDocs/function/utils/hasNumericValue.js +1 -1
  828. package/lib/cjs/expression/embeddedDocs/function/utils/hex.js +1 -1
  829. package/lib/cjs/expression/embeddedDocs/function/utils/isInteger.js +1 -1
  830. package/lib/cjs/expression/embeddedDocs/function/utils/isNaN.js +1 -1
  831. package/lib/cjs/expression/embeddedDocs/function/utils/isNegative.js +1 -1
  832. package/lib/cjs/expression/embeddedDocs/function/utils/isNumeric.js +1 -1
  833. package/lib/cjs/expression/embeddedDocs/function/utils/isPositive.js +1 -1
  834. package/lib/cjs/expression/embeddedDocs/function/utils/isPrime.js +1 -1
  835. package/lib/cjs/expression/embeddedDocs/function/utils/isZero.js +1 -1
  836. package/lib/cjs/expression/embeddedDocs/function/utils/numeric.js +4 -4
  837. package/lib/cjs/expression/embeddedDocs/function/utils/oct.js +1 -1
  838. package/lib/cjs/expression/embeddedDocs/function/utils/print.js +1 -1
  839. package/lib/cjs/expression/embeddedDocs/function/utils/typeOf.js +1 -1
  840. package/lib/cjs/expression/function/compile.js +9 -7
  841. package/lib/cjs/expression/function/evaluate.js +13 -11
  842. package/lib/cjs/expression/function/help.js +13 -11
  843. package/lib/cjs/expression/function/parser.js +8 -6
  844. package/lib/cjs/expression/keywords.js +1 -1
  845. package/lib/cjs/expression/node/AccessorNode.js +137 -171
  846. package/lib/cjs/expression/node/ArrayNode.js +144 -176
  847. package/lib/cjs/expression/node/AssignmentNode.js +208 -242
  848. package/lib/cjs/expression/node/BlockNode.js +145 -177
  849. package/lib/cjs/expression/node/ConditionalNode.js +161 -193
  850. package/lib/cjs/expression/node/ConstantNode.js +145 -172
  851. package/lib/cjs/expression/node/FunctionAssignmentNode.js +167 -211
  852. package/lib/cjs/expression/node/FunctionNode.js +326 -379
  853. package/lib/cjs/expression/node/IndexNode.js +169 -208
  854. package/lib/cjs/expression/node/Node.js +317 -373
  855. package/lib/cjs/expression/node/ObjectNode.js +145 -178
  856. package/lib/cjs/expression/node/OperatorNode.js +374 -412
  857. package/lib/cjs/expression/node/ParenthesisNode.js +120 -154
  858. package/lib/cjs/expression/node/RangeNode.js +191 -225
  859. package/lib/cjs/expression/node/RelationalNode.js +147 -187
  860. package/lib/cjs/expression/node/SymbolNode.js +152 -187
  861. package/lib/cjs/expression/node/utils/access.js +4 -4
  862. package/lib/cjs/expression/node/utils/assign.js +7 -7
  863. package/lib/cjs/expression/operators.js +24 -34
  864. package/lib/cjs/expression/parse.js +139 -136
  865. package/lib/cjs/expression/transform/and.transform.js +20 -18
  866. package/lib/cjs/expression/transform/apply.transform.js +12 -10
  867. package/lib/cjs/expression/transform/bitAnd.transform.js +20 -18
  868. package/lib/cjs/expression/transform/bitOr.transform.js +18 -16
  869. package/lib/cjs/expression/transform/column.transform.js +17 -15
  870. package/lib/cjs/expression/transform/concat.transform.js +15 -13
  871. package/lib/cjs/expression/transform/cumsum.transform.js +14 -12
  872. package/lib/cjs/expression/transform/diff.transform.js +17 -15
  873. package/lib/cjs/expression/transform/filter.transform.js +10 -8
  874. package/lib/cjs/expression/transform/forEach.transform.js +10 -8
  875. package/lib/cjs/expression/transform/index.transform.js +11 -9
  876. package/lib/cjs/expression/transform/map.transform.js +10 -8
  877. package/lib/cjs/expression/transform/max.transform.js +15 -13
  878. package/lib/cjs/expression/transform/mean.transform.js +13 -11
  879. package/lib/cjs/expression/transform/min.transform.js +15 -13
  880. package/lib/cjs/expression/transform/or.transform.js +18 -16
  881. package/lib/cjs/expression/transform/print.transform.js +19 -17
  882. package/lib/cjs/expression/transform/quantileSeq.transform.js +34 -40
  883. package/lib/cjs/expression/transform/range.transform.js +29 -27
  884. package/lib/cjs/expression/transform/row.transform.js +17 -15
  885. package/lib/cjs/expression/transform/std.transform.js +15 -13
  886. package/lib/cjs/expression/transform/subset.transform.js +15 -13
  887. package/lib/cjs/expression/transform/sum.transform.js +15 -13
  888. package/lib/cjs/expression/transform/utils/compileInlineExpression.js +5 -5
  889. package/lib/cjs/expression/transform/utils/lastDimToZeroBase.js +1 -1
  890. package/lib/cjs/expression/transform/variance.transform.js +21 -19
  891. package/lib/cjs/factoriesAny.js +368 -361
  892. package/lib/cjs/factoriesNumber.js +220 -218
  893. package/lib/cjs/function/algebra/decomposition/lup.js +74 -75
  894. package/lib/cjs/function/algebra/decomposition/qr.js +51 -49
  895. package/lib/cjs/function/algebra/decomposition/schur.js +24 -22
  896. package/lib/cjs/function/algebra/decomposition/slu.js +31 -29
  897. package/lib/cjs/function/algebra/derivative.js +71 -68
  898. package/lib/cjs/function/algebra/leafCount.js +10 -8
  899. package/lib/cjs/function/algebra/lyap.js +14 -12
  900. package/lib/cjs/function/algebra/polynomialRoot.js +44 -54
  901. package/lib/cjs/function/algebra/rationalize.js +84 -84
  902. package/lib/cjs/function/algebra/resolve.js +26 -54
  903. package/lib/cjs/function/algebra/simplify/util.js +59 -56
  904. package/lib/cjs/function/algebra/simplify/wildcards.js +2 -2
  905. package/lib/cjs/function/algebra/simplify.js +131 -135
  906. package/lib/cjs/function/algebra/simplifyConstant.js +117 -127
  907. package/lib/cjs/function/algebra/simplifyCore.js +78 -83
  908. package/lib/cjs/function/algebra/solver/lsolve.js +49 -47
  909. package/lib/cjs/function/algebra/solver/lsolveAll.js +64 -78
  910. package/lib/cjs/function/algebra/solver/lusolve.js +26 -24
  911. package/lib/cjs/function/algebra/solver/usolve.js +49 -47
  912. package/lib/cjs/function/algebra/solver/usolveAll.js +64 -78
  913. package/lib/cjs/function/algebra/solver/utils/solveValidation.js +30 -28
  914. package/lib/cjs/function/algebra/sparse/csAmd.js +60 -58
  915. package/lib/cjs/function/algebra/sparse/csChol.js +45 -43
  916. package/lib/cjs/function/algebra/sparse/csCounts.js +23 -21
  917. package/lib/cjs/function/algebra/sparse/csCumsum.js +2 -2
  918. package/lib/cjs/function/algebra/sparse/csDfs.js +8 -8
  919. package/lib/cjs/function/algebra/sparse/csEreach.js +7 -7
  920. package/lib/cjs/function/algebra/sparse/csEtree.js +13 -13
  921. package/lib/cjs/function/algebra/sparse/csFkeep.js +8 -8
  922. package/lib/cjs/function/algebra/sparse/csIpvec.js +3 -3
  923. package/lib/cjs/function/algebra/sparse/csLeaf.js +6 -6
  924. package/lib/cjs/function/algebra/sparse/csLu.js +43 -41
  925. package/lib/cjs/function/algebra/sparse/csPermute.js +15 -15
  926. package/lib/cjs/function/algebra/sparse/csPost.js +7 -7
  927. package/lib/cjs/function/algebra/sparse/csReach.js +8 -8
  928. package/lib/cjs/function/algebra/sparse/csSpsolve.js +22 -20
  929. package/lib/cjs/function/algebra/sparse/csSqr.js +36 -34
  930. package/lib/cjs/function/algebra/sparse/csSymperm.js +18 -16
  931. package/lib/cjs/function/algebra/sparse/csTdfs.js +3 -3
  932. package/lib/cjs/function/algebra/sylvester.js +57 -59
  933. package/lib/cjs/function/algebra/symbolicEqual.js +12 -10
  934. package/lib/cjs/function/arithmetic/abs.js +11 -14
  935. package/lib/cjs/function/arithmetic/add.js +33 -33
  936. package/lib/cjs/function/arithmetic/addScalar.js +27 -24
  937. package/lib/cjs/function/arithmetic/cbrt.js +24 -22
  938. package/lib/cjs/function/arithmetic/ceil.js +68 -85
  939. package/lib/cjs/function/arithmetic/cube.js +15 -10
  940. package/lib/cjs/function/arithmetic/divide.js +24 -22
  941. package/lib/cjs/function/arithmetic/divideScalar.js +19 -18
  942. package/lib/cjs/function/arithmetic/dotDivide.js +29 -27
  943. package/lib/cjs/function/arithmetic/dotMultiply.js +23 -21
  944. package/lib/cjs/function/arithmetic/dotPow.js +29 -27
  945. package/lib/cjs/function/arithmetic/exp.js +8 -6
  946. package/lib/cjs/function/arithmetic/expm1.js +11 -9
  947. package/lib/cjs/function/arithmetic/fix.js +56 -62
  948. package/lib/cjs/function/arithmetic/floor.js +68 -85
  949. package/lib/cjs/function/arithmetic/gcd.js +54 -61
  950. package/lib/cjs/function/arithmetic/hypot.js +18 -18
  951. package/lib/cjs/function/arithmetic/invmod.js +16 -19
  952. package/lib/cjs/function/arithmetic/lcm.js +33 -35
  953. package/lib/cjs/function/arithmetic/log.js +15 -15
  954. package/lib/cjs/function/arithmetic/log10.js +15 -17
  955. package/lib/cjs/function/arithmetic/log1p.js +18 -22
  956. package/lib/cjs/function/arithmetic/log2.js +12 -14
  957. package/lib/cjs/function/arithmetic/mod.js +54 -42
  958. package/lib/cjs/function/arithmetic/multiply.js +200 -208
  959. package/lib/cjs/function/arithmetic/multiplyScalar.js +17 -16
  960. package/lib/cjs/function/arithmetic/norm.js +45 -43
  961. package/lib/cjs/function/arithmetic/nthRoot.js +68 -88
  962. package/lib/cjs/function/arithmetic/nthRoots.js +20 -18
  963. package/lib/cjs/function/arithmetic/pow.js +30 -27
  964. package/lib/cjs/function/arithmetic/round.js +85 -119
  965. package/lib/cjs/function/arithmetic/sign.js +25 -26
  966. package/lib/cjs/function/arithmetic/sqrt.js +11 -9
  967. package/lib/cjs/function/arithmetic/square.js +15 -10
  968. package/lib/cjs/function/arithmetic/subtract.js +32 -30
  969. package/lib/cjs/function/arithmetic/subtractScalar.js +27 -24
  970. package/lib/cjs/function/arithmetic/unaryMinus.js +15 -20
  971. package/lib/cjs/function/arithmetic/unaryPlus.js +24 -20
  972. package/lib/cjs/function/arithmetic/xgcd.js +21 -19
  973. package/lib/cjs/function/bitwise/bitAnd.js +27 -24
  974. package/lib/cjs/function/bitwise/bitNot.js +10 -11
  975. package/lib/cjs/function/bitwise/bitOr.js +27 -24
  976. package/lib/cjs/function/bitwise/bitXor.js +26 -23
  977. package/lib/cjs/function/bitwise/leftShift.js +62 -67
  978. package/lib/cjs/function/bitwise/rightArithShift.js +62 -67
  979. package/lib/cjs/function/bitwise/rightLogShift.js +58 -64
  980. package/lib/cjs/function/bitwise/useMatrixForArrayScalar.js +9 -23
  981. package/lib/cjs/function/combinatorics/bellNumbers.js +13 -11
  982. package/lib/cjs/function/combinatorics/catalan.js +13 -11
  983. package/lib/cjs/function/combinatorics/composition.js +13 -11
  984. package/lib/cjs/function/combinatorics/stirlingS2.js +30 -28
  985. package/lib/cjs/function/complex/arg.js +10 -12
  986. package/lib/cjs/function/complex/conj.js +9 -15
  987. package/lib/cjs/function/complex/im.js +10 -18
  988. package/lib/cjs/function/complex/re.js +9 -15
  989. package/lib/cjs/function/geometry/distance.js +42 -44
  990. package/lib/cjs/function/geometry/intersect.js +66 -66
  991. package/lib/cjs/function/logical/and.js +66 -79
  992. package/lib/cjs/function/logical/not.js +13 -20
  993. package/lib/cjs/function/logical/or.js +28 -29
  994. package/lib/cjs/function/logical/xor.js +27 -28
  995. package/lib/cjs/function/matrix/apply.js +15 -13
  996. package/lib/cjs/function/matrix/column.js +13 -11
  997. package/lib/cjs/function/matrix/concat.js +20 -18
  998. package/lib/cjs/function/matrix/count.js +10 -8
  999. package/lib/cjs/function/matrix/cross.js +16 -14
  1000. package/lib/cjs/function/matrix/ctranspose.js +9 -7
  1001. package/lib/cjs/function/matrix/det.js +27 -27
  1002. package/lib/cjs/function/matrix/diag.js +30 -28
  1003. package/lib/cjs/function/matrix/diff.js +23 -29
  1004. package/lib/cjs/function/matrix/dot.js +48 -46
  1005. package/lib/cjs/function/matrix/eigs/complexEigs.js +184 -227
  1006. package/lib/cjs/function/matrix/eigs/realSymmetric.js +128 -128
  1007. package/lib/cjs/function/matrix/eigs.js +128 -124
  1008. package/lib/cjs/function/matrix/expm.js +45 -43
  1009. package/lib/cjs/function/matrix/fft.js +44 -62
  1010. package/lib/cjs/function/matrix/filter.js +8 -6
  1011. package/lib/cjs/function/matrix/flatten.js +10 -8
  1012. package/lib/cjs/function/matrix/forEach.js +8 -6
  1013. package/lib/cjs/function/matrix/getMatrixDataType.js +8 -6
  1014. package/lib/cjs/function/matrix/identity.js +29 -27
  1015. package/lib/cjs/function/matrix/ifft.js +12 -12
  1016. package/lib/cjs/function/matrix/inv.js +30 -28
  1017. package/lib/cjs/function/matrix/kron.js +13 -11
  1018. package/lib/cjs/function/matrix/map.js +8 -6
  1019. package/lib/cjs/function/matrix/matrixFromColumns.js +25 -37
  1020. package/lib/cjs/function/matrix/matrixFromFunction.js +16 -14
  1021. package/lib/cjs/function/matrix/matrixFromRows.js +20 -32
  1022. package/lib/cjs/function/matrix/ones.js +21 -19
  1023. package/lib/cjs/function/matrix/partitionSelect.js +21 -21
  1024. package/lib/cjs/function/matrix/pinv.js +45 -50
  1025. package/lib/cjs/function/matrix/range.js +34 -32
  1026. package/lib/cjs/function/matrix/reshape.js +9 -7
  1027. package/lib/cjs/function/matrix/resize.js +12 -10
  1028. package/lib/cjs/function/matrix/rotate.js +18 -16
  1029. package/lib/cjs/function/matrix/rotationMatrix.js +56 -56
  1030. package/lib/cjs/function/matrix/row.js +13 -11
  1031. package/lib/cjs/function/matrix/size.js +11 -9
  1032. package/lib/cjs/function/matrix/sort.js +17 -17
  1033. package/lib/cjs/function/matrix/sqrtm.js +27 -25
  1034. package/lib/cjs/function/matrix/squeeze.js +11 -9
  1035. package/lib/cjs/function/matrix/subset.js +29 -29
  1036. package/lib/cjs/function/matrix/trace.js +26 -24
  1037. package/lib/cjs/function/matrix/transpose.js +30 -30
  1038. package/lib/cjs/function/matrix/zeros.js +21 -19
  1039. package/lib/cjs/function/numeric/solveODE.js +92 -117
  1040. package/lib/cjs/function/probability/combinations.js +11 -9
  1041. package/lib/cjs/function/probability/combinationsWithRep.js +15 -13
  1042. package/lib/cjs/function/probability/factorial.js +10 -12
  1043. package/lib/cjs/function/probability/gamma.js +33 -31
  1044. package/lib/cjs/function/probability/kldivergence.js +25 -25
  1045. package/lib/cjs/function/probability/lgamma.js +31 -29
  1046. package/lib/cjs/function/probability/multinomial.js +15 -13
  1047. package/lib/cjs/function/probability/permutations.js +11 -9
  1048. package/lib/cjs/function/probability/pickRandom.js +37 -34
  1049. package/lib/cjs/function/probability/random.js +27 -43
  1050. package/lib/cjs/function/probability/randomInt.js +16 -28
  1051. package/lib/cjs/function/probability/util/randomMatrix.js +3 -3
  1052. package/lib/cjs/function/probability/util/seededRNG.js +3 -3
  1053. package/lib/cjs/function/relational/compare.js +48 -41
  1054. package/lib/cjs/function/relational/compareNatural.js +26 -24
  1055. package/lib/cjs/function/relational/compareText.js +16 -12
  1056. package/lib/cjs/function/relational/compareUnits.js +9 -9
  1057. package/lib/cjs/function/relational/deepEqual.js +10 -8
  1058. package/lib/cjs/function/relational/equal.js +33 -29
  1059. package/lib/cjs/function/relational/equalScalar.js +29 -22
  1060. package/lib/cjs/function/relational/equalText.js +9 -7
  1061. package/lib/cjs/function/relational/larger.js +42 -41
  1062. package/lib/cjs/function/relational/largerEq.js +43 -40
  1063. package/lib/cjs/function/relational/smaller.js +42 -41
  1064. package/lib/cjs/function/relational/smallerEq.js +42 -41
  1065. package/lib/cjs/function/relational/unequal.js +32 -28
  1066. package/lib/cjs/function/set/setCartesian.js +17 -15
  1067. package/lib/cjs/function/set/setDifference.js +18 -16
  1068. package/lib/cjs/function/set/setDistinct.js +15 -13
  1069. package/lib/cjs/function/set/setIntersect.js +17 -15
  1070. package/lib/cjs/function/set/setIsSubset.js +16 -14
  1071. package/lib/cjs/function/set/setMultiplicity.js +14 -12
  1072. package/lib/cjs/function/set/setPowerset.js +19 -17
  1073. package/lib/cjs/function/set/setSize.js +12 -10
  1074. package/lib/cjs/function/set/setSymDifference.js +14 -12
  1075. package/lib/cjs/function/set/setUnion.js +15 -13
  1076. package/lib/cjs/function/signal/freqz.js +46 -41
  1077. package/lib/cjs/function/signal/zpk2tf.js +29 -35
  1078. package/lib/cjs/function/special/erf.js +30 -32
  1079. package/lib/cjs/function/special/zeta.js +37 -53
  1080. package/lib/cjs/function/statistics/corr.js +27 -31
  1081. package/lib/cjs/function/statistics/cumsum.js +16 -14
  1082. package/lib/cjs/function/statistics/mad.js +12 -10
  1083. package/lib/cjs/function/statistics/max.js +14 -11
  1084. package/lib/cjs/function/statistics/mean.js +13 -11
  1085. package/lib/cjs/function/statistics/median.js +22 -20
  1086. package/lib/cjs/function/statistics/min.js +14 -11
  1087. package/lib/cjs/function/statistics/mode.js +15 -13
  1088. package/lib/cjs/function/statistics/prod.js +14 -11
  1089. package/lib/cjs/function/statistics/quantileSeq.js +44 -56
  1090. package/lib/cjs/function/statistics/std.js +11 -9
  1091. package/lib/cjs/function/statistics/sum.js +14 -11
  1092. package/lib/cjs/function/statistics/utils/improveErrorMessage.js +1 -1
  1093. package/lib/cjs/function/statistics/variance.js +22 -22
  1094. package/lib/cjs/function/string/bin.js +10 -8
  1095. package/lib/cjs/function/string/format.js +6 -4
  1096. package/lib/cjs/function/string/hex.js +10 -8
  1097. package/lib/cjs/function/string/oct.js +10 -8
  1098. package/lib/cjs/function/string/print.js +9 -7
  1099. package/lib/cjs/function/trigonometry/acos.js +11 -9
  1100. package/lib/cjs/function/trigonometry/acosh.js +11 -9
  1101. package/lib/cjs/function/trigonometry/acot.js +10 -8
  1102. package/lib/cjs/function/trigonometry/acoth.js +13 -11
  1103. package/lib/cjs/function/trigonometry/acsc.js +13 -11
  1104. package/lib/cjs/function/trigonometry/acsch.js +10 -8
  1105. package/lib/cjs/function/trigonometry/asec.js +13 -11
  1106. package/lib/cjs/function/trigonometry/asech.js +15 -13
  1107. package/lib/cjs/function/trigonometry/asin.js +11 -9
  1108. package/lib/cjs/function/trigonometry/asinh.js +8 -6
  1109. package/lib/cjs/function/trigonometry/atan.js +9 -7
  1110. package/lib/cjs/function/trigonometry/atan2.js +30 -30
  1111. package/lib/cjs/function/trigonometry/atanh.js +11 -9
  1112. package/lib/cjs/function/trigonometry/cos.js +9 -9
  1113. package/lib/cjs/function/trigonometry/cosh.js +7 -7
  1114. package/lib/cjs/function/trigonometry/cot.js +11 -13
  1115. package/lib/cjs/function/trigonometry/coth.js +9 -11
  1116. package/lib/cjs/function/trigonometry/csc.js +11 -13
  1117. package/lib/cjs/function/trigonometry/csch.js +9 -11
  1118. package/lib/cjs/function/trigonometry/sec.js +11 -13
  1119. package/lib/cjs/function/trigonometry/sech.js +9 -11
  1120. package/lib/cjs/function/trigonometry/sin.js +9 -9
  1121. package/lib/cjs/function/trigonometry/sinh.js +7 -7
  1122. package/lib/cjs/function/trigonometry/tan.js +9 -9
  1123. package/lib/cjs/function/trigonometry/tanh.js +7 -7
  1124. package/lib/cjs/function/trigonometry/trigUnit.js +9 -9
  1125. package/lib/cjs/function/unit/to.js +13 -13
  1126. package/lib/cjs/function/utils/clone.js +6 -4
  1127. package/lib/cjs/function/utils/hasNumericValue.js +13 -11
  1128. package/lib/cjs/function/utils/isInteger.js +13 -12
  1129. package/lib/cjs/function/utils/isNaN.js +15 -14
  1130. package/lib/cjs/function/utils/isNegative.js +18 -22
  1131. package/lib/cjs/function/utils/isNumeric.js +11 -16
  1132. package/lib/cjs/function/utils/isPositive.js +16 -22
  1133. package/lib/cjs/function/utils/isPrime.js +38 -34
  1134. package/lib/cjs/function/utils/isZero.js +12 -26
  1135. package/lib/cjs/function/utils/numeric.js +22 -24
  1136. package/lib/cjs/function/utils/typeOf.js +7 -4
  1137. package/lib/cjs/header.js +2 -2
  1138. package/lib/cjs/index.js +1 -1
  1139. package/lib/cjs/json/replacer.js +9 -3
  1140. package/lib/cjs/json/reviver.js +7 -5
  1141. package/lib/cjs/number.js +1 -1
  1142. package/lib/cjs/plain/bignumber/arithmetic.js +2 -2
  1143. package/lib/cjs/plain/bignumber/index.js +2 -2
  1144. package/lib/cjs/plain/number/arithmetic.js +17 -17
  1145. package/lib/cjs/plain/number/bitwise.js +2 -2
  1146. package/lib/cjs/plain/number/combinations.js +6 -6
  1147. package/lib/cjs/plain/number/constants.js +4 -4
  1148. package/lib/cjs/plain/number/index.js +9 -9
  1149. package/lib/cjs/plain/number/logical.js +2 -2
  1150. package/lib/cjs/plain/number/probability.js +16 -16
  1151. package/lib/cjs/plain/number/trigonometry.js +6 -6
  1152. package/lib/cjs/plain/number/utils.js +1 -1
  1153. package/lib/cjs/type/bigint.js +71 -0
  1154. package/lib/cjs/type/bignumber/BigNumber.js +9 -7
  1155. package/lib/cjs/type/bignumber/function/bignumber.js +29 -30
  1156. package/lib/cjs/type/boolean.js +15 -17
  1157. package/lib/cjs/type/chain/Chain.js +17 -20
  1158. package/lib/cjs/type/chain/function/chain.js +9 -7
  1159. package/lib/cjs/type/complex/Complex.js +31 -32
  1160. package/lib/cjs/type/complex/function/complex.js +17 -19
  1161. package/lib/cjs/type/fraction/Fraction.js +11 -11
  1162. package/lib/cjs/type/fraction/function/fraction.js +23 -24
  1163. package/lib/cjs/type/matrix/DenseMatrix.js +94 -146
  1164. package/lib/cjs/type/matrix/FibonacciHeap.js +29 -27
  1165. package/lib/cjs/type/matrix/ImmutableDenseMatrix.js +11 -9
  1166. package/lib/cjs/type/matrix/Matrix.js +3 -3
  1167. package/lib/cjs/type/matrix/MatrixIndex.js +35 -33
  1168. package/lib/cjs/type/matrix/Range.js +23 -23
  1169. package/lib/cjs/type/matrix/Spa.js +20 -18
  1170. package/lib/cjs/type/matrix/SparseMatrix.js +217 -246
  1171. package/lib/cjs/type/matrix/function/index.js +10 -8
  1172. package/lib/cjs/type/matrix/function/matrix.js +14 -12
  1173. package/lib/cjs/type/matrix/function/sparse.js +11 -9
  1174. package/lib/cjs/type/matrix/utils/broadcast.js +34 -66
  1175. package/lib/cjs/type/matrix/utils/matAlgo01xDSid.js +24 -22
  1176. package/lib/cjs/type/matrix/utils/matAlgo02xDS0.js +28 -26
  1177. package/lib/cjs/type/matrix/utils/matAlgo03xDSf.js +28 -26
  1178. package/lib/cjs/type/matrix/utils/matAlgo04xSidSid.js +33 -31
  1179. package/lib/cjs/type/matrix/utils/matAlgo05xSfSf.js +37 -35
  1180. package/lib/cjs/type/matrix/utils/matAlgo06xS0S0.js +32 -30
  1181. package/lib/cjs/type/matrix/utils/matAlgo07xSSf.js +30 -28
  1182. package/lib/cjs/type/matrix/utils/matAlgo08xS0Sid.js +32 -30
  1183. package/lib/cjs/type/matrix/utils/matAlgo09xS0Sf.js +32 -30
  1184. package/lib/cjs/type/matrix/utils/matAlgo10xSids.js +24 -22
  1185. package/lib/cjs/type/matrix/utils/matAlgo11xS0s.js +25 -23
  1186. package/lib/cjs/type/matrix/utils/matAlgo12xSfs.js +24 -22
  1187. package/lib/cjs/type/matrix/utils/matAlgo13xDD.js +20 -18
  1188. package/lib/cjs/type/matrix/utils/matAlgo14xDs.js +15 -13
  1189. package/lib/cjs/type/matrix/utils/matrixAlgorithmSuite.js +62 -126
  1190. package/lib/cjs/type/number.js +44 -45
  1191. package/lib/cjs/type/resultset/ResultSet.js +3 -3
  1192. package/lib/cjs/type/string.js +12 -14
  1193. package/lib/cjs/type/unit/Unit.js +272 -279
  1194. package/lib/cjs/type/unit/function/createUnit.js +15 -13
  1195. package/lib/cjs/type/unit/function/splitUnit.js +7 -5
  1196. package/lib/cjs/type/unit/function/unit.js +12 -14
  1197. package/lib/cjs/type/unit/physicalConstants.js +66 -62
  1198. package/lib/cjs/utils/applyCallback.js +13 -13
  1199. package/lib/cjs/utils/array.js +89 -96
  1200. package/lib/cjs/utils/bignumber/bitwise.js +44 -44
  1201. package/lib/cjs/utils/bignumber/constants.js +8 -8
  1202. package/lib/cjs/utils/bignumber/formatter.js +26 -25
  1203. package/lib/cjs/utils/bignumber/nearlyEqual.js +29 -31
  1204. package/lib/cjs/utils/collection.js +9 -9
  1205. package/lib/cjs/utils/complex.js +8 -7
  1206. package/lib/cjs/utils/customs.js +5 -9
  1207. package/lib/cjs/utils/emitter.js +1 -1
  1208. package/lib/cjs/utils/factory.js +13 -27
  1209. package/lib/cjs/utils/function.js +19 -20
  1210. package/lib/cjs/utils/is.js +11 -9
  1211. package/lib/cjs/utils/latex.js +48 -44
  1212. package/lib/cjs/utils/log.js +5 -6
  1213. package/lib/cjs/utils/lruQueue.js +12 -12
  1214. package/lib/cjs/utils/map.js +84 -180
  1215. package/lib/cjs/utils/number.js +152 -111
  1216. package/lib/cjs/utils/object.js +35 -37
  1217. package/lib/cjs/utils/print.js +1 -1
  1218. package/lib/cjs/utils/product.js +1 -1
  1219. package/lib/cjs/utils/snapshot.js +84 -75
  1220. package/lib/cjs/utils/string.js +16 -18
  1221. package/lib/cjs/utils/switch.js +5 -5
  1222. package/lib/cjs/version.js +1 -1
  1223. package/lib/esm/core/config.js +8 -2
  1224. package/lib/esm/core/create.js +6 -2
  1225. package/lib/esm/core/function/config.js +19 -7
  1226. package/lib/esm/core/function/import.js +1 -1
  1227. package/lib/esm/core/function/typed.js +48 -2
  1228. package/lib/esm/entry/dependenciesAny/dependenciesBigint.generated.js +10 -0
  1229. package/lib/esm/entry/dependenciesAny/dependenciesIsZero.generated.js +2 -0
  1230. package/lib/esm/entry/dependenciesAny/dependenciesUnaryPlus.generated.js +2 -2
  1231. package/lib/esm/entry/dependenciesAny.generated.js +1 -0
  1232. package/lib/esm/entry/dependenciesNumber/dependenciesBigint.generated.js +10 -0
  1233. package/lib/esm/entry/dependenciesNumber.generated.js +1 -0
  1234. package/lib/esm/entry/impureFunctionsAny.generated.js +6 -5
  1235. package/lib/esm/entry/impureFunctionsNumber.generated.js +6 -5
  1236. package/lib/esm/entry/pureFunctionsAny.generated.js +21 -15
  1237. package/lib/esm/entry/pureFunctionsNumber.generated.js +8 -5
  1238. package/lib/esm/entry/typeChecks.js +1 -1
  1239. package/lib/esm/expression/embeddedDocs/construction/bigint.js +8 -0
  1240. package/lib/esm/expression/embeddedDocs/construction/bignumber.js +1 -1
  1241. package/lib/esm/expression/embeddedDocs/construction/number.js +1 -1
  1242. package/lib/esm/expression/embeddedDocs/embeddedDocs.js +2 -0
  1243. package/lib/esm/expression/embeddedDocs/function/utils/numeric.js +3 -3
  1244. package/lib/esm/expression/node/ConstantNode.js +6 -1
  1245. package/lib/esm/expression/parse.js +4 -1
  1246. package/lib/esm/factoriesAny.js +1 -0
  1247. package/lib/esm/factoriesNumber.js +1 -0
  1248. package/lib/esm/function/algebra/derivative.js +2 -1
  1249. package/lib/esm/function/algebra/simplifyConstant.js +17 -2
  1250. package/lib/esm/function/arithmetic/abs.js +3 -2
  1251. package/lib/esm/function/arithmetic/add.js +3 -3
  1252. package/lib/esm/function/arithmetic/addScalar.js +6 -3
  1253. package/lib/esm/function/arithmetic/ceil.js +4 -4
  1254. package/lib/esm/function/arithmetic/cube.js +5 -2
  1255. package/lib/esm/function/arithmetic/divide.js +3 -3
  1256. package/lib/esm/function/arithmetic/divideScalar.js +6 -3
  1257. package/lib/esm/function/arithmetic/floor.js +4 -4
  1258. package/lib/esm/function/arithmetic/mod.js +13 -3
  1259. package/lib/esm/function/arithmetic/multiply.js +3 -3
  1260. package/lib/esm/function/arithmetic/multiplyScalar.js +6 -3
  1261. package/lib/esm/function/arithmetic/pow.js +4 -3
  1262. package/lib/esm/function/arithmetic/round.js +12 -12
  1263. package/lib/esm/function/arithmetic/sign.js +5 -2
  1264. package/lib/esm/function/arithmetic/square.js +5 -2
  1265. package/lib/esm/function/arithmetic/subtract.js +3 -3
  1266. package/lib/esm/function/arithmetic/subtractScalar.js +6 -3
  1267. package/lib/esm/function/arithmetic/unaryMinus.js +3 -2
  1268. package/lib/esm/function/arithmetic/unaryPlus.js +13 -7
  1269. package/lib/esm/function/bitwise/bitAnd.js +5 -4
  1270. package/lib/esm/function/bitwise/bitNot.js +3 -2
  1271. package/lib/esm/function/bitwise/bitOr.js +5 -4
  1272. package/lib/esm/function/bitwise/bitXor.js +5 -4
  1273. package/lib/esm/function/bitwise/leftShift.js +4 -3
  1274. package/lib/esm/function/bitwise/rightArithShift.js +4 -3
  1275. package/lib/esm/function/geometry/intersect.js +1 -1
  1276. package/lib/esm/function/logical/and.js +3 -2
  1277. package/lib/esm/function/logical/not.js +2 -1
  1278. package/lib/esm/function/logical/or.js +3 -2
  1279. package/lib/esm/function/logical/xor.js +3 -2
  1280. package/lib/esm/function/matrix/eigs/realSymmetric.js +3 -3
  1281. package/lib/esm/function/matrix/eigs.js +2 -2
  1282. package/lib/esm/function/relational/compare.js +9 -6
  1283. package/lib/esm/function/relational/compareNatural.js +1 -1
  1284. package/lib/esm/function/relational/equal.js +3 -3
  1285. package/lib/esm/function/relational/equalScalar.js +9 -6
  1286. package/lib/esm/function/relational/larger.js +6 -5
  1287. package/lib/esm/function/relational/largerEq.js +8 -5
  1288. package/lib/esm/function/relational/smaller.js +6 -5
  1289. package/lib/esm/function/relational/smallerEq.js +6 -5
  1290. package/lib/esm/function/relational/unequal.js +1 -1
  1291. package/lib/esm/function/special/zeta.js +2 -2
  1292. package/lib/esm/function/statistics/max.js +2 -1
  1293. package/lib/esm/function/statistics/min.js +2 -1
  1294. package/lib/esm/function/statistics/prod.js +2 -1
  1295. package/lib/esm/function/statistics/sum.js +2 -1
  1296. package/lib/esm/function/utils/hasNumericValue.js +3 -1
  1297. package/lib/esm/function/utils/isInteger.js +4 -1
  1298. package/lib/esm/function/utils/isNaN.js +4 -1
  1299. package/lib/esm/function/utils/isNegative.js +12 -10
  1300. package/lib/esm/function/utils/isNumeric.js +3 -2
  1301. package/lib/esm/function/utils/isPositive.js +10 -10
  1302. package/lib/esm/function/utils/isPrime.js +14 -6
  1303. package/lib/esm/function/utils/isZero.js +6 -14
  1304. package/lib/esm/function/utils/numeric.js +6 -4
  1305. package/lib/esm/function/utils/typeOf.js +1 -0
  1306. package/lib/esm/json/replacer.js +6 -0
  1307. package/lib/esm/type/bigint.js +65 -0
  1308. package/lib/esm/type/bignumber/function/bignumber.js +5 -2
  1309. package/lib/esm/type/fraction/function/fraction.js +4 -1
  1310. package/lib/esm/type/matrix/utils/broadcast.js +34 -63
  1311. package/lib/esm/type/matrix/utils/matrixAlgorithmSuite.js +3 -7
  1312. package/lib/esm/type/number.js +4 -1
  1313. package/lib/esm/utils/bignumber/nearlyEqual.js +29 -31
  1314. package/lib/esm/utils/complex.js +8 -7
  1315. package/lib/esm/utils/is.js +3 -0
  1316. package/lib/esm/utils/latex.js +4 -0
  1317. package/lib/esm/utils/number.js +64 -26
  1318. package/lib/esm/utils/object.js +1 -1
  1319. package/lib/esm/version.js +1 -1
  1320. package/package.json +30 -38
  1321. package/types/index.d.ts +218 -75
  1322. package/dist/math.js +0 -3
  1323. package/dist/math.min.js +0 -3
  1324. package/dist/package.json +0 -3
  1325. package/main/es5/index.js +0 -3
  1326. package/main/es5/number.js +0 -3
  1327. package/main/es5/package.json +0 -3
  1328. package/main/esm/index.js +0 -3
  1329. package/main/esm/number.js +0 -3
  1330. package/main/esm/package.json +0 -3
  1331. package/number.cjs +0 -3
package/HISTORY.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # History
2
2
 
3
+ # 2024-06-28, 13.0.1
4
+
5
+ - Fix: #3227 generated bundle containing `catch` blocks without parameters.
6
+ - Fix: #2348 update type definitions of the `Parser` methods (#3226).
7
+ Thanks @orelbn.
8
+ - Fix an error in the type definitions of `quantileSeq` (#3223).
9
+ Thanks @domdomegg.
10
+
11
+ # 2024-05-31, 13.0.0
12
+
13
+ Breaking changes:
14
+
15
+ - Change `isZero`, `isPositive`, and `isNegative` to respect `config.epsilon`
16
+ (#3139, #2838).
17
+ - Change the behavior of the internal `nearlyEqual` to align with Python and
18
+ Julia (#3152, #2838)
19
+ - Upgrade to `fraction.js@4.3.7`,
20
+ see <https://github.com/rawify/Fraction.js/issues/68>.
21
+ - Dropped support for JavaScript engines that do not fully support ES6 or
22
+ `bigint`, or are not actively maintained.
23
+
24
+ Non-breaking changes:
25
+
26
+ - Implemented support for `bigint` (#3207, #3207)
27
+ - Implemented a new config option `config.numberFallback` needed for `bigint`
28
+ (#3207).
29
+ - Internal: refactored tooling to ES modules and upgraded all devDependencies.
30
+
3
31
  # 2024-05-31, 12.4.3
4
32
 
5
33
  - Fix: serialization of Units without a value, see #1240.
@@ -7,17 +35,15 @@
7
35
  operator modulus `%`. See #3189.
8
36
  - Fix: #3197 improve `quantileSeq` type definitions (#3198). Thanks @domdomegg.
9
37
 
10
-
11
38
  # 2024-04-24, 12.4.2
12
39
 
13
40
  - Fix #3192: function `isNaN` returns `false` for `NaN` units in a matrix or
14
41
  array (#3193). Thanks @lgerin.
15
42
  - Fix: #3180 fix type definitions of functions `add` and `multiply` to allow
16
- more than two arguments.
17
- - Docs: correct the docs about `traverse` returning void (#3177).
43
+ more than two arguments.
44
+ - Docs: correct the docs about `traverse` returning void (#3177).
18
45
  Thanks @rohildshah.
19
46
 
20
-
21
47
  # 2024-03-13, 12.4.1
22
48
 
23
49
  - Docs: implement an interactive version of the Lorenz example, and show the
@@ -30,79 +56,71 @@
30
56
  - Fix: remove using polyfill.io inside the example
31
57
  `pretty_printing_with_mathjax.html` (#3167). Thanks @SukkaW.
32
58
 
33
-
34
59
  # 2024-02-22, 12.4.0
35
60
 
36
61
  - Feat: implement support for trailing commas in matrices (#3154, #2968).
37
62
  Thanks @dvd101x.
38
- - Feat: improve the performance of `multiply` a lot by adding matrix type
63
+ - Feat: improve the performance of `multiply` a lot by adding matrix type
39
64
  inferencing (#3149). Thanks @RandomGamingDev.
40
- - Fix: #3100 function `round` not handling round-off errors (#3136).
65
+ - Fix: #3100 function `round` not handling round-off errors (#3136).
41
66
  Thanks @BrianFugate.
42
- - Fix: `PartitionedMap` and `ObjectWrappingMap` missing a property
67
+ - Fix: `PartitionedMap` and `ObjectWrappingMap` missing a property
43
68
  `Symbol.iterator`, causing problems when trying `new Map(scope)` (#3156).
44
69
  - Fix: type definitions of function `mode` (#3153). Thanks @rich-martinez.
45
70
  - Docs: describe method `getAllAsMap` in the Parser docs (#3158, #3157).
46
71
  Thanks @dvd101x.
47
72
 
48
-
49
73
  # 2024-02-08, 12.3.2
50
74
 
51
75
  - Improved the performance of custom defined functions in the expression
52
76
  parser (#3150).
53
- - Fix: #3143 cannot use `and` and `or` inside a function definition.
77
+ - Fix: #3143 cannot use `and` and `or` inside a function definition.
54
78
  Regression since `v12.1.0` (#3150).
55
79
 
56
-
57
80
  # 2024-02-01, 12.3.1
58
81
 
59
- - Improved the typings of the arguments of `ArrayNode`, `FunctionNode`,
82
+ - Improved the typings of the arguments of `ArrayNode`, `FunctionNode`,
60
83
  `IndexNode`, `OperatorNode`, and `RelationalNode` (#3123). Thanks @sylee957.
61
84
  - Added a fully featured code editor example with CodeMirror and Katex (#3027).
62
85
  Thanks @dvd101x.
63
- - Fix: #3114 build warnings related to a number of wrong `/* #__PURE__ */`
86
+ - Fix: #3114 build warnings related to a number of wrong `/* #__PURE__ */`
64
87
  annotations.
65
88
  - Fix: #3142 support BigNumber values for the options of function `format`:
66
89
  `precision`, `wordSize`, `lowerExp`, `upperExp`. Support BigNumber values
67
- for the option `wordSize` in the functions `hex`, `bin`, and `oct`.
68
- - Fix: #3125 type definitions of function `hypot` (#3144).
90
+ for the option `wordSize` in the functions `hex`, `bin`, and `oct`.
91
+ - Fix: #3125 type definitions of function `hypot` (#3144).
69
92
  Thanks @silentmissile.
70
- - Fix: #3141 `help(config)` altering the actual `config` when evaluating the
93
+ - Fix: #3141 `help(config)` altering the actual `config` when evaluating the
71
94
  examples.
72
- - Docs: #3145 fix documentation about REPL, it does require a build step
95
+ - Docs: #3145 fix documentation about REPL, it does require a build step
73
96
  nowadays.
74
97
 
75
-
76
98
  # 2024-01-12, 12.3.0
77
99
 
78
- - Implement support new metric prefixes: `ronna` (`R`), `quetta` (`Q`),
100
+ - Implement support new metric prefixes: `ronna` (`R`), `quetta` (`Q`),
79
101
  `ronto` (`r`), and `quecto` (`q`) (#3113, #3112). Thanks @AlexEdgcomb.
80
102
  - Fix a bug converting a unitless unit (#3117). Thanks @costerwi.
81
103
  - Fix: #3097 `toSI()` wrongly converting `degC` (#3118). Thanks @costerwi.
82
104
 
83
-
84
105
  # 2023-12-20, 12.2.1
85
106
 
86
107
  - Fix #3109: method `Node.toHTML` not accepting a custom `handler`.
87
108
 
88
-
89
109
  # 2023-12-08, 12.2.0
90
110
 
91
- - Feat: lazy evaluation of operators `and`, `or`, `&`, `|` (#3090, #3101,
111
+ - Feat: lazy evaluation of operators `and`, `or`, `&`, `|` (#3090, #3101,
92
112
  #2766). Thanks @smith120bh.
93
113
  - Fix: passing a 4th argument with a scope to raw functions.
94
114
  - Fix: #3096 embedded docs of eigs throwing an error.
95
115
 
96
-
97
116
  # 2023-11-17, 12.1.0
98
117
 
99
- - Feat: Extend function `round` with support for units (#2761, #3095).
118
+ - Feat: Extend function `round` with support for units (#2761, #3095).
100
119
  - Feat: Extend function `mod` with support for negative divisors in when
101
120
  using `BigNumber` or `Fraction` (#3087).
102
121
  - Fix: #3092 a typo in an error message when converting a string into a number.
103
122
  - Fix: #3094 function `derivative` mutates the input expression when it fails.
104
123
 
105
-
106
124
  # 2023-10-26, 12.0.0
107
125
 
108
126
  Breaking changes:
@@ -110,11 +128,14 @@ Breaking changes:
110
128
  - Fix #2879, #2927, #3014: change the confusing interface of `eigs` (#3037),
111
129
  thanks @gwhitney.
112
130
  Before, functions `eigs` returned an object:
131
+
113
132
  ```
114
133
  { values: MathCollection; vectors: MathCollection }
115
134
  ```
135
+
116
136
  where `vectors` was a 2d matrix of which the columns contained the vectors.
117
137
  This is changed to `eigs` returning an object:
138
+
118
139
  ```
119
140
  {
120
141
  values: MathCollection
@@ -124,27 +145,27 @@ Breaking changes:
124
145
  }>
125
146
  }
126
147
  ```
148
+
127
149
  Where `eigenvectors` is an array containing an object with the corresponding
128
150
  eigenvalue and vector.
129
151
  - Refactored the TypeScript type definitions to make them work with a `NodeNext`
130
- module resolution (#3079, #2919).
152
+ module resolution (#3079, #2919).
131
153
  - Type `MathJsStatic` is renamed to `MathJsInstance`.
132
- - Type `FactoryDependencies` is deprecated, use `MathJsFactory` instead, and
154
+ - Type `FactoryDependencies` is deprecated, use `MathJsFactory` instead, and
133
155
  import dependency maps directly from the library.
134
- - Change the assignment operator of `.toTex()` output from `:=` to `=` (see
156
+ - Change the assignment operator of `.toTex()` output from `:=` to `=` (see
135
157
  #2980, #2987).
136
158
  - Drop official support for Node.js 14 and 16.
137
159
 
138
160
  Features:
139
161
 
140
- - Function `eigs` now has an option to turn off calculation of eigenvectors
162
+ - Function `eigs` now has an option to turn off calculation of eigenvectors
141
163
  (#3057, #2180). Thanks @gwhitney.
142
164
 
143
165
  Fixes:
144
166
 
145
167
  - Find eigenvectors of defective matrices (#3037). Thanks @gwhitney.
146
168
 
147
-
148
169
  # 2023-10-26, 11.12.0
149
170
 
150
171
  - Implemented function `subtractScalar` (#3081, #2643), thanks @vrushaket.
@@ -155,64 +176,57 @@ Fixes:
155
176
  - Fix: #2960 add type definition of function `symbolicEqual` (#3035),
156
177
  thanks @juancodeaudio.
157
178
 
158
-
159
179
  # 2023-10-11, 11.11.2
160
180
 
161
- - Fix #3025: improve handling of matrices and error handling
181
+ - Fix #3025: improve handling of matrices and error handling
162
182
  in function `corr` (#3030). Thanks @vrushaket.
163
183
  - Fix #3074: improve error message when using function `max` in `derivative`.
164
184
  - Fix #3073: fix parsing quotes inside a string.
165
- - Fix #2027: cannot use named operators like `to` or `mod` as property name.
166
-
185
+ - Fix #2027: cannot use named operators like `to` or `mod` as property name.
167
186
 
168
187
  # 2023-09-20, 11.11.1
169
188
 
170
- - Fix #2989: use one-based indices in `print` in the parser (#3009).
171
- Thanks @dvd101x.
189
+ - Fix #2989: use one-based indices in `print` in the parser (#3009).
190
+ Thanks @dvd101x.
172
191
  - Fix #2936: `mod` sometimes giving wrong results due to internal round-off
173
192
  errors (#3011). Thanks @praisennamonu1.
174
- - Internal refactor of `quantileSeq`, and fixed the embedded help (#3003).
193
+ - Internal refactor of `quantileSeq`, and fixed the embedded help (#3003).
175
194
  Thanks @dvd101x.
176
195
  - Updated dependencies and devDependencies.
177
196
 
178
-
179
197
  # 2023-09-05, 11.11.0
180
198
 
181
199
  - Implement function `corr` to calculate the correlation between two matrices
182
- (#3015, #2624). Thanks @vrushaket.
183
- - Lock `fraction.js` at version `4.3.4` for now, see #3024, 3022,
184
- https://github.com/rawify/Fraction.js/issues/68.
185
-
200
+ (#3015, #2624). Thanks @vrushaket.
201
+ - Lock `fraction.js` at version `4.3.4` for now, see #3024, 3022,
202
+ <https://github.com/rawify/Fraction.js/issues/68>.
186
203
 
187
204
  # 2023-08-31, 11.10.1
188
205
 
189
206
  - Upgrade to `fraction.js@4.3.4`, see #3022.
190
- - Fix #3020: `lruQueue` using the global `hasOwnProperty` which may be
207
+ - Fix #3020: `lruQueue` using the global `hasOwnProperty` which may be
191
208
  polluted.
192
209
  - Add support for prefixes for the unit `erg`, and restrict prefixes of the
193
- unit `joule` to only long prefixes like `kilo` and no short prefixes
210
+ unit `joule` to only long prefixes like `kilo` and no short prefixes
194
211
  like `k` (#3019). Thanks @costerwi.
195
212
  - Add a new browser example `examples/browser/lorenz.html` that uses `solveODE`
196
213
  and plots the result in a chart (#3018). Thanks @dvd101x.
197
214
 
198
-
199
215
  # 2023-08-23, 11.10.0
200
216
 
201
217
  - Extend function `quantileSeq` with support for a `dimension` (#3002).
202
218
  Thanks @dvd101x.
203
- - Implement #2735: Support indexing with an array of booleans, for
219
+ - Implement #2735: Support indexing with an array of booleans, for
204
220
  example `a[[true, false, true]]` and `a[a > 2]` (#2994). Thanks @dvd101x.
205
221
  - Implement function `zeta` (#2950, #2975, #2904). Thanks @Bobingstern.
206
222
  - Fix #2990: `DenseMatrix` can mutate input arrays (#2991).
207
223
 
208
-
209
224
  # 2023-07-24, 11.9.1
210
225
 
211
226
  - Fix a security vulnerability in `FunctionNode` and `SymbolNode` allowing
212
227
  arbitrary code execution via `math.evaluate`. Thanks Harry Chen.
213
228
  - Fix #3001: mathjs bundle containing `new Function(...)` (CSP issue).
214
229
 
215
-
216
230
  # 2023-07-19, 11.9.0
217
231
 
218
232
  - Implement function `solveODE` (#2958). Thanks @dvd101x.
@@ -220,30 +234,28 @@ Fixes:
220
234
  - Implement support for units in function `range` (#2997). Thanks @dvd101x.
221
235
  - Fix #2974: `simplify` puts plus and minus signs next to each other (#2981).
222
236
  Thanks @MaybePixem.
223
- - Fix #2973: fixes and improvements in the embedded docs (#2976).
237
+ - Fix #2973: fixes and improvements in the embedded docs (#2976).
224
238
  Thanks @dvd101x.
225
- - Fix #2996: two errors in the examples in the documentation about Expression
239
+ - Fix #2996: two errors in the examples in the documentation about Expression
226
240
  trees.
227
- - Fix round-off errors near zero when converting temperatures (#2962).
241
+ - Fix round-off errors near zero when converting temperatures (#2962).
228
242
  Thanks @costerwi.
229
243
  - Refactored function `range`, reducing the amount of code (#2995).
230
244
  Thanks @dvd101x.
231
245
 
232
-
233
246
  # 2023-06-20, 11.8.2
234
247
 
235
- - Fix #2971: improve typings of statistics functions `min`, `max`, `mean`,
236
- `median`, `mode`, `std`, `sum`, `prod`, `variance`. Fixes a regression
248
+ - Fix #2971: improve typings of statistics functions `min`, `max`, `mean`,
249
+ `median`, `mode`, `std`, `sum`, `prod`, `variance`. Fixes a regression
237
250
  introduced in v11.8.1.
238
251
  - Fix #2972: type definitions of `Unit.divide(Unit)` have a wrong return type.
239
252
 
240
-
241
253
  # 2023-06-13, 11.8.1
242
254
 
243
- - Fix #2964: issue in function ` distance` when calculate the distance from
244
- a point to a line (#2965). Thanks @Kiku-CN.
255
+ - Fix #2964: issue in function `distance` when calculate the distance from
256
+ a point to a line (#2965). Thanks @Kiku-CN.
245
257
  - Fix `math.format` not working correctly for `engineering` notation when using
246
- BigNumbers and for `fixed` notation with `precision: 0` configured (#2956).
258
+ BigNumbers and for `fixed` notation with `precision: 0` configured (#2956).
247
259
  Thanks @mgreminger.
248
260
  - Fix #2880: not possible to map cube root `cbrt`.
249
261
  - Fix #2938: make the syntax description of all functions consistent in the
@@ -253,72 +265,67 @@ Fixes:
253
265
  - Fix #2959: typo in an example in the docs. Thanks @kunalagrwl.
254
266
  - Drop official support for Node.js 14, has reached end of life.
255
267
 
256
-
257
268
  # 2023-04-03, 11.8.0
258
269
 
259
- - Extended functions `fraction`, `bignumber`, and `number` with support for
270
+ - Extended functions `fraction`, `bignumber`, and `number` with support for
260
271
  units, see #2918 (#2926).
261
- - Implemented aliases `amp` and `amps` for unit `ampere` (#2917).
272
+ - Implemented aliases `amp` and `amps` for unit `ampere` (#2917).
262
273
  Thanks @veggiesaurus.
263
274
  - Improve TypeScript definitions of function `gcd` (#2922). Thanks @brunoSnoww.
264
275
  - Fix #2923: improve docs of the function `distance` (#2924). Thanks @tmtron.
265
276
 
266
-
267
277
  # 2023-03-15, 11.7.0
268
278
 
269
- - Implement #2567: accept array as parameter for function `gcd` (#2878).
279
+ - Implement #2567: accept array as parameter for function `gcd` (#2878).
270
280
  Thanks @jakubriegel.
271
- - Fix #2908: improvements in the docs and examples of functions
272
- `partitionSelect`, `diff`, `expm1`, `round`, `nthRoots`, `sign`,
281
+ - Fix #2908: improvements in the docs and examples of functions
282
+ `partitionSelect`, `diff`, `expm1`, `round`, `nthRoots`, `sign`,
273
283
  `rigthArithShift`, `setIsSubset`, `setSize`, and the docs about units.
274
284
  Thanks @tmtron.
275
285
  - Fix #2907: determinant of empty matrix should be 1.
276
- - Refactor index.d.ts by writing function declarations using a generic,
286
+ - Refactor index.d.ts by writing function declarations using a generic,
277
287
  reducing a lot of repetition (#2913). Thanks @brunoSnoww.
278
288
 
279
-
280
289
  # 2023-02-24, 11.6.0
281
290
 
282
291
  - Implement broadcasting for the following functions and their corresponding
283
- operator: `add`, `dotDivide`, `dotMultiply`, `dotPow`, `gcd`, `lcm`, `mod`,
284
- `nthRoot`, `subtract`, `bitAnd`, `bitOr`, `bitXor`, `leftShift`,
285
- `rightArithShift`, `rightLogShift`, `and`, `or`, `xor`, `compare`,
286
- `compareText`, `equal`, `larger`, `largerEq`, `smaller`, `smallerEq`,
292
+ operator: `add`, `dotDivide`, `dotMultiply`, `dotPow`, `gcd`, `lcm`, `mod`,
293
+ `nthRoot`, `subtract`, `bitAnd`, `bitOr`, `bitXor`, `leftShift`,
294
+ `rightArithShift`, `rightLogShift`, `and`, `or`, `xor`, `compare`,
295
+ `compareText`, `equal`, `larger`, `largerEq`, `smaller`, `smallerEq`,
287
296
  `unequal`, `atan2` and `to` (#2895, #2753). Thanks @dvd101x.
288
297
  - Implement support for non-power-of-2 fft (#2900, #2577). Thanks @cyavictor88.
289
- - Fix #2888: update type definitions of function `unit` to allow creating a
298
+ - Fix #2888: update type definitions of function `unit` to allow creating a
290
299
  unit from a fraction or complex number.
291
300
  - Fix #2892: an error in the examples of the embedded help of function `sort`.
292
- - Fix #2891: functions `column` and `row` sometimes returning a scalar number.
293
- - Fix #2896: define the fourth argument of function `intersect` as optional
301
+ - Fix #2891: functions `column` and `row` sometimes returning a scalar number.
302
+ - Fix #2896: define the fourth argument of function `intersect` as optional
294
303
  in the TypeScript definitions. Thanks @wodndb.
295
304
  - Fix: quantileSeq not accepting a matrix as second argument `prob` (see #2902).
296
- - Fix broken examples in functions `to`, `distance`, `getMatrixDataType`,
305
+ - Fix broken examples in functions `to`, `distance`, `getMatrixDataType`,
297
306
  `subset`, and `max` (see #2902).
298
307
 
299
-
300
308
  # 2023-01-31, 11.5.1
301
309
 
302
- - Add type definitions for function `rotationMatrix` (#2860).
310
+ - Add type definitions for function `rotationMatrix` (#2860).
303
311
  Thanks @brunoSnoww.
304
- - Add type signature for `lusolve(LUDecomposition, ...)` (#2864).
312
+ - Add type signature for `lusolve(LUDecomposition, ...)` (#2864).
305
313
  Thanks @evanmiller.
306
- - Fix #2873: the rocket_trajectory_optimization.html example being partly
314
+ - Fix #2873: the rocket_trajectory_optimization.html example being partly
307
315
  broken. Thanks @dvd101x.
308
316
  - Fix #2871: coverage report broken (#2877). Thanks @bornova.
309
317
  - Fix #2883: update documentation for stat functions, describe missing syntax.
310
318
  - Fix #2884: fix examples in the embedded docs of function `pow` and some other
311
319
  functions.
312
- - Fix type definition of function `complex` for one numeric input (#2886),
320
+ - Fix type definition of function `complex` for one numeric input (#2886),
313
321
  thanks @ariymarkowitz.
314
322
  - Fix type definitions of `map()` and `forEach()` (#2887), thanks @xiaohk.
315
- - Fix #2606: improve type definitions of `dotMultiply`, `dotPow` and
323
+ - Fix #2606: improve type definitions of `dotMultiply`, `dotPow` and
316
324
  `dotDivide` (#2890). Thanks @brunoSnoww.
317
325
 
318
-
319
326
  # 2022-12-05, 11.5.0
320
327
 
321
- - Improve `simplify` rule matches in non-commutative contexts (#2841).
328
+ - Improve `simplify` rule matches in non-commutative contexts (#2841).
322
329
  Thanks @samueltlg.
323
330
  - Simplify: add rules and restructure tests for non-commutative contexts
324
331
  (#2847). Thanks @samueltlg.
@@ -326,61 +333,54 @@ Fixes:
326
333
  - Fix TypeScript types for `multiply()` with `number[]` and `number[][]`
327
334
  (#2852). Thanks @hfhchan.
328
335
 
329
-
330
336
  # 2022-11-18, 11.4.0
331
337
 
332
338
  - Implemented more wildcards to describe rules for `simplify`, making it easier
333
339
  for example to describe unary minus (#1915). Thanks @thatcomputerguy0101.
334
- - Implemented functions `schur`, `sylvester`, and `lyap` (#2646).
340
+ - Implemented functions `schur`, `sylvester`, and `lyap` (#2646).
335
341
  Thanks @egidioln.
336
- - Implemented function `polynomialRoot`, and use it in a benchmark (#2839).
342
+ - Implemented function `polynomialRoot`, and use it in a benchmark (#2839).
337
343
  Thanks @gwhitney.
338
- - Fix #2825 partly: improve simplifying operations on constants in
344
+ - Fix #2825 partly: improve simplifying operations on constants in
339
345
  non-commutative contexts (#2827). Thanks @samueltlg.
340
- - Fix #2840: a bug in the docs and type definitions of `Node.traverse` and
346
+ - Fix #2840: a bug in the docs and type definitions of `Node.traverse` and
341
347
  `Node.forEach`, they do return `void`.
342
348
 
343
-
344
349
  # 2022-11-07, 11.3.3
345
350
 
346
- - Fix #2830: Prevent inserting zero values when creating a `SparseMatrix` from a
351
+ - Fix #2830: Prevent inserting zero values when creating a `SparseMatrix` from a
347
352
  `DenseMatrix` (#2836). Thanks @AlexandreAlvesDB.
348
353
  - Fix #2835: a regression in the type definitions of `FunctionNode`, introduced
349
354
  in `v11.3.2`. See #2733. Thanks @dsteve.
350
355
 
351
-
352
356
  # 2022-10-25, 11.3.2
353
357
 
354
- - Add generics to remaining Node type definitions (#2733). Thanks @mattvague.
355
- - Allow unit prefixes for (absolute) temperatures `kelvin`, `rankine`,
358
+ - Add generics to remaining Node type definitions (#2733). Thanks @mattvague.
359
+ - Allow unit prefixes for (absolute) temperatures `kelvin`, `rankine`,
356
360
  `celsius`, and `fahrenheit` (#2824). Thanks @jfeist
357
361
 
358
-
359
362
  # 2022-10-19, 11.3.1
360
363
 
361
364
  - Fix #2809: code completion issues in some IDE's (#2812).
362
- - Fix #2818: throw an error when a function assignment has duplicate
365
+ - Fix #2818: throw an error when a function assignment has duplicate
363
366
  parameter names (#2819).
364
367
  - Update `decimal.js` to version `10.4.2`.
365
368
 
366
-
367
369
  # 2022-10-11, 11.3.0
368
370
 
369
- - Allow creating new subclasses of `Node` in TypeScript (#2772).
371
+ - Allow creating new subclasses of `Node` in TypeScript (#2772).
370
372
  Note that this disables being able to narrow MathNodes by using the `.type`
371
373
  property. Use typeguards like `isOperatorNode(...)` instead (see #2810).
372
374
  Thanks @mattvague.
373
375
  - Fix #2793: `flatten()` cloning entries of array/Matrix (#2799).
374
- - Fix #2627: TypeScript definitions of `pinv` missing (#2804).
376
+ - Fix #2627: TypeScript definitions of `pinv` missing (#2804).
375
377
  Thanks @HanchaiN.
376
378
  - Update dependencies to `decimal.js@10.4.1`.
377
379
 
378
-
379
380
  # 2022-09-13, 11.2.1
380
381
 
381
382
  - Fix doc generator being broken, not generating a function reference.
382
383
 
383
-
384
384
  # 2022-09-12, 11.2.0
385
385
 
386
386
  - Implement function `isRelationalNode` (#2731). Thanks @isaacbyr.
@@ -391,49 +391,46 @@ Fixes:
391
391
  - Fixed documentation of unit `min` which means `minutes`, not `minim` (#2773).
392
392
  Thanks @jasonhornsby.
393
393
 
394
-
395
394
  # 2022-08-23, 11.1.0
396
395
 
397
396
  - Add Unit constructor from value and pure (valueless) Unit (#2628).
398
397
  Thanks @costerwi
399
398
  - Fix #2144: `examples/advanced/custom_loading.js` was broken.
400
- - Fix JSON `replacer` function missing in the TypeScript definitions.
399
+ - Fix JSON `replacer` function missing in the TypeScript definitions.
401
400
  Thanks @mattvague.
402
- - Update dependencies to `typed-function@4.1.0` and `decimal.js@10.4.0`.
403
-
401
+ - Update dependencies to `typed-function@4.1.0` and `decimal.js@10.4.0`.
404
402
 
405
403
  # 2022-07-25, version 11.0.1
406
404
 
407
405
  - Fix #2632: TypeScript issue of `simplifyConstant` and `simplifyCore`
408
406
  not having a return type defined.
409
407
 
410
-
411
408
  # 2022-07-23, version 11.0.0
412
409
 
413
410
  !!! BE CAREFUL: BREAKING CHANGES !!!
414
411
 
415
412
  Breaking changes:
416
413
 
417
- - Dropped official support for IE11.
418
- - Upgraded to `typed-function@3`, see [josdejong/typed-function/HISTORY.md](https://github.com/josdejong/typed-function/blob/develop/HISTORY.md#2022-05-12-version-300). Thanks @gwhitney. Most importantly:
419
- - Conversions now have preference over `any`.
420
- - The `this` variable is no longer bound to the typed function itself.
421
- - The properties `typed.types`, `typed.conversions`, and `typed.ignore`
414
+ - Dropped official support for IE11.
415
+ - Upgraded to `typed-function@3`, see [josdejong/typed-function/HISTORY.md](https://github.com/josdejong/typed-function/blob/develop/HISTORY.md#2022-05-12-version-300). Thanks @gwhitney. Most importantly:
416
+ - Conversions now have preference over `any`.
417
+ - The `this` variable is no longer bound to the typed function itself.
418
+ - The properties `typed.types`, `typed.conversions`, and `typed.ignore`
422
419
  have been removed.
423
- - There are new static functions available like `typed.referTo`,
420
+ - There are new static functions available like `typed.referTo`,
424
421
  `typed.referToSelf`, `typed.addTypes`, `typed.addConversions`.
425
422
  - Implement amended "Rule 2" for implicit multiplication (#2370, #2460):
426
- when having a division followed by an implicit multiplication, the division
427
- gets higher precedence over the implicit multiplication when (a) the
428
- numerator is a constant with optionally a prefix operator (`-`, `+`, `~`),
429
- and (b) the denominator is a constant. For example: formerly `-1 / 2 x` was
423
+ when having a division followed by an implicit multiplication, the division
424
+ gets higher precedence over the implicit multiplication when (a) the
425
+ numerator is a constant with optionally a prefix operator (`-`, `+`, `~`),
426
+ and (b) the denominator is a constant. For example: formerly `-1 / 2 x` was
430
427
  interpreted as `-1 / (2 * x)` and now it is interpreted as `(-1 / 2) * x`.
431
428
  Thanks @gwhitney.
432
429
  - Drop elementwise matrix support for trigonometric functions, exp, log, gamma,
433
- square, sqrt, cube, and cbrt to prevent confusion with standard matrix
434
- functions (#2440, #2465). Instead, use `math.map(matrix, fn)`.
430
+ square, sqrt, cube, and cbrt to prevent confusion with standard matrix
431
+ functions (#2440, #2465). Instead, use `math.map(matrix, fn)`.
435
432
  Thanks @gwhitney.
436
- - Simplify: convert equivalent function calls into operators, for example,
433
+ - Simplify: convert equivalent function calls into operators, for example,
437
434
  `add(2, x)` will now be simplified into `2 + x` (#2415, #2466).
438
435
  Thanks @gwhitney.
439
436
  - Removed the automatic conversion from `number` to `string` (#2482).
@@ -441,25 +438,25 @@ Breaking changes:
441
438
  - Fix #2412: let function `diff` return an empty matrix when the input contains
442
439
  only one element (#2422).
443
440
  - Internal refactoring in the `simplifyCore` logic (#2490, #2484, #2459).
444
- The function `simplifyCore` will no longer (partially) merge constants, that
445
- behavior has been moved to `simplifyConstant`. The combination of
446
- `simplifyConstant` and `simplifyCore` is still close to the old behavior
447
- of `simplifyCore`, but there are some differences. To reproduce the same
448
- behavior as the old `simplifyCore`, you can use
449
- `math.simplify(expr, [math.simplifyCore, math.simplifyConstant])`.
450
- Thanks to the refactoring, `simplify` is more thorough in reducing constants.
441
+ The function `simplifyCore` will no longer (partially) merge constants, that
442
+ behavior has been moved to `simplifyConstant`. The combination of
443
+ `simplifyConstant` and `simplifyCore` is still close to the old behavior
444
+ of `simplifyCore`, but there are some differences. To reproduce the same
445
+ behavior as the old `simplifyCore`, you can use
446
+ `math.simplify(expr, [math.simplifyCore, math.simplifyConstant])`.
447
+ Thanks to the refactoring, `simplify` is more thorough in reducing constants.
451
448
  Thanks @gwhitney.
452
- - Disable support for splitting rest parameters in chained calculations
449
+ - Disable support for splitting rest parameters in chained calculations
453
450
  (#2485, #2474). For example: `math.chain(3).max(4, 2).done()` will now throw
454
- an error rather than return `4`, because the rest parameter of
455
- `math.max(...number)` has been split between the contents of the chain and
451
+ an error rather than return `4`, because the rest parameter of
452
+ `math.max(...number)` has been split between the contents of the chain and
456
453
  the arguments to the max call. Thanks @gwhitney.
457
- - Function `typeOf` now returns `function` (lowercase) for a function instead
454
+ - Function `typeOf` now returns `function` (lowercase) for a function instead
458
455
  of `Function` (#2560). Thanks @gwhitney.
459
456
 
460
457
  Non-breaking changes:
461
458
 
462
- - Fix #2600: improve the TypeScript definitions of `simplify`.
459
+ - Fix #2600: improve the TypeScript definitions of `simplify`.
463
460
  Thanks @laureen-m and @mattvague.
464
461
  - Fix #2607: improve type definition of `createUnit`. Thanks @egziko.
465
462
  - Fix #2608: clarify the docs on the need to configure a smaller `epsilon`
@@ -469,70 +466,62 @@ Non-breaking changes:
469
466
  - Fix #2621: add TypeScript definitions for `count` (#2622). Thanks @Hansuku.
470
467
  - Improved TypeScript definitions of `multiply` (#2623). Thanks @Windrill.
471
468
 
472
-
473
469
  # 2022-06-28, version 10.6.4
474
470
 
475
471
  - Improve TypeScript definitions of the `factory` function, thanks @mattvague.
476
472
 
477
-
478
473
  # 2022-06-24, version 10.6.3
479
474
 
480
- - Revert the TypeScript definition fixes for `factory` applied in `v10.6.2`,
475
+ - Revert the TypeScript definition fixes for `factory` applied in `v10.6.2`,
481
476
  they give some complications.
482
477
 
483
-
484
478
  # 2022-06-24, version 10.6.2
485
479
 
486
480
  - Improve TypeScript definitions of `ParenthesisNode`. Thanks @mattvague.
487
- - Change the TypeScript definition of `MathNodeCommon['type']` into a less
488
- strict string, so it is possible to extend with new Node classes.
481
+ - Change the TypeScript definition of `MathNodeCommon['type']` into a less
482
+ strict string, so it is possible to extend with new Node classes.
489
483
  Thanks @mattvague.
490
484
  - Improve TypeScript definitions of the `factory` function, thanks @mattvague.
491
485
 
492
-
493
486
  # 2022-05-31, version 10.6.1
494
487
 
495
- - Improve the TypeScript types For `OperatorNode`: you can now define generic
488
+ - Improve the TypeScript types For `OperatorNode`: you can now define generic
496
489
  types like `OperatorNode<'+', 'add'>`. Thanks @mattvague.
497
490
 
498
-
499
491
  # 2022-05-24, version 10.6.0
500
492
 
501
493
  - Implementation of fourier transform functions `fft` and `ifft` (#2540).
502
494
  Thanks @HanchaiN.
503
495
  - Fix TypeScript types not being listed in the exported fields (#2569).
504
- Thanks @mattvague.
496
+ Thanks @mattvague.
505
497
  - Large improvements in TypeScript definitions for chained expressions (#2537).
506
498
  Thanks @mattvague.
507
- - Fix #2571: improve TypeScript definition of functions `clone` and `cloneDeep`
499
+ - Fix #2571: improve TypeScript definition of functions `clone` and `cloneDeep`
508
500
  (#2572). Thanks @mattvague.
509
501
  - Fix the first argument of `derivative` holding the expression not correctly
510
502
  being converted when using `.toTex()` (#2564). Thanks @mattvague.
511
503
 
512
-
513
504
  # 2022-05-11, version 10.5.3
514
505
 
515
- - Fix #2337: npm package containing examples and docs to solve security
506
+ - Fix #2337: npm package containing examples and docs to solve security
516
507
  vulnerabilities being reported on the examples and their dependencies.
517
508
  - Fix core, construction, and some other functions missing in docs.
518
509
  - Drop official support for Node.js 12 which has reached its end of life.
519
510
 
520
-
521
511
  # 2022-05-09, version 10.5.2
522
512
 
523
- - Fix #2553: `@types/mocha` defined in `dependencies` instead of
513
+ - Fix #2553: `@types/mocha` defined in `dependencies` instead of
524
514
  `devDependencies`, causing problems in projects that use a different version
525
515
  of this dependency. Thanks @Kolahzary.
526
516
  - Fix #2550: remove `examples/node_modules` folder from the npm package.
527
517
  - Fix #2528: improve contribution guidelines (#2548).
528
- - Document `SymbolNode.onUndefinedSymbol` and
518
+ - Document `SymbolNode.onUndefinedSymbol` and
529
519
  `FunctionNode.onUndefinedFunction`.
530
520
 
531
-
532
521
  # 2022-05-02, version 10.5.1
533
522
 
534
523
  - Fix #2526, #2529: improve TypeScript definitions of function `round`, `fix`,
535
- `floor`, `ceil`, and `nthRoot`, and improved the number only implementations
524
+ `floor`, `ceil`, and `nthRoot`, and improved the number only implementations
536
525
  of those functions (#2531, #2539). Thanks @simlaticak and @gwhitney.
537
526
  - Fix #2532: matrix index symbol `end` not working when used inside
538
527
  a sub-expression.
@@ -540,12 +529,11 @@ Non-breaking changes:
540
529
  (e.g., to avoid spurious duplicates in list). (#2543)
541
530
  - Add type definitions of function `resolve` (#2536). Thanks @mattvague.
542
531
 
543
-
544
532
  # 2022-04-19, version 10.5.0
545
533
 
546
- - Implement #1563: function `pinv`, Moore–Penrose inverse (#2521).
534
+ - Implement #1563: function `pinv`, Moore–Penrose inverse (#2521).
547
535
  Thanks @HanchaiN.
548
- - Optimize function `det` for integers by switching to the Bareiss algorithm:
536
+ - Optimize function `det` for integers by switching to the Bareiss algorithm:
549
537
  no more round-off errors for integer input (#2516). Thanks @HanchaiN.
550
538
  - Implement #2463: allow negative integer powers of invertible square matrices
551
539
  (#2517). Thanks @HanchaiN.
@@ -556,7 +544,6 @@ Non-breaking changes:
556
544
  - Fix #2526: update TypeScript definition of `ceil` (#2531). Thanks @simlaticak
557
545
  - Change mocha reporter to 'dot' to avoid excessively long log files. (#2520)
558
546
 
559
-
560
547
  # 2022-04-08, version 10.4.3
561
548
 
562
549
  - Fix #2508: improve the precision of stirlingS2 (#2509). Thanks @gwhitney.
@@ -564,14 +551,13 @@ Non-breaking changes:
564
551
  of function `log` (#2515). Thanks @gwhitney.
565
552
  - Improve the documentation on operator `;` (#2512). Thanks @gwhitney.
566
553
 
567
-
568
554
  # 2022-03-29, version 10.4.2
569
555
 
570
556
  - Fix #2499: different behavior for unit conversion "degC" and "K" (#2501).
571
- Also disables getting the sign for units with an offset, which is ambiguous.
557
+ Also disables getting the sign for units with an offset, which is ambiguous.
572
558
  Thanks @gwhitney.
573
559
  - Fix #2503: fix an issue in `log()` for complex numbers in which the imaginary
574
- part is much larger in absolute value than the real part, fixed in
560
+ part is much larger in absolute value than the real part, fixed in
575
561
  `complex.js@2.1.0` (#2505), thanks @gwhitney, @infusion.
576
562
  - Fix #2493: unclear error message when an entity that is not a function
577
563
  is being called as a function (#2494). Thanks @gwhitney.
@@ -581,10 +567,9 @@ Non-breaking changes:
581
567
  comparison tolerance. It was already being called this way, but was
582
568
  silently ignoring the tolerance. Thanks @yifanwww.
583
569
 
584
-
585
570
  # 2022-03-23, version 10.4.1
586
571
 
587
- - Improve TypeScript definitions for function `unit` (#2479).
572
+ - Improve TypeScript definitions for function `unit` (#2479).
588
573
  Thanks @SinanAkkoyun.
589
574
  - Add tests for type declarations (#2448). Thanks @samestep.
590
575
  - Further improvement to TypeScript definitions of `std` and `variance`
@@ -598,7 +583,6 @@ Non-breaking changes:
598
583
  numbers (#2496). Thanks @gwhitney.
599
584
  - Update project dependencies and devDependencies.
600
585
 
601
-
602
586
  # 2022-03-07, version 10.4.0
603
587
 
604
588
  - Fix #2461: make sure `simplifyCore` recurses over all binary nodes (#2462).
@@ -607,11 +591,10 @@ Non-breaking changes:
607
591
  (#2455). Thanks @NattapongSiri.
608
592
  - Fix #1633: implement a `cumsum` function generating cumulative sums of a list
609
593
  of values or a matrix. (#1870). Thanks @hjonasson.
610
- - Upgrade to the latest version of `Fraction.js`, having more strict input,
594
+ - Upgrade to the latest version of `Fraction.js`, having more strict input,
611
595
  only accepting an integer numerator and denominator. See #2427.
612
596
  - Fix typo in documentation example for `format`. (#2468) Thanks @abranhe.
613
- - Write unit tests for all jsdoc examples. See #2452. Thanks @gwhitney.
614
-
597
+ - Write unit tests for all jsdoc examples. See #2452. Thanks @gwhitney.
615
598
 
616
599
  # 2021-03-02, version 10.3.0
617
600
 
@@ -619,38 +602,35 @@ Non-breaking changes:
619
602
  - Fix #2441, #2442: support passing a function as argument to functions created
620
603
  in the expression parser (#2443). Thanks @gwhitney.
621
604
  - Fix #2325: improve documentation of subset indices (#2446). Thanks @gwhitney.
622
- - Fix #2439: fix a bug in `complexEigs` in which real-valued norms were
605
+ - Fix #2439: fix a bug in `complexEigs` in which real-valued norms were
623
606
  inadvertently being typed as complex numbers (#2445). Thanks @gwhitney.
624
607
  - Fix #2436: improve documentation and error message of function `map` (#2457).
625
608
  Thanks @gwhitney.
626
609
 
627
-
628
610
  # 2022-03-01, version 10.2.0
629
611
 
630
- - Implemented context options to control simplifications allowed in `simplify`,
612
+ - Implemented context options to control simplifications allowed in `simplify`,
631
613
  see #2399, #2391. Thanks @gwhitney.
632
- - Implemented function `leafCount` as a first simple measure of the complexity
614
+ - Implemented function `leafCount` as a first simple measure of the complexity
633
615
  of an expression, see #2411, #2389. Thanks @gwhitney.
634
616
  - Fix #2413: improve `combinations` to return an integer result without rounding
635
617
  errors for larger values, see #2414. Thanks @gwhitney.
636
- - Fix #2385: function `rotate` missing in TypeScript definitions.
618
+ - Fix #2385: function `rotate` missing in TypeScript definitions.
637
619
  Thanks @DIVYA-19.
638
620
  - Fix #2450: Add BigNumber to parameter type in `math.unit` and add TypeScript
639
621
  types for `Unit.simplify` and `Unit.units` (#2353). Thanks @joshhansen.
640
622
  - Fix #2383: detect infinite loops in `simplify` (#2405). Thanks @gwhitney.
641
- - Fix #1423: collect like factors and cancel like terms in sums (#2388).
623
+ - Fix #1423: collect like factors and cancel like terms in sums (#2388).
642
624
  Thanks @gwhitney.
643
625
 
644
-
645
626
  # 2022-02-02, version 10.1.1
646
627
 
647
628
  - Improvements and fixes in function `simplify`, thanks @gwhitney:
648
629
  - Fix #2393: regression bug in `simplify('2-(x+1)')`.
649
630
  - Ad option `consoleDebug` to `simplify` to see what is going on.
650
- - Fix TypeScript definition of `ConfigOptions`, which was missing option
631
+ - Fix TypeScript definition of `ConfigOptions`, which was missing option
651
632
  `predictable`.
652
633
 
653
-
654
634
  # 2022-01-15, version 10.1.0
655
635
 
656
636
  - Implemented function `invmod`, see #2368, #1744. Thanks @thetazero.
@@ -661,29 +641,26 @@ Non-breaking changes:
661
641
  - Fix #2379: add embedded documentation for function `print`.
662
642
  - Remove broken example from the embedded documentation of function `forEach`.
663
643
 
664
-
665
644
  # 2021-12-29, version 10.0.2
666
645
 
667
646
  - Fix #2156: simplify expressions like `-1 / (-x)` to `1/x`. Thanks @ony3000.
668
647
  - Fix #2363: remove a redundant part of the regex to split a number.
669
- - Fix #2291: add support for fractions in function `intersect`.
648
+ - Fix #2291: add support for fractions in function `intersect`.
670
649
  Thanks @thetazero.
671
650
  - Fix #2358: bug in `SparseMatrix` when replacing a subset of a matrix with
672
651
  a non-consecutive index. Thanks @Al-0.
673
652
 
674
-
675
653
  # 2021-12-22, version 10.0.1
676
654
 
677
655
  - Fix #1681: function `gamma` giving inaccurate complex results in some cases.
678
656
  Thanks @kmdrGroch.
679
657
  - Fixed a typo in an example, see #2366. Thanks @blackwindforce.
680
658
 
681
-
682
659
  # 2021-11-03, version 10.0.0
683
660
 
684
661
  !!! BE CAREFUL: BREAKING CHANGES IN THE TYPESCRIPT DEFINITIONS !!!
685
662
 
686
- - Improvements to the Typescript typings (commit fc5c202e).
663
+ - Improvements to the Typescript typings (commit fc5c202e).
687
664
  Thanks @joshhansen. First introduced in v9.5.1, but reverted because
688
665
  it contains breaking changes.
689
666
 
@@ -692,51 +669,45 @@ Non-breaking changes:
692
669
 
693
670
  - Fixed a typo in the TypeScript definition of toHTML. Thanks @TheToto.
694
671
 
695
-
696
672
  # 2021-11-03, version 9.5.2`
697
673
 
698
674
  - Revert the improvements to the Typescript typings because they contain
699
675
  breaking changes. The improvements will be published in v10.0.0. See #2339.
700
676
 
701
-
702
677
  # 2021-10-13, version 9.5.1
703
678
 
704
- - Various improvements to the Typescript typings.
679
+ - Various improvements to the Typescript typings.
705
680
  Thanks @joshhansen and @DianaTdr.
706
681
 
707
-
708
682
  # 2021-09-22, version 9.5.0
709
683
 
710
- - Implemented support for calculations with percentage, see #2303.
684
+ - Implemented support for calculations with percentage, see #2303.
711
685
  Thanks @rvramesh.
712
- - Fix #2319: make the API of `Parser.evaluate` consistent with `math.evaluate`:
686
+ - Fix #2319: make the API of `Parser.evaluate` consistent with `math.evaluate`:
713
687
  support a list with expressions as input.
714
688
  - Improved documentation of function `setCartesian`. Thanks @fieldfoxWim.
715
689
 
716
-
717
690
  # 2021-09-15, version 9.4.5
718
691
 
719
- - Improved the performance of `Node.equals` by improving the internal
692
+ - Improved the performance of `Node.equals` by improving the internal
720
693
  function `deepStrictEqual`. Thanks @tomlarkworthy.
721
694
  - Fixes in the TypeScript definitions:
722
- - Define `hasNumericValue`. Thanks @write2kcl.
695
+ - Define `hasNumericValue`. Thanks @write2kcl.
723
696
  - Define `MathNode.isRelationalNode`. Thanks @m93a.
724
697
  - Fix typo in `MathNode.isConditionalNode`. Thanks @m93a.
725
698
 
726
-
727
699
  # 2021-07-07, version 9.4.4
728
700
 
729
- - Fixed `ArrayNode.toTex()`: remove the row delimiter on the last row,
701
+ - Fixed `ArrayNode.toTex()`: remove the row delimiter on the last row,
730
702
  see #2267. Thanks @davidtranhq.
731
703
  - Fix #2269: `intersect` not returning `null` for matrix input. Thanks @m93a.
732
704
  - Fix #2245: mathjs not working in IE11 anymore due to a missing polyfill for
733
- `Symbol`. The browser bundle now includes the necessary polyfills (it is
705
+ `Symbol`. The browser bundle now includes the necessary polyfills (it is
734
706
  larger now because of that, see also #2266). Thanks @m93a.
735
707
  - Update dependencies (`complex.js@2.0.15`, `decimal.js@10.3.1`)
736
- - Drop official support for node.js 10, which has reached end of life.
708
+ - Drop official support for node.js 10, which has reached end of life.
737
709
  See #2258.
738
710
 
739
-
740
711
  # 2021-06-23, version 9.4.3
741
712
 
742
713
  - Fix #2222: mathjs polluting the `Decimal` prototype. Thanks @m93a.
@@ -744,17 +715,15 @@ Non-breaking changes:
744
715
  properties named `e`.
745
716
  - Fixes in the TypeScript definitions:
746
717
  - function `floor`, #2159, #2246. Thanks @write2kcl.
747
- - function `simplify`, see #2252. Thanks @nitroin.
718
+ - function `simplify`, see #2252. Thanks @nitroin.
748
719
  - Upgraded to `decimal.js@10.3.0`
749
720
 
750
-
751
721
  # 2021-06-05, version 9.4.2
752
722
 
753
- - Implemented iterative eigenvalue finder for `eigs`, making it much more
723
+ - Implemented iterative eigenvalue finder for `eigs`, making it much more
754
724
  robust. See #2179, #2237. Thanks @m93a.
755
725
  - Improved TypeScript definitions of function `parse`. Thanks @OpportunityLiu.
756
726
 
757
-
758
727
  # 2021-05-24, version 9.4.1
759
728
 
760
729
  - Fix #2100: add TypeScript declaration for `eigs`. Thanks @andrebianchessi.
@@ -762,71 +731,64 @@ Non-breaking changes:
762
731
  - Update readme regarding TypeScript definition files. Thanks @dhritzkiv.
763
732
  - Update to `fraction.js@4.1.1`
764
733
 
765
-
766
734
  # 2021-05-16, version 9.4.0
767
735
 
768
- - Implemented support to use objects with a `Map` interface as scope,
736
+ - Implemented support to use objects with a `Map` interface as scope,
769
737
  see #2143, #2166. Thanks @jhugman.
770
738
  - Extend `eigs` to support general complex matrices, see #1741. Thanks @m93a.
771
739
  - DenseMatrix and SparseMatrix are now iterable, see #1184. Thanks @m93a.
772
- - Implemented utility functions `matrixFromRows`, `matrixFromColumns`, and
740
+ - Implemented utility functions `matrixFromRows`, `matrixFromColumns`, and
773
741
  `matrixFromFunction`, see #2155, #2153. Thanks @m93a.
774
742
  - Added TypeScript definitions to the project, making it redundant to install
775
- `@types/mathjs`, and making it easier to improve the definitions. See #2187,
743
+ `@types/mathjs`, and making it easier to improve the definitions. See #2187,
776
744
  #2192. Thanks @CatsMiaow.
777
745
  - Upgraded dependencies
778
746
  - `complex.js@2.0.13` (fixing #2211). Thanks @infusion
779
747
  - `fraction.js@4.1.0` (`pow` now supporting rational exponents).
780
748
  - Fix #2174: function `pickRandom` having no name. Thanks @HK-SHAO.
781
749
  - Fix #2019: VSCode auto import keeps adding import { null } from 'mathjs'.
782
- - Fix #2185: Fix TypeScript definition of unit division, which can also return
750
+ - Fix #2185: Fix TypeScript definition of unit division, which can also return
783
751
  a number.
784
752
  - Fix #2123: add type definitions for functions `row` and `column`.
785
753
  - Fix some files not exposed in the package, see #2213. Thanks @javiermarinros.
786
754
 
787
-
788
755
  # 2021-04-12, version 9.3.2
789
756
 
790
- - Fix #2169: mathjs requesting `@babel/runtime` dependency.
757
+ - Fix #2169: mathjs requesting `@babel/runtime` dependency.
791
758
  Regression introduced in `v9.3.1`.
792
759
 
793
-
794
760
  # 2021-04-10, version 9.3.1
795
761
 
796
- - Fix #2133: strongly improved the performance of `isPrime`, see #2139.
762
+ - Fix #2133: strongly improved the performance of `isPrime`, see #2139.
797
763
  Thanks @Yaffle.
798
764
  - Fix #2150: give a clear error "Error: Undefined function ..." instead when
799
765
  evaluating a non-existing function.
800
- - Fix #660: expose internal functions `FunctionNode.onUndefinedFunction(name)`
766
+ - Fix #660: expose internal functions `FunctionNode.onUndefinedFunction(name)`
801
767
  and `SymbolNode.onUndefinedSymbol(name)`, allowing to override the behavior.
802
768
  By default, an Error is thrown.
803
769
 
804
-
805
770
  # 2021-03-10, version 9.3.0
806
771
 
807
772
  - Implemented support for parsing non decimal numbers with radix point,
808
773
  see #2122, #2121. Thanks @clnhlzmn.
809
774
  - Fix #2128: typo in docs of `luSolveAll` and `usolveAll`.
810
775
 
811
-
812
776
  # 2021-02-03, version 9.2.0
813
777
 
814
- - Implemented function `count` to count the total elements in a matrix,
778
+ - Implemented function `count` to count the total elements in a matrix,
815
779
  see #2085. Thanks @Josef37.
816
780
  - Fix #2096: cleanup old reference to external dependency `crypto`.
817
- - Some refactoring in the code to remove duplications, see #2093.
781
+ - Some refactoring in the code to remove duplications, see #2093.
818
782
  Thanks @Josef37.
819
783
 
820
-
821
784
  # 2021-01-27, version 9.1.0
822
785
 
823
786
  - Extended function `reshape` with support for a wildcard `-1` to automatically
824
- calculate the remaining size, like `reshape([1, 2, 3, 4, 5, 6], [-1, 2])`
787
+ calculate the remaining size, like `reshape([1, 2, 3, 4, 5, 6], [-1, 2])`
825
788
  which will output `[[0, 1], [2, 3], [4, 5]]`. See #2075. Thanks @Josef37.
826
789
  - Fix #2087: function `simplify` ignores second argument of `log`, for example
827
790
  in `simplify('log(e, 9)')` . Thanks @quentintruong.
828
791
 
829
-
830
792
  # 2021-01-16, version 9.0.0
831
793
 
832
794
  - Improved support for bin, hex, and oct literals. See #1996. Thanks @clnhlzmn.
@@ -835,188 +797,169 @@ Non-breaking changes:
835
797
  suffix specifying the word size such as `i16` or `i32`.
836
798
  - Function `format` now supports more notations: `bin`, 'hex', and `oct`,
837
799
  for example `format(255, {notation: "hex"})`.
838
- - The functions `format`, `bin`, `hex`, `oct` now allow specifying a wordSize,
800
+ - The functions `format`, `bin`, `hex`, `oct` now allow specifying a wordSize,
839
801
  like `bin(10, 32)` and `format(10, {notation: "bin", wordSize: 32})`.
840
- - BigNumber support for the bin, hex, and oct literals.
802
+ - BigNumber support for the bin, hex, and oct literals.
841
803
  - Extended and improved the example rocket_trajectory_optimization.html.
842
804
  Thanks @Josef37.
843
805
 
844
-
845
806
  # 2020-12-30, version 8.1.1
846
807
 
847
- - Improved the performance of parsing and evaluating units a lot, see #2065.
808
+ - Improved the performance of parsing and evaluating units a lot, see #2065.
848
809
  Thanks @flaviut.
849
- - Upgraded dependency `fraction.js` to `v4.0.13`.
850
- - Moved continuous integration testing from Travis CI to Github Workflow,
810
+ - Upgraded dependency `fraction.js` to `v4.0.13`.
811
+ - Moved continuous integration testing from Travis CI to Github Workflow,
851
812
  see #2024, #2041. Thanks @harrysarson.
852
813
 
853
-
854
814
  # 2020-12-04, version 8.1.0
855
815
 
856
816
  - Implemented units `kilogramforce` (`kgf`). Thanks @rnd-debug.
857
- - Fix #2026: Implement a new option `fractionsLimit` for function `simplify`,
817
+ - Fix #2026: Implement a new option `fractionsLimit` for function `simplify`,
858
818
  defaulting to `Infinity`.
859
819
  - Improved the documentation of function `clone`. Thanks @redbar0n.
860
820
 
861
-
862
821
  # 2020-11-09, version 8.0.1
863
822
 
864
823
  - Fix #1979: missing "subset" dependency when using "mathjs/number" entry point.
865
- - Fix #2022: update pretty printing with MathJax example to the latest version
824
+ - Fix #2022: update pretty printing with MathJax example to the latest version
866
825
  of MathJax. Thanks @pkra.
867
826
 
868
-
869
827
  # 2020-11-06, version 8.0.0
870
828
 
871
829
  !!! BE CAREFUL: BREAKING CHANGES !!!
872
830
 
873
- - You can now use mathjs directly in node.js using ES modules without need for
874
- a transpiler (see #1928, #1941, #1962).
831
+ - You can now use mathjs directly in node.js using ES modules without need for
832
+ a transpiler (see #1928, #1941, #1962).
875
833
  Automatically loading either commonjs code or ES modules code is improved.
876
- All generated code is moved under `/lib`: the browser bundle is moved from
877
- `/dist` to `/lib/browser`, ES module files are moved to `/lib/esm`,
834
+ All generated code is moved under `/lib`: the browser bundle is moved from
835
+ `/dist` to `/lib/browser`, ES module files are moved to `/lib/esm`,
878
836
  and commonjs files are moved to `/lib/cjs`. Thanks @GreenImp.
879
837
  - Non-minified bundle `dist/math.js` is no longer provided. Either use the
880
838
  minified bundle, or create a bundle yourself.
881
- - Replaced random library `seed-random` with `seedrandom`, see #1955.
839
+ - Replaced random library `seed-random` with `seedrandom`, see #1955.
882
840
  Thanks @poppinlp.
883
841
  - Breaking changes in `pickRandom`, see #1990, #1976.
884
- - Will no longer return the input matrix when the given number is greater
842
+ - Will no longer return the input matrix when the given number is greater
885
843
  than the length of the provided possibles. Instead, the function always
886
844
  returns results with the requested number of picks.
887
845
  - Will now return a `Matrix` as output when input was a `Matrix`.
888
846
  - Introduced a new syntax:
889
-
847
+
890
848
  ```
891
849
  math.pickRandom(array, { weights, number, elementWise })
892
850
  ```
893
- - Introduced a new option `elementWise`, which is `true` by default.
851
+
852
+ - Introduced a new option `elementWise`, which is `true` by default.
894
853
  When setting `elementWise` to false, an array containing arrays will return
895
854
  random pick of arrays instead of the elements inside of the nested arrays.
896
855
 
897
-
898
856
  # 2020-11-02, version 7.6.0
899
857
 
900
- - Implemented function `rotate(w, theta)`. See #1992, #1160. Thanks @rnd-debug.
901
- - Implemented support for custom characters in Units via `Unit.isValidAlpha`.
858
+ - Implemented function `rotate(w, theta)`. See #1992, #1160. Thanks @rnd-debug.
859
+ - Implemented support for custom characters in Units via `Unit.isValidAlpha`.
902
860
  See #1663, #2000. Thanks @rnd-debug.
903
861
 
904
-
905
862
  # 2020-10-10, version 7.5.1
906
863
 
907
864
  - Fix object pollution vulnerability in `math.config`. Thanks Snyk.
908
865
 
909
-
910
866
  # 2020-10-07, version 7.5.0
911
867
 
912
- - Function `pickRandom` now allows randomly picking elements from matrices
868
+ - Function `pickRandom` now allows randomly picking elements from matrices
913
869
  with 2 or more dimensions instead of only from a vector, see #1974.
914
870
  Thanks @KonradLinkowski.
915
871
 
916
-
917
872
  # 2020-10-07, version 7.4.0
918
873
 
919
- - Implemented support for passing a precision in functions `ceil`, `floor`,
874
+ - Implemented support for passing a precision in functions `ceil`, `floor`,
920
875
  and `fix`, similar to `round`, see #1967, #1901. Thanks @rnd-debug.
921
876
  - Implemented function `rotationMatrix`, see #1160, #1984. Thanks @rnd-debug.
922
- - Implement a clear error message when using `sqrtm` with a matrix having
877
+ - Implement a clear error message when using `sqrtm` with a matrix having
923
878
  more than two dimensions. Thanks @KonradLinkowski.
924
879
  - Update dependency `decimal.js` to `10.2.1`.
925
880
 
926
-
927
881
  # 2020-09-26, version 7.3.0
928
882
 
929
883
  - Implemented functions `usolveAll` and `lsolveAll`, see #1916. Thanks @m93a.
930
- - Implemented support for units in functions `std` and `variance`, see #1950.
884
+ - Implemented support for units in functions `std` and `variance`, see #1950.
931
885
  Thanks @rnd-debug.
932
- - Implemented support for binary, octal, and hexadecimal notation in the
933
- expression parser, and implemented functions `bin`, `oct`, and `hex` for
886
+ - Implemented support for binary, octal, and hexadecimal notation in the
887
+ expression parser, and implemented functions `bin`, `oct`, and `hex` for
934
888
  formatting. Thanks @clnhlzmn.
935
- - Fix #1964: inconsistent calculation of negative dividend modulo for
889
+ - Fix #1964: inconsistent calculation of negative dividend modulo for
936
890
  `BigNumber` and `Fraction`. Thanks @ovk.
937
891
 
938
-
939
892
  # 2020-08-24, version 7.2.0
940
893
 
941
- - Implemented new function `diff`, see #1634, #1920. Thanks @Veeloxfire.
942
- - Implemented support for norm 2 for matrices in function `norm`.
943
- Thanks @rnd-debug.
944
-
894
+ - Implemented new function `diff`, see #1634, #1920. Thanks @Veeloxfire.
895
+ - Implemented support for norm 2 for matrices in function `norm`.
896
+ Thanks @rnd-debug.
945
897
 
946
898
  # 2020-07-13, version 7.1.0
947
899
 
948
- - Implement support for recursion (self-referencing) of typed-functions,
949
- new in `typed-function@2.0.0`. This fixes #1885: functions which where
900
+ - Implement support for recursion (self-referencing) of typed-functions,
901
+ new in `typed-function@2.0.0`. This fixes #1885: functions which where
950
902
  extended with a new data type did not always work. Thanks @nickewing.
951
- - Fix #1899: documentation on expression trees still using old namespace
903
+ - Fix #1899: documentation on expression trees still using old namespace
952
904
  `math.expression.node.*` instead of `math.*`.
953
905
 
954
-
955
906
  # 2020-06-24, version 7.0.2
956
907
 
957
- - Fix #1882: have `DenseMatrix.resize` and `SparseMatrix.resize` accept
908
+ - Fix #1882: have `DenseMatrix.resize` and `SparseMatrix.resize` accept
958
909
  `DenseMatrix` and `SparseMatrix` as inputs too, not only `Array`.
959
910
  - Fix functions `sum`, `prod`, `min`, and `max` not throwing a conversion error
960
911
  when passing a single string, like `sum("abc")`.
961
912
 
962
-
963
913
  # 2020-05-30, version 7.0.1
964
914
 
965
915
  - Fix #1844: clarify the documentation of function `eigs`. Thanks @Lazersmoke.
966
916
  - Fix #1855: Fix error in the documentation for `math.nthRoots(x)`.
967
917
  - Fix #1856: make the library robust against Object prototype pollution.
968
918
 
969
-
970
919
  # 2020-05-07, version 7.0.0
971
920
 
972
921
  Breaking changes:
973
922
 
974
- - Improvements in calculation of the `dot` product of complex values.
923
+ - Improvements in calculation of the `dot` product of complex values.
975
924
  The first argument is now conjugated. See #1761. Thanks @m93a.
976
925
  - Dropped official support for Node.js v8 which has reached end of life.
977
- - Removed all deprecation warnings introduced in v6.
926
+ - Removed all deprecation warnings introduced in v6.
978
927
  To upgrade smoothly from v5 to v7 or higher, upgrade to v6 first
979
928
  and resolve all deprecation warnings.
980
929
 
981
-
982
930
  # 2020-05-04, version 6.6.5
983
931
 
984
- - Fix #1834: value `Infinity` cannot be serialized and deserialized.
985
- This is solved now with a new `math.replacer` function used as
932
+ - Fix #1834: value `Infinity` cannot be serialized and deserialized.
933
+ This is solved now with a new `math.replacer` function used as
986
934
  `JSON.stringify(value, math.replacer)`.
987
935
  - Fix #1842: value `Infinity` not turned into the latex symbol `\\infty`.
988
936
 
989
-
990
937
  # 2020-04-15, version 6.6.4
991
938
 
992
939
  - Fix published files containing Windows line endings (CRLF instead of LF).
993
940
 
994
-
995
941
  # 2020-04-10, version 6.6.3
996
942
 
997
943
  - Fix #1813: bug in engineering notation for numbers of function `format`,
998
944
  sometimes resulting in needless trailing zeros.
999
- - Fix #1808: methods `.toNumber()` and `.toNumeric()` not working on a
945
+ - Fix #1808: methods `.toNumber()` and `.toNumeric()` not working on a
1000
946
  unitless unit.
1001
947
  - Fix #1645: not being able to use named operators `mod`, `and`, `not`, `or`,
1002
948
  `xor`, `to`, `in` as object keys. Thanks @Veeloxfire.
1003
949
  - Fix `eigs` not using `config.epsilon`.
1004
950
 
1005
-
1006
951
  # 2020-03-29, version 6.6.2
1007
952
 
1008
- - Fix #1789: Function `eigs` not calculating with BigNumber precision
953
+ - Fix #1789: Function `eigs` not calculating with BigNumber precision
1009
954
  when input contains BigNumbers.
1010
955
  - Run the build script during npm `prepare`, so you can use the library
1011
956
  directly when installing directly from git. See #1751. Thanks @cinderblock.
1012
957
 
1013
-
1014
958
  # 2020-02-26, version 6.6.1
1015
959
 
1016
960
  - Fix #1725: simplify `a/(b/c)`. Thanks @dbramwell.
1017
961
  - Fix examples in documentation of `row` and `column`.
1018
962
 
1019
-
1020
963
  # 2020-02-01, version 6.6.0
1021
964
 
1022
965
  - Implemented function `eigs`, see #1705, #542 #1175. Thanks @arkajitmandal.
@@ -1027,32 +970,27 @@ Breaking changes:
1027
970
  - Add a caret to dependencies (like) `^1.2.3`) to allow downstream updates
1028
971
  without having to await a new release of mathjs.
1029
972
 
1030
-
1031
973
  # 2020-01-08, version 6.5.0
1032
974
 
1033
975
  - Implemented `baseName` option for `createUnit`, see #1707.
1034
976
  Thanks @ericman314.
1035
977
 
1036
-
1037
978
  # 2020-01-06, version 6.4.0
1038
979
 
1039
980
  - Extended function `dimension` with support for n-dimensional points.
1040
981
  Thanks @Veeloxfire.
1041
982
 
1042
-
1043
983
  # 2019-12-31, version 6.3.0
1044
984
 
1045
985
  - Improved performance of `factorial` for `BigNumber` up to a factor two,
1046
986
  see #1687. Thanks @kmdrGroch.
1047
987
 
1048
-
1049
988
  # 2019-11-20, version 6.2.5
1050
989
 
1051
990
  - Fixed `IndexNode` using a hardcoded, one-based implementation of `index`,
1052
991
  making it impossible to instantiate a zero-based version of the expression
1053
992
  parser. See #782.
1054
993
 
1055
-
1056
994
  # 2019-11-20, version 6.2.4
1057
995
 
1058
996
  - Fixed #1669: function 'qr' threw an error if the pivot was zero,
@@ -1061,7 +999,6 @@ Breaking changes:
1061
999
  - Work around a bug in complex.js where `sign(0)` returns complex NaN.
1062
1000
  Thanks @harrysarson.
1063
1001
 
1064
-
1065
1002
  # 2019-10-06, version 6.2.3
1066
1003
 
1067
1004
  - Fixed #1640: function `mean` not working for units. Thanks @clintonc.
@@ -1069,7 +1006,6 @@ Breaking changes:
1069
1006
  embedded docs of function `std`.
1070
1007
  - Improved performance of `isPrime`, see #1641. Thanks @arguiot.
1071
1008
 
1072
-
1073
1009
  # 2019-09-23, version 6.2.2
1074
1010
 
1075
1011
  - Fixed methods `map` and `clone` not copying the `dotNotation` property of
@@ -1078,12 +1014,10 @@ Breaking changes:
1078
1014
  - Fixed #1615: error in the docs of `isNumeric`.
1079
1015
  - Fixed #1628: Cannot call methods on empty strings or numbers with value `0`.
1080
1016
 
1081
-
1082
1017
  # 2019-08-31, version 6.2.1
1083
1018
 
1084
1019
  - Fixed #1606: function `format` not working for expressions.
1085
1020
 
1086
-
1087
1021
  # 2019-08-28, version 6.2.0
1088
1022
 
1089
1023
  - Improved performance of `combinationsWithRep`. Thanks @waseemyusuf.
@@ -1091,18 +1025,15 @@ Breaking changes:
1091
1025
  - Fix docs referring to `bit` and `byte` instead of `bits` and `bytes`.
1092
1026
  - Updated dependency `typed-function@1.1.1`.
1093
1027
 
1094
-
1095
1028
  # 2019-08-17, version 6.1.0
1096
1029
 
1097
1030
  - Implemented function `combinationsWithRep` (see #1329). Thanks @waseemyusuf.
1098
1031
 
1099
-
1100
1032
  # 2019-08-05, version 6.0.4
1101
1033
 
1102
1034
  - Fixed #1554, #1565: ES Modules where not transpiled to ES5, giving issues on
1103
1035
  old browsers. Thanks @mockdeep for helping to find a solution.
1104
1036
 
1105
-
1106
1037
  # 2019-07-07, version 6.0.3
1107
1038
 
1108
1039
  - Add `unpkg` and `jsdelivr` fields in package.json pointing to UMD build.
@@ -1110,26 +1041,23 @@ Breaking changes:
1110
1041
  - Fix #1550: nested user defined function not receiving variables of an
1111
1042
  outer user defined function.
1112
1043
 
1113
-
1114
1044
  # 2019-06-11, version 6.0.2
1115
1045
 
1116
1046
  - Fix not being able to set configuration after disabling function `import`
1117
1047
  (regression since v6.0.0).
1118
1048
 
1119
-
1120
1049
  # 2019-06-09, version 6.0.1
1121
1050
 
1122
1051
  - Fix function reference not published in npm library.
1123
1052
  - Fix function `evaluate` and `parse` missing in generated docs.
1124
1053
 
1125
-
1126
1054
  # 2019-06-08, version 6.0.0
1127
1055
 
1128
1056
  !!! BE CAREFUL: BREAKING CHANGES !!!
1129
1057
 
1130
1058
  ### Most notable changes
1131
1059
 
1132
- 1. Full support for **ES modules**. Support for tree-shaking out of the box.
1060
+ 1. Full support for **ES modules**. Support for tree-shaking out of the box.
1133
1061
 
1134
1062
  Load all functions:
1135
1063
 
@@ -1162,14 +1090,13 @@ Breaking changes:
1162
1090
  }, config)
1163
1091
  ```
1164
1092
 
1165
- 2. Support for **lightweight, number-only** implementations of all functions:
1093
+ 2. Support for **lightweight, number-only** implementations of all functions:
1166
1094
 
1167
1095
  ```
1168
1096
  import { add, multiply } from 'mathjs/number'
1169
1097
  ```
1170
1098
 
1171
- 3. New **dependency injection** solution used under the hood.
1172
-
1099
+ 3. New **dependency injection** solution used under the hood.
1173
1100
 
1174
1101
  ### Breaking changes
1175
1102
 
@@ -1249,32 +1176,27 @@ Breaking changes:
1249
1176
  and after that rounded the value instead of the other way around.
1250
1177
  - Fix #1473: remove `'use strict'` in every file, not needed anymore.
1251
1178
 
1252
-
1253
1179
  # 2019-05-18, version 5.10.3
1254
1180
 
1255
1181
  - Fixed dependency `del` being a dependency instead of devDependency.
1256
1182
 
1257
-
1258
1183
  # 2019-05-18, version 5.10.2
1259
1184
 
1260
1185
  - Fix #1515, #1516, #1517: broken package due to a naming conflict in
1261
1186
  the build folder of a util file `typeOf.js` and `typeof.js`.
1262
1187
  Solved by properly cleaning all build folders before building.
1263
1188
 
1264
-
1265
1189
  # 2019-05-17, version 5.10.1
1266
1190
 
1267
1191
  - Fix #1512: format using notation `engineering` can give wrong results
1268
1192
  when the value has less significant digits than the number of digits in
1269
1193
  the output.
1270
1194
 
1271
-
1272
1195
  # 2019-05-08, version 5.10.0
1273
1196
 
1274
1197
  - Fix `lib/header.js` not having filled in date and version. Thanks @kevjin.
1275
1198
  - Upgraded dependency `decimal.js@10.2.0`, fixing an issue on node.js 12.
1276
1199
 
1277
-
1278
1200
  # 2019-04-08, version 5.9.0
1279
1201
 
1280
1202
  - Implemented functions `row` and `column` (see #1413). Thanks @SzechuanSage.
@@ -1283,28 +1205,24 @@ Breaking changes:
1283
1205
  - Fixed #1465: `node.toHTML()` not correct for unary operators like
1284
1206
  `factorial`.
1285
1207
 
1286
-
1287
1208
  # 2019-03-20, version 5.8.0
1288
1209
 
1289
1210
  - Implemented new function `apply`. Thanks @bnlcas.
1290
1211
  - Implemented passing an optional `dimension` argument to `std` and `var`.
1291
1212
  Thanks @bnlcas.
1292
1213
 
1293
-
1294
1214
  # 2019-03-10, version 5.7.0
1295
1215
 
1296
1216
  - Implemented support for `pow()` in `derivative`. Thanks @sam-19.
1297
1217
  - Gracefully handle round-off errors in fix, ceil, floor, and range
1298
1218
  (Fixes #1429, see also #1434, #1432). Thanks @ericman314.
1299
1219
 
1300
-
1301
1220
  # 2019-03-02, version 5.6.0
1302
1221
 
1303
1222
  - Upgrade decimal.js to v10.1.1 (#1421).
1304
1223
  - Fixed #1418: missing whitespace when stringifying an expression
1305
1224
  containing "not".
1306
1225
 
1307
-
1308
1226
  # 2019-02-20, version 5.5.0
1309
1227
 
1310
1228
  - Fixed #1401: methods `map` and `forEach` of `SparseMatrix` not working
@@ -1312,7 +1230,6 @@ Breaking changes:
1312
1230
  - Fixed #1404: inconsistent rounding of negative numbers.
1313
1231
  - Upgrade tiny-emitter to v2.1.0 (#1397).
1314
1232
 
1315
-
1316
1233
  # 2019-01-25, version 5.4.2
1317
1234
 
1318
1235
  - Fixed `math.format` not working for BigNumbers with a precision above
@@ -1321,13 +1238,11 @@ Breaking changes:
1321
1238
  - Fixed a bug the methods `map`, `forEach`, `traverse`, and `transform`
1322
1239
  of `FunctionNode`.
1323
1240
 
1324
-
1325
1241
  # 2019-01-10, version 5.4.1
1326
1242
 
1327
1243
  - Fix #1378: negative bignumbers not formatted correctly.
1328
1244
  - Upgrade fraction.js to version 4.0.12 (#1369).
1329
1245
 
1330
-
1331
1246
  # 2018-12-09, version 5.4.0
1332
1247
 
1333
1248
  - Extended sum.js to accept a dimension input to calculate the sum over a
@@ -1336,13 +1251,11 @@ Breaking changes:
1336
1251
  - Remove side effects caused by `Unit.format` and `Unit.toString`,
1337
1252
  making changes to the unit on execution. Thanks @ericman314.
1338
1253
 
1339
-
1340
1254
  # 2018-12-03, version 5.3.1
1341
1255
 
1342
1256
  - Fixed #1336: Unit.toSI() returning units with prefix like `mm` instead
1343
1257
  of `m`. Thanks @ericman314.
1344
1258
 
1345
-
1346
1259
  # 2018-11-29, version 5.3.0
1347
1260
 
1348
1261
  - Implemented function `hasNumericValue`. Thanks @Sathish-kumar-Subramani.
@@ -1350,7 +1263,6 @@ Breaking changes:
1350
1263
  - Fix #1337: `math.format` not working correctly with `{ precision: 0 }`.
1351
1264
  Thanks @dkenul.
1352
1265
 
1353
-
1354
1266
  # 2018-10-30, version 5.2.3
1355
1267
 
1356
1268
  - Fixed #1293: non-unicode characters in `escape-latex` giving issues in some
@@ -1359,13 +1271,11 @@ Breaking changes:
1359
1271
  - Fixed #1304: function `pow` not supporting inputs `pow(Unit, BigNumber)`.
1360
1272
  - Upgraded dependencies (`escape-latex@1.2.0`)
1361
1273
 
1362
-
1363
1274
  # 2018-10-23, version 5.2.2
1364
1275
 
1365
1276
  - Fixed #1286: Fixed unit base recognition and formatting for
1366
1277
  user-defined units. Thanks @ericman314.
1367
1278
 
1368
-
1369
1279
  # 2018-10-18, version 5.2.1
1370
1280
 
1371
1281
  - Fixed unit `rod` being defined as `5.02921` instead of `5.0292`.
@@ -1374,7 +1284,6 @@ Breaking changes:
1374
1284
  - Upgraded devDependencies (`@babel/core@7.1.2`, `nyc@13.1.0`,
1375
1285
  `webpack@4.21.0`).
1376
1286
 
1377
-
1378
1287
  # 2018-10-05, version 5.2.0
1379
1288
 
1380
1289
  - Implemented support for chained conditionals like `10 < x <= 50`.
@@ -1384,7 +1293,6 @@ Breaking changes:
1384
1293
  - Fixed #1240: allow units having just a value and no unit.
1385
1294
  Thanks @ericman314.
1386
1295
 
1387
-
1388
1296
  ## 2018-09-09, version 5.1.2
1389
1297
 
1390
1298
  - Fixed a typo in the docs of `parse`. Thanks @mathiasvr.
@@ -1396,7 +1304,6 @@ Breaking changes:
1396
1304
  - Upgraded devDependencies (`babel@7`, `karma-webpack@3.0.4`,
1397
1305
  `nyc@13.0.1`, `standard@12.0.0`, `uglify-js@3.4.9`, `webpack@4.17.2`)
1398
1306
 
1399
-
1400
1307
  ## 2018-08-21, version 5.1.1
1401
1308
 
1402
1309
  - Function `isNumeric` now recognizes more types.
@@ -1407,7 +1314,6 @@ Breaking changes:
1407
1314
  - Upgraded dependencies (`escape-latex@1.1.1`)
1408
1315
  - Upgraded devDependencies (`webpack@4.17.0`)
1409
1316
 
1410
-
1411
1317
  ## 2018-08-12, version 5.1.0
1412
1318
 
1413
1319
  - Implemented support for strings enclosed in single quotes.
@@ -1416,7 +1322,6 @@ Breaking changes:
1416
1322
  - Implemented new `options` argument in `simplify`. Thanks @paulobuchsbaum.
1417
1323
  - Bug fixes in `rationalize`, see #1173. Thanks @paulobuchsbaum.
1418
1324
 
1419
-
1420
1325
  ## 2018-07-22, version 5.0.4
1421
1326
 
1422
1327
  - Strongly improved the performance of functions `factorial` for numbers.
@@ -1425,7 +1330,6 @@ Breaking changes:
1425
1330
  - Strongly improved the performance of function `reshape`, thanks to a
1426
1331
  friend of @honeybar.
1427
1332
 
1428
-
1429
1333
  ## 2018-07-14, version 5.0.3
1430
1334
 
1431
1335
  - Fixed many functions (for example `add` and `subtract`) not working
@@ -1439,7 +1343,6 @@ Breaking changes:
1439
1343
  Thanks @harrysarson.
1440
1344
  - Changed `decimal.js` import to ES6. Thanks @weinshel.
1441
1345
 
1442
-
1443
1346
  ## 2018-07-07, version 5.0.2
1444
1347
 
1445
1348
  - Fixed #1136: rocket trajectory example broken (since v4.0.0).
@@ -1453,16 +1356,14 @@ Breaking changes:
1453
1356
  Thanks @ChristopherChudzicki.
1454
1357
  - Fixed a broken link in the documentation on units. Thanks @stropitek.
1455
1358
  - Upgraded dependencies (`typed-function@1.0.4`, `complex.js@2.0.11`).
1456
- - Upgraded devDependencies (`babel-loader@7.1.5 `, `uglify-js@3.4.3`,
1359
+ - Upgraded devDependencies (`babel-loader@7.1.5`, `uglify-js@3.4.3`,
1457
1360
  `expr-eval@1.2.2`, `webpack@4.15.1`).
1458
1361
 
1459
-
1460
1362
  ## 2018-07-01, version 5.0.1
1461
1363
 
1462
1364
  - Improved error messaging when converting units. Thanks @gap777.
1463
1365
  - Upgraded devDependencies (`kerma`, `uglify-js`, `webpack`).
1464
1366
 
1465
-
1466
1367
  ## 2018-06-16, version 5.0.0
1467
1368
 
1468
1369
  !!! BE CAREFUL: BREAKING CHANGES !!!
@@ -1479,7 +1380,7 @@ Breaking changes:
1479
1380
  - Upgraded dependencies:
1480
1381
  - `decimal.js` from `9.0.1` to `10.0.1`
1481
1382
  - Upgraded dev dependencies
1482
- - Changed code style to https://standardjs.com/, run linter on `npm test`.
1383
+ - Changed code style to <https://standardjs.com/>, run linter on `npm test`.
1483
1384
  See #1110.
1484
1385
  - Dropped support for bower. Use npm or an other package manages instead.
1485
1386
  - Dropped support for (non-primitive) instances of `Number`, `Boolean`, and
@@ -1490,7 +1391,6 @@ Breaking changes:
1490
1391
  - Fixed #1103: Calling `toTex` on node that contains `derivative` causing
1491
1392
  an exception. Thanks @joelhoover.
1492
1393
 
1493
-
1494
1394
  ## 2018-06-02, version 4.4.2
1495
1395
 
1496
1396
  - Drastically improved the performance of `det`. Thanks @ericman314.
@@ -1499,18 +1399,15 @@ Breaking changes:
1499
1399
  - Fixed #1122 a regression in function `inv` (since `v4.4.1`).
1500
1400
  Thanks @ericman314.
1501
1401
 
1502
-
1503
1402
  ## 2018-05-29, version 4.4.1
1504
1403
 
1505
1404
  - Fixed #1109: a bug in `inv` when dealing with values close to zero.
1506
1405
  Thanks @ericman314.
1507
1406
 
1508
-
1509
1407
  ## 2018-05-28, version 4.4.0
1510
1408
 
1511
1409
  - Implemented functions `equalText` and `compareText`. See #1085.
1512
1410
 
1513
-
1514
1411
  ## 2018-05-21, version 4.3.0
1515
1412
 
1516
1413
  - Implemented matrix exponential `math.expm`. Thanks @ericman314.
@@ -1520,7 +1417,6 @@ Breaking changes:
1520
1417
  - `fraction.js` from `v4.0.4` to `v4.0.8`.
1521
1418
  - Upgraded devDependencies (`mocha`, `uglify-js`, `webpack`).
1522
1419
 
1523
-
1524
1420
  ## 2018-05-05, version 4.2.2
1525
1421
 
1526
1422
  - Fixed calculating the Frobenius norm of complex matrices correctly,
@@ -1528,12 +1424,10 @@ Breaking changes:
1528
1424
  - Fixed #1076: cannot use mathjs in React VR by updating to
1529
1425
  `escape-latex@1.0.3`.
1530
1426
 
1531
-
1532
1427
  ## 2018-05-02, version 4.2.1
1533
1428
 
1534
1429
  - Fixed `dist/math.js` being minified.
1535
1430
 
1536
-
1537
1431
  ## 2018-05-02, version 4.2.0
1538
1432
 
1539
1433
  - Implemented function `math.sqrtm`. Thanks @ferrolho.
@@ -1543,7 +1437,6 @@ Breaking changes:
1543
1437
  - Upgraded development dependencies.
1544
1438
  - Dropped integration testing on nodejs v4.
1545
1439
 
1546
-
1547
1440
  ## 2018-04-18, version 4.1.2
1548
1441
 
1549
1442
  - Fixed #1082: implemented support for unit plurals `decades`, `centuries`,
@@ -1551,13 +1444,11 @@ Breaking changes:
1551
1444
  - Fixed #1083: units `decade` and `watt` having a wrong name when stringifying.
1552
1445
  Thanks @ericman314.
1553
1446
 
1554
-
1555
1447
  ## 2018-04-11, version 4.1.1
1556
1448
 
1557
1449
  - Fixed #1063: derivative not working when resolving a variable with unary
1558
1450
  minus like `math.derivative('-x', 'x')`.
1559
1451
 
1560
-
1561
1452
  ## 2018-04-08, version 4.1.0
1562
1453
 
1563
1454
  - Extended function `math.print` with support for arrays and matrices.
@@ -1569,13 +1460,11 @@ Breaking changes:
1569
1460
  - Fixed #1072: Added support for long and short prefixes for the unit `bar`
1570
1461
  (i.e. `millibar` and `mbar`).
1571
1462
 
1572
-
1573
1463
  ## 2018-03-17, version 4.0.1
1574
1464
 
1575
1465
  - Fixed #1062: mathjs not working on ES5 browsers like IE11 and Safari 9.3.
1576
1466
  - Fixed #1061: `math.unit` not accepting input like `1/s`.
1577
1467
 
1578
-
1579
1468
  ## 2018-02-25, version 4.0.0
1580
1469
 
1581
1470
  !!! BE CAREFUL: BREAKING CHANGES !!!
@@ -1587,52 +1476,55 @@ Breaking changes (see also #682):
1587
1476
  The compiler of the expression parser is replaced with one that doesn't use
1588
1477
  `eval` internally. See #1019. This means:
1589
1478
 
1590
- - a slightly improved performance on most browsers.
1591
- - less risk of security exploits.
1592
- - the code of the new compiler is easier to understand, maintain, and debug.
1479
+ - a slightly improved performance on most browsers.
1480
+ - less risk of security exploits.
1481
+ - the code of the new compiler is easier to understand, maintain, and debug.
1593
1482
 
1594
1483
  Breaking change here: When using custom nodes in the expression parser,
1595
1484
  the syntax of `_compile` has changed. This is an undocumented feature though.
1596
1485
 
1597
1486
  - **Parsed expressions**
1598
1487
 
1599
- - The class `ConstantNode` is changed such that it just holds a value
1488
+ - The class `ConstantNode` is changed such that it just holds a value
1600
1489
  instead of holding a stringified value and it's type.
1601
1490
  `ConstantNode(valueStr, valueType`) is now `ConstantNode(value)`
1602
1491
  Stringification uses `math.format`, which may result in differently
1603
1492
  formatted numeric output.
1604
1493
 
1605
- - The constants `true`, `false`, `null`, `undefined`, `NaN`, `Infinity`,
1494
+ - The constants `true`, `false`, `null`, `undefined`, `NaN`, `Infinity`,
1606
1495
  and `uninitialized` are now parsed as ConstantNodes instead of
1607
1496
  SymbolNodes in the expression parser. See #833.
1608
1497
 
1609
1498
  - **Implicit multiplication**
1610
1499
 
1611
- - Changed the behavior of implicit multiplication to have higher
1500
+ - Changed the behavior of implicit multiplication to have higher
1612
1501
  precedence than explicit multiplication and division, except in
1613
1502
  a number of specific cases. This gives a more natural behavior
1614
1503
  for implicit multiplications. For example `24h / 6h` now returns `4`,
1615
1504
  whilst `1/2 kg` evaluates to `0.5 kg`. Thanks @ericman314. See: #792.
1616
- Detailed documentation: https://github.com/josdejong/mathjs/blob/v4/docs/expressions/syntax.md#implicit-multiplication.
1505
+ Detailed documentation: <https://github.com/josdejong/mathjs/blob/v4/docs/expressions/syntax.md#implicit-multiplication>.
1617
1506
 
1618
- - Immediately invoking a function returned by a function like `partialAdd(2)(3)`
1507
+ - Immediately invoking a function returned by a function like `partialAdd(2)(3)`
1619
1508
  is no longer supported, instead these expressions are evaluated as
1620
1509
  an implicit multiplication `partialAdd(2) * (3)`. See #1035.
1621
1510
 
1622
1511
  - **String formatting**
1623
1512
 
1624
- - In function `math.format`, the options `{exponential: {lower: number, upper: number}}`
1513
+ - In function `math.format`, the options `{exponential: {lower: number, upper: number}}`
1625
1514
  (where `lower` and `upper` are values) are replaced with `{lowerExp: number, upperExp: number}`
1626
1515
  (where `lowerExp` and `upperExp` are exponents). See #676. For example:
1516
+
1627
1517
  ```js
1628
1518
  math.format(2000, {exponential: {lower: 1e-2, upper: 1e2}})
1629
1519
  ```
1520
+
1630
1521
  is now:
1522
+
1631
1523
  ```js
1632
1524
  math.format(2000, {lowerExp: -2, upperExp: 2})
1633
1525
  ```
1634
1526
 
1635
- - In function `math.format`, the option `notation: 'fixed'` no longer rounds to
1527
+ - In function `math.format`, the option `notation: 'fixed'` no longer rounds to
1636
1528
  zero digits when no precision is specified: it leaves the digits as is.
1637
1529
  See #676.
1638
1530
 
@@ -1653,17 +1545,17 @@ Breaking changes (see also #682):
1653
1545
 
1654
1546
  - **Null**
1655
1547
 
1656
- - `null` is no longer implicitly casted to a number `0`, so input like
1548
+ - `null` is no longer implicitly casted to a number `0`, so input like
1657
1549
  `math.add(2, null)` is no longer supported. See #830, #353.
1658
1550
 
1659
- - Dropped constant `uninitialized`, which was used to initialize
1551
+ - Dropped constant `uninitialized`, which was used to initialize
1660
1552
  leave new entries undefined when resizing a matrix is removed.
1661
1553
  Use `undefined` instead to indicate entries that are not explicitly
1662
1554
  set. See #833.
1663
1555
 
1664
1556
  - **New typed-function library**
1665
1557
 
1666
- - The `typed-function` library used to check the input types
1558
+ - The `typed-function` library used to check the input types
1667
1559
  of functions is completely rewritten and doesn't use `eval` under
1668
1560
  the hood anymore. This means a reduced security risk, and easier
1669
1561
  to debug code. The API is the same, but error messages may differ
@@ -1683,7 +1575,6 @@ Non breaking changes:
1683
1575
  - Fixed #1014: `derivative` silently dropping additional arguments
1684
1576
  from operator nodes with more than two arguments.
1685
1577
 
1686
-
1687
1578
  ## 2018-02-07, version 3.20.2
1688
1579
 
1689
1580
  - Upgraded to `typed-function@0.10.7` (bug-fix release).
@@ -1692,19 +1583,17 @@ Non breaking changes:
1692
1583
  - Fixed #995: spaces and underscores not property being escaped
1693
1584
  in `toTex()`. Thanks @FSMaxB.
1694
1585
 
1695
-
1696
1586
  ## 2018-01-17, version 3.20.1
1697
1587
 
1698
1588
  - Fixed #1018: `simplifyCore` failing in some cases with parentheses.
1699
1589
  Thanks @firepick1.
1700
1590
 
1701
-
1702
1591
  ## 2018-01-14, version 3.20.0
1703
1592
 
1704
1593
  - Implement support for 3 or more arguments for operators `+` and `*` in
1705
1594
  `derivative`. Thanks @HarrySarson. See #1002.
1706
1595
  - Fixed `simplify` evalution of `simplify` of functions with more than two
1707
- arguments wrongly: `simplify('f(x, y, z)') evaluated to `f(f(x, y), z)`
1596
+ arguments wrongly: `simplify('f(x, y, z)') evaluated to`f(f(x, y), z)`
1708
1597
  instead of `f(x, y, z)`. Thanks @joelhoover.
1709
1598
  - Fixed `simplify` throwing an error in some cases when simplifying unknown
1710
1599
  functions, for example `simplify('f(4)')`. Thanks @joelhoover.
@@ -1712,7 +1601,6 @@ Non breaking changes:
1712
1601
  minus, like `0 - -x`. Thanks @joelhoover.
1713
1602
  - Fixed an error in an example in the documentation of `xor`. Thanks @denisx.
1714
1603
 
1715
-
1716
1604
  ## 2018-01-06, version 3.19.0
1717
1605
 
1718
1606
  - Extended functions `distance` and `intersect` with support for BigNumbers.
@@ -1720,22 +1608,22 @@ Non breaking changes:
1720
1608
  - Improvements in function `simplify`: added a rule that allows combining
1721
1609
  of like terms in embedded quantities. Thanks @joelhoover.
1722
1610
 
1723
-
1724
1611
  ## 2017-12-28, version 3.18.1
1725
1612
 
1726
1613
  - Fixed #998: An issue with simplifying an expression containing a subtraction.
1727
1614
  Thanks @firepick1.
1728
1615
 
1729
-
1730
1616
  ## 2017-12-16, version 3.18.0
1731
1617
 
1732
1618
  - Implemented function `rationalize`. Thanks @paulobuchsbaum.
1733
1619
  - Upgraded dependencies:
1620
+
1734
1621
  ```
1735
1622
  decimal.js 7.2.3 → 9.0.1 (no breaking changes affecting mathjs)
1736
1623
  fraction.js 4.0.2 → 4.0.4
1737
1624
  tiny-emitter 2.0.0 → 2.0.2
1738
1625
  ```
1626
+
1739
1627
  - Upgraded dev dependencies.
1740
1628
  - Fixed #975: a wrong example in the docs of lusolve.
1741
1629
  - Fixed #983: `pickRandom` returning an array instead of single value
@@ -1743,7 +1631,6 @@ Non breaking changes:
1743
1631
  - Fixed #969: preven issues with yarn autoclean by renaming an
1744
1632
  interally used folder "docs" to "embeddedDocs".
1745
1633
 
1746
-
1747
1634
  ## 2017-11-18, version 3.17.0
1748
1635
 
1749
1636
  - Improved `simplify` for nested exponentiations. Thanks @IvanVergiliev.
@@ -1754,20 +1641,17 @@ Non breaking changes:
1754
1641
  replaced by using unicode characters when creating an object. No known exploit,
1755
1642
  but could possibly allow arbitrary code execution. Thanks Masato Kinugawa.
1756
1643
 
1757
-
1758
1644
  ## 2017-10-18, version 3.16.5
1759
1645
 
1760
1646
  - Fixed #954: Functions `add` and `multiply` not working when
1761
1647
  passing three or more arrays or matrices.
1762
1648
 
1763
-
1764
1649
  ## 2017-10-01, version 3.16.4
1765
1650
 
1766
1651
  - Fixed #948, #949: function `simplify` returning wrong results or
1767
1652
  running into an infinite recursive loop. Thanks @ericman314.
1768
1653
  - Fixed many small issues in the embedded docs. Thanks @Schnark.
1769
1654
 
1770
-
1771
1655
  ## 2017-08-28, version 3.16.3
1772
1656
 
1773
1657
  - Fixed #934: Wrong simplification of unary minus. Thanks @firepick1.
@@ -1776,7 +1660,6 @@ Non breaking changes:
1776
1660
  numbers having just one of their parts (re/im) being `NaN`.
1777
1661
  - Fixed #929: `FibonacciHeap.isEmpty` returning wrong result.
1778
1662
 
1779
-
1780
1663
  ## 2017-08-20, version 3.16.2
1781
1664
 
1782
1665
  - Fixed #924: a regression in `simplify` not accepting the signature
@@ -1784,7 +1667,6 @@ Non breaking changes:
1784
1667
  - Fixed missing parenthesis when stringifying expressions containing
1785
1668
  implicit multiplications (see #922). Thanks @FSMaxB.
1786
1669
 
1787
-
1788
1670
  ## 2017-08-12, version 3.16.1
1789
1671
 
1790
1672
  - For security reasons, type checking is now done in a more strict
@@ -1797,7 +1679,6 @@ Non breaking changes:
1797
1679
  immediately invoked function assignment not being wrapped in
1798
1680
  parenthesis (for example `(f(x) = x^2)(4)`).
1799
1681
 
1800
-
1801
1682
  ## 2017-08-06, version 3.16.0
1802
1683
 
1803
1684
  - Significant performance improvements in `math.simplify`.
@@ -1807,7 +1688,6 @@ Non breaking changes:
1807
1688
  - Fixed #912: math.js didn't work on IE10 anymore (regression
1808
1689
  since 3.15.0).
1809
1690
 
1810
-
1811
1691
  ## 2017-07-29, version 3.15.0
1812
1692
 
1813
1693
  - Added support for the dollar character `$` in symbol names (see #895).
@@ -1822,19 +1702,16 @@ Non breaking changes:
1822
1702
  and `forEach`.
1823
1703
  - Index and original array/matrix not passed in `map` and `filter`.
1824
1704
 
1825
-
1826
1705
  ## 2017-07-05, version 3.14.2
1827
1706
 
1828
1707
  - Upgraded to `fraction.js@4.0.2`
1829
1708
  - Fixed #891 using BigNumbers not working in browser environments.
1830
1709
 
1831
-
1832
1710
  ## 2017-06-30, version 3.14.1
1833
1711
 
1834
1712
  - Reverted to `fraction.js@4.0.0`, there is an issue with `4.0.1`
1835
1713
  in the browser.
1836
1714
 
1837
-
1838
1715
  ## 2017-06-30, version 3.14.0
1839
1716
 
1840
1717
  - Implemented set methods `setCartesian`, `setDifference`,
@@ -1854,14 +1731,12 @@ Non breaking changes:
1854
1731
  - More informative error message when using single quotes instead of
1855
1732
  double quotes around a string. Thanks @HarrySarson.
1856
1733
 
1857
-
1858
1734
  ## 2017-05-27, version 3.13.3
1859
1735
 
1860
1736
  - Fixed a bug in function `intersection` of line and plane.
1861
1737
  Thanks @viclai.
1862
1738
  - Fixed security vulnerabilities.
1863
1739
 
1864
-
1865
1740
  ## 2017-05-26, version 3.13.2
1866
1741
 
1867
1742
  - Disabled function `chain` inside the expression parser for security
@@ -1870,14 +1745,12 @@ Non breaking changes:
1870
1745
  from Arrays correctly. (like `math.eval('arr[1]', {arr: [math.bignumber(2)]})`.
1871
1746
  - Fixed #861: physical constants not available in the expression parser.
1872
1747
 
1873
-
1874
1748
  ## 2017-05-12, version 3.13.1
1875
1749
 
1876
1750
  - Fixed creating units with an alias not working within the expression
1877
1751
  parser.
1878
1752
  - Fixed security vulnerabilities. Thanks Sam.
1879
1753
 
1880
-
1881
1754
  ## 2017-05-12, version 3.13.0
1882
1755
 
1883
1756
  - Command line application can now evaluate inline expressions
@@ -1890,17 +1763,14 @@ Non breaking changes:
1890
1763
  - Fixed #838: Function `simplify` now supports constants like `e`.
1891
1764
  Thanks @tetslee.
1892
1765
 
1893
-
1894
1766
  ## 2017-05-05, version 3.12.3
1895
1767
 
1896
1768
  - Fixed security vulnerabilities. Thanks Dan and Sam.
1897
1769
 
1898
-
1899
1770
  ## 2017-04-30, version 3.12.2
1900
1771
 
1901
1772
  - Added a rocket trajectory optimization example.
1902
1773
 
1903
-
1904
1774
  ## 2017-04-24, version 3.12.1
1905
1775
 
1906
1776
  - Fixed #804
@@ -1909,13 +1779,11 @@ Non breaking changes:
1909
1779
  - Fixed security vulnerabilities in the expression parser.
1910
1780
  Thanks Sam and Dan.
1911
1781
 
1912
-
1913
1782
  ## 2017-04-17, version 3.12.0
1914
1783
 
1915
1784
  - Implemented QR decomposition, function `math.qr`. Thanks @HarrySarson.
1916
1785
  - Fixed #824: Calling `math.random()` freezes IE and node.js.
1917
1786
 
1918
-
1919
1787
  ## 2017-04-08, version 3.11.5
1920
1788
 
1921
1789
  - More security measures in the expression parser.
@@ -1925,28 +1793,23 @@ Non breaking changes:
1925
1793
  objects, not on classes, arrays, and functions anymore.
1926
1794
  - Accessing methods is restricted to a set of known, safe methods.
1927
1795
 
1928
-
1929
1796
  ## 2017-04-03, version 3.11.4
1930
1797
 
1931
1798
  - Fixed a security vulnerability in the expression parser. Thanks @xfix.
1932
1799
 
1933
-
1934
1800
  ## 2017-04-03, version 3.11.3
1935
1801
 
1936
1802
  - Fixed a security vulnerability in the expression parser. Thanks @xfix.
1937
1803
 
1938
-
1939
1804
  ## 2017-04-03, version 3.11.2
1940
1805
 
1941
1806
  - Fixed a security vulnerability in the expression parser. Thanks @xfix.
1942
1807
 
1943
-
1944
1808
  ## 2017-04-02, version 3.11.1
1945
1809
 
1946
1810
  - Fixed security vulnerabilities in the expression parser.
1947
1811
  Thanks Joe Vennix and @xfix.
1948
1812
 
1949
-
1950
1813
  ## 2017-04-02, version 3.11.0
1951
1814
 
1952
1815
  - Implemented method Unit.toSI() to convert a unit to base SI units.
@@ -1954,25 +1817,21 @@ Non breaking changes:
1954
1817
  - Fixed #821, #822: security vulnerabilities in the expression parser.
1955
1818
  Thanks @comex and @xfix.
1956
1819
 
1957
-
1958
1820
  ## 2017-03-31, version 3.10.3
1959
1821
 
1960
1822
  - More security fixes related to the ones fixed in `v3.10.2`.
1961
1823
 
1962
-
1963
1824
  ## 2017-03-31, version 3.10.2
1964
1825
 
1965
1826
  - Fixed a security vulnerability in the expression parser allowing
1966
1827
  execution of arbitrary JavaScript. Thanks @CapacitorSet and @denvit.
1967
1828
 
1968
-
1969
1829
  ## 2017-03-26, version 3.10.1
1970
1830
 
1971
1831
  - Fixed `xgcd` for negative values. Thanks @litmit.
1972
1832
  - Fixed #807: function transform of existing functions not being removed when
1973
1833
  overriding such a function.
1974
1834
 
1975
-
1976
1835
  ## 2017-03-05, version 3.10.0
1977
1836
 
1978
1837
  - Implemented function `reshape`. Thanks @patgrasso and @ericman314.
@@ -1982,19 +1841,16 @@ Non breaking changes:
1982
1841
  - Dropped support for component package manager (which became deprecated about
1983
1842
  one and a half year ago).
1984
1843
 
1985
-
1986
1844
  ## 2017-02-22, version 3.9.3
1987
1845
 
1988
1846
  - Fixed #797: issue with production builds of React Native projects.
1989
1847
  - Fixed `math.round` not accepting inputs `NaN`, `Infinity`, `-Infinity`.
1990
1848
  - Upgraded all dependencies.
1991
1849
 
1992
-
1993
1850
  ## 2017-02-16, version 3.9.2
1994
1851
 
1995
1852
  - Fixed #795: Parse error in case of a multi-line expression with just comments.
1996
1853
 
1997
-
1998
1854
  ## 2017-02-06, version 3.9.1
1999
1855
 
2000
1856
  - Fixed #789: Math.js not supporting conversion of `string` to `BigNumber`,
@@ -2003,7 +1859,6 @@ Non breaking changes:
2003
1859
  functions via `scope` to functions having `rawArgs = true`.
2004
1860
  - Small fixes in the docs. Thanks @HarrySarson.
2005
1861
 
2006
-
2007
1862
  ## 2017-01-23, version 3.9.0
2008
1863
 
2009
1864
  - Implemented support for algebra: powerful new functions `simplify` and
@@ -2013,14 +1868,12 @@ Non breaking changes:
2013
1868
  - Fixed #765: `FunctionAssignmentNode.toString()` returning a string
2014
1869
  incompatible with the function assignment syntax.
2015
1870
 
2016
-
2017
1871
  ## 2016-12-15, version 3.8.1
2018
1872
 
2019
1873
  - Implemented function `mad` (median absolute deviation). Thanks @ruhleder.
2020
1874
  - Fixed #762: expression parser failing to invoke a function returned
2021
1875
  by a function.
2022
1876
 
2023
-
2024
1877
  ## 2016-11-18, version 3.8.0
2025
1878
 
2026
1879
  - Functions `add` and `multiply` now accept more than two arguments. See #739.
@@ -2035,7 +1888,6 @@ Non breaking changes:
2035
1888
  - Fixed #749: Units `rad`, `deg`, and `grad` can now have prefixes like `millirad`.
2036
1889
  - Some fixes in the docs and comments of examples. Thanks @HarrySarson.
2037
1890
 
2038
-
2039
1891
  ## 2016-11-05, version 3.7.0
2040
1892
 
2041
1893
  - Implemented method `Node.equals(other)` for all nodes of the expression parser.
@@ -2044,7 +1896,6 @@ Non breaking changes:
2044
1896
  - Implicit conversions between Fractions and BigNumbers throw a neat error now
2045
1897
  (See #710).
2046
1898
 
2047
-
2048
1899
  ## 2016-10-21, version 3.6.0
2049
1900
 
2050
1901
  - Implemented function `erf()`. THanks @patgrasso.
@@ -2058,23 +1909,19 @@ Non breaking changes:
2058
1909
  like `-2 2` and `2^3 4` (right after the second value of an operator).
2059
1910
  - Fixed #688: Describe allowed variable names in the docs.
2060
1911
 
2061
-
2062
1912
  ## 2016-09-21, version 3.5.3
2063
1913
 
2064
1914
  - Some more fixes regarding numbers ending with a decimal mark (like `2.`).
2065
1915
 
2066
-
2067
1916
  ## 2016-09-20, version 3.5.2
2068
1917
 
2069
1918
  - Fixed numbers ending with a decimal mark (like `2.`) not being supported by
2070
1919
  the parser, solved the underlying ambiguity in the parser. See #707, #711.
2071
1920
 
2072
-
2073
1921
  ## 2016-09-12, version 3.5.1
2074
1922
 
2075
1923
  - Removed a left over console.log statement. Thanks @eknkc.
2076
1924
 
2077
-
2078
1925
  ## 2016-09-07, version 3.5.0
2079
1926
 
2080
1927
  - Comments of expressions are are now stored in the parsed nodes. See #690.
@@ -2083,20 +1930,17 @@ Non breaking changes:
2083
1930
  - Fixed #707: The expression parser no longer accepts numbers ending with a dot
2084
1931
  like `2.`.
2085
1932
 
2086
-
2087
1933
  ## 2016-08-08, version 3.4.1
2088
1934
 
2089
1935
  - Fixed broken bundle files (`dist/math.js`, `dist/math.min.js`).
2090
1936
  - Fixed some layout issues in the function reference docs.
2091
1937
 
2092
-
2093
1938
  ## 2016-08-07, version 3.4.0
2094
1939
 
2095
1940
  - Implemented support for custom units using `createUnit`. Thanks @ericman314.
2096
1941
  - Implemented function `splitUnits`. Thanks @ericman314.
2097
1942
  - Implemented function `isPrime`. Thanks @MathBunny.
2098
1943
 
2099
-
2100
1944
  ## 2016-07-05, version 3.3.0
2101
1945
 
2102
1946
  - Implemented function `isNaN`.
@@ -2107,13 +1951,11 @@ Non breaking changes:
2107
1951
  - Fixed #665: functions `map`, `forEach`, and `filter` now invoke callbacks
2108
1952
  which are a typed-function with the correct number of arguments.
2109
1953
 
2110
-
2111
1954
  ## 2016-04-26, version 3.2.1
2112
1955
 
2113
1956
  - Fixed #651: unable to perform calculations on "Unit-less" units.
2114
1957
  - Fixed matrix.subset mutating the replacement matrix when unsqueezing it.
2115
1958
 
2116
-
2117
1959
  ## 2016-04-16, version 3.2.0
2118
1960
 
2119
1961
  - Implemented #644: method `Parser.getAll()` to retrieve all defined variables.
@@ -2127,7 +1969,6 @@ Non breaking changes:
2127
1969
  - Fixed #645: Added documentation about `engineering` notation of function
2128
1970
  `math.format`.
2129
1971
 
2130
-
2131
1972
  ## 2016-04-03, version 3.1.4
2132
1973
 
2133
1974
  - Using ES6 Math functions like `Math.sinh`, `Math.cbrt`, `Math.sign`, etc when
@@ -2141,17 +1982,14 @@ Non breaking changes:
2141
1982
  - Fixed #625: Unit `in` (`inch`) not always working due to ambiguity with
2142
1983
  the operator `a in b` (alias of `a to b`).
2143
1984
 
2144
-
2145
1985
  ## 2016-03-24, version 3.1.3
2146
1986
 
2147
1987
  - Fix broken bundle.
2148
1988
 
2149
-
2150
1989
  ## 2016-03-24, version 3.1.2
2151
1990
 
2152
1991
  - Fix broken npm release.
2153
1992
 
2154
-
2155
1993
  ## 2016-03-24, version 3.1.1
2156
1994
 
2157
1995
  - Fixed #621: a bug in parsing implicit multiplications like `(2)(3)+4`.
@@ -2160,7 +1998,6 @@ Non breaking changes:
2160
1998
  - Throw an error when functions `min`, `max`, `mean`, or `median` are invoked
2161
1999
  with multiple matrices as arguments (see #598).
2162
2000
 
2163
-
2164
2001
  ## 2016-03-19, version 3.1.0
2165
2002
 
2166
2003
  - Hide multiplication operator by default when outputting `toTex` and `toString`
@@ -2172,7 +2009,6 @@ Non breaking changes:
2172
2009
  - Added automatic conversions from `boolean` and `null` to `Fraction`,
2173
2010
  and conversions from `Fraction` to `Complex`.
2174
2011
 
2175
-
2176
2012
  ## 2016-03-04, version 3.0.0
2177
2013
 
2178
2014
  ### breaking changes
@@ -2235,7 +2071,6 @@ Non breaking changes:
2235
2071
  - Fixed angle units `deg`, `rad`, `grad`, `cycle`, `arcsec`, and `arcmin` not
2236
2072
  being defined as BigNumbers when configuring to use BigNumbers.
2237
2073
 
2238
-
2239
2074
  ## 2016-02-03, version 2.7.0
2240
2075
 
2241
2076
  - Added more unit aliases for time: `secs`, `mins`, `hr`, `hrs`. See #551.
@@ -2244,7 +2079,6 @@ Non breaking changes:
2244
2079
  - Fixed #546: Cannot import BigNumber, Fraction, Matrix, Array.
2245
2080
  Thanks @brettjurgens.
2246
2081
 
2247
-
2248
2082
  ## 2016-01-08, version 2.6.0
2249
2083
 
2250
2084
  - Implemented (complex) units `VA` and `VAR`.
@@ -2256,7 +2090,6 @@ Non breaking changes:
2256
2090
  of the correct subset.
2257
2091
  - Fixed #536: A bug in an internal method used for sparse matrices.
2258
2092
 
2259
-
2260
2093
  ## 2015-12-05, version 2.5.0
2261
2094
 
2262
2095
  - Implemented support for numeric types `Fraction` and `BigNumber` in units.
@@ -2268,14 +2101,12 @@ Non breaking changes:
2268
2101
  function definition.
2269
2102
  - Fixed: Function `number` didn't support `Fraction` as input.
2270
2103
 
2271
-
2272
2104
  ## 2015-11-14, version 2.4.2
2273
2105
 
2274
2106
  - Fixed #502: Issue with `format` in some JavaScript engines.
2275
2107
  - Fixed #503: Removed trailing commas and the use of keyword `import` as
2276
2108
  property, as this gives issues with old JavaScript engines.
2277
2109
 
2278
-
2279
2110
  ## 2015-10-29, version 2.4.1
2280
2111
 
2281
2112
  - Fixed #480: `nthRoot` not working on Internet Explorer (up to IE11).
@@ -2292,7 +2123,6 @@ Non breaking changes:
2292
2123
  - Fixed: removed memoization from `gamma` and `factorial` functions, this
2293
2124
  could blow up memory.
2294
2125
 
2295
-
2296
2126
  ## 2015-10-09, version 2.4.0
2297
2127
 
2298
2128
  - Added support in the expression parser for mathematical alphanumeric symbols
@@ -2303,7 +2133,6 @@ Non breaking changes:
2303
2133
  BigNumber integer values around multiples of tau (i.e. `sin(bignumber(7))`).
2304
2134
  - Fixed value of unit `stone`. Thanks @Esvandiary for finding the error.
2305
2135
 
2306
-
2307
2136
  ## 2015-09-19, version 2.3.0
2308
2137
 
2309
2138
  - Implemented function `distance`. Thanks @devanp92.
@@ -2315,7 +2144,6 @@ Non breaking changes:
2315
2144
  - Fixed #463, #322: inconsistent handling of implicit multiplication.
2316
2145
  - Fixed #444: factorial of infinity not returning infinity.
2317
2146
 
2318
-
2319
2147
  ## 2015-08-30, version 2.2.0
2320
2148
 
2321
2149
  - Units with powers (like `m^2` and `s^-1`) now output with the best prefix.
@@ -2327,13 +2155,11 @@ Non breaking changes:
2327
2155
  - Fixed function `to` not working in case of a simplified unit.
2328
2156
  - Fixed #437: an issue with row swapping in `lup`, also affecting `lusolve`.
2329
2157
 
2330
-
2331
2158
  ## 2015-08-12, version 2.1.1
2332
2159
 
2333
2160
  - Fixed wrong values of the physical constants `speedOfLight`, `molarMassC12`,
2334
2161
  and `magneticFluxQuantum`. Thanks @ericman314 for finding two of them.
2335
2162
 
2336
-
2337
2163
  ## 2015-08-11, version 2.1.0
2338
2164
 
2339
2165
  - Implemented derived units (like `110 km/h in m/s`). Thanks @ericman314.
@@ -2347,13 +2173,11 @@ Non breaking changes:
2347
2173
  - Internal functions `Unit.parse` and `Complex.parse` now throw an Error
2348
2174
  instead of returning null when passing invalid input.
2349
2175
 
2350
-
2351
2176
  ## 2015-07-29, version 2.0.1
2352
2177
 
2353
2178
  - Fixed operations with mixed fractions and numbers be converted to numbers
2354
2179
  instead of fractions.
2355
2180
 
2356
-
2357
2181
  ## 2015-07-28, version 2.0.0
2358
2182
 
2359
2183
  - Large internal refactoring:
@@ -2393,7 +2217,6 @@ Non breaking changes:
2393
2217
  - The size of Arrays is no longer validated. Matrices will validate this on
2394
2218
  creation.
2395
2219
 
2396
-
2397
2220
  ## 2015-07-12, version 1.7.1
2398
2221
 
2399
2222
  - Fixed #397: Inaccuracies in nthRoot for very large values, and wrong results
@@ -2401,7 +2224,6 @@ Non breaking changes:
2401
2224
  - Fixed #405: Parser throws error when defining a function in a multiline
2402
2225
  expression.
2403
2226
 
2404
-
2405
2227
  ## 2015-05-31, version 1.7.0
2406
2228
 
2407
2229
  - Implemented function `quantileSeq` and `partitionSelect`. Thanks @BigFav.
@@ -2416,14 +2238,12 @@ Non breaking changes:
2416
2238
  node tree (see #349).
2417
2239
  - Fixed #381: issue in docs of `randomInt`.
2418
2240
 
2419
-
2420
2241
  ## 2015-04-22, version 1.6.0
2421
2242
 
2422
2243
  - Improvements in `toTex`. Thanks @FSMaxB.
2423
2244
  - Fixed #328: `abs(0 + 0i)` evaluated to `NaN`.
2424
2245
  - Fixed not being able to override lazy loaded constants.
2425
2246
 
2426
-
2427
2247
  ## 2015-04-09, version 1.5.2
2428
2248
 
2429
2249
  - Fixed #313: parsed functions did not handle recursive calls correctly.
@@ -2431,13 +2251,11 @@ Non breaking changes:
2431
2251
  following SI standards (`1 KiB == 1024 B`, `1 kB == 1000 B`).
2432
2252
  - Performance improvements in parsed functions.
2433
2253
 
2434
-
2435
2254
  ## 2015-04-08, version 1.5.1
2436
2255
 
2437
2256
  - Fixed #316: a bug in rounding values when formatting.
2438
2257
  - Fixed #317, #319: a bug in formatting negative values.
2439
2258
 
2440
-
2441
2259
  ## 2015-03-28, version 1.5.0
2442
2260
 
2443
2261
  - Added unit `stone` (6.35 kg).
@@ -2449,7 +2267,6 @@ Non breaking changes:
2449
2267
  - Fixed #291: function `format` sometimes returning exponential notation when
2450
2268
  it should return a fixed notation.
2451
2269
 
2452
-
2453
2270
  ## 2015-02-28, version 1.4.0
2454
2271
 
2455
2272
  - Implemented trigonometric functions:
@@ -2464,7 +2281,6 @@ Non breaking changes:
2464
2281
  - Fixed #281: improved formatting complex numbers. Round the real or imaginary
2465
2282
  part to zero when the difference is larger than the configured precision.
2466
2283
 
2467
-
2468
2284
  ## 2015-02-09, version 1.3.0
2469
2285
 
2470
2286
  - Implemented BigNumber implementations of most trigonometric functions: `sin`,
@@ -2478,7 +2294,6 @@ Non breaking changes:
2478
2294
  `permutations`.
2479
2295
  - Some minor fixes in the docs. Thanks @KenanY.
2480
2296
 
2481
-
2482
2297
  ## 2014-12-25, version 1.2.0
2483
2298
 
2484
2299
  - Support for bitwise operations `bitAnd`, `bitNot`, `bitOr`, `bitXor`,
@@ -2492,14 +2307,12 @@ Non breaking changes:
2492
2307
  functional until math.js v2.0.
2493
2308
  - Upgraded to decimal.js v4.0.1 (BigNumber library).
2494
2309
 
2495
-
2496
2310
  ## 2014-11-22, version 1.1.1
2497
2311
 
2498
2312
  - Fixed Unit divided by Number returning zero.
2499
2313
  - Fixed BigNumber downgrading to Number for a negative base in `pow`.
2500
2314
  - Fixed some typos in error messaging (thanks @andy0130tw) and docs.
2501
2315
 
2502
-
2503
2316
  ## 2014-11-15, version 1.1.0
2504
2317
 
2505
2318
  - Implemented functions `dot` (dot product), `cross` (cross product), and
@@ -2520,7 +2333,6 @@ Non breaking changes:
2520
2333
  of via a function `add`.
2521
2334
  - Fixed `2e` giving a syntax error instead of being parsed as `2 * e`.
2522
2335
 
2523
-
2524
2336
  ## 2014-09-12, version 1.0.1
2525
2337
 
2526
2338
  - Disabled array notation for ranges in a matrix index in the expression parser
@@ -2529,7 +2341,6 @@ Non breaking changes:
2529
2341
  a scalar.
2530
2342
  - Fixed some missing docs and broken links in the docs.
2531
2343
 
2532
-
2533
2344
  ## 2014-09-04, version 1.0.0
2534
2345
 
2535
2346
  - Implemented a function `filter(x, test)`.
@@ -2539,7 +2350,6 @@ Non breaking changes:
2539
2350
  - Fixed an zero-based issue when getting a matrix subset using an index
2540
2351
  containing a matrix.
2541
2352
 
2542
-
2543
2353
  ## 2014-08-21, version 0.27.0
2544
2354
 
2545
2355
  - Implemented functions `sort(x [, compare])` and `flatten(x)`.
@@ -2558,7 +2368,6 @@ Non breaking changes:
2558
2368
  - A returned matrix subset is now only squeezed when the `index` consists of
2559
2369
  scalar values, and no longer for ranges resolving into a single value.
2560
2370
 
2561
-
2562
2371
  ## 2014-08-03, version 0.26.0
2563
2372
 
2564
2373
  - A new instance of math.js can no longer be created like `math([options])`,
@@ -2588,7 +2397,6 @@ Non breaking changes:
2588
2397
  - Fixed broken auto completion in CLI.
2589
2398
  - Some minor fixes.
2590
2399
 
2591
-
2592
2400
  ## 2014-07-01, version 0.25.0
2593
2401
 
2594
2402
  - The library now immediately returns a default instance of mathjs, there is
@@ -2611,12 +2419,10 @@ Non breaking changes:
2611
2419
  like `math.eval('10 * celsius')`.
2612
2420
  - Fixed a bug with symbols having value `undefined` not being evaluated.
2613
2421
 
2614
-
2615
2422
  ## 2014-06-20, version 0.24.1
2616
2423
 
2617
2424
  - Something went wrong with publishing on npm.
2618
2425
 
2619
-
2620
2426
  ## 2014-06-20, version 0.24.0
2621
2427
 
2622
2428
  - Added constant `null`.
@@ -2630,7 +2436,6 @@ Non breaking changes:
2630
2436
  - Fixed imported, wrapped functions not accepting `null` and `undefined` as
2631
2437
  function arguments.
2632
2438
 
2633
-
2634
2439
  ## 2014-06-10, version 0.23.0
2635
2440
 
2636
2441
  - Renamed some functions (everything now has a logical, camel case name):
@@ -2662,7 +2467,6 @@ Non breaking changes:
2662
2467
  return ans;
2663
2468
  }
2664
2469
 
2665
-
2666
2470
  ## 2014-05-22, version 0.22.0
2667
2471
 
2668
2472
  - Implemented support to export expressions to LaTeX. Thanks Niels Heisterkamp
@@ -2675,7 +2479,6 @@ Non breaking changes:
2675
2479
  - Fixed random functions not accepting Matrix as input, and always returning
2676
2480
  a Matrix as output.
2677
2481
 
2678
-
2679
2482
  ## 2014-05-13, version 0.21.1
2680
2483
 
2681
2484
  - Removed `crypto` library from the bundle.
@@ -2685,7 +2488,6 @@ Non breaking changes:
2685
2488
  - Fixed parser not being able to evaluate an exponent followed by a unary minus
2686
2489
  like `2^-3`, and a transpose followed by an index like `[3]'[1]`.
2687
2490
 
2688
-
2689
2491
  ## 2014-04-24, version 0.21.0
2690
2492
 
2691
2493
  - Implemented trigonometric hyperbolic functions `cosh`, `coth`, `csch`,
@@ -2694,7 +2496,6 @@ Non breaking changes:
2694
2496
  - Fixed functions `log`, `log10`, `pow`, and `sqrt` not supporting complex
2695
2497
  results from BigNumber input (like `sqrt(bignumber(-4))`).
2696
2498
 
2697
-
2698
2499
  ## 2014-04-16, version 0.20.0
2699
2500
 
2700
2501
  - Switched to module `decimal.js` for BigNumber support, instead of
@@ -2718,14 +2519,12 @@ Non breaking changes:
2718
2519
  of zero-based.
2719
2520
  - Minor bug fixes.
2720
2521
 
2721
-
2722
2522
  ## 2014-03-30, version 0.19.0
2723
2523
 
2724
2524
  - Implemented functions `compare`, `sum`, `prod`, `var`, `std`, `median`.
2725
2525
  - Implemented function `ifElse` Thanks @mtraynham.
2726
2526
  - Minor bug fixes.
2727
2527
 
2728
-
2729
2528
  ## 2014-02-15, version 0.18.1
2730
2529
 
2731
2530
  - Added unit `feet`.
@@ -2735,7 +2534,6 @@ Non breaking changes:
2735
2534
  - Fixed an error in function `combinations` for large numbers, and
2736
2535
  improved performance of both functions `combinations` and `permutations`.
2737
2536
 
2738
-
2739
2537
  ## 2014-01-18, version 0.18.0
2740
2538
 
2741
2539
  - Changed matrix index notation of expression parser from round brackets to
@@ -2754,13 +2552,11 @@ Non breaking changes:
2754
2552
  Thanks Daniel Levin (@daniel-levin).
2755
2553
  - Added lower case abbreviation `l` for unit litre.
2756
2554
 
2757
-
2758
2555
  ## 2013-12-19, version 0.17.1
2759
2556
 
2760
2557
  - Fixed a bug with negative temperatures.
2761
2558
  - Fixed a bug with prefixes of units squared meter `m2` and cubic meter `m3`.
2762
2559
 
2763
-
2764
2560
  ## 2013-12-12, version 0.17.0
2765
2561
 
2766
2562
  - Renamed and flattened configuration settings:
@@ -2772,7 +2568,6 @@ Non breaking changes:
2772
2568
  - Fixed support for old browsers (IE8 and older), compatible when using es5-shim.
2773
2569
  - Fixed support for Java's ScriptEngine.
2774
2570
 
2775
-
2776
2571
  ## 2013-11-28, version 0.16.0
2777
2572
 
2778
2573
  - Implemented BigNumber support for arbitrary precision calculations.
@@ -2804,7 +2599,6 @@ Non breaking changes:
2804
2599
  input.
2805
2600
  - Minor bug fixes.
2806
2601
 
2807
-
2808
2602
  ## 2013-10-26, version 0.15.0
2809
2603
 
2810
2604
  - Math.js must be instantiated now, static calls are no longer supported. Usage:
@@ -2836,7 +2630,6 @@ Non breaking changes:
2836
2630
  - Removed support for comparing complex numbers in functions `smaller`,
2837
2631
  `smallereq`, `larger`, `largereq`. Complex numbers cannot be ordered.
2838
2632
 
2839
-
2840
2633
  ## 2013-10-08, version 0.14.0
2841
2634
 
2842
2635
  - Introduced an option `math.options.matrix.default` which can have values
@@ -2853,7 +2646,6 @@ Non breaking changes:
2853
2646
  - Documentation is restructured and extended.
2854
2647
  - Fixed non working operator `mod` (modulus operator).
2855
2648
 
2856
-
2857
2649
  ## 2013-09-03, version 0.13.0
2858
2650
 
2859
2651
  - Implemented support for booleans in all relevant functions.
@@ -2876,13 +2668,11 @@ Non breaking changes:
2876
2668
  - Moved `math.expr.Selector` to `math.chaining.Selector`.
2877
2669
  - Fixed some edge cases in functions `lcm` and `xgcd`.
2878
2670
 
2879
-
2880
2671
  ## 2013-08-22, version 0.12.1
2881
2672
 
2882
2673
  - Fixed outdated version of README.md.
2883
2674
  - Fixed a broken unit test.
2884
2675
 
2885
-
2886
2676
  ## 2013-08-22, version 0.12.0
2887
2677
 
2888
2678
  - Implemented functions `random([min, max])`, `randomInt([min, max])`,
@@ -2906,12 +2696,10 @@ Non breaking changes:
2906
2696
  value with an imaginary part equal to zero to a number.
2907
2697
  - Fixed zeros being formatted as null. Thanks @TimKraft.
2908
2698
 
2909
-
2910
2699
  ## 2013-07-23, version 0.11.1
2911
2700
 
2912
2701
  - Fixed missing development dependency
2913
2702
 
2914
-
2915
2703
  ## 2013-07-23, version 0.11.0
2916
2704
 
2917
2705
  - Changed math.js from one-based to zero-based indexes.
@@ -2926,7 +2714,6 @@ Non breaking changes:
2926
2714
  - Fixed not accepting empty matrices like `[[], []]`.
2927
2715
  - Some fixes in the end user documentation.
2928
2716
 
2929
-
2930
2717
  ## 2013-07-08, version 0.10.0
2931
2718
 
2932
2719
  - For complex calculations, all functions now automatically replace results
@@ -2941,7 +2728,6 @@ Non breaking changes:
2941
2728
  - Renamed function `unaryminus` to `unary`.
2942
2729
  - Fixed a bug in determining node dependencies in function assignments.
2943
2730
 
2944
-
2945
2731
  ## 2013-06-14, version 0.9.1
2946
2732
 
2947
2733
  - Implemented element-wise functions and operators: `emultiply` (`x .* y`),
@@ -2953,7 +2739,6 @@ Non breaking changes:
2953
2739
  - Fixed a bug in function multiply multiplying a pure complex value with
2954
2740
  Infinity.
2955
2741
 
2956
-
2957
2742
  ## 2013-05-29, version 0.9.0
2958
2743
 
2959
2744
  - Implemented function `math.parse(expr [,scope])`. Optional parameter scope can
@@ -2971,7 +2756,6 @@ Non breaking changes:
2971
2756
  - Fixed function mod for negative numerators, and added error messages in case
2972
2757
  of wrong input.
2973
2758
 
2974
-
2975
2759
  ## 2013-05-18, version 0.8.2
2976
2760
 
2977
2761
  - Extended the import function and some other minor improvements.
@@ -2979,12 +2763,10 @@ Non breaking changes:
2979
2763
  - Fixed a bug in function subtract, when subtracting a complex number from a
2980
2764
  real number.
2981
2765
 
2982
-
2983
2766
  ## 2013-05-10, version 0.8.1
2984
2767
 
2985
2768
  - Fixed an npm warning when installing mathjs globally.
2986
2769
 
2987
-
2988
2770
  ## 2013-05-10, version 0.8.0
2989
2771
 
2990
2772
  - Implemented a command line interface. When math.js is installed globally via
@@ -3000,13 +2782,11 @@ Non breaking changes:
3000
2782
  - Fixed a bug in updating a subset of a non-existing variable.
3001
2783
  - Minor bug fixes.
3002
2784
 
3003
-
3004
2785
  ## 2013-05-04, version 0.7.2
3005
2786
 
3006
2787
  - Fixed method unequal, which was checking for equality instead of inequality.
3007
2788
  Thanks @FJS2.
3008
2789
 
3009
-
3010
2790
  ## 2013-04-27, version 0.7.1
3011
2791
 
3012
2792
  - Improvements in the parser:
@@ -3022,7 +2802,6 @@ Non breaking changes:
3022
2802
  - Fixed a bug in Workspace.insertAfter.
3023
2803
  - Fixed: math.js now works on IE 6-8 too.
3024
2804
 
3025
-
3026
2805
  ## 2013-04-20, version 0.7.0
3027
2806
 
3028
2807
  - Implemented method `math.eval`, which uses a readonly parser to evaluate
@@ -3039,7 +2818,6 @@ Non breaking changes:
3039
2818
  - Fixed method math.typeof on IE.
3040
2819
  - Minor bug fixes and improvements.
3041
2820
 
3042
-
3043
2821
  ## 2013-04-13, version 0.6.0
3044
2822
 
3045
2823
  - Implemented chained operations via method math.select(). For example
@@ -3061,7 +2839,6 @@ Non breaking changes:
3061
2839
  - Fixed constant i being defined as -1i instead of 1i.
3062
2840
  - Minor bug fixes.
3063
2841
 
3064
-
3065
2842
  ## 2013-04-06, version 0.5.0
3066
2843
 
3067
2844
  - Implemented data types Matrix and Range.
@@ -3082,7 +2859,6 @@ Non breaking changes:
3082
2859
  - Changed: renamed the parsers method 'put' into 'set'.
3083
2860
  - Fixed: method 'in' did not check for units to have the same base.
3084
2861
 
3085
-
3086
2862
  ## 2013-03-16, version 0.4.0
3087
2863
 
3088
2864
  - Implemented Array support for all methods.
@@ -3095,14 +2871,12 @@ Non breaking changes:
3095
2871
  - Fixed: method 'typeof' was not working well with minified and mangled code.
3096
2872
  - Fixed: errors in determining the best prefix for a unit.
3097
2873
 
3098
-
3099
2874
  ## 2013-03-09, version 0.3.0
3100
2875
 
3101
2876
  - Implemented Workspace
3102
2877
  - Implemented methods cot, csc, sec.
3103
2878
  - Implemented Array support for methods with one parameter.
3104
2879
 
3105
-
3106
2880
  ## 2013-02-25, version 0.2.0
3107
2881
 
3108
2882
  - Parser, Scope, and expression tree with Nodes implemented.
@@ -3110,21 +2884,18 @@ Non breaking changes:
3110
2884
  - Implemented methods arg, conj, cube, equal, factorial, im, largereq,
3111
2885
  log(x, base), log10, mod, re, sign, smallereq, square, unequal.
3112
2886
 
3113
-
3114
2887
  ## 2013-02-18, version 0.1.0
3115
2888
 
3116
2889
  - Reached full compatibility with Javascripts built-in Math library.
3117
2890
  - More functions implemented.
3118
2891
  - Some bugfixes.
3119
2892
 
3120
-
3121
2893
  ## 2013-02-16, version 0.0.2
3122
2894
 
3123
2895
  - All constants of Math implemented, plus the imaginary unit i.
3124
2896
  - Data types Complex and Unit implemented.
3125
2897
  - First set of functions implemented.
3126
2898
 
3127
-
3128
2899
  ## 2013-02-15, version 0.0.1
3129
2900
 
3130
2901
  - First publish of the mathjs package. (package is still empty)