mathjs-min 11.7.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of mathjs-min might be problematic. Click here for more details.

Files changed (2401) hide show
  1. package/CONTRIBUTING.md +24 -0
  2. package/HISTORY.md +2872 -0
  3. package/LICENSE +176 -0
  4. package/NOTICE +16 -0
  5. package/README.md +235 -0
  6. package/bin/cli.js +432 -0
  7. package/bin/package.json +3 -0
  8. package/dist/math.js +3 -0
  9. package/dist/math.min.js +3 -0
  10. package/dist/package.json +3 -0
  11. package/lib/cjs/constants.js +127 -0
  12. package/lib/cjs/core/config.js +26 -0
  13. package/lib/cjs/core/create.js +207 -0
  14. package/lib/cjs/core/function/config.js +118 -0
  15. package/lib/cjs/core/function/import.js +340 -0
  16. package/lib/cjs/core/function/typed.js +421 -0
  17. package/lib/cjs/defaultInstance.js +13 -0
  18. package/lib/cjs/entry/allFactoriesAny.js +14 -0
  19. package/lib/cjs/entry/allFactoriesNumber.js +14 -0
  20. package/lib/cjs/entry/configReadonly.js +22 -0
  21. package/lib/cjs/entry/dependenciesAny/dependenciesAbs.generated.js +18 -0
  22. package/lib/cjs/entry/dependenciesAny/dependenciesAccessorNode.generated.js +20 -0
  23. package/lib/cjs/entry/dependenciesAny/dependenciesAcos.generated.js +20 -0
  24. package/lib/cjs/entry/dependenciesAny/dependenciesAcosh.generated.js +20 -0
  25. package/lib/cjs/entry/dependenciesAny/dependenciesAcot.generated.js +20 -0
  26. package/lib/cjs/entry/dependenciesAny/dependenciesAcoth.generated.js +22 -0
  27. package/lib/cjs/entry/dependenciesAny/dependenciesAcsc.generated.js +22 -0
  28. package/lib/cjs/entry/dependenciesAny/dependenciesAcsch.generated.js +20 -0
  29. package/lib/cjs/entry/dependenciesAny/dependenciesAdd.generated.js +30 -0
  30. package/lib/cjs/entry/dependenciesAny/dependenciesAddScalar.generated.js +18 -0
  31. package/lib/cjs/entry/dependenciesAny/dependenciesAnd.generated.js +28 -0
  32. package/lib/cjs/entry/dependenciesAny/dependenciesApply.generated.js +20 -0
  33. package/lib/cjs/entry/dependenciesAny/dependenciesApplyTransform.generated.js +20 -0
  34. package/lib/cjs/entry/dependenciesAny/dependenciesArg.generated.js +18 -0
  35. package/lib/cjs/entry/dependenciesAny/dependenciesArrayNode.generated.js +18 -0
  36. package/lib/cjs/entry/dependenciesAny/dependenciesAsec.generated.js +22 -0
  37. package/lib/cjs/entry/dependenciesAny/dependenciesAsech.generated.js +22 -0
  38. package/lib/cjs/entry/dependenciesAny/dependenciesAsin.generated.js +20 -0
  39. package/lib/cjs/entry/dependenciesAny/dependenciesAsinh.generated.js +18 -0
  40. package/lib/cjs/entry/dependenciesAny/dependenciesAssignmentNode.generated.js +22 -0
  41. package/lib/cjs/entry/dependenciesAny/dependenciesAtan.generated.js +18 -0
  42. package/lib/cjs/entry/dependenciesAny/dependenciesAtan2.generated.js +28 -0
  43. package/lib/cjs/entry/dependenciesAny/dependenciesAtanh.generated.js +20 -0
  44. package/lib/cjs/entry/dependenciesAny/dependenciesAtomicMass.generated.js +20 -0
  45. package/lib/cjs/entry/dependenciesAny/dependenciesAvogadro.generated.js +20 -0
  46. package/lib/cjs/entry/dependenciesAny/dependenciesBellNumbers.generated.js +26 -0
  47. package/lib/cjs/entry/dependenciesAny/dependenciesBigNumberClass.generated.js +16 -0
  48. package/lib/cjs/entry/dependenciesAny/dependenciesBignumber.generated.js +20 -0
  49. package/lib/cjs/entry/dependenciesAny/dependenciesBin.generated.js +20 -0
  50. package/lib/cjs/entry/dependenciesAny/dependenciesBitAnd.generated.js +24 -0
  51. package/lib/cjs/entry/dependenciesAny/dependenciesBitNot.generated.js +18 -0
  52. package/lib/cjs/entry/dependenciesAny/dependenciesBitOr.generated.js +26 -0
  53. package/lib/cjs/entry/dependenciesAny/dependenciesBitXor.generated.js +24 -0
  54. package/lib/cjs/entry/dependenciesAny/dependenciesBlockNode.generated.js +20 -0
  55. package/lib/cjs/entry/dependenciesAny/dependenciesBohrMagneton.generated.js +20 -0
  56. package/lib/cjs/entry/dependenciesAny/dependenciesBohrRadius.generated.js +20 -0
  57. package/lib/cjs/entry/dependenciesAny/dependenciesBoltzmann.generated.js +20 -0
  58. package/lib/cjs/entry/dependenciesAny/dependenciesBoolean.generated.js +18 -0
  59. package/lib/cjs/entry/dependenciesAny/dependenciesCatalan.generated.js +30 -0
  60. package/lib/cjs/entry/dependenciesAny/dependenciesCbrt.generated.js +30 -0
  61. package/lib/cjs/entry/dependenciesAny/dependenciesCeil.generated.js +28 -0
  62. package/lib/cjs/entry/dependenciesAny/dependenciesChain.generated.js +20 -0
  63. package/lib/cjs/entry/dependenciesAny/dependenciesChainClass.generated.js +18 -0
  64. package/lib/cjs/entry/dependenciesAny/dependenciesClassicalElectronRadius.generated.js +20 -0
  65. package/lib/cjs/entry/dependenciesAny/dependenciesClone.generated.js +18 -0
  66. package/lib/cjs/entry/dependenciesAny/dependenciesColumn.generated.js +24 -0
  67. package/lib/cjs/entry/dependenciesAny/dependenciesColumnTransform.generated.js +24 -0
  68. package/lib/cjs/entry/dependenciesAny/dependenciesCombinations.generated.js +18 -0
  69. package/lib/cjs/entry/dependenciesAny/dependenciesCombinationsWithRep.generated.js +18 -0
  70. package/lib/cjs/entry/dependenciesAny/dependenciesCompare.generated.js +30 -0
  71. package/lib/cjs/entry/dependenciesAny/dependenciesCompareNatural.generated.js +20 -0
  72. package/lib/cjs/entry/dependenciesAny/dependenciesCompareText.generated.js +22 -0
  73. package/lib/cjs/entry/dependenciesAny/dependenciesCompile.generated.js +20 -0
  74. package/lib/cjs/entry/dependenciesAny/dependenciesComplex.generated.js +20 -0
  75. package/lib/cjs/entry/dependenciesAny/dependenciesComplexClass.generated.js +16 -0
  76. package/lib/cjs/entry/dependenciesAny/dependenciesComposition.generated.js +30 -0
  77. package/lib/cjs/entry/dependenciesAny/dependenciesConcat.generated.js +22 -0
  78. package/lib/cjs/entry/dependenciesAny/dependenciesConcatTransform.generated.js +22 -0
  79. package/lib/cjs/entry/dependenciesAny/dependenciesConditionalNode.generated.js +18 -0
  80. package/lib/cjs/entry/dependenciesAny/dependenciesConductanceQuantum.generated.js +20 -0
  81. package/lib/cjs/entry/dependenciesAny/dependenciesConj.generated.js +18 -0
  82. package/lib/cjs/entry/dependenciesAny/dependenciesConstantNode.generated.js +18 -0
  83. package/lib/cjs/entry/dependenciesAny/dependenciesCos.generated.js +18 -0
  84. package/lib/cjs/entry/dependenciesAny/dependenciesCosh.generated.js +18 -0
  85. package/lib/cjs/entry/dependenciesAny/dependenciesCot.generated.js +20 -0
  86. package/lib/cjs/entry/dependenciesAny/dependenciesCoth.generated.js +20 -0
  87. package/lib/cjs/entry/dependenciesAny/dependenciesCoulomb.generated.js +20 -0
  88. package/lib/cjs/entry/dependenciesAny/dependenciesCount.generated.js +22 -0
  89. package/lib/cjs/entry/dependenciesAny/dependenciesCreateUnit.generated.js +20 -0
  90. package/lib/cjs/entry/dependenciesAny/dependenciesCross.generated.js +24 -0
  91. package/lib/cjs/entry/dependenciesAny/dependenciesCsc.generated.js +20 -0
  92. package/lib/cjs/entry/dependenciesAny/dependenciesCsch.generated.js +20 -0
  93. package/lib/cjs/entry/dependenciesAny/dependenciesCtranspose.generated.js +22 -0
  94. package/lib/cjs/entry/dependenciesAny/dependenciesCube.generated.js +18 -0
  95. package/lib/cjs/entry/dependenciesAny/dependenciesCumSum.generated.js +22 -0
  96. package/lib/cjs/entry/dependenciesAny/dependenciesCumSumTransform.generated.js +22 -0
  97. package/lib/cjs/entry/dependenciesAny/dependenciesDeepEqual.generated.js +20 -0
  98. package/lib/cjs/entry/dependenciesAny/dependenciesDenseMatrixClass.generated.js +18 -0
  99. package/lib/cjs/entry/dependenciesAny/dependenciesDerivative.generated.js +38 -0
  100. package/lib/cjs/entry/dependenciesAny/dependenciesDet.generated.js +30 -0
  101. package/lib/cjs/entry/dependenciesAny/dependenciesDeuteronMass.generated.js +20 -0
  102. package/lib/cjs/entry/dependenciesAny/dependenciesDiag.generated.js +24 -0
  103. package/lib/cjs/entry/dependenciesAny/dependenciesDiff.generated.js +24 -0
  104. package/lib/cjs/entry/dependenciesAny/dependenciesDiffTransform.generated.js +26 -0
  105. package/lib/cjs/entry/dependenciesAny/dependenciesDistance.generated.js +32 -0
  106. package/lib/cjs/entry/dependenciesAny/dependenciesDivide.generated.js +28 -0
  107. package/lib/cjs/entry/dependenciesAny/dependenciesDivideScalar.generated.js +20 -0
  108. package/lib/cjs/entry/dependenciesAny/dependenciesDot.generated.js +26 -0
  109. package/lib/cjs/entry/dependenciesAny/dependenciesDotDivide.generated.js +28 -0
  110. package/lib/cjs/entry/dependenciesAny/dependenciesDotMultiply.generated.js +26 -0
  111. package/lib/cjs/entry/dependenciesAny/dependenciesDotPow.generated.js +28 -0
  112. package/lib/cjs/entry/dependenciesAny/dependenciesE.generated.js +18 -0
  113. package/lib/cjs/entry/dependenciesAny/dependenciesEfimovFactor.generated.js +18 -0
  114. package/lib/cjs/entry/dependenciesAny/dependenciesEigs.generated.js +76 -0
  115. package/lib/cjs/entry/dependenciesAny/dependenciesElectricConstant.generated.js +20 -0
  116. package/lib/cjs/entry/dependenciesAny/dependenciesElectronMass.generated.js +20 -0
  117. package/lib/cjs/entry/dependenciesAny/dependenciesElementaryCharge.generated.js +20 -0
  118. package/lib/cjs/entry/dependenciesAny/dependenciesEqual.generated.js +26 -0
  119. package/lib/cjs/entry/dependenciesAny/dependenciesEqualScalar.generated.js +18 -0
  120. package/lib/cjs/entry/dependenciesAny/dependenciesEqualText.generated.js +22 -0
  121. package/lib/cjs/entry/dependenciesAny/dependenciesErf.generated.js +18 -0
  122. package/lib/cjs/entry/dependenciesAny/dependenciesEvaluate.generated.js +20 -0
  123. package/lib/cjs/entry/dependenciesAny/dependenciesExp.generated.js +18 -0
  124. package/lib/cjs/entry/dependenciesAny/dependenciesExpm.generated.js +28 -0
  125. package/lib/cjs/entry/dependenciesAny/dependenciesExpm1.generated.js +20 -0
  126. package/lib/cjs/entry/dependenciesAny/dependenciesFactorial.generated.js +20 -0
  127. package/lib/cjs/entry/dependenciesAny/dependenciesFalse.generated.js +16 -0
  128. package/lib/cjs/entry/dependenciesAny/dependenciesFaraday.generated.js +20 -0
  129. package/lib/cjs/entry/dependenciesAny/dependenciesFermiCoupling.generated.js +20 -0
  130. package/lib/cjs/entry/dependenciesAny/dependenciesFft.generated.js +42 -0
  131. package/lib/cjs/entry/dependenciesAny/dependenciesFibonacciHeapClass.generated.js +20 -0
  132. package/lib/cjs/entry/dependenciesAny/dependenciesFilter.generated.js +18 -0
  133. package/lib/cjs/entry/dependenciesAny/dependenciesFilterTransform.generated.js +18 -0
  134. package/lib/cjs/entry/dependenciesAny/dependenciesFineStructure.generated.js +18 -0
  135. package/lib/cjs/entry/dependenciesAny/dependenciesFirstRadiation.generated.js +20 -0
  136. package/lib/cjs/entry/dependenciesAny/dependenciesFix.generated.js +32 -0
  137. package/lib/cjs/entry/dependenciesAny/dependenciesFlatten.generated.js +20 -0
  138. package/lib/cjs/entry/dependenciesAny/dependenciesFloor.generated.js +28 -0
  139. package/lib/cjs/entry/dependenciesAny/dependenciesForEach.generated.js +18 -0
  140. package/lib/cjs/entry/dependenciesAny/dependenciesForEachTransform.generated.js +18 -0
  141. package/lib/cjs/entry/dependenciesAny/dependenciesFormat.generated.js +18 -0
  142. package/lib/cjs/entry/dependenciesAny/dependenciesFraction.generated.js +20 -0
  143. package/lib/cjs/entry/dependenciesAny/dependenciesFractionClass.generated.js +16 -0
  144. package/lib/cjs/entry/dependenciesAny/dependenciesFunctionAssignmentNode.generated.js +20 -0
  145. package/lib/cjs/entry/dependenciesAny/dependenciesFunctionNode.generated.js +20 -0
  146. package/lib/cjs/entry/dependenciesAny/dependenciesGamma.generated.js +26 -0
  147. package/lib/cjs/entry/dependenciesAny/dependenciesGasConstant.generated.js +20 -0
  148. package/lib/cjs/entry/dependenciesAny/dependenciesGcd.generated.js +28 -0
  149. package/lib/cjs/entry/dependenciesAny/dependenciesGetMatrixDataType.generated.js +18 -0
  150. package/lib/cjs/entry/dependenciesAny/dependenciesGravitationConstant.generated.js +20 -0
  151. package/lib/cjs/entry/dependenciesAny/dependenciesGravity.generated.js +20 -0
  152. package/lib/cjs/entry/dependenciesAny/dependenciesHartreeEnergy.generated.js +20 -0
  153. package/lib/cjs/entry/dependenciesAny/dependenciesHasNumericValue.generated.js +20 -0
  154. package/lib/cjs/entry/dependenciesAny/dependenciesHelp.generated.js +20 -0
  155. package/lib/cjs/entry/dependenciesAny/dependenciesHelpClass.generated.js +18 -0
  156. package/lib/cjs/entry/dependenciesAny/dependenciesHex.generated.js +20 -0
  157. package/lib/cjs/entry/dependenciesAny/dependenciesHypot.generated.js +32 -0
  158. package/lib/cjs/entry/dependenciesAny/dependenciesI.generated.js +18 -0
  159. package/lib/cjs/entry/dependenciesAny/dependenciesIdentity.generated.js +26 -0
  160. package/lib/cjs/entry/dependenciesAny/dependenciesIfft.generated.js +24 -0
  161. package/lib/cjs/entry/dependenciesAny/dependenciesIm.generated.js +18 -0
  162. package/lib/cjs/entry/dependenciesAny/dependenciesImmutableDenseMatrixClass.generated.js +20 -0
  163. package/lib/cjs/entry/dependenciesAny/dependenciesIndex.generated.js +20 -0
  164. package/lib/cjs/entry/dependenciesAny/dependenciesIndexClass.generated.js +18 -0
  165. package/lib/cjs/entry/dependenciesAny/dependenciesIndexNode.generated.js +20 -0
  166. package/lib/cjs/entry/dependenciesAny/dependenciesIndexTransform.generated.js +18 -0
  167. package/lib/cjs/entry/dependenciesAny/dependenciesInfinity.generated.js +18 -0
  168. package/lib/cjs/entry/dependenciesAny/dependenciesIntersect.generated.js +44 -0
  169. package/lib/cjs/entry/dependenciesAny/dependenciesInv.generated.js +34 -0
  170. package/lib/cjs/entry/dependenciesAny/dependenciesInverseConductanceQuantum.generated.js +20 -0
  171. package/lib/cjs/entry/dependenciesAny/dependenciesInvmod.generated.js +32 -0
  172. package/lib/cjs/entry/dependenciesAny/dependenciesIsInteger.generated.js +18 -0
  173. package/lib/cjs/entry/dependenciesAny/dependenciesIsNaN.generated.js +18 -0
  174. package/lib/cjs/entry/dependenciesAny/dependenciesIsNegative.generated.js +18 -0
  175. package/lib/cjs/entry/dependenciesAny/dependenciesIsNumeric.generated.js +18 -0
  176. package/lib/cjs/entry/dependenciesAny/dependenciesIsPositive.generated.js +18 -0
  177. package/lib/cjs/entry/dependenciesAny/dependenciesIsPrime.generated.js +18 -0
  178. package/lib/cjs/entry/dependenciesAny/dependenciesIsZero.generated.js +18 -0
  179. package/lib/cjs/entry/dependenciesAny/dependenciesKldivergence.generated.js +34 -0
  180. package/lib/cjs/entry/dependenciesAny/dependenciesKlitzing.generated.js +20 -0
  181. package/lib/cjs/entry/dependenciesAny/dependenciesKron.generated.js +22 -0
  182. package/lib/cjs/entry/dependenciesAny/dependenciesLN10.generated.js +18 -0
  183. package/lib/cjs/entry/dependenciesAny/dependenciesLN2.generated.js +18 -0
  184. package/lib/cjs/entry/dependenciesAny/dependenciesLOG10E.generated.js +18 -0
  185. package/lib/cjs/entry/dependenciesAny/dependenciesLOG2E.generated.js +18 -0
  186. package/lib/cjs/entry/dependenciesAny/dependenciesLarger.generated.js +24 -0
  187. package/lib/cjs/entry/dependenciesAny/dependenciesLargerEq.generated.js +24 -0
  188. package/lib/cjs/entry/dependenciesAny/dependenciesLcm.generated.js +24 -0
  189. package/lib/cjs/entry/dependenciesAny/dependenciesLeafCount.generated.js +20 -0
  190. package/lib/cjs/entry/dependenciesAny/dependenciesLeftShift.generated.js +28 -0
  191. package/lib/cjs/entry/dependenciesAny/dependenciesLgamma.generated.js +20 -0
  192. package/lib/cjs/entry/dependenciesAny/dependenciesLog.generated.js +22 -0
  193. package/lib/cjs/entry/dependenciesAny/dependenciesLog10.generated.js +20 -0
  194. package/lib/cjs/entry/dependenciesAny/dependenciesLog1p.generated.js +24 -0
  195. package/lib/cjs/entry/dependenciesAny/dependenciesLog2.generated.js +20 -0
  196. package/lib/cjs/entry/dependenciesAny/dependenciesLoschmidt.generated.js +20 -0
  197. package/lib/cjs/entry/dependenciesAny/dependenciesLsolve.generated.js +30 -0
  198. package/lib/cjs/entry/dependenciesAny/dependenciesLsolveAll.generated.js +30 -0
  199. package/lib/cjs/entry/dependenciesAny/dependenciesLup.generated.js +42 -0
  200. package/lib/cjs/entry/dependenciesAny/dependenciesLusolve.generated.js +30 -0
  201. package/lib/cjs/entry/dependenciesAny/dependenciesLyap.generated.js +26 -0
  202. package/lib/cjs/entry/dependenciesAny/dependenciesMad.generated.js +26 -0
  203. package/lib/cjs/entry/dependenciesAny/dependenciesMagneticConstant.generated.js +20 -0
  204. package/lib/cjs/entry/dependenciesAny/dependenciesMagneticFluxQuantum.generated.js +20 -0
  205. package/lib/cjs/entry/dependenciesAny/dependenciesMap.generated.js +18 -0
  206. package/lib/cjs/entry/dependenciesAny/dependenciesMapTransform.generated.js +18 -0
  207. package/lib/cjs/entry/dependenciesAny/dependenciesMatrix.generated.js +24 -0
  208. package/lib/cjs/entry/dependenciesAny/dependenciesMatrixClass.generated.js +16 -0
  209. package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromColumns.generated.js +24 -0
  210. package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromFunction.generated.js +22 -0
  211. package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromRows.generated.js +24 -0
  212. package/lib/cjs/entry/dependenciesAny/dependenciesMax.generated.js +22 -0
  213. package/lib/cjs/entry/dependenciesAny/dependenciesMaxTransform.generated.js +22 -0
  214. package/lib/cjs/entry/dependenciesAny/dependenciesMean.generated.js +22 -0
  215. package/lib/cjs/entry/dependenciesAny/dependenciesMeanTransform.generated.js +22 -0
  216. package/lib/cjs/entry/dependenciesAny/dependenciesMedian.generated.js +26 -0
  217. package/lib/cjs/entry/dependenciesAny/dependenciesMin.generated.js +22 -0
  218. package/lib/cjs/entry/dependenciesAny/dependenciesMinTransform.generated.js +22 -0
  219. package/lib/cjs/entry/dependenciesAny/dependenciesMod.generated.js +26 -0
  220. package/lib/cjs/entry/dependenciesAny/dependenciesMode.generated.js +22 -0
  221. package/lib/cjs/entry/dependenciesAny/dependenciesMolarMass.generated.js +20 -0
  222. package/lib/cjs/entry/dependenciesAny/dependenciesMolarMassC12.generated.js +20 -0
  223. package/lib/cjs/entry/dependenciesAny/dependenciesMolarPlanckConstant.generated.js +20 -0
  224. package/lib/cjs/entry/dependenciesAny/dependenciesMolarVolume.generated.js +20 -0
  225. package/lib/cjs/entry/dependenciesAny/dependenciesMultinomial.generated.js +30 -0
  226. package/lib/cjs/entry/dependenciesAny/dependenciesMultiply.generated.js +28 -0
  227. package/lib/cjs/entry/dependenciesAny/dependenciesMultiplyScalar.generated.js +18 -0
  228. package/lib/cjs/entry/dependenciesAny/dependenciesNaN.generated.js +18 -0
  229. package/lib/cjs/entry/dependenciesAny/dependenciesNeutronMass.generated.js +20 -0
  230. package/lib/cjs/entry/dependenciesAny/dependenciesNode.generated.js +16 -0
  231. package/lib/cjs/entry/dependenciesAny/dependenciesNorm.generated.js +42 -0
  232. package/lib/cjs/entry/dependenciesAny/dependenciesNot.generated.js +18 -0
  233. package/lib/cjs/entry/dependenciesAny/dependenciesNthRoot.generated.js +26 -0
  234. package/lib/cjs/entry/dependenciesAny/dependenciesNthRoots.generated.js +22 -0
  235. package/lib/cjs/entry/dependenciesAny/dependenciesNuclearMagneton.generated.js +20 -0
  236. package/lib/cjs/entry/dependenciesAny/dependenciesNull.generated.js +16 -0
  237. package/lib/cjs/entry/dependenciesAny/dependenciesNumber.generated.js +18 -0
  238. package/lib/cjs/entry/dependenciesAny/dependenciesNumeric.generated.js +22 -0
  239. package/lib/cjs/entry/dependenciesAny/dependenciesObjectNode.generated.js +18 -0
  240. package/lib/cjs/entry/dependenciesAny/dependenciesOct.generated.js +20 -0
  241. package/lib/cjs/entry/dependenciesAny/dependenciesOnes.generated.js +22 -0
  242. package/lib/cjs/entry/dependenciesAny/dependenciesOperatorNode.generated.js +18 -0
  243. package/lib/cjs/entry/dependenciesAny/dependenciesOr.generated.js +26 -0
  244. package/lib/cjs/entry/dependenciesAny/dependenciesParenthesisNode.generated.js +18 -0
  245. package/lib/cjs/entry/dependenciesAny/dependenciesParse.generated.js +50 -0
  246. package/lib/cjs/entry/dependenciesAny/dependenciesParser.generated.js +20 -0
  247. package/lib/cjs/entry/dependenciesAny/dependenciesParserClass.generated.js +18 -0
  248. package/lib/cjs/entry/dependenciesAny/dependenciesPartitionSelect.generated.js +24 -0
  249. package/lib/cjs/entry/dependenciesAny/dependenciesPermutations.generated.js +20 -0
  250. package/lib/cjs/entry/dependenciesAny/dependenciesPhi.generated.js +18 -0
  251. package/lib/cjs/entry/dependenciesAny/dependenciesPi.generated.js +18 -0
  252. package/lib/cjs/entry/dependenciesAny/dependenciesPickRandom.generated.js +18 -0
  253. package/lib/cjs/entry/dependenciesAny/dependenciesPinv.generated.js +40 -0
  254. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckCharge.generated.js +20 -0
  255. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckConstant.generated.js +20 -0
  256. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckLength.generated.js +20 -0
  257. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckMass.generated.js +20 -0
  258. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckTemperature.generated.js +20 -0
  259. package/lib/cjs/entry/dependenciesAny/dependenciesPlanckTime.generated.js +20 -0
  260. package/lib/cjs/entry/dependenciesAny/dependenciesPolynomialRoot.generated.js +42 -0
  261. package/lib/cjs/entry/dependenciesAny/dependenciesPow.generated.js +32 -0
  262. package/lib/cjs/entry/dependenciesAny/dependenciesPrint.generated.js +18 -0
  263. package/lib/cjs/entry/dependenciesAny/dependenciesProd.generated.js +22 -0
  264. package/lib/cjs/entry/dependenciesAny/dependenciesProtonMass.generated.js +20 -0
  265. package/lib/cjs/entry/dependenciesAny/dependenciesQr.generated.js +46 -0
  266. package/lib/cjs/entry/dependenciesAny/dependenciesQuantileSeq.generated.js +26 -0
  267. package/lib/cjs/entry/dependenciesAny/dependenciesQuantumOfCirculation.generated.js +20 -0
  268. package/lib/cjs/entry/dependenciesAny/dependenciesRandom.generated.js +18 -0
  269. package/lib/cjs/entry/dependenciesAny/dependenciesRandomInt.generated.js +18 -0
  270. package/lib/cjs/entry/dependenciesAny/dependenciesRange.generated.js +30 -0
  271. package/lib/cjs/entry/dependenciesAny/dependenciesRangeClass.generated.js +16 -0
  272. package/lib/cjs/entry/dependenciesAny/dependenciesRangeNode.generated.js +18 -0
  273. package/lib/cjs/entry/dependenciesAny/dependenciesRangeTransform.generated.js +30 -0
  274. package/lib/cjs/entry/dependenciesAny/dependenciesRationalize.generated.js +64 -0
  275. package/lib/cjs/entry/dependenciesAny/dependenciesRe.generated.js +18 -0
  276. package/lib/cjs/entry/dependenciesAny/dependenciesReducedPlanckConstant.generated.js +20 -0
  277. package/lib/cjs/entry/dependenciesAny/dependenciesRelationalNode.generated.js +18 -0
  278. package/lib/cjs/entry/dependenciesAny/dependenciesReplacer.generated.js +16 -0
  279. package/lib/cjs/entry/dependenciesAny/dependenciesReshape.generated.js +22 -0
  280. package/lib/cjs/entry/dependenciesAny/dependenciesResize.generated.js +18 -0
  281. package/lib/cjs/entry/dependenciesAny/dependenciesResolve.generated.js +28 -0
  282. package/lib/cjs/entry/dependenciesAny/dependenciesResultSet.generated.js +16 -0
  283. package/lib/cjs/entry/dependenciesAny/dependenciesReviver.generated.js +16 -0
  284. package/lib/cjs/entry/dependenciesAny/dependenciesRightArithShift.generated.js +28 -0
  285. package/lib/cjs/entry/dependenciesAny/dependenciesRightLogShift.generated.js +28 -0
  286. package/lib/cjs/entry/dependenciesAny/dependenciesRotate.generated.js +22 -0
  287. package/lib/cjs/entry/dependenciesAny/dependenciesRotationMatrix.generated.js +38 -0
  288. package/lib/cjs/entry/dependenciesAny/dependenciesRound.generated.js +28 -0
  289. package/lib/cjs/entry/dependenciesAny/dependenciesRow.generated.js +24 -0
  290. package/lib/cjs/entry/dependenciesAny/dependenciesRowTransform.generated.js +24 -0
  291. package/lib/cjs/entry/dependenciesAny/dependenciesRydberg.generated.js +20 -0
  292. package/lib/cjs/entry/dependenciesAny/dependenciesSQRT1_2.generated.js +21 -0
  293. package/lib/cjs/entry/dependenciesAny/dependenciesSQRT2.generated.js +18 -0
  294. package/lib/cjs/entry/dependenciesAny/dependenciesSackurTetrode.generated.js +18 -0
  295. package/lib/cjs/entry/dependenciesAny/dependenciesSchur.generated.js +30 -0
  296. package/lib/cjs/entry/dependenciesAny/dependenciesSec.generated.js +20 -0
  297. package/lib/cjs/entry/dependenciesAny/dependenciesSech.generated.js +20 -0
  298. package/lib/cjs/entry/dependenciesAny/dependenciesSecondRadiation.generated.js +20 -0
  299. package/lib/cjs/entry/dependenciesAny/dependenciesSetCartesian.generated.js +28 -0
  300. package/lib/cjs/entry/dependenciesAny/dependenciesSetDifference.generated.js +28 -0
  301. package/lib/cjs/entry/dependenciesAny/dependenciesSetDistinct.generated.js +28 -0
  302. package/lib/cjs/entry/dependenciesAny/dependenciesSetIntersect.generated.js +28 -0
  303. package/lib/cjs/entry/dependenciesAny/dependenciesSetIsSubset.generated.js +26 -0
  304. package/lib/cjs/entry/dependenciesAny/dependenciesSetMultiplicity.generated.js +26 -0
  305. package/lib/cjs/entry/dependenciesAny/dependenciesSetPowerset.generated.js +26 -0
  306. package/lib/cjs/entry/dependenciesAny/dependenciesSetSize.generated.js +20 -0
  307. package/lib/cjs/entry/dependenciesAny/dependenciesSetSymDifference.generated.js +28 -0
  308. package/lib/cjs/entry/dependenciesAny/dependenciesSetUnion.generated.js +30 -0
  309. package/lib/cjs/entry/dependenciesAny/dependenciesSign.generated.js +24 -0
  310. package/lib/cjs/entry/dependenciesAny/dependenciesSimplify.generated.js +64 -0
  311. package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyConstant.generated.js +40 -0
  312. package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyCore.generated.js +52 -0
  313. package/lib/cjs/entry/dependenciesAny/dependenciesSin.generated.js +18 -0
  314. package/lib/cjs/entry/dependenciesAny/dependenciesSinh.generated.js +18 -0
  315. package/lib/cjs/entry/dependenciesAny/dependenciesSize.generated.js +20 -0
  316. package/lib/cjs/entry/dependenciesAny/dependenciesSlu.generated.js +36 -0
  317. package/lib/cjs/entry/dependenciesAny/dependenciesSmaller.generated.js +24 -0
  318. package/lib/cjs/entry/dependenciesAny/dependenciesSmallerEq.generated.js +24 -0
  319. package/lib/cjs/entry/dependenciesAny/dependenciesSort.generated.js +24 -0
  320. package/lib/cjs/entry/dependenciesAny/dependenciesSpaClass.generated.js +22 -0
  321. package/lib/cjs/entry/dependenciesAny/dependenciesSparse.generated.js +20 -0
  322. package/lib/cjs/entry/dependenciesAny/dependenciesSparseMatrixClass.generated.js +22 -0
  323. package/lib/cjs/entry/dependenciesAny/dependenciesSpeedOfLight.generated.js +20 -0
  324. package/lib/cjs/entry/dependenciesAny/dependenciesSplitUnit.generated.js +18 -0
  325. package/lib/cjs/entry/dependenciesAny/dependenciesSqrt.generated.js +20 -0
  326. package/lib/cjs/entry/dependenciesAny/dependenciesSqrtm.generated.js +38 -0
  327. package/lib/cjs/entry/dependenciesAny/dependenciesSquare.generated.js +18 -0
  328. package/lib/cjs/entry/dependenciesAny/dependenciesSqueeze.generated.js +20 -0
  329. package/lib/cjs/entry/dependenciesAny/dependenciesStd.generated.js +24 -0
  330. package/lib/cjs/entry/dependenciesAny/dependenciesStdTransform.generated.js +24 -0
  331. package/lib/cjs/entry/dependenciesAny/dependenciesStefanBoltzmann.generated.js +20 -0
  332. package/lib/cjs/entry/dependenciesAny/dependenciesStirlingS2.generated.js +42 -0
  333. package/lib/cjs/entry/dependenciesAny/dependenciesString.generated.js +18 -0
  334. package/lib/cjs/entry/dependenciesAny/dependenciesSubset.generated.js +20 -0
  335. package/lib/cjs/entry/dependenciesAny/dependenciesSubsetTransform.generated.js +20 -0
  336. package/lib/cjs/entry/dependenciesAny/dependenciesSubtract.generated.js +30 -0
  337. package/lib/cjs/entry/dependenciesAny/dependenciesSum.generated.js +22 -0
  338. package/lib/cjs/entry/dependenciesAny/dependenciesSumTransform.generated.js +22 -0
  339. package/lib/cjs/entry/dependenciesAny/dependenciesSylvester.generated.js +46 -0
  340. package/lib/cjs/entry/dependenciesAny/dependenciesSymbolNode.generated.js +20 -0
  341. package/lib/cjs/entry/dependenciesAny/dependenciesSymbolicEqual.generated.js +24 -0
  342. package/lib/cjs/entry/dependenciesAny/dependenciesTan.generated.js +18 -0
  343. package/lib/cjs/entry/dependenciesAny/dependenciesTanh.generated.js +18 -0
  344. package/lib/cjs/entry/dependenciesAny/dependenciesTau.generated.js +18 -0
  345. package/lib/cjs/entry/dependenciesAny/dependenciesThomsonCrossSection.generated.js +20 -0
  346. package/lib/cjs/entry/dependenciesAny/dependenciesTo.generated.js +22 -0
  347. package/lib/cjs/entry/dependenciesAny/dependenciesTrace.generated.js +22 -0
  348. package/lib/cjs/entry/dependenciesAny/dependenciesTranspose.generated.js +20 -0
  349. package/lib/cjs/entry/dependenciesAny/dependenciesTrue.generated.js +16 -0
  350. package/lib/cjs/entry/dependenciesAny/dependenciesTypeOf.generated.js +18 -0
  351. package/lib/cjs/entry/dependenciesAny/dependenciesTyped.generated.js +24 -0
  352. package/lib/cjs/entry/dependenciesAny/dependenciesUnaryMinus.generated.js +18 -0
  353. package/lib/cjs/entry/dependenciesAny/dependenciesUnaryPlus.generated.js +20 -0
  354. package/lib/cjs/entry/dependenciesAny/dependenciesUnequal.generated.js +26 -0
  355. package/lib/cjs/entry/dependenciesAny/dependenciesUnitClass.generated.js +46 -0
  356. package/lib/cjs/entry/dependenciesAny/dependenciesUnitFunction.generated.js +20 -0
  357. package/lib/cjs/entry/dependenciesAny/dependenciesUppercaseE.generated.js +18 -0
  358. package/lib/cjs/entry/dependenciesAny/dependenciesUppercasePi.generated.js +18 -0
  359. package/lib/cjs/entry/dependenciesAny/dependenciesUsolve.generated.js +30 -0
  360. package/lib/cjs/entry/dependenciesAny/dependenciesUsolveAll.generated.js +30 -0
  361. package/lib/cjs/entry/dependenciesAny/dependenciesVacuumImpedance.generated.js +20 -0
  362. package/lib/cjs/entry/dependenciesAny/dependenciesVariance.generated.js +30 -0
  363. package/lib/cjs/entry/dependenciesAny/dependenciesVarianceTransform.generated.js +30 -0
  364. package/lib/cjs/entry/dependenciesAny/dependenciesVersion.generated.js +16 -0
  365. package/lib/cjs/entry/dependenciesAny/dependenciesWeakMixingAngle.generated.js +18 -0
  366. package/lib/cjs/entry/dependenciesAny/dependenciesWienDisplacement.generated.js +20 -0
  367. package/lib/cjs/entry/dependenciesAny/dependenciesXgcd.generated.js +22 -0
  368. package/lib/cjs/entry/dependenciesAny/dependenciesXor.generated.js +24 -0
  369. package/lib/cjs/entry/dependenciesAny/dependenciesZeros.generated.js +22 -0
  370. package/lib/cjs/entry/dependenciesAny.generated.js +2455 -0
  371. package/lib/cjs/entry/dependenciesNumber/dependenciesAbs.generated.js +18 -0
  372. package/lib/cjs/entry/dependenciesNumber/dependenciesAccessorNode.generated.js +20 -0
  373. package/lib/cjs/entry/dependenciesNumber/dependenciesAcos.generated.js +18 -0
  374. package/lib/cjs/entry/dependenciesNumber/dependenciesAcosh.generated.js +18 -0
  375. package/lib/cjs/entry/dependenciesNumber/dependenciesAcot.generated.js +18 -0
  376. package/lib/cjs/entry/dependenciesNumber/dependenciesAcoth.generated.js +18 -0
  377. package/lib/cjs/entry/dependenciesNumber/dependenciesAcsc.generated.js +18 -0
  378. package/lib/cjs/entry/dependenciesNumber/dependenciesAcsch.generated.js +18 -0
  379. package/lib/cjs/entry/dependenciesNumber/dependenciesAdd.generated.js +18 -0
  380. package/lib/cjs/entry/dependenciesNumber/dependenciesAddScalar.generated.js +18 -0
  381. package/lib/cjs/entry/dependenciesNumber/dependenciesAnd.generated.js +18 -0
  382. package/lib/cjs/entry/dependenciesNumber/dependenciesApply.generated.js +20 -0
  383. package/lib/cjs/entry/dependenciesNumber/dependenciesApplyTransform.generated.js +20 -0
  384. package/lib/cjs/entry/dependenciesNumber/dependenciesArrayNode.generated.js +18 -0
  385. package/lib/cjs/entry/dependenciesNumber/dependenciesAsec.generated.js +18 -0
  386. package/lib/cjs/entry/dependenciesNumber/dependenciesAsech.generated.js +18 -0
  387. package/lib/cjs/entry/dependenciesNumber/dependenciesAsin.generated.js +18 -0
  388. package/lib/cjs/entry/dependenciesNumber/dependenciesAsinh.generated.js +18 -0
  389. package/lib/cjs/entry/dependenciesNumber/dependenciesAssignmentNode.generated.js +22 -0
  390. package/lib/cjs/entry/dependenciesNumber/dependenciesAtan.generated.js +18 -0
  391. package/lib/cjs/entry/dependenciesNumber/dependenciesAtan2.generated.js +18 -0
  392. package/lib/cjs/entry/dependenciesNumber/dependenciesAtanh.generated.js +18 -0
  393. package/lib/cjs/entry/dependenciesNumber/dependenciesBellNumbers.generated.js +26 -0
  394. package/lib/cjs/entry/dependenciesNumber/dependenciesBitAnd.generated.js +18 -0
  395. package/lib/cjs/entry/dependenciesNumber/dependenciesBitNot.generated.js +18 -0
  396. package/lib/cjs/entry/dependenciesNumber/dependenciesBitOr.generated.js +18 -0
  397. package/lib/cjs/entry/dependenciesNumber/dependenciesBitXor.generated.js +18 -0
  398. package/lib/cjs/entry/dependenciesNumber/dependenciesBlockNode.generated.js +20 -0
  399. package/lib/cjs/entry/dependenciesNumber/dependenciesBoolean.generated.js +18 -0
  400. package/lib/cjs/entry/dependenciesNumber/dependenciesCatalan.generated.js +30 -0
  401. package/lib/cjs/entry/dependenciesNumber/dependenciesCbrt.generated.js +18 -0
  402. package/lib/cjs/entry/dependenciesNumber/dependenciesCeil.generated.js +20 -0
  403. package/lib/cjs/entry/dependenciesNumber/dependenciesChain.generated.js +20 -0
  404. package/lib/cjs/entry/dependenciesNumber/dependenciesChainClass.generated.js +18 -0
  405. package/lib/cjs/entry/dependenciesNumber/dependenciesClone.generated.js +18 -0
  406. package/lib/cjs/entry/dependenciesNumber/dependenciesCombinations.generated.js +18 -0
  407. package/lib/cjs/entry/dependenciesNumber/dependenciesCombinationsWithRep.generated.js +18 -0
  408. package/lib/cjs/entry/dependenciesNumber/dependenciesCompare.generated.js +18 -0
  409. package/lib/cjs/entry/dependenciesNumber/dependenciesCompareNatural.generated.js +20 -0
  410. package/lib/cjs/entry/dependenciesNumber/dependenciesCompareText.generated.js +18 -0
  411. package/lib/cjs/entry/dependenciesNumber/dependenciesCompile.generated.js +20 -0
  412. package/lib/cjs/entry/dependenciesNumber/dependenciesComposition.generated.js +30 -0
  413. package/lib/cjs/entry/dependenciesNumber/dependenciesConditionalNode.generated.js +18 -0
  414. package/lib/cjs/entry/dependenciesNumber/dependenciesConstantNode.generated.js +18 -0
  415. package/lib/cjs/entry/dependenciesNumber/dependenciesCos.generated.js +18 -0
  416. package/lib/cjs/entry/dependenciesNumber/dependenciesCosh.generated.js +18 -0
  417. package/lib/cjs/entry/dependenciesNumber/dependenciesCot.generated.js +18 -0
  418. package/lib/cjs/entry/dependenciesNumber/dependenciesCoth.generated.js +18 -0
  419. package/lib/cjs/entry/dependenciesNumber/dependenciesCsc.generated.js +18 -0
  420. package/lib/cjs/entry/dependenciesNumber/dependenciesCsch.generated.js +18 -0
  421. package/lib/cjs/entry/dependenciesNumber/dependenciesCube.generated.js +18 -0
  422. package/lib/cjs/entry/dependenciesNumber/dependenciesCumSum.generated.js +22 -0
  423. package/lib/cjs/entry/dependenciesNumber/dependenciesCumSumTransform.generated.js +22 -0
  424. package/lib/cjs/entry/dependenciesNumber/dependenciesDeepEqual.generated.js +20 -0
  425. package/lib/cjs/entry/dependenciesNumber/dependenciesDerivative.generated.js +38 -0
  426. package/lib/cjs/entry/dependenciesNumber/dependenciesDivide.generated.js +18 -0
  427. package/lib/cjs/entry/dependenciesNumber/dependenciesDivideScalar.generated.js +18 -0
  428. package/lib/cjs/entry/dependenciesNumber/dependenciesE.generated.js +16 -0
  429. package/lib/cjs/entry/dependenciesNumber/dependenciesEqual.generated.js +20 -0
  430. package/lib/cjs/entry/dependenciesNumber/dependenciesEqualScalar.generated.js +18 -0
  431. package/lib/cjs/entry/dependenciesNumber/dependenciesEqualText.generated.js +22 -0
  432. package/lib/cjs/entry/dependenciesNumber/dependenciesErf.generated.js +18 -0
  433. package/lib/cjs/entry/dependenciesNumber/dependenciesEvaluate.generated.js +20 -0
  434. package/lib/cjs/entry/dependenciesNumber/dependenciesExp.generated.js +18 -0
  435. package/lib/cjs/entry/dependenciesNumber/dependenciesExpm1.generated.js +18 -0
  436. package/lib/cjs/entry/dependenciesNumber/dependenciesFactorial.generated.js +20 -0
  437. package/lib/cjs/entry/dependenciesNumber/dependenciesFalse.generated.js +16 -0
  438. package/lib/cjs/entry/dependenciesNumber/dependenciesFilter.generated.js +18 -0
  439. package/lib/cjs/entry/dependenciesNumber/dependenciesFilterTransform.generated.js +18 -0
  440. package/lib/cjs/entry/dependenciesNumber/dependenciesFix.generated.js +22 -0
  441. package/lib/cjs/entry/dependenciesNumber/dependenciesFloor.generated.js +20 -0
  442. package/lib/cjs/entry/dependenciesNumber/dependenciesForEach.generated.js +18 -0
  443. package/lib/cjs/entry/dependenciesNumber/dependenciesForEachTransform.generated.js +18 -0
  444. package/lib/cjs/entry/dependenciesNumber/dependenciesFormat.generated.js +18 -0
  445. package/lib/cjs/entry/dependenciesNumber/dependenciesFunctionAssignmentNode.generated.js +20 -0
  446. package/lib/cjs/entry/dependenciesNumber/dependenciesFunctionNode.generated.js +20 -0
  447. package/lib/cjs/entry/dependenciesNumber/dependenciesGamma.generated.js +18 -0
  448. package/lib/cjs/entry/dependenciesNumber/dependenciesGcd.generated.js +18 -0
  449. package/lib/cjs/entry/dependenciesNumber/dependenciesHasNumericValue.generated.js +20 -0
  450. package/lib/cjs/entry/dependenciesNumber/dependenciesHelp.generated.js +20 -0
  451. package/lib/cjs/entry/dependenciesNumber/dependenciesHelpClass.generated.js +18 -0
  452. package/lib/cjs/entry/dependenciesNumber/dependenciesHypot.generated.js +32 -0
  453. package/lib/cjs/entry/dependenciesNumber/dependenciesIndex.generated.js +16 -0
  454. package/lib/cjs/entry/dependenciesNumber/dependenciesIndexNode.generated.js +20 -0
  455. package/lib/cjs/entry/dependenciesNumber/dependenciesInfinity.generated.js +16 -0
  456. package/lib/cjs/entry/dependenciesNumber/dependenciesIsInteger.generated.js +18 -0
  457. package/lib/cjs/entry/dependenciesNumber/dependenciesIsNaN.generated.js +18 -0
  458. package/lib/cjs/entry/dependenciesNumber/dependenciesIsNegative.generated.js +18 -0
  459. package/lib/cjs/entry/dependenciesNumber/dependenciesIsNumeric.generated.js +18 -0
  460. package/lib/cjs/entry/dependenciesNumber/dependenciesIsPositive.generated.js +18 -0
  461. package/lib/cjs/entry/dependenciesNumber/dependenciesIsPrime.generated.js +18 -0
  462. package/lib/cjs/entry/dependenciesNumber/dependenciesIsZero.generated.js +18 -0
  463. package/lib/cjs/entry/dependenciesNumber/dependenciesLN10.generated.js +16 -0
  464. package/lib/cjs/entry/dependenciesNumber/dependenciesLN2.generated.js +16 -0
  465. package/lib/cjs/entry/dependenciesNumber/dependenciesLOG10E.generated.js +16 -0
  466. package/lib/cjs/entry/dependenciesNumber/dependenciesLOG2E.generated.js +16 -0
  467. package/lib/cjs/entry/dependenciesNumber/dependenciesLarger.generated.js +18 -0
  468. package/lib/cjs/entry/dependenciesNumber/dependenciesLargerEq.generated.js +18 -0
  469. package/lib/cjs/entry/dependenciesNumber/dependenciesLcm.generated.js +18 -0
  470. package/lib/cjs/entry/dependenciesNumber/dependenciesLeftShift.generated.js +18 -0
  471. package/lib/cjs/entry/dependenciesNumber/dependenciesLgamma.generated.js +18 -0
  472. package/lib/cjs/entry/dependenciesNumber/dependenciesLog.generated.js +18 -0
  473. package/lib/cjs/entry/dependenciesNumber/dependenciesLog10.generated.js +18 -0
  474. package/lib/cjs/entry/dependenciesNumber/dependenciesLog1p.generated.js +18 -0
  475. package/lib/cjs/entry/dependenciesNumber/dependenciesLog2.generated.js +18 -0
  476. package/lib/cjs/entry/dependenciesNumber/dependenciesMad.generated.js +26 -0
  477. package/lib/cjs/entry/dependenciesNumber/dependenciesMap.generated.js +18 -0
  478. package/lib/cjs/entry/dependenciesNumber/dependenciesMapTransform.generated.js +18 -0
  479. package/lib/cjs/entry/dependenciesNumber/dependenciesMatrix.generated.js +16 -0
  480. package/lib/cjs/entry/dependenciesNumber/dependenciesMax.generated.js +22 -0
  481. package/lib/cjs/entry/dependenciesNumber/dependenciesMaxTransform.generated.js +22 -0
  482. package/lib/cjs/entry/dependenciesNumber/dependenciesMean.generated.js +22 -0
  483. package/lib/cjs/entry/dependenciesNumber/dependenciesMeanTransform.generated.js +22 -0
  484. package/lib/cjs/entry/dependenciesNumber/dependenciesMedian.generated.js +26 -0
  485. package/lib/cjs/entry/dependenciesNumber/dependenciesMin.generated.js +22 -0
  486. package/lib/cjs/entry/dependenciesNumber/dependenciesMinTransform.generated.js +22 -0
  487. package/lib/cjs/entry/dependenciesNumber/dependenciesMod.generated.js +18 -0
  488. package/lib/cjs/entry/dependenciesNumber/dependenciesMode.generated.js +22 -0
  489. package/lib/cjs/entry/dependenciesNumber/dependenciesMultinomial.generated.js +30 -0
  490. package/lib/cjs/entry/dependenciesNumber/dependenciesMultiply.generated.js +18 -0
  491. package/lib/cjs/entry/dependenciesNumber/dependenciesMultiplyScalar.generated.js +18 -0
  492. package/lib/cjs/entry/dependenciesNumber/dependenciesNaN.generated.js +16 -0
  493. package/lib/cjs/entry/dependenciesNumber/dependenciesNode.generated.js +16 -0
  494. package/lib/cjs/entry/dependenciesNumber/dependenciesNorm.generated.js +18 -0
  495. package/lib/cjs/entry/dependenciesNumber/dependenciesNot.generated.js +18 -0
  496. package/lib/cjs/entry/dependenciesNumber/dependenciesNthRoot.generated.js +18 -0
  497. package/lib/cjs/entry/dependenciesNumber/dependenciesNull.generated.js +16 -0
  498. package/lib/cjs/entry/dependenciesNumber/dependenciesNumber.generated.js +18 -0
  499. package/lib/cjs/entry/dependenciesNumber/dependenciesNumeric.generated.js +18 -0
  500. package/lib/cjs/entry/dependenciesNumber/dependenciesObjectNode.generated.js +18 -0
  501. package/lib/cjs/entry/dependenciesNumber/dependenciesOperatorNode.generated.js +18 -0
  502. package/lib/cjs/entry/dependenciesNumber/dependenciesOr.generated.js +18 -0
  503. package/lib/cjs/entry/dependenciesNumber/dependenciesParenthesisNode.generated.js +18 -0
  504. package/lib/cjs/entry/dependenciesNumber/dependenciesParse.generated.js +50 -0
  505. package/lib/cjs/entry/dependenciesNumber/dependenciesParser.generated.js +20 -0
  506. package/lib/cjs/entry/dependenciesNumber/dependenciesParserClass.generated.js +18 -0
  507. package/lib/cjs/entry/dependenciesNumber/dependenciesPartitionSelect.generated.js +24 -0
  508. package/lib/cjs/entry/dependenciesNumber/dependenciesPermutations.generated.js +20 -0
  509. package/lib/cjs/entry/dependenciesNumber/dependenciesPhi.generated.js +16 -0
  510. package/lib/cjs/entry/dependenciesNumber/dependenciesPi.generated.js +16 -0
  511. package/lib/cjs/entry/dependenciesNumber/dependenciesPickRandom.generated.js +18 -0
  512. package/lib/cjs/entry/dependenciesNumber/dependenciesPow.generated.js +18 -0
  513. package/lib/cjs/entry/dependenciesNumber/dependenciesPrint.generated.js +18 -0
  514. package/lib/cjs/entry/dependenciesNumber/dependenciesProd.generated.js +22 -0
  515. package/lib/cjs/entry/dependenciesNumber/dependenciesQuantileSeq.generated.js +26 -0
  516. package/lib/cjs/entry/dependenciesNumber/dependenciesRandom.generated.js +18 -0
  517. package/lib/cjs/entry/dependenciesNumber/dependenciesRandomInt.generated.js +18 -0
  518. package/lib/cjs/entry/dependenciesNumber/dependenciesRange.generated.js +28 -0
  519. package/lib/cjs/entry/dependenciesNumber/dependenciesRangeClass.generated.js +16 -0
  520. package/lib/cjs/entry/dependenciesNumber/dependenciesRangeNode.generated.js +18 -0
  521. package/lib/cjs/entry/dependenciesNumber/dependenciesRangeTransform.generated.js +28 -0
  522. package/lib/cjs/entry/dependenciesNumber/dependenciesRationalize.generated.js +60 -0
  523. package/lib/cjs/entry/dependenciesNumber/dependenciesRelationalNode.generated.js +18 -0
  524. package/lib/cjs/entry/dependenciesNumber/dependenciesReplacer.generated.js +16 -0
  525. package/lib/cjs/entry/dependenciesNumber/dependenciesResolve.generated.js +28 -0
  526. package/lib/cjs/entry/dependenciesNumber/dependenciesResultSet.generated.js +16 -0
  527. package/lib/cjs/entry/dependenciesNumber/dependenciesReviver.generated.js +16 -0
  528. package/lib/cjs/entry/dependenciesNumber/dependenciesRightArithShift.generated.js +18 -0
  529. package/lib/cjs/entry/dependenciesNumber/dependenciesRightLogShift.generated.js +18 -0
  530. package/lib/cjs/entry/dependenciesNumber/dependenciesRound.generated.js +18 -0
  531. package/lib/cjs/entry/dependenciesNumber/dependenciesSQRT1_2.generated.js +18 -0
  532. package/lib/cjs/entry/dependenciesNumber/dependenciesSQRT2.generated.js +16 -0
  533. package/lib/cjs/entry/dependenciesNumber/dependenciesSec.generated.js +18 -0
  534. package/lib/cjs/entry/dependenciesNumber/dependenciesSech.generated.js +18 -0
  535. package/lib/cjs/entry/dependenciesNumber/dependenciesSign.generated.js +18 -0
  536. package/lib/cjs/entry/dependenciesNumber/dependenciesSimplify.generated.js +60 -0
  537. package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyConstant.generated.js +36 -0
  538. package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyCore.generated.js +52 -0
  539. package/lib/cjs/entry/dependenciesNumber/dependenciesSin.generated.js +18 -0
  540. package/lib/cjs/entry/dependenciesNumber/dependenciesSinh.generated.js +18 -0
  541. package/lib/cjs/entry/dependenciesNumber/dependenciesSize.generated.js +20 -0
  542. package/lib/cjs/entry/dependenciesNumber/dependenciesSmaller.generated.js +18 -0
  543. package/lib/cjs/entry/dependenciesNumber/dependenciesSmallerEq.generated.js +18 -0
  544. package/lib/cjs/entry/dependenciesNumber/dependenciesSqrt.generated.js +18 -0
  545. package/lib/cjs/entry/dependenciesNumber/dependenciesSquare.generated.js +18 -0
  546. package/lib/cjs/entry/dependenciesNumber/dependenciesStd.generated.js +24 -0
  547. package/lib/cjs/entry/dependenciesNumber/dependenciesStdTransform.generated.js +24 -0
  548. package/lib/cjs/entry/dependenciesNumber/dependenciesStirlingS2.generated.js +40 -0
  549. package/lib/cjs/entry/dependenciesNumber/dependenciesString.generated.js +18 -0
  550. package/lib/cjs/entry/dependenciesNumber/dependenciesSubset.generated.js +16 -0
  551. package/lib/cjs/entry/dependenciesNumber/dependenciesSubsetTransform.generated.js +16 -0
  552. package/lib/cjs/entry/dependenciesNumber/dependenciesSubtract.generated.js +18 -0
  553. package/lib/cjs/entry/dependenciesNumber/dependenciesSum.generated.js +22 -0
  554. package/lib/cjs/entry/dependenciesNumber/dependenciesSumTransform.generated.js +22 -0
  555. package/lib/cjs/entry/dependenciesNumber/dependenciesSymbolNode.generated.js +18 -0
  556. package/lib/cjs/entry/dependenciesNumber/dependenciesTan.generated.js +18 -0
  557. package/lib/cjs/entry/dependenciesNumber/dependenciesTanh.generated.js +18 -0
  558. package/lib/cjs/entry/dependenciesNumber/dependenciesTau.generated.js +16 -0
  559. package/lib/cjs/entry/dependenciesNumber/dependenciesTrue.generated.js +16 -0
  560. package/lib/cjs/entry/dependenciesNumber/dependenciesTypeOf.generated.js +18 -0
  561. package/lib/cjs/entry/dependenciesNumber/dependenciesTyped.generated.js +16 -0
  562. package/lib/cjs/entry/dependenciesNumber/dependenciesUnaryMinus.generated.js +18 -0
  563. package/lib/cjs/entry/dependenciesNumber/dependenciesUnaryPlus.generated.js +18 -0
  564. package/lib/cjs/entry/dependenciesNumber/dependenciesUnequal.generated.js +20 -0
  565. package/lib/cjs/entry/dependenciesNumber/dependenciesUppercaseE.generated.js +18 -0
  566. package/lib/cjs/entry/dependenciesNumber/dependenciesUppercasePi.generated.js +18 -0
  567. package/lib/cjs/entry/dependenciesNumber/dependenciesVariance.generated.js +30 -0
  568. package/lib/cjs/entry/dependenciesNumber/dependenciesVarianceTransform.generated.js +30 -0
  569. package/lib/cjs/entry/dependenciesNumber/dependenciesVersion.generated.js +16 -0
  570. package/lib/cjs/entry/dependenciesNumber/dependenciesXgcd.generated.js +18 -0
  571. package/lib/cjs/entry/dependenciesNumber/dependenciesXor.generated.js +18 -0
  572. package/lib/cjs/entry/dependenciesNumber.generated.js +1419 -0
  573. package/lib/cjs/entry/impureFunctionsAny.generated.js +734 -0
  574. package/lib/cjs/entry/impureFunctionsNumber.generated.js +541 -0
  575. package/lib/cjs/entry/mainAny.js +115 -0
  576. package/lib/cjs/entry/mainNumber.js +115 -0
  577. package/lib/cjs/entry/pureFunctionsAny.generated.js +2005 -0
  578. package/lib/cjs/entry/pureFunctionsNumber.generated.js +723 -0
  579. package/lib/cjs/entry/typeChecks.js +240 -0
  580. package/lib/cjs/error/ArgumentsError.js +30 -0
  581. package/lib/cjs/error/DimensionError.js +29 -0
  582. package/lib/cjs/error/IndexError.js +41 -0
  583. package/lib/cjs/expression/Help.js +122 -0
  584. package/lib/cjs/expression/Parser.js +146 -0
  585. package/lib/cjs/expression/embeddedDocs/constants/Infinity.js +15 -0
  586. package/lib/cjs/expression/embeddedDocs/constants/LN10.js +15 -0
  587. package/lib/cjs/expression/embeddedDocs/constants/LN2.js +15 -0
  588. package/lib/cjs/expression/embeddedDocs/constants/LOG10E.js +15 -0
  589. package/lib/cjs/expression/embeddedDocs/constants/LOG2E.js +15 -0
  590. package/lib/cjs/expression/embeddedDocs/constants/NaN.js +15 -0
  591. package/lib/cjs/expression/embeddedDocs/constants/SQRT1_2.js +15 -0
  592. package/lib/cjs/expression/embeddedDocs/constants/SQRT2.js +15 -0
  593. package/lib/cjs/expression/embeddedDocs/constants/e.js +15 -0
  594. package/lib/cjs/expression/embeddedDocs/constants/false.js +15 -0
  595. package/lib/cjs/expression/embeddedDocs/constants/i.js +15 -0
  596. package/lib/cjs/expression/embeddedDocs/constants/null.js +15 -0
  597. package/lib/cjs/expression/embeddedDocs/constants/phi.js +15 -0
  598. package/lib/cjs/expression/embeddedDocs/constants/pi.js +15 -0
  599. package/lib/cjs/expression/embeddedDocs/constants/tau.js +15 -0
  600. package/lib/cjs/expression/embeddedDocs/constants/true.js +15 -0
  601. package/lib/cjs/expression/embeddedDocs/constants/version.js +15 -0
  602. package/lib/cjs/expression/embeddedDocs/construction/bignumber.js +15 -0
  603. package/lib/cjs/expression/embeddedDocs/construction/boolean.js +15 -0
  604. package/lib/cjs/expression/embeddedDocs/construction/complex.js +15 -0
  605. package/lib/cjs/expression/embeddedDocs/construction/createUnit.js +15 -0
  606. package/lib/cjs/expression/embeddedDocs/construction/fraction.js +15 -0
  607. package/lib/cjs/expression/embeddedDocs/construction/index.js +15 -0
  608. package/lib/cjs/expression/embeddedDocs/construction/matrix.js +15 -0
  609. package/lib/cjs/expression/embeddedDocs/construction/number.js +15 -0
  610. package/lib/cjs/expression/embeddedDocs/construction/sparse.js +15 -0
  611. package/lib/cjs/expression/embeddedDocs/construction/splitUnit.js +15 -0
  612. package/lib/cjs/expression/embeddedDocs/construction/string.js +15 -0
  613. package/lib/cjs/expression/embeddedDocs/construction/unit.js +15 -0
  614. package/lib/cjs/expression/embeddedDocs/core/config.js +15 -0
  615. package/lib/cjs/expression/embeddedDocs/core/import.js +15 -0
  616. package/lib/cjs/expression/embeddedDocs/core/typed.js +15 -0
  617. package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +713 -0
  618. package/lib/cjs/expression/embeddedDocs/function/algebra/derivative.js +15 -0
  619. package/lib/cjs/expression/embeddedDocs/function/algebra/leafCount.js +15 -0
  620. package/lib/cjs/expression/embeddedDocs/function/algebra/lsolve.js +15 -0
  621. package/lib/cjs/expression/embeddedDocs/function/algebra/lsolveAll.js +15 -0
  622. package/lib/cjs/expression/embeddedDocs/function/algebra/lup.js +15 -0
  623. package/lib/cjs/expression/embeddedDocs/function/algebra/lusolve.js +15 -0
  624. package/lib/cjs/expression/embeddedDocs/function/algebra/polynomialRoot.js +15 -0
  625. package/lib/cjs/expression/embeddedDocs/function/algebra/qr.js +15 -0
  626. package/lib/cjs/expression/embeddedDocs/function/algebra/rationalize.js +15 -0
  627. package/lib/cjs/expression/embeddedDocs/function/algebra/resolve.js +16 -0
  628. package/lib/cjs/expression/embeddedDocs/function/algebra/simplify.js +15 -0
  629. package/lib/cjs/expression/embeddedDocs/function/algebra/simplifyConstant.js +15 -0
  630. package/lib/cjs/expression/embeddedDocs/function/algebra/simplifyCore.js +15 -0
  631. package/lib/cjs/expression/embeddedDocs/function/algebra/slu.js +15 -0
  632. package/lib/cjs/expression/embeddedDocs/function/algebra/symbolicEqual.js +15 -0
  633. package/lib/cjs/expression/embeddedDocs/function/algebra/usolve.js +15 -0
  634. package/lib/cjs/expression/embeddedDocs/function/algebra/usolveAll.js +15 -0
  635. package/lib/cjs/expression/embeddedDocs/function/arithmetic/abs.js +15 -0
  636. package/lib/cjs/expression/embeddedDocs/function/arithmetic/add.js +15 -0
  637. package/lib/cjs/expression/embeddedDocs/function/arithmetic/cbrt.js +15 -0
  638. package/lib/cjs/expression/embeddedDocs/function/arithmetic/ceil.js +15 -0
  639. package/lib/cjs/expression/embeddedDocs/function/arithmetic/cube.js +15 -0
  640. package/lib/cjs/expression/embeddedDocs/function/arithmetic/divide.js +15 -0
  641. package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotDivide.js +15 -0
  642. package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotMultiply.js +15 -0
  643. package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotPow.js +15 -0
  644. package/lib/cjs/expression/embeddedDocs/function/arithmetic/exp.js +15 -0
  645. package/lib/cjs/expression/embeddedDocs/function/arithmetic/expm.js +15 -0
  646. package/lib/cjs/expression/embeddedDocs/function/arithmetic/expm1.js +15 -0
  647. package/lib/cjs/expression/embeddedDocs/function/arithmetic/fix.js +15 -0
  648. package/lib/cjs/expression/embeddedDocs/function/arithmetic/floor.js +15 -0
  649. package/lib/cjs/expression/embeddedDocs/function/arithmetic/gcd.js +15 -0
  650. package/lib/cjs/expression/embeddedDocs/function/arithmetic/hypot.js +15 -0
  651. package/lib/cjs/expression/embeddedDocs/function/arithmetic/invmod.js +15 -0
  652. package/lib/cjs/expression/embeddedDocs/function/arithmetic/lcm.js +15 -0
  653. package/lib/cjs/expression/embeddedDocs/function/arithmetic/log.js +15 -0
  654. package/lib/cjs/expression/embeddedDocs/function/arithmetic/log10.js +15 -0
  655. package/lib/cjs/expression/embeddedDocs/function/arithmetic/log1p.js +15 -0
  656. package/lib/cjs/expression/embeddedDocs/function/arithmetic/log2.js +15 -0
  657. package/lib/cjs/expression/embeddedDocs/function/arithmetic/mod.js +15 -0
  658. package/lib/cjs/expression/embeddedDocs/function/arithmetic/multiply.js +15 -0
  659. package/lib/cjs/expression/embeddedDocs/function/arithmetic/norm.js +14 -0
  660. package/lib/cjs/expression/embeddedDocs/function/arithmetic/nthRoot.js +15 -0
  661. package/lib/cjs/expression/embeddedDocs/function/arithmetic/nthRoots.js +15 -0
  662. package/lib/cjs/expression/embeddedDocs/function/arithmetic/pow.js +15 -0
  663. package/lib/cjs/expression/embeddedDocs/function/arithmetic/round.js +15 -0
  664. package/lib/cjs/expression/embeddedDocs/function/arithmetic/sign.js +15 -0
  665. package/lib/cjs/expression/embeddedDocs/function/arithmetic/sqrt.js +15 -0
  666. package/lib/cjs/expression/embeddedDocs/function/arithmetic/sqrtm.js +15 -0
  667. package/lib/cjs/expression/embeddedDocs/function/arithmetic/square.js +15 -0
  668. package/lib/cjs/expression/embeddedDocs/function/arithmetic/subtract.js +15 -0
  669. package/lib/cjs/expression/embeddedDocs/function/arithmetic/unaryMinus.js +15 -0
  670. package/lib/cjs/expression/embeddedDocs/function/arithmetic/unaryPlus.js +15 -0
  671. package/lib/cjs/expression/embeddedDocs/function/arithmetic/xgcd.js +15 -0
  672. package/lib/cjs/expression/embeddedDocs/function/bitwise/bitAnd.js +15 -0
  673. package/lib/cjs/expression/embeddedDocs/function/bitwise/bitNot.js +15 -0
  674. package/lib/cjs/expression/embeddedDocs/function/bitwise/bitOr.js +15 -0
  675. package/lib/cjs/expression/embeddedDocs/function/bitwise/bitXor.js +15 -0
  676. package/lib/cjs/expression/embeddedDocs/function/bitwise/leftShift.js +15 -0
  677. package/lib/cjs/expression/embeddedDocs/function/bitwise/rightArithShift.js +15 -0
  678. package/lib/cjs/expression/embeddedDocs/function/bitwise/rightLogShift.js +15 -0
  679. package/lib/cjs/expression/embeddedDocs/function/combinatorics/bellNumbers.js +15 -0
  680. package/lib/cjs/expression/embeddedDocs/function/combinatorics/catalan.js +15 -0
  681. package/lib/cjs/expression/embeddedDocs/function/combinatorics/composition.js +15 -0
  682. package/lib/cjs/expression/embeddedDocs/function/combinatorics/stirlingS2.js +15 -0
  683. package/lib/cjs/expression/embeddedDocs/function/complex/arg.js +15 -0
  684. package/lib/cjs/expression/embeddedDocs/function/complex/conj.js +15 -0
  685. package/lib/cjs/expression/embeddedDocs/function/complex/im.js +15 -0
  686. package/lib/cjs/expression/embeddedDocs/function/complex/re.js +15 -0
  687. package/lib/cjs/expression/embeddedDocs/function/expression/evaluate.js +15 -0
  688. package/lib/cjs/expression/embeddedDocs/function/expression/help.js +15 -0
  689. package/lib/cjs/expression/embeddedDocs/function/geometry/distance.js +15 -0
  690. package/lib/cjs/expression/embeddedDocs/function/geometry/intersect.js +15 -0
  691. package/lib/cjs/expression/embeddedDocs/function/logical/and.js +15 -0
  692. package/lib/cjs/expression/embeddedDocs/function/logical/not.js +15 -0
  693. package/lib/cjs/expression/embeddedDocs/function/logical/or.js +15 -0
  694. package/lib/cjs/expression/embeddedDocs/function/logical/xor.js +15 -0
  695. package/lib/cjs/expression/embeddedDocs/function/matrix/column.js +15 -0
  696. package/lib/cjs/expression/embeddedDocs/function/matrix/concat.js +15 -0
  697. package/lib/cjs/expression/embeddedDocs/function/matrix/count.js +15 -0
  698. package/lib/cjs/expression/embeddedDocs/function/matrix/cross.js +15 -0
  699. package/lib/cjs/expression/embeddedDocs/function/matrix/ctranspose.js +15 -0
  700. package/lib/cjs/expression/embeddedDocs/function/matrix/det.js +15 -0
  701. package/lib/cjs/expression/embeddedDocs/function/matrix/diag.js +15 -0
  702. package/lib/cjs/expression/embeddedDocs/function/matrix/diff.js +15 -0
  703. package/lib/cjs/expression/embeddedDocs/function/matrix/dot.js +15 -0
  704. package/lib/cjs/expression/embeddedDocs/function/matrix/eigs.js +15 -0
  705. package/lib/cjs/expression/embeddedDocs/function/matrix/fft.js +15 -0
  706. package/lib/cjs/expression/embeddedDocs/function/matrix/filter.js +15 -0
  707. package/lib/cjs/expression/embeddedDocs/function/matrix/flatten.js +15 -0
  708. package/lib/cjs/expression/embeddedDocs/function/matrix/forEach.js +15 -0
  709. package/lib/cjs/expression/embeddedDocs/function/matrix/getMatrixDataType.js +15 -0
  710. package/lib/cjs/expression/embeddedDocs/function/matrix/identity.js +15 -0
  711. package/lib/cjs/expression/embeddedDocs/function/matrix/ifft.js +15 -0
  712. package/lib/cjs/expression/embeddedDocs/function/matrix/inv.js +15 -0
  713. package/lib/cjs/expression/embeddedDocs/function/matrix/kron.js +15 -0
  714. package/lib/cjs/expression/embeddedDocs/function/matrix/lyap.js +15 -0
  715. package/lib/cjs/expression/embeddedDocs/function/matrix/map.js +15 -0
  716. package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromColumns.js +15 -0
  717. package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromFunction.js +15 -0
  718. package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromRows.js +15 -0
  719. package/lib/cjs/expression/embeddedDocs/function/matrix/ones.js +15 -0
  720. package/lib/cjs/expression/embeddedDocs/function/matrix/partitionSelect.js +15 -0
  721. package/lib/cjs/expression/embeddedDocs/function/matrix/pinv.js +15 -0
  722. package/lib/cjs/expression/embeddedDocs/function/matrix/range.js +15 -0
  723. package/lib/cjs/expression/embeddedDocs/function/matrix/reshape.js +15 -0
  724. package/lib/cjs/expression/embeddedDocs/function/matrix/resize.js +15 -0
  725. package/lib/cjs/expression/embeddedDocs/function/matrix/rotate.js +15 -0
  726. package/lib/cjs/expression/embeddedDocs/function/matrix/rotationMatrix.js +15 -0
  727. package/lib/cjs/expression/embeddedDocs/function/matrix/row.js +15 -0
  728. package/lib/cjs/expression/embeddedDocs/function/matrix/schur.js +15 -0
  729. package/lib/cjs/expression/embeddedDocs/function/matrix/size.js +15 -0
  730. package/lib/cjs/expression/embeddedDocs/function/matrix/sort.js +15 -0
  731. package/lib/cjs/expression/embeddedDocs/function/matrix/squeeze.js +15 -0
  732. package/lib/cjs/expression/embeddedDocs/function/matrix/subset.js +15 -0
  733. package/lib/cjs/expression/embeddedDocs/function/matrix/sylvester.js +15 -0
  734. package/lib/cjs/expression/embeddedDocs/function/matrix/trace.js +15 -0
  735. package/lib/cjs/expression/embeddedDocs/function/matrix/transpose.js +15 -0
  736. package/lib/cjs/expression/embeddedDocs/function/matrix/zeros.js +15 -0
  737. package/lib/cjs/expression/embeddedDocs/function/probability/combinations.js +15 -0
  738. package/lib/cjs/expression/embeddedDocs/function/probability/combinationsWithRep.js +15 -0
  739. package/lib/cjs/expression/embeddedDocs/function/probability/distribution.js +15 -0
  740. package/lib/cjs/expression/embeddedDocs/function/probability/factorial.js +15 -0
  741. package/lib/cjs/expression/embeddedDocs/function/probability/gamma.js +15 -0
  742. package/lib/cjs/expression/embeddedDocs/function/probability/kldivergence.js +15 -0
  743. package/lib/cjs/expression/embeddedDocs/function/probability/lgamma.js +15 -0
  744. package/lib/cjs/expression/embeddedDocs/function/probability/multinomial.js +15 -0
  745. package/lib/cjs/expression/embeddedDocs/function/probability/permutations.js +15 -0
  746. package/lib/cjs/expression/embeddedDocs/function/probability/pickRandom.js +15 -0
  747. package/lib/cjs/expression/embeddedDocs/function/probability/random.js +15 -0
  748. package/lib/cjs/expression/embeddedDocs/function/probability/randomInt.js +15 -0
  749. package/lib/cjs/expression/embeddedDocs/function/relational/compare.js +15 -0
  750. package/lib/cjs/expression/embeddedDocs/function/relational/compareNatural.js +15 -0
  751. package/lib/cjs/expression/embeddedDocs/function/relational/compareText.js +15 -0
  752. package/lib/cjs/expression/embeddedDocs/function/relational/deepEqual.js +15 -0
  753. package/lib/cjs/expression/embeddedDocs/function/relational/equal.js +15 -0
  754. package/lib/cjs/expression/embeddedDocs/function/relational/equalText.js +15 -0
  755. package/lib/cjs/expression/embeddedDocs/function/relational/larger.js +15 -0
  756. package/lib/cjs/expression/embeddedDocs/function/relational/largerEq.js +15 -0
  757. package/lib/cjs/expression/embeddedDocs/function/relational/smaller.js +15 -0
  758. package/lib/cjs/expression/embeddedDocs/function/relational/smallerEq.js +15 -0
  759. package/lib/cjs/expression/embeddedDocs/function/relational/unequal.js +15 -0
  760. package/lib/cjs/expression/embeddedDocs/function/set/setCartesian.js +15 -0
  761. package/lib/cjs/expression/embeddedDocs/function/set/setDifference.js +15 -0
  762. package/lib/cjs/expression/embeddedDocs/function/set/setDistinct.js +15 -0
  763. package/lib/cjs/expression/embeddedDocs/function/set/setIntersect.js +15 -0
  764. package/lib/cjs/expression/embeddedDocs/function/set/setIsSubset.js +15 -0
  765. package/lib/cjs/expression/embeddedDocs/function/set/setMultiplicity.js +15 -0
  766. package/lib/cjs/expression/embeddedDocs/function/set/setPowerset.js +15 -0
  767. package/lib/cjs/expression/embeddedDocs/function/set/setSize.js +15 -0
  768. package/lib/cjs/expression/embeddedDocs/function/set/setSymDifference.js +15 -0
  769. package/lib/cjs/expression/embeddedDocs/function/set/setUnion.js +15 -0
  770. package/lib/cjs/expression/embeddedDocs/function/special/erf.js +15 -0
  771. package/lib/cjs/expression/embeddedDocs/function/statistics/cumsum.js +15 -0
  772. package/lib/cjs/expression/embeddedDocs/function/statistics/mad.js +15 -0
  773. package/lib/cjs/expression/embeddedDocs/function/statistics/max.js +15 -0
  774. package/lib/cjs/expression/embeddedDocs/function/statistics/mean.js +15 -0
  775. package/lib/cjs/expression/embeddedDocs/function/statistics/median.js +15 -0
  776. package/lib/cjs/expression/embeddedDocs/function/statistics/min.js +15 -0
  777. package/lib/cjs/expression/embeddedDocs/function/statistics/mode.js +15 -0
  778. package/lib/cjs/expression/embeddedDocs/function/statistics/prod.js +15 -0
  779. package/lib/cjs/expression/embeddedDocs/function/statistics/quantileSeq.js +15 -0
  780. package/lib/cjs/expression/embeddedDocs/function/statistics/std.js +15 -0
  781. package/lib/cjs/expression/embeddedDocs/function/statistics/sum.js +15 -0
  782. package/lib/cjs/expression/embeddedDocs/function/statistics/variance.js +15 -0
  783. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acos.js +15 -0
  784. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acosh.js +15 -0
  785. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acot.js +15 -0
  786. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acoth.js +15 -0
  787. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acsc.js +15 -0
  788. package/lib/cjs/expression/embeddedDocs/function/trigonometry/acsch.js +15 -0
  789. package/lib/cjs/expression/embeddedDocs/function/trigonometry/asec.js +15 -0
  790. package/lib/cjs/expression/embeddedDocs/function/trigonometry/asech.js +15 -0
  791. package/lib/cjs/expression/embeddedDocs/function/trigonometry/asin.js +15 -0
  792. package/lib/cjs/expression/embeddedDocs/function/trigonometry/asinh.js +15 -0
  793. package/lib/cjs/expression/embeddedDocs/function/trigonometry/atan.js +15 -0
  794. package/lib/cjs/expression/embeddedDocs/function/trigonometry/atan2.js +15 -0
  795. package/lib/cjs/expression/embeddedDocs/function/trigonometry/atanh.js +15 -0
  796. package/lib/cjs/expression/embeddedDocs/function/trigonometry/cos.js +15 -0
  797. package/lib/cjs/expression/embeddedDocs/function/trigonometry/cosh.js +15 -0
  798. package/lib/cjs/expression/embeddedDocs/function/trigonometry/cot.js +15 -0
  799. package/lib/cjs/expression/embeddedDocs/function/trigonometry/coth.js +15 -0
  800. package/lib/cjs/expression/embeddedDocs/function/trigonometry/csc.js +15 -0
  801. package/lib/cjs/expression/embeddedDocs/function/trigonometry/csch.js +15 -0
  802. package/lib/cjs/expression/embeddedDocs/function/trigonometry/sec.js +15 -0
  803. package/lib/cjs/expression/embeddedDocs/function/trigonometry/sech.js +15 -0
  804. package/lib/cjs/expression/embeddedDocs/function/trigonometry/sin.js +15 -0
  805. package/lib/cjs/expression/embeddedDocs/function/trigonometry/sinh.js +15 -0
  806. package/lib/cjs/expression/embeddedDocs/function/trigonometry/tan.js +15 -0
  807. package/lib/cjs/expression/embeddedDocs/function/trigonometry/tanh.js +15 -0
  808. package/lib/cjs/expression/embeddedDocs/function/units/to.js +15 -0
  809. package/lib/cjs/expression/embeddedDocs/function/utils/bin.js +15 -0
  810. package/lib/cjs/expression/embeddedDocs/function/utils/clone.js +15 -0
  811. package/lib/cjs/expression/embeddedDocs/function/utils/format.js +15 -0
  812. package/lib/cjs/expression/embeddedDocs/function/utils/hasNumericValue.js +15 -0
  813. package/lib/cjs/expression/embeddedDocs/function/utils/hex.js +15 -0
  814. package/lib/cjs/expression/embeddedDocs/function/utils/isInteger.js +15 -0
  815. package/lib/cjs/expression/embeddedDocs/function/utils/isNaN.js +15 -0
  816. package/lib/cjs/expression/embeddedDocs/function/utils/isNegative.js +15 -0
  817. package/lib/cjs/expression/embeddedDocs/function/utils/isNumeric.js +15 -0
  818. package/lib/cjs/expression/embeddedDocs/function/utils/isPositive.js +15 -0
  819. package/lib/cjs/expression/embeddedDocs/function/utils/isPrime.js +15 -0
  820. package/lib/cjs/expression/embeddedDocs/function/utils/isZero.js +15 -0
  821. package/lib/cjs/expression/embeddedDocs/function/utils/numeric.js +15 -0
  822. package/lib/cjs/expression/embeddedDocs/function/utils/oct.js +15 -0
  823. package/lib/cjs/expression/embeddedDocs/function/utils/print.js +15 -0
  824. package/lib/cjs/expression/embeddedDocs/function/utils/typeOf.js +15 -0
  825. package/lib/cjs/expression/function/compile.js +59 -0
  826. package/lib/cjs/expression/function/evaluate.js +68 -0
  827. package/lib/cjs/expression/function/help.js +72 -0
  828. package/lib/cjs/expression/function/parser.js +62 -0
  829. package/lib/cjs/expression/keywords.js +9 -0
  830. package/lib/cjs/expression/node/AccessorNode.js +233 -0
  831. package/lib/cjs/expression/node/ArrayNode.js +218 -0
  832. package/lib/cjs/expression/node/AssignmentNode.js +350 -0
  833. package/lib/cjs/expression/node/BlockNode.js +227 -0
  834. package/lib/cjs/expression/node/ConditionalNode.js +267 -0
  835. package/lib/cjs/expression/node/ConstantNode.js +214 -0
  836. package/lib/cjs/expression/node/FunctionAssignmentNode.js +289 -0
  837. package/lib/cjs/expression/node/FunctionNode.js +533 -0
  838. package/lib/cjs/expression/node/IndexNode.js +268 -0
  839. package/lib/cjs/expression/node/Node.js +423 -0
  840. package/lib/cjs/expression/node/ObjectNode.js +238 -0
  841. package/lib/cjs/expression/node/OperatorNode.js +671 -0
  842. package/lib/cjs/expression/node/ParenthesisNode.js +196 -0
  843. package/lib/cjs/expression/node/RangeNode.js +294 -0
  844. package/lib/cjs/expression/node/RelationalNode.js +248 -0
  845. package/lib/cjs/expression/node/SymbolNode.js +237 -0
  846. package/lib/cjs/expression/node/utils/access.js +46 -0
  847. package/lib/cjs/expression/node/utils/assign.js +52 -0
  848. package/lib/cjs/expression/operators.js +386 -0
  849. package/lib/cjs/expression/parse.js +1650 -0
  850. package/lib/cjs/expression/transform/apply.transform.js +49 -0
  851. package/lib/cjs/expression/transform/column.transform.js +52 -0
  852. package/lib/cjs/expression/transform/concat.transform.js +50 -0
  853. package/lib/cjs/expression/transform/cumsum.transform.js +50 -0
  854. package/lib/cjs/expression/transform/diff.transform.js +46 -0
  855. package/lib/cjs/expression/transform/filter.transform.js +82 -0
  856. package/lib/cjs/expression/transform/forEach.transform.js +71 -0
  857. package/lib/cjs/expression/transform/index.transform.js +54 -0
  858. package/lib/cjs/expression/transform/map.transform.js +85 -0
  859. package/lib/cjs/expression/transform/max.transform.js +45 -0
  860. package/lib/cjs/expression/transform/mean.transform.js +43 -0
  861. package/lib/cjs/expression/transform/min.transform.js +45 -0
  862. package/lib/cjs/expression/transform/range.transform.js +51 -0
  863. package/lib/cjs/expression/transform/row.transform.js +52 -0
  864. package/lib/cjs/expression/transform/std.transform.js +45 -0
  865. package/lib/cjs/expression/transform/subset.transform.js +38 -0
  866. package/lib/cjs/expression/transform/sum.transform.js +44 -0
  867. package/lib/cjs/expression/transform/utils/compileInlineExpression.js +34 -0
  868. package/lib/cjs/expression/transform/utils/errorTransform.js +18 -0
  869. package/lib/cjs/expression/transform/utils/lastDimToZeroBase.js +22 -0
  870. package/lib/cjs/expression/transform/variance.transform.js +51 -0
  871. package/lib/cjs/factoriesAny.js +2381 -0
  872. package/lib/cjs/factoriesNumber.js +1098 -0
  873. package/lib/cjs/function/algebra/decomposition/lup.js +384 -0
  874. package/lib/cjs/function/algebra/decomposition/qr.js +228 -0
  875. package/lib/cjs/function/algebra/decomposition/schur.js +75 -0
  876. package/lib/cjs/function/algebra/decomposition/slu.js +106 -0
  877. package/lib/cjs/function/algebra/derivative.js +548 -0
  878. package/lib/cjs/function/algebra/leafCount.js +59 -0
  879. package/lib/cjs/function/algebra/lyap.js +57 -0
  880. package/lib/cjs/function/algebra/polynomialRoot.js +139 -0
  881. package/lib/cjs/function/algebra/rationalize.js +830 -0
  882. package/lib/cjs/function/algebra/resolve.js +132 -0
  883. package/lib/cjs/function/algebra/simplify/util.js +267 -0
  884. package/lib/cjs/function/algebra/simplify/wildcards.js +38 -0
  885. package/lib/cjs/function/algebra/simplify.js +1265 -0
  886. package/lib/cjs/function/algebra/simplifyConstant.js +490 -0
  887. package/lib/cjs/function/algebra/simplifyCore.js +302 -0
  888. package/lib/cjs/function/algebra/solver/lsolve.js +162 -0
  889. package/lib/cjs/function/algebra/solver/lsolveAll.js +207 -0
  890. package/lib/cjs/function/algebra/solver/lusolve.js +113 -0
  891. package/lib/cjs/function/algebra/solver/usolve.js +166 -0
  892. package/lib/cjs/function/algebra/solver/usolveAll.js +211 -0
  893. package/lib/cjs/function/algebra/solver/utils/solveValidation.js +119 -0
  894. package/lib/cjs/function/algebra/sparse/csAmd.js +586 -0
  895. package/lib/cjs/function/algebra/sparse/csChol.js +161 -0
  896. package/lib/cjs/function/algebra/sparse/csCounts.js +130 -0
  897. package/lib/cjs/function/algebra/sparse/csCumsum.js +32 -0
  898. package/lib/cjs/function/algebra/sparse/csDfs.js +80 -0
  899. package/lib/cjs/function/algebra/sparse/csEreach.js +67 -0
  900. package/lib/cjs/function/algebra/sparse/csEtree.js +75 -0
  901. package/lib/cjs/function/algebra/sparse/csFkeep.js +62 -0
  902. package/lib/cjs/function/algebra/sparse/csFlip.js +17 -0
  903. package/lib/cjs/function/algebra/sparse/csIpvec.js +35 -0
  904. package/lib/cjs/function/algebra/sparse/csLeaf.js +62 -0
  905. package/lib/cjs/function/algebra/sparse/csLu.js +185 -0
  906. package/lib/cjs/function/algebra/sparse/csMark.js +19 -0
  907. package/lib/cjs/function/algebra/sparse/csMarked.js +18 -0
  908. package/lib/cjs/function/algebra/sparse/csPermute.js +65 -0
  909. package/lib/cjs/function/algebra/sparse/csPost.js +56 -0
  910. package/lib/cjs/function/algebra/sparse/csReach.js +55 -0
  911. package/lib/cjs/function/algebra/sparse/csSpsolve.js +88 -0
  912. package/lib/cjs/function/algebra/sparse/csSqr.js +183 -0
  913. package/lib/cjs/function/algebra/sparse/csSymperm.js +97 -0
  914. package/lib/cjs/function/algebra/sparse/csTdfs.js +46 -0
  915. package/lib/cjs/function/algebra/sparse/csUnflip.js +18 -0
  916. package/lib/cjs/function/algebra/sylvester.js +127 -0
  917. package/lib/cjs/function/algebra/symbolicEqual.js +65 -0
  918. package/lib/cjs/function/arithmetic/abs.js +51 -0
  919. package/lib/cjs/function/arithmetic/add.js +90 -0
  920. package/lib/cjs/function/arithmetic/addScalar.js +53 -0
  921. package/lib/cjs/function/arithmetic/cbrt.js +136 -0
  922. package/lib/cjs/function/arithmetic/ceil.js +187 -0
  923. package/lib/cjs/function/arithmetic/cube.js +56 -0
  924. package/lib/cjs/function/arithmetic/divide.js +84 -0
  925. package/lib/cjs/function/arithmetic/divideScalar.js +46 -0
  926. package/lib/cjs/function/arithmetic/dotDivide.js +83 -0
  927. package/lib/cjs/function/arithmetic/dotMultiply.js +71 -0
  928. package/lib/cjs/function/arithmetic/dotPow.js +83 -0
  929. package/lib/cjs/function/arithmetic/exp.js +53 -0
  930. package/lib/cjs/function/arithmetic/expm1.js +58 -0
  931. package/lib/cjs/function/arithmetic/fix.js +140 -0
  932. package/lib/cjs/function/arithmetic/floor.js +190 -0
  933. package/lib/cjs/function/arithmetic/gcd.js +132 -0
  934. package/lib/cjs/function/arithmetic/hypot.js +84 -0
  935. package/lib/cjs/function/arithmetic/invmod.js +65 -0
  936. package/lib/cjs/function/arithmetic/lcm.js +119 -0
  937. package/lib/cjs/function/arithmetic/log.js +79 -0
  938. package/lib/cjs/function/arithmetic/log10.js +68 -0
  939. package/lib/cjs/function/arithmetic/log1p.js +92 -0
  940. package/lib/cjs/function/arithmetic/log2.js +77 -0
  941. package/lib/cjs/function/arithmetic/mod.js +106 -0
  942. package/lib/cjs/function/arithmetic/multiply.js +894 -0
  943. package/lib/cjs/function/arithmetic/multiplyScalar.js +44 -0
  944. package/lib/cjs/function/arithmetic/norm.js +292 -0
  945. package/lib/cjs/function/arithmetic/nthRoot.js +194 -0
  946. package/lib/cjs/function/arithmetic/nthRoots.js +117 -0
  947. package/lib/cjs/function/arithmetic/pow.js +196 -0
  948. package/lib/cjs/function/arithmetic/round.js +169 -0
  949. package/lib/cjs/function/arithmetic/sign.js +74 -0
  950. package/lib/cjs/function/arithmetic/sqrt.js +75 -0
  951. package/lib/cjs/function/arithmetic/square.js +57 -0
  952. package/lib/cjs/function/arithmetic/subtract.js +121 -0
  953. package/lib/cjs/function/arithmetic/unaryMinus.js +59 -0
  954. package/lib/cjs/function/arithmetic/unaryPlus.js +69 -0
  955. package/lib/cjs/function/arithmetic/xgcd.js +96 -0
  956. package/lib/cjs/function/bitwise/bitAnd.js +70 -0
  957. package/lib/cjs/function/bitwise/bitNot.js +47 -0
  958. package/lib/cjs/function/bitwise/bitOr.js +71 -0
  959. package/lib/cjs/function/bitwise/bitXor.js +69 -0
  960. package/lib/cjs/function/bitwise/leftShift.js +127 -0
  961. package/lib/cjs/function/bitwise/rightArithShift.js +127 -0
  962. package/lib/cjs/function/bitwise/rightLogShift.js +128 -0
  963. package/lib/cjs/function/bitwise/useMatrixForArrayScalar.js +34 -0
  964. package/lib/cjs/function/combinatorics/bellNumbers.js +52 -0
  965. package/lib/cjs/function/combinatorics/catalan.js +48 -0
  966. package/lib/cjs/function/combinatorics/composition.js +51 -0
  967. package/lib/cjs/function/combinatorics/stirlingS2.js +91 -0
  968. package/lib/cjs/function/complex/arg.js +59 -0
  969. package/lib/cjs/function/complex/conj.js +52 -0
  970. package/lib/cjs/function/complex/im.js +57 -0
  971. package/lib/cjs/function/complex/re.js +54 -0
  972. package/lib/cjs/function/geometry/distance.js +312 -0
  973. package/lib/cjs/function/geometry/intersect.js +207 -0
  974. package/lib/cjs/function/logical/and.js +142 -0
  975. package/lib/cjs/function/logical/not.js +62 -0
  976. package/lib/cjs/function/logical/or.js +85 -0
  977. package/lib/cjs/function/logical/xor.js +84 -0
  978. package/lib/cjs/function/matrix/apply.js +116 -0
  979. package/lib/cjs/function/matrix/column.js +64 -0
  980. package/lib/cjs/function/matrix/concat.js +136 -0
  981. package/lib/cjs/function/matrix/count.js +44 -0
  982. package/lib/cjs/function/matrix/cross.js +86 -0
  983. package/lib/cjs/function/matrix/ctranspose.js +42 -0
  984. package/lib/cjs/function/matrix/det.js +150 -0
  985. package/lib/cjs/function/matrix/diag.js +160 -0
  986. package/lib/cjs/function/matrix/diff.js +178 -0
  987. package/lib/cjs/function/matrix/dot.js +161 -0
  988. package/lib/cjs/function/matrix/eigs/complexEigs.js +739 -0
  989. package/lib/cjs/function/matrix/eigs/realSymetric.js +297 -0
  990. package/lib/cjs/function/matrix/eigs.js +259 -0
  991. package/lib/cjs/function/matrix/expm.js +159 -0
  992. package/lib/cjs/function/matrix/fft.js +153 -0
  993. package/lib/cjs/function/matrix/filter.js +77 -0
  994. package/lib/cjs/function/matrix/flatten.js +44 -0
  995. package/lib/cjs/function/matrix/forEach.js +74 -0
  996. package/lib/cjs/function/matrix/getMatrixDataType.js +57 -0
  997. package/lib/cjs/function/matrix/identity.js +141 -0
  998. package/lib/cjs/function/matrix/ifft.js +44 -0
  999. package/lib/cjs/function/matrix/inv.js +189 -0
  1000. package/lib/cjs/function/matrix/kron.js +90 -0
  1001. package/lib/cjs/function/matrix/map.js +110 -0
  1002. package/lib/cjs/function/matrix/matrixFromColumns.js +108 -0
  1003. package/lib/cjs/function/matrix/matrixFromFunction.js +79 -0
  1004. package/lib/cjs/function/matrix/matrixFromRows.js +96 -0
  1005. package/lib/cjs/function/matrix/ones.js +128 -0
  1006. package/lib/cjs/function/matrix/partitionSelect.js +151 -0
  1007. package/lib/cjs/function/matrix/pinv.js +191 -0
  1008. package/lib/cjs/function/matrix/range.js +263 -0
  1009. package/lib/cjs/function/matrix/reshape.js +68 -0
  1010. package/lib/cjs/function/matrix/resize.js +126 -0
  1011. package/lib/cjs/function/matrix/rotate.js +76 -0
  1012. package/lib/cjs/function/matrix/rotationMatrix.js +167 -0
  1013. package/lib/cjs/function/matrix/row.js +64 -0
  1014. package/lib/cjs/function/matrix/size.js +53 -0
  1015. package/lib/cjs/function/matrix/sort.js +120 -0
  1016. package/lib/cjs/function/matrix/sqrtm.js +104 -0
  1017. package/lib/cjs/function/matrix/squeeze.js +59 -0
  1018. package/lib/cjs/function/matrix/subset.js +218 -0
  1019. package/lib/cjs/function/matrix/trace.js +133 -0
  1020. package/lib/cjs/function/matrix/transpose.js +168 -0
  1021. package/lib/cjs/function/matrix/zeros.js +128 -0
  1022. package/lib/cjs/function/probability/combinations.js +74 -0
  1023. package/lib/cjs/function/probability/combinationsWithRep.js +89 -0
  1024. package/lib/cjs/function/probability/factorial.js +56 -0
  1025. package/lib/cjs/function/probability/gamma.js +125 -0
  1026. package/lib/cjs/function/probability/kldivergence.js +84 -0
  1027. package/lib/cjs/function/probability/lgamma.js +142 -0
  1028. package/lib/cjs/function/probability/multinomial.js +55 -0
  1029. package/lib/cjs/function/probability/permutations.js +83 -0
  1030. package/lib/cjs/function/probability/pickRandom.js +155 -0
  1031. package/lib/cjs/function/probability/random.js +120 -0
  1032. package/lib/cjs/function/probability/randomInt.js +86 -0
  1033. package/lib/cjs/function/probability/util/randomMatrix.js +26 -0
  1034. package/lib/cjs/function/probability/util/seededRNG.js +26 -0
  1035. package/lib/cjs/function/relational/compare.js +115 -0
  1036. package/lib/cjs/function/relational/compareNatural.js +280 -0
  1037. package/lib/cjs/function/relational/compareText.js +61 -0
  1038. package/lib/cjs/function/relational/compareUnits.js +21 -0
  1039. package/lib/cjs/function/relational/deepEqual.js +79 -0
  1040. package/lib/cjs/function/relational/equal.js +114 -0
  1041. package/lib/cjs/function/relational/equalScalar.js +57 -0
  1042. package/lib/cjs/function/relational/equalText.js +46 -0
  1043. package/lib/cjs/function/relational/larger.js +106 -0
  1044. package/lib/cjs/function/relational/largerEq.js +102 -0
  1045. package/lib/cjs/function/relational/smaller.js +106 -0
  1046. package/lib/cjs/function/relational/smallerEq.js +102 -0
  1047. package/lib/cjs/function/relational/unequal.js +117 -0
  1048. package/lib/cjs/function/set/setCartesian.js +63 -0
  1049. package/lib/cjs/function/set/setDifference.js +76 -0
  1050. package/lib/cjs/function/set/setDistinct.js +62 -0
  1051. package/lib/cjs/function/set/setIntersect.js +68 -0
  1052. package/lib/cjs/function/set/setIsSubset.js +67 -0
  1053. package/lib/cjs/function/set/setMultiplicity.js +55 -0
  1054. package/lib/cjs/function/set/setPowerset.js +80 -0
  1055. package/lib/cjs/function/set/setSize.js +56 -0
  1056. package/lib/cjs/function/set/setSymDifference.js +53 -0
  1057. package/lib/cjs/function/set/setUnion.js +54 -0
  1058. package/lib/cjs/function/special/erf.js +161 -0
  1059. package/lib/cjs/function/statistics/cumsum.js +128 -0
  1060. package/lib/cjs/function/statistics/mad.js +69 -0
  1061. package/lib/cjs/function/statistics/max.js +109 -0
  1062. package/lib/cjs/function/statistics/mean.js +99 -0
  1063. package/lib/cjs/function/statistics/median.js +114 -0
  1064. package/lib/cjs/function/statistics/min.js +109 -0
  1065. package/lib/cjs/function/statistics/mode.js +81 -0
  1066. package/lib/cjs/function/statistics/prod.js +84 -0
  1067. package/lib/cjs/function/statistics/quantileSeq.js +240 -0
  1068. package/lib/cjs/function/statistics/std.js +102 -0
  1069. package/lib/cjs/function/statistics/sum.js +89 -0
  1070. package/lib/cjs/function/statistics/utils/improveErrorMessage.js +30 -0
  1071. package/lib/cjs/function/statistics/variance.js +160 -0
  1072. package/lib/cjs/function/string/bin.js +49 -0
  1073. package/lib/cjs/function/string/format.js +136 -0
  1074. package/lib/cjs/function/string/hex.js +48 -0
  1075. package/lib/cjs/function/string/oct.js +50 -0
  1076. package/lib/cjs/function/string/print.js +91 -0
  1077. package/lib/cjs/function/trigonometry/acos.js +54 -0
  1078. package/lib/cjs/function/trigonometry/acosh.js +54 -0
  1079. package/lib/cjs/function/trigonometry/acot.js +47 -0
  1080. package/lib/cjs/function/trigonometry/acoth.js +53 -0
  1081. package/lib/cjs/function/trigonometry/acsc.js +54 -0
  1082. package/lib/cjs/function/trigonometry/acsch.js +46 -0
  1083. package/lib/cjs/function/trigonometry/asec.js +55 -0
  1084. package/lib/cjs/function/trigonometry/asech.js +58 -0
  1085. package/lib/cjs/function/trigonometry/asin.js +54 -0
  1086. package/lib/cjs/function/trigonometry/asinh.js +45 -0
  1087. package/lib/cjs/function/trigonometry/atan.js +47 -0
  1088. package/lib/cjs/function/trigonometry/atan2.js +96 -0
  1089. package/lib/cjs/function/trigonometry/atanh.js +52 -0
  1090. package/lib/cjs/function/trigonometry/cos.js +51 -0
  1091. package/lib/cjs/function/trigonometry/cosh.js +42 -0
  1092. package/lib/cjs/function/trigonometry/cot.js +51 -0
  1093. package/lib/cjs/function/trigonometry/coth.js +48 -0
  1094. package/lib/cjs/function/trigonometry/csc.js +51 -0
  1095. package/lib/cjs/function/trigonometry/csch.js +48 -0
  1096. package/lib/cjs/function/trigonometry/sec.js +51 -0
  1097. package/lib/cjs/function/trigonometry/sech.js +48 -0
  1098. package/lib/cjs/function/trigonometry/sin.js +51 -0
  1099. package/lib/cjs/function/trigonometry/sinh.js +42 -0
  1100. package/lib/cjs/function/trigonometry/tan.js +48 -0
  1101. package/lib/cjs/function/trigonometry/tanh.js +45 -0
  1102. package/lib/cjs/function/trigonometry/trigUnit.js +21 -0
  1103. package/lib/cjs/function/unit/to.js +53 -0
  1104. package/lib/cjs/function/utils/clone.js +35 -0
  1105. package/lib/cjs/function/utils/hasNumericValue.js +55 -0
  1106. package/lib/cjs/function/utils/isInteger.js +60 -0
  1107. package/lib/cjs/function/utils/isNaN.js +62 -0
  1108. package/lib/cjs/function/utils/isNegative.js +64 -0
  1109. package/lib/cjs/function/utils/isNumeric.js +56 -0
  1110. package/lib/cjs/function/utils/isPositive.js +65 -0
  1111. package/lib/cjs/function/utils/isPrime.js +133 -0
  1112. package/lib/cjs/function/utils/isZero.js +70 -0
  1113. package/lib/cjs/function/utils/numeric.js +84 -0
  1114. package/lib/cjs/function/utils/typeOf.js +69 -0
  1115. package/lib/cjs/header.js +26 -0
  1116. package/lib/cjs/index.js +16 -0
  1117. package/lib/cjs/json/replacer.js +34 -0
  1118. package/lib/cjs/json/reviver.js +26 -0
  1119. package/lib/cjs/number.js +16 -0
  1120. package/lib/cjs/package.json +3 -0
  1121. package/lib/cjs/plain/bignumber/arithmetic.js +32 -0
  1122. package/lib/cjs/plain/bignumber/index.js +29 -0
  1123. package/lib/cjs/plain/number/arithmetic.js +411 -0
  1124. package/lib/cjs/plain/number/bitwise.js +64 -0
  1125. package/lib/cjs/plain/number/combinations.js +39 -0
  1126. package/lib/cjs/plain/number/constants.js +14 -0
  1127. package/lib/cjs/plain/number/index.js +104 -0
  1128. package/lib/cjs/plain/number/logical.js +27 -0
  1129. package/lib/cjs/plain/number/probability.js +92 -0
  1130. package/lib/cjs/plain/number/relational.js +1 -0
  1131. package/lib/cjs/plain/number/trigonometry.js +142 -0
  1132. package/lib/cjs/plain/number/utils.js +32 -0
  1133. package/lib/cjs/type/bignumber/BigNumber.js +63 -0
  1134. package/lib/cjs/type/bignumber/function/bignumber.js +83 -0
  1135. package/lib/cjs/type/boolean.js +79 -0
  1136. package/lib/cjs/type/chain/Chain.js +220 -0
  1137. package/lib/cjs/type/chain/function/chain.js +57 -0
  1138. package/lib/cjs/type/complex/Complex.js +203 -0
  1139. package/lib/cjs/type/complex/function/complex.js +95 -0
  1140. package/lib/cjs/type/fraction/Fraction.js +49 -0
  1141. package/lib/cjs/type/fraction/function/fraction.js +84 -0
  1142. package/lib/cjs/type/matrix/DenseMatrix.js +1002 -0
  1143. package/lib/cjs/type/matrix/FibonacciHeap.js +356 -0
  1144. package/lib/cjs/type/matrix/ImmutableDenseMatrix.js +226 -0
  1145. package/lib/cjs/type/matrix/Matrix.js +249 -0
  1146. package/lib/cjs/type/matrix/MatrixIndex.js +271 -0
  1147. package/lib/cjs/type/matrix/Range.js +311 -0
  1148. package/lib/cjs/type/matrix/Spa.js +141 -0
  1149. package/lib/cjs/type/matrix/SparseMatrix.js +1524 -0
  1150. package/lib/cjs/type/matrix/function/index.js +67 -0
  1151. package/lib/cjs/type/matrix/function/matrix.js +87 -0
  1152. package/lib/cjs/type/matrix/function/sparse.js +61 -0
  1153. package/lib/cjs/type/matrix/utils/broadcast.js +84 -0
  1154. package/lib/cjs/type/matrix/utils/matAlgo01xDSid.js +117 -0
  1155. package/lib/cjs/type/matrix/utils/matAlgo02xDS0.js +121 -0
  1156. package/lib/cjs/type/matrix/utils/matAlgo03xDSf.js +127 -0
  1157. package/lib/cjs/type/matrix/utils/matAlgo04xSidSid.js +184 -0
  1158. package/lib/cjs/type/matrix/utils/matAlgo05xSfSf.js +176 -0
  1159. package/lib/cjs/type/matrix/utils/matAlgo06xS0S0.js +158 -0
  1160. package/lib/cjs/type/matrix/utils/matAlgo07xSSf.js +124 -0
  1161. package/lib/cjs/type/matrix/utils/matAlgo08xS0Sid.js +159 -0
  1162. package/lib/cjs/type/matrix/utils/matAlgo09xS0Sf.js +147 -0
  1163. package/lib/cjs/type/matrix/utils/matAlgo10xSids.js +110 -0
  1164. package/lib/cjs/type/matrix/utils/matAlgo11xS0s.js +108 -0
  1165. package/lib/cjs/type/matrix/utils/matAlgo12xSfs.js +110 -0
  1166. package/lib/cjs/type/matrix/utils/matAlgo13xDD.js +99 -0
  1167. package/lib/cjs/type/matrix/utils/matAlgo14xDs.js +81 -0
  1168. package/lib/cjs/type/matrix/utils/matrixAlgorithmSuite.js +223 -0
  1169. package/lib/cjs/type/number.js +154 -0
  1170. package/lib/cjs/type/resultset/ResultSet.js +75 -0
  1171. package/lib/cjs/type/string.js +63 -0
  1172. package/lib/cjs/type/unit/Unit.js +3863 -0
  1173. package/lib/cjs/type/unit/function/createUnit.js +84 -0
  1174. package/lib/cjs/type/unit/function/splitUnit.js +37 -0
  1175. package/lib/cjs/type/unit/function/unit.js +71 -0
  1176. package/lib/cjs/type/unit/physicalConstants.js +153 -0
  1177. package/lib/cjs/utils/array.js +607 -0
  1178. package/lib/cjs/utils/bignumber/bitwise.js +411 -0
  1179. package/lib/cjs/utils/bignumber/constants.js +66 -0
  1180. package/lib/cjs/utils/bignumber/formatter.js +259 -0
  1181. package/lib/cjs/utils/bignumber/nearlyEqual.js +47 -0
  1182. package/lib/cjs/utils/collection.js +186 -0
  1183. package/lib/cjs/utils/complex.js +18 -0
  1184. package/lib/cjs/utils/customs.js +161 -0
  1185. package/lib/cjs/utils/emitter.js +24 -0
  1186. package/lib/cjs/utils/factory.js +152 -0
  1187. package/lib/cjs/utils/function.js +107 -0
  1188. package/lib/cjs/utils/is.js +218 -0
  1189. package/lib/cjs/utils/latex.js +499 -0
  1190. package/lib/cjs/utils/log.js +24 -0
  1191. package/lib/cjs/utils/lruQueue.js +61 -0
  1192. package/lib/cjs/utils/map.js +167 -0
  1193. package/lib/cjs/utils/noop.js +25 -0
  1194. package/lib/cjs/utils/number.js +691 -0
  1195. package/lib/cjs/utils/object.js +397 -0
  1196. package/lib/cjs/utils/product.js +20 -0
  1197. package/lib/cjs/utils/scope.js +29 -0
  1198. package/lib/cjs/utils/snapshot.js +234 -0
  1199. package/lib/cjs/utils/string.js +209 -0
  1200. package/lib/cjs/utils/switch.js +26 -0
  1201. package/lib/cjs/version.js +10 -0
  1202. package/lib/esm/constants.js +124 -0
  1203. package/lib/esm/core/config.js +19 -0
  1204. package/lib/esm/core/create.js +198 -0
  1205. package/lib/esm/core/function/config.js +106 -0
  1206. package/lib/esm/core/function/import.js +327 -0
  1207. package/lib/esm/core/function/typed.js +410 -0
  1208. package/lib/esm/defaultInstance.js +3 -0
  1209. package/lib/esm/entry/allFactoriesAny.js +3 -0
  1210. package/lib/esm/entry/allFactoriesNumber.js +3 -0
  1211. package/lib/esm/entry/configReadonly.js +15 -0
  1212. package/lib/esm/entry/dependenciesAny/dependenciesAbs.generated.js +10 -0
  1213. package/lib/esm/entry/dependenciesAny/dependenciesAccessorNode.generated.js +12 -0
  1214. package/lib/esm/entry/dependenciesAny/dependenciesAcos.generated.js +12 -0
  1215. package/lib/esm/entry/dependenciesAny/dependenciesAcosh.generated.js +12 -0
  1216. package/lib/esm/entry/dependenciesAny/dependenciesAcot.generated.js +12 -0
  1217. package/lib/esm/entry/dependenciesAny/dependenciesAcoth.generated.js +14 -0
  1218. package/lib/esm/entry/dependenciesAny/dependenciesAcsc.generated.js +14 -0
  1219. package/lib/esm/entry/dependenciesAny/dependenciesAcsch.generated.js +12 -0
  1220. package/lib/esm/entry/dependenciesAny/dependenciesAdd.generated.js +22 -0
  1221. package/lib/esm/entry/dependenciesAny/dependenciesAddScalar.generated.js +10 -0
  1222. package/lib/esm/entry/dependenciesAny/dependenciesAnd.generated.js +20 -0
  1223. package/lib/esm/entry/dependenciesAny/dependenciesApply.generated.js +12 -0
  1224. package/lib/esm/entry/dependenciesAny/dependenciesApplyTransform.generated.js +12 -0
  1225. package/lib/esm/entry/dependenciesAny/dependenciesArg.generated.js +10 -0
  1226. package/lib/esm/entry/dependenciesAny/dependenciesArrayNode.generated.js +10 -0
  1227. package/lib/esm/entry/dependenciesAny/dependenciesAsec.generated.js +14 -0
  1228. package/lib/esm/entry/dependenciesAny/dependenciesAsech.generated.js +14 -0
  1229. package/lib/esm/entry/dependenciesAny/dependenciesAsin.generated.js +12 -0
  1230. package/lib/esm/entry/dependenciesAny/dependenciesAsinh.generated.js +10 -0
  1231. package/lib/esm/entry/dependenciesAny/dependenciesAssignmentNode.generated.js +14 -0
  1232. package/lib/esm/entry/dependenciesAny/dependenciesAtan.generated.js +10 -0
  1233. package/lib/esm/entry/dependenciesAny/dependenciesAtan2.generated.js +20 -0
  1234. package/lib/esm/entry/dependenciesAny/dependenciesAtanh.generated.js +12 -0
  1235. package/lib/esm/entry/dependenciesAny/dependenciesAtomicMass.generated.js +12 -0
  1236. package/lib/esm/entry/dependenciesAny/dependenciesAvogadro.generated.js +12 -0
  1237. package/lib/esm/entry/dependenciesAny/dependenciesBellNumbers.generated.js +18 -0
  1238. package/lib/esm/entry/dependenciesAny/dependenciesBigNumberClass.generated.js +8 -0
  1239. package/lib/esm/entry/dependenciesAny/dependenciesBignumber.generated.js +12 -0
  1240. package/lib/esm/entry/dependenciesAny/dependenciesBin.generated.js +12 -0
  1241. package/lib/esm/entry/dependenciesAny/dependenciesBitAnd.generated.js +16 -0
  1242. package/lib/esm/entry/dependenciesAny/dependenciesBitNot.generated.js +10 -0
  1243. package/lib/esm/entry/dependenciesAny/dependenciesBitOr.generated.js +18 -0
  1244. package/lib/esm/entry/dependenciesAny/dependenciesBitXor.generated.js +16 -0
  1245. package/lib/esm/entry/dependenciesAny/dependenciesBlockNode.generated.js +12 -0
  1246. package/lib/esm/entry/dependenciesAny/dependenciesBohrMagneton.generated.js +12 -0
  1247. package/lib/esm/entry/dependenciesAny/dependenciesBohrRadius.generated.js +12 -0
  1248. package/lib/esm/entry/dependenciesAny/dependenciesBoltzmann.generated.js +12 -0
  1249. package/lib/esm/entry/dependenciesAny/dependenciesBoolean.generated.js +10 -0
  1250. package/lib/esm/entry/dependenciesAny/dependenciesCatalan.generated.js +22 -0
  1251. package/lib/esm/entry/dependenciesAny/dependenciesCbrt.generated.js +22 -0
  1252. package/lib/esm/entry/dependenciesAny/dependenciesCeil.generated.js +20 -0
  1253. package/lib/esm/entry/dependenciesAny/dependenciesChain.generated.js +12 -0
  1254. package/lib/esm/entry/dependenciesAny/dependenciesChainClass.generated.js +10 -0
  1255. package/lib/esm/entry/dependenciesAny/dependenciesClassicalElectronRadius.generated.js +12 -0
  1256. package/lib/esm/entry/dependenciesAny/dependenciesClone.generated.js +10 -0
  1257. package/lib/esm/entry/dependenciesAny/dependenciesColumn.generated.js +16 -0
  1258. package/lib/esm/entry/dependenciesAny/dependenciesColumnTransform.generated.js +16 -0
  1259. package/lib/esm/entry/dependenciesAny/dependenciesCombinations.generated.js +10 -0
  1260. package/lib/esm/entry/dependenciesAny/dependenciesCombinationsWithRep.generated.js +10 -0
  1261. package/lib/esm/entry/dependenciesAny/dependenciesCompare.generated.js +22 -0
  1262. package/lib/esm/entry/dependenciesAny/dependenciesCompareNatural.generated.js +12 -0
  1263. package/lib/esm/entry/dependenciesAny/dependenciesCompareText.generated.js +14 -0
  1264. package/lib/esm/entry/dependenciesAny/dependenciesCompile.generated.js +12 -0
  1265. package/lib/esm/entry/dependenciesAny/dependenciesComplex.generated.js +12 -0
  1266. package/lib/esm/entry/dependenciesAny/dependenciesComplexClass.generated.js +8 -0
  1267. package/lib/esm/entry/dependenciesAny/dependenciesComposition.generated.js +22 -0
  1268. package/lib/esm/entry/dependenciesAny/dependenciesConcat.generated.js +14 -0
  1269. package/lib/esm/entry/dependenciesAny/dependenciesConcatTransform.generated.js +14 -0
  1270. package/lib/esm/entry/dependenciesAny/dependenciesConditionalNode.generated.js +10 -0
  1271. package/lib/esm/entry/dependenciesAny/dependenciesConductanceQuantum.generated.js +12 -0
  1272. package/lib/esm/entry/dependenciesAny/dependenciesConj.generated.js +10 -0
  1273. package/lib/esm/entry/dependenciesAny/dependenciesConstantNode.generated.js +10 -0
  1274. package/lib/esm/entry/dependenciesAny/dependenciesCos.generated.js +10 -0
  1275. package/lib/esm/entry/dependenciesAny/dependenciesCosh.generated.js +10 -0
  1276. package/lib/esm/entry/dependenciesAny/dependenciesCot.generated.js +12 -0
  1277. package/lib/esm/entry/dependenciesAny/dependenciesCoth.generated.js +12 -0
  1278. package/lib/esm/entry/dependenciesAny/dependenciesCoulomb.generated.js +12 -0
  1279. package/lib/esm/entry/dependenciesAny/dependenciesCount.generated.js +14 -0
  1280. package/lib/esm/entry/dependenciesAny/dependenciesCreateUnit.generated.js +12 -0
  1281. package/lib/esm/entry/dependenciesAny/dependenciesCross.generated.js +16 -0
  1282. package/lib/esm/entry/dependenciesAny/dependenciesCsc.generated.js +12 -0
  1283. package/lib/esm/entry/dependenciesAny/dependenciesCsch.generated.js +12 -0
  1284. package/lib/esm/entry/dependenciesAny/dependenciesCtranspose.generated.js +14 -0
  1285. package/lib/esm/entry/dependenciesAny/dependenciesCube.generated.js +10 -0
  1286. package/lib/esm/entry/dependenciesAny/dependenciesCumSum.generated.js +14 -0
  1287. package/lib/esm/entry/dependenciesAny/dependenciesCumSumTransform.generated.js +14 -0
  1288. package/lib/esm/entry/dependenciesAny/dependenciesDeepEqual.generated.js +12 -0
  1289. package/lib/esm/entry/dependenciesAny/dependenciesDenseMatrixClass.generated.js +10 -0
  1290. package/lib/esm/entry/dependenciesAny/dependenciesDerivative.generated.js +30 -0
  1291. package/lib/esm/entry/dependenciesAny/dependenciesDet.generated.js +22 -0
  1292. package/lib/esm/entry/dependenciesAny/dependenciesDeuteronMass.generated.js +12 -0
  1293. package/lib/esm/entry/dependenciesAny/dependenciesDiag.generated.js +16 -0
  1294. package/lib/esm/entry/dependenciesAny/dependenciesDiff.generated.js +16 -0
  1295. package/lib/esm/entry/dependenciesAny/dependenciesDiffTransform.generated.js +18 -0
  1296. package/lib/esm/entry/dependenciesAny/dependenciesDistance.generated.js +24 -0
  1297. package/lib/esm/entry/dependenciesAny/dependenciesDivide.generated.js +20 -0
  1298. package/lib/esm/entry/dependenciesAny/dependenciesDivideScalar.generated.js +12 -0
  1299. package/lib/esm/entry/dependenciesAny/dependenciesDot.generated.js +18 -0
  1300. package/lib/esm/entry/dependenciesAny/dependenciesDotDivide.generated.js +20 -0
  1301. package/lib/esm/entry/dependenciesAny/dependenciesDotMultiply.generated.js +18 -0
  1302. package/lib/esm/entry/dependenciesAny/dependenciesDotPow.generated.js +20 -0
  1303. package/lib/esm/entry/dependenciesAny/dependenciesE.generated.js +10 -0
  1304. package/lib/esm/entry/dependenciesAny/dependenciesEfimovFactor.generated.js +10 -0
  1305. package/lib/esm/entry/dependenciesAny/dependenciesEigs.generated.js +68 -0
  1306. package/lib/esm/entry/dependenciesAny/dependenciesElectricConstant.generated.js +12 -0
  1307. package/lib/esm/entry/dependenciesAny/dependenciesElectronMass.generated.js +12 -0
  1308. package/lib/esm/entry/dependenciesAny/dependenciesElementaryCharge.generated.js +12 -0
  1309. package/lib/esm/entry/dependenciesAny/dependenciesEqual.generated.js +18 -0
  1310. package/lib/esm/entry/dependenciesAny/dependenciesEqualScalar.generated.js +10 -0
  1311. package/lib/esm/entry/dependenciesAny/dependenciesEqualText.generated.js +14 -0
  1312. package/lib/esm/entry/dependenciesAny/dependenciesErf.generated.js +10 -0
  1313. package/lib/esm/entry/dependenciesAny/dependenciesEvaluate.generated.js +12 -0
  1314. package/lib/esm/entry/dependenciesAny/dependenciesExp.generated.js +10 -0
  1315. package/lib/esm/entry/dependenciesAny/dependenciesExpm.generated.js +20 -0
  1316. package/lib/esm/entry/dependenciesAny/dependenciesExpm1.generated.js +12 -0
  1317. package/lib/esm/entry/dependenciesAny/dependenciesFactorial.generated.js +12 -0
  1318. package/lib/esm/entry/dependenciesAny/dependenciesFalse.generated.js +8 -0
  1319. package/lib/esm/entry/dependenciesAny/dependenciesFaraday.generated.js +12 -0
  1320. package/lib/esm/entry/dependenciesAny/dependenciesFermiCoupling.generated.js +12 -0
  1321. package/lib/esm/entry/dependenciesAny/dependenciesFft.generated.js +34 -0
  1322. package/lib/esm/entry/dependenciesAny/dependenciesFibonacciHeapClass.generated.js +12 -0
  1323. package/lib/esm/entry/dependenciesAny/dependenciesFilter.generated.js +10 -0
  1324. package/lib/esm/entry/dependenciesAny/dependenciesFilterTransform.generated.js +10 -0
  1325. package/lib/esm/entry/dependenciesAny/dependenciesFineStructure.generated.js +10 -0
  1326. package/lib/esm/entry/dependenciesAny/dependenciesFirstRadiation.generated.js +12 -0
  1327. package/lib/esm/entry/dependenciesAny/dependenciesFix.generated.js +24 -0
  1328. package/lib/esm/entry/dependenciesAny/dependenciesFlatten.generated.js +12 -0
  1329. package/lib/esm/entry/dependenciesAny/dependenciesFloor.generated.js +20 -0
  1330. package/lib/esm/entry/dependenciesAny/dependenciesForEach.generated.js +10 -0
  1331. package/lib/esm/entry/dependenciesAny/dependenciesForEachTransform.generated.js +10 -0
  1332. package/lib/esm/entry/dependenciesAny/dependenciesFormat.generated.js +10 -0
  1333. package/lib/esm/entry/dependenciesAny/dependenciesFraction.generated.js +12 -0
  1334. package/lib/esm/entry/dependenciesAny/dependenciesFractionClass.generated.js +8 -0
  1335. package/lib/esm/entry/dependenciesAny/dependenciesFunctionAssignmentNode.generated.js +12 -0
  1336. package/lib/esm/entry/dependenciesAny/dependenciesFunctionNode.generated.js +12 -0
  1337. package/lib/esm/entry/dependenciesAny/dependenciesGamma.generated.js +18 -0
  1338. package/lib/esm/entry/dependenciesAny/dependenciesGasConstant.generated.js +12 -0
  1339. package/lib/esm/entry/dependenciesAny/dependenciesGcd.generated.js +20 -0
  1340. package/lib/esm/entry/dependenciesAny/dependenciesGetMatrixDataType.generated.js +10 -0
  1341. package/lib/esm/entry/dependenciesAny/dependenciesGravitationConstant.generated.js +12 -0
  1342. package/lib/esm/entry/dependenciesAny/dependenciesGravity.generated.js +12 -0
  1343. package/lib/esm/entry/dependenciesAny/dependenciesHartreeEnergy.generated.js +12 -0
  1344. package/lib/esm/entry/dependenciesAny/dependenciesHasNumericValue.generated.js +12 -0
  1345. package/lib/esm/entry/dependenciesAny/dependenciesHelp.generated.js +12 -0
  1346. package/lib/esm/entry/dependenciesAny/dependenciesHelpClass.generated.js +10 -0
  1347. package/lib/esm/entry/dependenciesAny/dependenciesHex.generated.js +12 -0
  1348. package/lib/esm/entry/dependenciesAny/dependenciesHypot.generated.js +24 -0
  1349. package/lib/esm/entry/dependenciesAny/dependenciesI.generated.js +10 -0
  1350. package/lib/esm/entry/dependenciesAny/dependenciesIdentity.generated.js +18 -0
  1351. package/lib/esm/entry/dependenciesAny/dependenciesIfft.generated.js +16 -0
  1352. package/lib/esm/entry/dependenciesAny/dependenciesIm.generated.js +10 -0
  1353. package/lib/esm/entry/dependenciesAny/dependenciesImmutableDenseMatrixClass.generated.js +12 -0
  1354. package/lib/esm/entry/dependenciesAny/dependenciesIndex.generated.js +12 -0
  1355. package/lib/esm/entry/dependenciesAny/dependenciesIndexClass.generated.js +10 -0
  1356. package/lib/esm/entry/dependenciesAny/dependenciesIndexNode.generated.js +12 -0
  1357. package/lib/esm/entry/dependenciesAny/dependenciesIndexTransform.generated.js +10 -0
  1358. package/lib/esm/entry/dependenciesAny/dependenciesInfinity.generated.js +10 -0
  1359. package/lib/esm/entry/dependenciesAny/dependenciesIntersect.generated.js +36 -0
  1360. package/lib/esm/entry/dependenciesAny/dependenciesInv.generated.js +26 -0
  1361. package/lib/esm/entry/dependenciesAny/dependenciesInverseConductanceQuantum.generated.js +12 -0
  1362. package/lib/esm/entry/dependenciesAny/dependenciesInvmod.generated.js +24 -0
  1363. package/lib/esm/entry/dependenciesAny/dependenciesIsInteger.generated.js +10 -0
  1364. package/lib/esm/entry/dependenciesAny/dependenciesIsNaN.generated.js +10 -0
  1365. package/lib/esm/entry/dependenciesAny/dependenciesIsNegative.generated.js +10 -0
  1366. package/lib/esm/entry/dependenciesAny/dependenciesIsNumeric.generated.js +10 -0
  1367. package/lib/esm/entry/dependenciesAny/dependenciesIsPositive.generated.js +10 -0
  1368. package/lib/esm/entry/dependenciesAny/dependenciesIsPrime.generated.js +10 -0
  1369. package/lib/esm/entry/dependenciesAny/dependenciesIsZero.generated.js +10 -0
  1370. package/lib/esm/entry/dependenciesAny/dependenciesKldivergence.generated.js +26 -0
  1371. package/lib/esm/entry/dependenciesAny/dependenciesKlitzing.generated.js +12 -0
  1372. package/lib/esm/entry/dependenciesAny/dependenciesKron.generated.js +14 -0
  1373. package/lib/esm/entry/dependenciesAny/dependenciesLN10.generated.js +10 -0
  1374. package/lib/esm/entry/dependenciesAny/dependenciesLN2.generated.js +10 -0
  1375. package/lib/esm/entry/dependenciesAny/dependenciesLOG10E.generated.js +10 -0
  1376. package/lib/esm/entry/dependenciesAny/dependenciesLOG2E.generated.js +10 -0
  1377. package/lib/esm/entry/dependenciesAny/dependenciesLarger.generated.js +16 -0
  1378. package/lib/esm/entry/dependenciesAny/dependenciesLargerEq.generated.js +16 -0
  1379. package/lib/esm/entry/dependenciesAny/dependenciesLcm.generated.js +16 -0
  1380. package/lib/esm/entry/dependenciesAny/dependenciesLeafCount.generated.js +12 -0
  1381. package/lib/esm/entry/dependenciesAny/dependenciesLeftShift.generated.js +20 -0
  1382. package/lib/esm/entry/dependenciesAny/dependenciesLgamma.generated.js +12 -0
  1383. package/lib/esm/entry/dependenciesAny/dependenciesLog.generated.js +14 -0
  1384. package/lib/esm/entry/dependenciesAny/dependenciesLog10.generated.js +12 -0
  1385. package/lib/esm/entry/dependenciesAny/dependenciesLog1p.generated.js +16 -0
  1386. package/lib/esm/entry/dependenciesAny/dependenciesLog2.generated.js +12 -0
  1387. package/lib/esm/entry/dependenciesAny/dependenciesLoschmidt.generated.js +12 -0
  1388. package/lib/esm/entry/dependenciesAny/dependenciesLsolve.generated.js +22 -0
  1389. package/lib/esm/entry/dependenciesAny/dependenciesLsolveAll.generated.js +22 -0
  1390. package/lib/esm/entry/dependenciesAny/dependenciesLup.generated.js +34 -0
  1391. package/lib/esm/entry/dependenciesAny/dependenciesLusolve.generated.js +22 -0
  1392. package/lib/esm/entry/dependenciesAny/dependenciesLyap.generated.js +18 -0
  1393. package/lib/esm/entry/dependenciesAny/dependenciesMad.generated.js +18 -0
  1394. package/lib/esm/entry/dependenciesAny/dependenciesMagneticConstant.generated.js +12 -0
  1395. package/lib/esm/entry/dependenciesAny/dependenciesMagneticFluxQuantum.generated.js +12 -0
  1396. package/lib/esm/entry/dependenciesAny/dependenciesMap.generated.js +10 -0
  1397. package/lib/esm/entry/dependenciesAny/dependenciesMapTransform.generated.js +10 -0
  1398. package/lib/esm/entry/dependenciesAny/dependenciesMatrix.generated.js +16 -0
  1399. package/lib/esm/entry/dependenciesAny/dependenciesMatrixClass.generated.js +8 -0
  1400. package/lib/esm/entry/dependenciesAny/dependenciesMatrixFromColumns.generated.js +16 -0
  1401. package/lib/esm/entry/dependenciesAny/dependenciesMatrixFromFunction.generated.js +14 -0
  1402. package/lib/esm/entry/dependenciesAny/dependenciesMatrixFromRows.generated.js +16 -0
  1403. package/lib/esm/entry/dependenciesAny/dependenciesMax.generated.js +14 -0
  1404. package/lib/esm/entry/dependenciesAny/dependenciesMaxTransform.generated.js +14 -0
  1405. package/lib/esm/entry/dependenciesAny/dependenciesMean.generated.js +14 -0
  1406. package/lib/esm/entry/dependenciesAny/dependenciesMeanTransform.generated.js +14 -0
  1407. package/lib/esm/entry/dependenciesAny/dependenciesMedian.generated.js +18 -0
  1408. package/lib/esm/entry/dependenciesAny/dependenciesMin.generated.js +14 -0
  1409. package/lib/esm/entry/dependenciesAny/dependenciesMinTransform.generated.js +14 -0
  1410. package/lib/esm/entry/dependenciesAny/dependenciesMod.generated.js +18 -0
  1411. package/lib/esm/entry/dependenciesAny/dependenciesMode.generated.js +14 -0
  1412. package/lib/esm/entry/dependenciesAny/dependenciesMolarMass.generated.js +12 -0
  1413. package/lib/esm/entry/dependenciesAny/dependenciesMolarMassC12.generated.js +12 -0
  1414. package/lib/esm/entry/dependenciesAny/dependenciesMolarPlanckConstant.generated.js +12 -0
  1415. package/lib/esm/entry/dependenciesAny/dependenciesMolarVolume.generated.js +12 -0
  1416. package/lib/esm/entry/dependenciesAny/dependenciesMultinomial.generated.js +22 -0
  1417. package/lib/esm/entry/dependenciesAny/dependenciesMultiply.generated.js +20 -0
  1418. package/lib/esm/entry/dependenciesAny/dependenciesMultiplyScalar.generated.js +10 -0
  1419. package/lib/esm/entry/dependenciesAny/dependenciesNaN.generated.js +10 -0
  1420. package/lib/esm/entry/dependenciesAny/dependenciesNeutronMass.generated.js +12 -0
  1421. package/lib/esm/entry/dependenciesAny/dependenciesNode.generated.js +8 -0
  1422. package/lib/esm/entry/dependenciesAny/dependenciesNorm.generated.js +34 -0
  1423. package/lib/esm/entry/dependenciesAny/dependenciesNot.generated.js +10 -0
  1424. package/lib/esm/entry/dependenciesAny/dependenciesNthRoot.generated.js +18 -0
  1425. package/lib/esm/entry/dependenciesAny/dependenciesNthRoots.generated.js +14 -0
  1426. package/lib/esm/entry/dependenciesAny/dependenciesNuclearMagneton.generated.js +12 -0
  1427. package/lib/esm/entry/dependenciesAny/dependenciesNull.generated.js +8 -0
  1428. package/lib/esm/entry/dependenciesAny/dependenciesNumber.generated.js +10 -0
  1429. package/lib/esm/entry/dependenciesAny/dependenciesNumeric.generated.js +14 -0
  1430. package/lib/esm/entry/dependenciesAny/dependenciesObjectNode.generated.js +10 -0
  1431. package/lib/esm/entry/dependenciesAny/dependenciesOct.generated.js +12 -0
  1432. package/lib/esm/entry/dependenciesAny/dependenciesOnes.generated.js +14 -0
  1433. package/lib/esm/entry/dependenciesAny/dependenciesOperatorNode.generated.js +10 -0
  1434. package/lib/esm/entry/dependenciesAny/dependenciesOr.generated.js +18 -0
  1435. package/lib/esm/entry/dependenciesAny/dependenciesParenthesisNode.generated.js +10 -0
  1436. package/lib/esm/entry/dependenciesAny/dependenciesParse.generated.js +42 -0
  1437. package/lib/esm/entry/dependenciesAny/dependenciesParser.generated.js +12 -0
  1438. package/lib/esm/entry/dependenciesAny/dependenciesParserClass.generated.js +10 -0
  1439. package/lib/esm/entry/dependenciesAny/dependenciesPartitionSelect.generated.js +16 -0
  1440. package/lib/esm/entry/dependenciesAny/dependenciesPermutations.generated.js +12 -0
  1441. package/lib/esm/entry/dependenciesAny/dependenciesPhi.generated.js +10 -0
  1442. package/lib/esm/entry/dependenciesAny/dependenciesPi.generated.js +10 -0
  1443. package/lib/esm/entry/dependenciesAny/dependenciesPickRandom.generated.js +10 -0
  1444. package/lib/esm/entry/dependenciesAny/dependenciesPinv.generated.js +32 -0
  1445. package/lib/esm/entry/dependenciesAny/dependenciesPlanckCharge.generated.js +12 -0
  1446. package/lib/esm/entry/dependenciesAny/dependenciesPlanckConstant.generated.js +12 -0
  1447. package/lib/esm/entry/dependenciesAny/dependenciesPlanckLength.generated.js +12 -0
  1448. package/lib/esm/entry/dependenciesAny/dependenciesPlanckMass.generated.js +12 -0
  1449. package/lib/esm/entry/dependenciesAny/dependenciesPlanckTemperature.generated.js +12 -0
  1450. package/lib/esm/entry/dependenciesAny/dependenciesPlanckTime.generated.js +12 -0
  1451. package/lib/esm/entry/dependenciesAny/dependenciesPolynomialRoot.generated.js +34 -0
  1452. package/lib/esm/entry/dependenciesAny/dependenciesPow.generated.js +24 -0
  1453. package/lib/esm/entry/dependenciesAny/dependenciesPrint.generated.js +10 -0
  1454. package/lib/esm/entry/dependenciesAny/dependenciesProd.generated.js +14 -0
  1455. package/lib/esm/entry/dependenciesAny/dependenciesProtonMass.generated.js +12 -0
  1456. package/lib/esm/entry/dependenciesAny/dependenciesQr.generated.js +38 -0
  1457. package/lib/esm/entry/dependenciesAny/dependenciesQuantileSeq.generated.js +18 -0
  1458. package/lib/esm/entry/dependenciesAny/dependenciesQuantumOfCirculation.generated.js +12 -0
  1459. package/lib/esm/entry/dependenciesAny/dependenciesRandom.generated.js +10 -0
  1460. package/lib/esm/entry/dependenciesAny/dependenciesRandomInt.generated.js +10 -0
  1461. package/lib/esm/entry/dependenciesAny/dependenciesRange.generated.js +22 -0
  1462. package/lib/esm/entry/dependenciesAny/dependenciesRangeClass.generated.js +8 -0
  1463. package/lib/esm/entry/dependenciesAny/dependenciesRangeNode.generated.js +10 -0
  1464. package/lib/esm/entry/dependenciesAny/dependenciesRangeTransform.generated.js +22 -0
  1465. package/lib/esm/entry/dependenciesAny/dependenciesRationalize.generated.js +56 -0
  1466. package/lib/esm/entry/dependenciesAny/dependenciesRe.generated.js +10 -0
  1467. package/lib/esm/entry/dependenciesAny/dependenciesReducedPlanckConstant.generated.js +12 -0
  1468. package/lib/esm/entry/dependenciesAny/dependenciesRelationalNode.generated.js +10 -0
  1469. package/lib/esm/entry/dependenciesAny/dependenciesReplacer.generated.js +8 -0
  1470. package/lib/esm/entry/dependenciesAny/dependenciesReshape.generated.js +14 -0
  1471. package/lib/esm/entry/dependenciesAny/dependenciesResize.generated.js +10 -0
  1472. package/lib/esm/entry/dependenciesAny/dependenciesResolve.generated.js +20 -0
  1473. package/lib/esm/entry/dependenciesAny/dependenciesResultSet.generated.js +8 -0
  1474. package/lib/esm/entry/dependenciesAny/dependenciesReviver.generated.js +8 -0
  1475. package/lib/esm/entry/dependenciesAny/dependenciesRightArithShift.generated.js +20 -0
  1476. package/lib/esm/entry/dependenciesAny/dependenciesRightLogShift.generated.js +20 -0
  1477. package/lib/esm/entry/dependenciesAny/dependenciesRotate.generated.js +14 -0
  1478. package/lib/esm/entry/dependenciesAny/dependenciesRotationMatrix.generated.js +30 -0
  1479. package/lib/esm/entry/dependenciesAny/dependenciesRound.generated.js +20 -0
  1480. package/lib/esm/entry/dependenciesAny/dependenciesRow.generated.js +16 -0
  1481. package/lib/esm/entry/dependenciesAny/dependenciesRowTransform.generated.js +16 -0
  1482. package/lib/esm/entry/dependenciesAny/dependenciesRydberg.generated.js +12 -0
  1483. package/lib/esm/entry/dependenciesAny/dependenciesSQRT1_2.generated.js +12 -0
  1484. package/lib/esm/entry/dependenciesAny/dependenciesSQRT2.generated.js +10 -0
  1485. package/lib/esm/entry/dependenciesAny/dependenciesSackurTetrode.generated.js +10 -0
  1486. package/lib/esm/entry/dependenciesAny/dependenciesSchur.generated.js +22 -0
  1487. package/lib/esm/entry/dependenciesAny/dependenciesSec.generated.js +12 -0
  1488. package/lib/esm/entry/dependenciesAny/dependenciesSech.generated.js +12 -0
  1489. package/lib/esm/entry/dependenciesAny/dependenciesSecondRadiation.generated.js +12 -0
  1490. package/lib/esm/entry/dependenciesAny/dependenciesSetCartesian.generated.js +20 -0
  1491. package/lib/esm/entry/dependenciesAny/dependenciesSetDifference.generated.js +20 -0
  1492. package/lib/esm/entry/dependenciesAny/dependenciesSetDistinct.generated.js +20 -0
  1493. package/lib/esm/entry/dependenciesAny/dependenciesSetIntersect.generated.js +20 -0
  1494. package/lib/esm/entry/dependenciesAny/dependenciesSetIsSubset.generated.js +18 -0
  1495. package/lib/esm/entry/dependenciesAny/dependenciesSetMultiplicity.generated.js +18 -0
  1496. package/lib/esm/entry/dependenciesAny/dependenciesSetPowerset.generated.js +18 -0
  1497. package/lib/esm/entry/dependenciesAny/dependenciesSetSize.generated.js +12 -0
  1498. package/lib/esm/entry/dependenciesAny/dependenciesSetSymDifference.generated.js +20 -0
  1499. package/lib/esm/entry/dependenciesAny/dependenciesSetUnion.generated.js +22 -0
  1500. package/lib/esm/entry/dependenciesAny/dependenciesSign.generated.js +16 -0
  1501. package/lib/esm/entry/dependenciesAny/dependenciesSimplify.generated.js +56 -0
  1502. package/lib/esm/entry/dependenciesAny/dependenciesSimplifyConstant.generated.js +32 -0
  1503. package/lib/esm/entry/dependenciesAny/dependenciesSimplifyCore.generated.js +44 -0
  1504. package/lib/esm/entry/dependenciesAny/dependenciesSin.generated.js +10 -0
  1505. package/lib/esm/entry/dependenciesAny/dependenciesSinh.generated.js +10 -0
  1506. package/lib/esm/entry/dependenciesAny/dependenciesSize.generated.js +12 -0
  1507. package/lib/esm/entry/dependenciesAny/dependenciesSlu.generated.js +28 -0
  1508. package/lib/esm/entry/dependenciesAny/dependenciesSmaller.generated.js +16 -0
  1509. package/lib/esm/entry/dependenciesAny/dependenciesSmallerEq.generated.js +16 -0
  1510. package/lib/esm/entry/dependenciesAny/dependenciesSort.generated.js +16 -0
  1511. package/lib/esm/entry/dependenciesAny/dependenciesSpaClass.generated.js +14 -0
  1512. package/lib/esm/entry/dependenciesAny/dependenciesSparse.generated.js +12 -0
  1513. package/lib/esm/entry/dependenciesAny/dependenciesSparseMatrixClass.generated.js +14 -0
  1514. package/lib/esm/entry/dependenciesAny/dependenciesSpeedOfLight.generated.js +12 -0
  1515. package/lib/esm/entry/dependenciesAny/dependenciesSplitUnit.generated.js +10 -0
  1516. package/lib/esm/entry/dependenciesAny/dependenciesSqrt.generated.js +12 -0
  1517. package/lib/esm/entry/dependenciesAny/dependenciesSqrtm.generated.js +30 -0
  1518. package/lib/esm/entry/dependenciesAny/dependenciesSquare.generated.js +10 -0
  1519. package/lib/esm/entry/dependenciesAny/dependenciesSqueeze.generated.js +12 -0
  1520. package/lib/esm/entry/dependenciesAny/dependenciesStd.generated.js +16 -0
  1521. package/lib/esm/entry/dependenciesAny/dependenciesStdTransform.generated.js +16 -0
  1522. package/lib/esm/entry/dependenciesAny/dependenciesStefanBoltzmann.generated.js +12 -0
  1523. package/lib/esm/entry/dependenciesAny/dependenciesStirlingS2.generated.js +34 -0
  1524. package/lib/esm/entry/dependenciesAny/dependenciesString.generated.js +10 -0
  1525. package/lib/esm/entry/dependenciesAny/dependenciesSubset.generated.js +12 -0
  1526. package/lib/esm/entry/dependenciesAny/dependenciesSubsetTransform.generated.js +12 -0
  1527. package/lib/esm/entry/dependenciesAny/dependenciesSubtract.generated.js +22 -0
  1528. package/lib/esm/entry/dependenciesAny/dependenciesSum.generated.js +14 -0
  1529. package/lib/esm/entry/dependenciesAny/dependenciesSumTransform.generated.js +14 -0
  1530. package/lib/esm/entry/dependenciesAny/dependenciesSylvester.generated.js +38 -0
  1531. package/lib/esm/entry/dependenciesAny/dependenciesSymbolNode.generated.js +12 -0
  1532. package/lib/esm/entry/dependenciesAny/dependenciesSymbolicEqual.generated.js +16 -0
  1533. package/lib/esm/entry/dependenciesAny/dependenciesTan.generated.js +10 -0
  1534. package/lib/esm/entry/dependenciesAny/dependenciesTanh.generated.js +10 -0
  1535. package/lib/esm/entry/dependenciesAny/dependenciesTau.generated.js +10 -0
  1536. package/lib/esm/entry/dependenciesAny/dependenciesThomsonCrossSection.generated.js +12 -0
  1537. package/lib/esm/entry/dependenciesAny/dependenciesTo.generated.js +14 -0
  1538. package/lib/esm/entry/dependenciesAny/dependenciesTrace.generated.js +14 -0
  1539. package/lib/esm/entry/dependenciesAny/dependenciesTranspose.generated.js +12 -0
  1540. package/lib/esm/entry/dependenciesAny/dependenciesTrue.generated.js +8 -0
  1541. package/lib/esm/entry/dependenciesAny/dependenciesTypeOf.generated.js +10 -0
  1542. package/lib/esm/entry/dependenciesAny/dependenciesTyped.generated.js +16 -0
  1543. package/lib/esm/entry/dependenciesAny/dependenciesUnaryMinus.generated.js +10 -0
  1544. package/lib/esm/entry/dependenciesAny/dependenciesUnaryPlus.generated.js +12 -0
  1545. package/lib/esm/entry/dependenciesAny/dependenciesUnequal.generated.js +18 -0
  1546. package/lib/esm/entry/dependenciesAny/dependenciesUnitClass.generated.js +38 -0
  1547. package/lib/esm/entry/dependenciesAny/dependenciesUnitFunction.generated.js +12 -0
  1548. package/lib/esm/entry/dependenciesAny/dependenciesUppercaseE.generated.js +10 -0
  1549. package/lib/esm/entry/dependenciesAny/dependenciesUppercasePi.generated.js +10 -0
  1550. package/lib/esm/entry/dependenciesAny/dependenciesUsolve.generated.js +22 -0
  1551. package/lib/esm/entry/dependenciesAny/dependenciesUsolveAll.generated.js +22 -0
  1552. package/lib/esm/entry/dependenciesAny/dependenciesVacuumImpedance.generated.js +12 -0
  1553. package/lib/esm/entry/dependenciesAny/dependenciesVariance.generated.js +22 -0
  1554. package/lib/esm/entry/dependenciesAny/dependenciesVarianceTransform.generated.js +22 -0
  1555. package/lib/esm/entry/dependenciesAny/dependenciesVersion.generated.js +8 -0
  1556. package/lib/esm/entry/dependenciesAny/dependenciesWeakMixingAngle.generated.js +10 -0
  1557. package/lib/esm/entry/dependenciesAny/dependenciesWienDisplacement.generated.js +12 -0
  1558. package/lib/esm/entry/dependenciesAny/dependenciesXgcd.generated.js +14 -0
  1559. package/lib/esm/entry/dependenciesAny/dependenciesXor.generated.js +16 -0
  1560. package/lib/esm/entry/dependenciesAny/dependenciesZeros.generated.js +14 -0
  1561. package/lib/esm/entry/dependenciesAny.generated.js +354 -0
  1562. package/lib/esm/entry/dependenciesNumber/dependenciesAbs.generated.js +10 -0
  1563. package/lib/esm/entry/dependenciesNumber/dependenciesAccessorNode.generated.js +12 -0
  1564. package/lib/esm/entry/dependenciesNumber/dependenciesAcos.generated.js +10 -0
  1565. package/lib/esm/entry/dependenciesNumber/dependenciesAcosh.generated.js +10 -0
  1566. package/lib/esm/entry/dependenciesNumber/dependenciesAcot.generated.js +10 -0
  1567. package/lib/esm/entry/dependenciesNumber/dependenciesAcoth.generated.js +10 -0
  1568. package/lib/esm/entry/dependenciesNumber/dependenciesAcsc.generated.js +10 -0
  1569. package/lib/esm/entry/dependenciesNumber/dependenciesAcsch.generated.js +10 -0
  1570. package/lib/esm/entry/dependenciesNumber/dependenciesAdd.generated.js +10 -0
  1571. package/lib/esm/entry/dependenciesNumber/dependenciesAddScalar.generated.js +10 -0
  1572. package/lib/esm/entry/dependenciesNumber/dependenciesAnd.generated.js +10 -0
  1573. package/lib/esm/entry/dependenciesNumber/dependenciesApply.generated.js +12 -0
  1574. package/lib/esm/entry/dependenciesNumber/dependenciesApplyTransform.generated.js +12 -0
  1575. package/lib/esm/entry/dependenciesNumber/dependenciesArrayNode.generated.js +10 -0
  1576. package/lib/esm/entry/dependenciesNumber/dependenciesAsec.generated.js +10 -0
  1577. package/lib/esm/entry/dependenciesNumber/dependenciesAsech.generated.js +10 -0
  1578. package/lib/esm/entry/dependenciesNumber/dependenciesAsin.generated.js +10 -0
  1579. package/lib/esm/entry/dependenciesNumber/dependenciesAsinh.generated.js +10 -0
  1580. package/lib/esm/entry/dependenciesNumber/dependenciesAssignmentNode.generated.js +14 -0
  1581. package/lib/esm/entry/dependenciesNumber/dependenciesAtan.generated.js +10 -0
  1582. package/lib/esm/entry/dependenciesNumber/dependenciesAtan2.generated.js +10 -0
  1583. package/lib/esm/entry/dependenciesNumber/dependenciesAtanh.generated.js +10 -0
  1584. package/lib/esm/entry/dependenciesNumber/dependenciesBellNumbers.generated.js +18 -0
  1585. package/lib/esm/entry/dependenciesNumber/dependenciesBitAnd.generated.js +10 -0
  1586. package/lib/esm/entry/dependenciesNumber/dependenciesBitNot.generated.js +10 -0
  1587. package/lib/esm/entry/dependenciesNumber/dependenciesBitOr.generated.js +10 -0
  1588. package/lib/esm/entry/dependenciesNumber/dependenciesBitXor.generated.js +10 -0
  1589. package/lib/esm/entry/dependenciesNumber/dependenciesBlockNode.generated.js +12 -0
  1590. package/lib/esm/entry/dependenciesNumber/dependenciesBoolean.generated.js +10 -0
  1591. package/lib/esm/entry/dependenciesNumber/dependenciesCatalan.generated.js +22 -0
  1592. package/lib/esm/entry/dependenciesNumber/dependenciesCbrt.generated.js +10 -0
  1593. package/lib/esm/entry/dependenciesNumber/dependenciesCeil.generated.js +12 -0
  1594. package/lib/esm/entry/dependenciesNumber/dependenciesChain.generated.js +12 -0
  1595. package/lib/esm/entry/dependenciesNumber/dependenciesChainClass.generated.js +10 -0
  1596. package/lib/esm/entry/dependenciesNumber/dependenciesClone.generated.js +10 -0
  1597. package/lib/esm/entry/dependenciesNumber/dependenciesCombinations.generated.js +10 -0
  1598. package/lib/esm/entry/dependenciesNumber/dependenciesCombinationsWithRep.generated.js +10 -0
  1599. package/lib/esm/entry/dependenciesNumber/dependenciesCompare.generated.js +10 -0
  1600. package/lib/esm/entry/dependenciesNumber/dependenciesCompareNatural.generated.js +12 -0
  1601. package/lib/esm/entry/dependenciesNumber/dependenciesCompareText.generated.js +10 -0
  1602. package/lib/esm/entry/dependenciesNumber/dependenciesCompile.generated.js +12 -0
  1603. package/lib/esm/entry/dependenciesNumber/dependenciesComposition.generated.js +22 -0
  1604. package/lib/esm/entry/dependenciesNumber/dependenciesConditionalNode.generated.js +10 -0
  1605. package/lib/esm/entry/dependenciesNumber/dependenciesConstantNode.generated.js +10 -0
  1606. package/lib/esm/entry/dependenciesNumber/dependenciesCos.generated.js +10 -0
  1607. package/lib/esm/entry/dependenciesNumber/dependenciesCosh.generated.js +10 -0
  1608. package/lib/esm/entry/dependenciesNumber/dependenciesCot.generated.js +10 -0
  1609. package/lib/esm/entry/dependenciesNumber/dependenciesCoth.generated.js +10 -0
  1610. package/lib/esm/entry/dependenciesNumber/dependenciesCsc.generated.js +10 -0
  1611. package/lib/esm/entry/dependenciesNumber/dependenciesCsch.generated.js +10 -0
  1612. package/lib/esm/entry/dependenciesNumber/dependenciesCube.generated.js +10 -0
  1613. package/lib/esm/entry/dependenciesNumber/dependenciesCumSum.generated.js +14 -0
  1614. package/lib/esm/entry/dependenciesNumber/dependenciesCumSumTransform.generated.js +14 -0
  1615. package/lib/esm/entry/dependenciesNumber/dependenciesDeepEqual.generated.js +12 -0
  1616. package/lib/esm/entry/dependenciesNumber/dependenciesDerivative.generated.js +30 -0
  1617. package/lib/esm/entry/dependenciesNumber/dependenciesDivide.generated.js +10 -0
  1618. package/lib/esm/entry/dependenciesNumber/dependenciesDivideScalar.generated.js +10 -0
  1619. package/lib/esm/entry/dependenciesNumber/dependenciesE.generated.js +8 -0
  1620. package/lib/esm/entry/dependenciesNumber/dependenciesEqual.generated.js +12 -0
  1621. package/lib/esm/entry/dependenciesNumber/dependenciesEqualScalar.generated.js +10 -0
  1622. package/lib/esm/entry/dependenciesNumber/dependenciesEqualText.generated.js +14 -0
  1623. package/lib/esm/entry/dependenciesNumber/dependenciesErf.generated.js +10 -0
  1624. package/lib/esm/entry/dependenciesNumber/dependenciesEvaluate.generated.js +12 -0
  1625. package/lib/esm/entry/dependenciesNumber/dependenciesExp.generated.js +10 -0
  1626. package/lib/esm/entry/dependenciesNumber/dependenciesExpm1.generated.js +10 -0
  1627. package/lib/esm/entry/dependenciesNumber/dependenciesFactorial.generated.js +12 -0
  1628. package/lib/esm/entry/dependenciesNumber/dependenciesFalse.generated.js +8 -0
  1629. package/lib/esm/entry/dependenciesNumber/dependenciesFilter.generated.js +10 -0
  1630. package/lib/esm/entry/dependenciesNumber/dependenciesFilterTransform.generated.js +10 -0
  1631. package/lib/esm/entry/dependenciesNumber/dependenciesFix.generated.js +14 -0
  1632. package/lib/esm/entry/dependenciesNumber/dependenciesFloor.generated.js +12 -0
  1633. package/lib/esm/entry/dependenciesNumber/dependenciesForEach.generated.js +10 -0
  1634. package/lib/esm/entry/dependenciesNumber/dependenciesForEachTransform.generated.js +10 -0
  1635. package/lib/esm/entry/dependenciesNumber/dependenciesFormat.generated.js +10 -0
  1636. package/lib/esm/entry/dependenciesNumber/dependenciesFunctionAssignmentNode.generated.js +12 -0
  1637. package/lib/esm/entry/dependenciesNumber/dependenciesFunctionNode.generated.js +12 -0
  1638. package/lib/esm/entry/dependenciesNumber/dependenciesGamma.generated.js +10 -0
  1639. package/lib/esm/entry/dependenciesNumber/dependenciesGcd.generated.js +10 -0
  1640. package/lib/esm/entry/dependenciesNumber/dependenciesHasNumericValue.generated.js +12 -0
  1641. package/lib/esm/entry/dependenciesNumber/dependenciesHelp.generated.js +12 -0
  1642. package/lib/esm/entry/dependenciesNumber/dependenciesHelpClass.generated.js +10 -0
  1643. package/lib/esm/entry/dependenciesNumber/dependenciesHypot.generated.js +24 -0
  1644. package/lib/esm/entry/dependenciesNumber/dependenciesIndex.generated.js +8 -0
  1645. package/lib/esm/entry/dependenciesNumber/dependenciesIndexNode.generated.js +12 -0
  1646. package/lib/esm/entry/dependenciesNumber/dependenciesInfinity.generated.js +8 -0
  1647. package/lib/esm/entry/dependenciesNumber/dependenciesIsInteger.generated.js +10 -0
  1648. package/lib/esm/entry/dependenciesNumber/dependenciesIsNaN.generated.js +10 -0
  1649. package/lib/esm/entry/dependenciesNumber/dependenciesIsNegative.generated.js +10 -0
  1650. package/lib/esm/entry/dependenciesNumber/dependenciesIsNumeric.generated.js +10 -0
  1651. package/lib/esm/entry/dependenciesNumber/dependenciesIsPositive.generated.js +10 -0
  1652. package/lib/esm/entry/dependenciesNumber/dependenciesIsPrime.generated.js +10 -0
  1653. package/lib/esm/entry/dependenciesNumber/dependenciesIsZero.generated.js +10 -0
  1654. package/lib/esm/entry/dependenciesNumber/dependenciesLN10.generated.js +8 -0
  1655. package/lib/esm/entry/dependenciesNumber/dependenciesLN2.generated.js +8 -0
  1656. package/lib/esm/entry/dependenciesNumber/dependenciesLOG10E.generated.js +8 -0
  1657. package/lib/esm/entry/dependenciesNumber/dependenciesLOG2E.generated.js +8 -0
  1658. package/lib/esm/entry/dependenciesNumber/dependenciesLarger.generated.js +10 -0
  1659. package/lib/esm/entry/dependenciesNumber/dependenciesLargerEq.generated.js +10 -0
  1660. package/lib/esm/entry/dependenciesNumber/dependenciesLcm.generated.js +10 -0
  1661. package/lib/esm/entry/dependenciesNumber/dependenciesLeftShift.generated.js +10 -0
  1662. package/lib/esm/entry/dependenciesNumber/dependenciesLgamma.generated.js +10 -0
  1663. package/lib/esm/entry/dependenciesNumber/dependenciesLog.generated.js +10 -0
  1664. package/lib/esm/entry/dependenciesNumber/dependenciesLog10.generated.js +10 -0
  1665. package/lib/esm/entry/dependenciesNumber/dependenciesLog1p.generated.js +10 -0
  1666. package/lib/esm/entry/dependenciesNumber/dependenciesLog2.generated.js +10 -0
  1667. package/lib/esm/entry/dependenciesNumber/dependenciesMad.generated.js +18 -0
  1668. package/lib/esm/entry/dependenciesNumber/dependenciesMap.generated.js +10 -0
  1669. package/lib/esm/entry/dependenciesNumber/dependenciesMapTransform.generated.js +10 -0
  1670. package/lib/esm/entry/dependenciesNumber/dependenciesMatrix.generated.js +8 -0
  1671. package/lib/esm/entry/dependenciesNumber/dependenciesMax.generated.js +14 -0
  1672. package/lib/esm/entry/dependenciesNumber/dependenciesMaxTransform.generated.js +14 -0
  1673. package/lib/esm/entry/dependenciesNumber/dependenciesMean.generated.js +14 -0
  1674. package/lib/esm/entry/dependenciesNumber/dependenciesMeanTransform.generated.js +14 -0
  1675. package/lib/esm/entry/dependenciesNumber/dependenciesMedian.generated.js +18 -0
  1676. package/lib/esm/entry/dependenciesNumber/dependenciesMin.generated.js +14 -0
  1677. package/lib/esm/entry/dependenciesNumber/dependenciesMinTransform.generated.js +14 -0
  1678. package/lib/esm/entry/dependenciesNumber/dependenciesMod.generated.js +10 -0
  1679. package/lib/esm/entry/dependenciesNumber/dependenciesMode.generated.js +14 -0
  1680. package/lib/esm/entry/dependenciesNumber/dependenciesMultinomial.generated.js +22 -0
  1681. package/lib/esm/entry/dependenciesNumber/dependenciesMultiply.generated.js +10 -0
  1682. package/lib/esm/entry/dependenciesNumber/dependenciesMultiplyScalar.generated.js +10 -0
  1683. package/lib/esm/entry/dependenciesNumber/dependenciesNaN.generated.js +8 -0
  1684. package/lib/esm/entry/dependenciesNumber/dependenciesNode.generated.js +8 -0
  1685. package/lib/esm/entry/dependenciesNumber/dependenciesNorm.generated.js +10 -0
  1686. package/lib/esm/entry/dependenciesNumber/dependenciesNot.generated.js +10 -0
  1687. package/lib/esm/entry/dependenciesNumber/dependenciesNthRoot.generated.js +10 -0
  1688. package/lib/esm/entry/dependenciesNumber/dependenciesNull.generated.js +8 -0
  1689. package/lib/esm/entry/dependenciesNumber/dependenciesNumber.generated.js +10 -0
  1690. package/lib/esm/entry/dependenciesNumber/dependenciesNumeric.generated.js +10 -0
  1691. package/lib/esm/entry/dependenciesNumber/dependenciesObjectNode.generated.js +10 -0
  1692. package/lib/esm/entry/dependenciesNumber/dependenciesOperatorNode.generated.js +10 -0
  1693. package/lib/esm/entry/dependenciesNumber/dependenciesOr.generated.js +10 -0
  1694. package/lib/esm/entry/dependenciesNumber/dependenciesParenthesisNode.generated.js +10 -0
  1695. package/lib/esm/entry/dependenciesNumber/dependenciesParse.generated.js +42 -0
  1696. package/lib/esm/entry/dependenciesNumber/dependenciesParser.generated.js +12 -0
  1697. package/lib/esm/entry/dependenciesNumber/dependenciesParserClass.generated.js +10 -0
  1698. package/lib/esm/entry/dependenciesNumber/dependenciesPartitionSelect.generated.js +16 -0
  1699. package/lib/esm/entry/dependenciesNumber/dependenciesPermutations.generated.js +12 -0
  1700. package/lib/esm/entry/dependenciesNumber/dependenciesPhi.generated.js +8 -0
  1701. package/lib/esm/entry/dependenciesNumber/dependenciesPi.generated.js +8 -0
  1702. package/lib/esm/entry/dependenciesNumber/dependenciesPickRandom.generated.js +10 -0
  1703. package/lib/esm/entry/dependenciesNumber/dependenciesPow.generated.js +10 -0
  1704. package/lib/esm/entry/dependenciesNumber/dependenciesPrint.generated.js +10 -0
  1705. package/lib/esm/entry/dependenciesNumber/dependenciesProd.generated.js +14 -0
  1706. package/lib/esm/entry/dependenciesNumber/dependenciesQuantileSeq.generated.js +18 -0
  1707. package/lib/esm/entry/dependenciesNumber/dependenciesRandom.generated.js +10 -0
  1708. package/lib/esm/entry/dependenciesNumber/dependenciesRandomInt.generated.js +10 -0
  1709. package/lib/esm/entry/dependenciesNumber/dependenciesRange.generated.js +20 -0
  1710. package/lib/esm/entry/dependenciesNumber/dependenciesRangeClass.generated.js +8 -0
  1711. package/lib/esm/entry/dependenciesNumber/dependenciesRangeNode.generated.js +10 -0
  1712. package/lib/esm/entry/dependenciesNumber/dependenciesRangeTransform.generated.js +20 -0
  1713. package/lib/esm/entry/dependenciesNumber/dependenciesRationalize.generated.js +52 -0
  1714. package/lib/esm/entry/dependenciesNumber/dependenciesRelationalNode.generated.js +10 -0
  1715. package/lib/esm/entry/dependenciesNumber/dependenciesReplacer.generated.js +8 -0
  1716. package/lib/esm/entry/dependenciesNumber/dependenciesResolve.generated.js +20 -0
  1717. package/lib/esm/entry/dependenciesNumber/dependenciesResultSet.generated.js +8 -0
  1718. package/lib/esm/entry/dependenciesNumber/dependenciesReviver.generated.js +8 -0
  1719. package/lib/esm/entry/dependenciesNumber/dependenciesRightArithShift.generated.js +10 -0
  1720. package/lib/esm/entry/dependenciesNumber/dependenciesRightLogShift.generated.js +10 -0
  1721. package/lib/esm/entry/dependenciesNumber/dependenciesRound.generated.js +10 -0
  1722. package/lib/esm/entry/dependenciesNumber/dependenciesSQRT1_2.generated.js +10 -0
  1723. package/lib/esm/entry/dependenciesNumber/dependenciesSQRT2.generated.js +8 -0
  1724. package/lib/esm/entry/dependenciesNumber/dependenciesSec.generated.js +10 -0
  1725. package/lib/esm/entry/dependenciesNumber/dependenciesSech.generated.js +10 -0
  1726. package/lib/esm/entry/dependenciesNumber/dependenciesSign.generated.js +10 -0
  1727. package/lib/esm/entry/dependenciesNumber/dependenciesSimplify.generated.js +52 -0
  1728. package/lib/esm/entry/dependenciesNumber/dependenciesSimplifyConstant.generated.js +28 -0
  1729. package/lib/esm/entry/dependenciesNumber/dependenciesSimplifyCore.generated.js +44 -0
  1730. package/lib/esm/entry/dependenciesNumber/dependenciesSin.generated.js +10 -0
  1731. package/lib/esm/entry/dependenciesNumber/dependenciesSinh.generated.js +10 -0
  1732. package/lib/esm/entry/dependenciesNumber/dependenciesSize.generated.js +12 -0
  1733. package/lib/esm/entry/dependenciesNumber/dependenciesSmaller.generated.js +10 -0
  1734. package/lib/esm/entry/dependenciesNumber/dependenciesSmallerEq.generated.js +10 -0
  1735. package/lib/esm/entry/dependenciesNumber/dependenciesSqrt.generated.js +10 -0
  1736. package/lib/esm/entry/dependenciesNumber/dependenciesSquare.generated.js +10 -0
  1737. package/lib/esm/entry/dependenciesNumber/dependenciesStd.generated.js +16 -0
  1738. package/lib/esm/entry/dependenciesNumber/dependenciesStdTransform.generated.js +16 -0
  1739. package/lib/esm/entry/dependenciesNumber/dependenciesStirlingS2.generated.js +32 -0
  1740. package/lib/esm/entry/dependenciesNumber/dependenciesString.generated.js +10 -0
  1741. package/lib/esm/entry/dependenciesNumber/dependenciesSubset.generated.js +8 -0
  1742. package/lib/esm/entry/dependenciesNumber/dependenciesSubsetTransform.generated.js +8 -0
  1743. package/lib/esm/entry/dependenciesNumber/dependenciesSubtract.generated.js +10 -0
  1744. package/lib/esm/entry/dependenciesNumber/dependenciesSum.generated.js +14 -0
  1745. package/lib/esm/entry/dependenciesNumber/dependenciesSumTransform.generated.js +14 -0
  1746. package/lib/esm/entry/dependenciesNumber/dependenciesSymbolNode.generated.js +10 -0
  1747. package/lib/esm/entry/dependenciesNumber/dependenciesTan.generated.js +10 -0
  1748. package/lib/esm/entry/dependenciesNumber/dependenciesTanh.generated.js +10 -0
  1749. package/lib/esm/entry/dependenciesNumber/dependenciesTau.generated.js +8 -0
  1750. package/lib/esm/entry/dependenciesNumber/dependenciesTrue.generated.js +8 -0
  1751. package/lib/esm/entry/dependenciesNumber/dependenciesTypeOf.generated.js +10 -0
  1752. package/lib/esm/entry/dependenciesNumber/dependenciesTyped.generated.js +8 -0
  1753. package/lib/esm/entry/dependenciesNumber/dependenciesUnaryMinus.generated.js +10 -0
  1754. package/lib/esm/entry/dependenciesNumber/dependenciesUnaryPlus.generated.js +10 -0
  1755. package/lib/esm/entry/dependenciesNumber/dependenciesUnequal.generated.js +12 -0
  1756. package/lib/esm/entry/dependenciesNumber/dependenciesUppercaseE.generated.js +10 -0
  1757. package/lib/esm/entry/dependenciesNumber/dependenciesUppercasePi.generated.js +10 -0
  1758. package/lib/esm/entry/dependenciesNumber/dependenciesVariance.generated.js +22 -0
  1759. package/lib/esm/entry/dependenciesNumber/dependenciesVarianceTransform.generated.js +22 -0
  1760. package/lib/esm/entry/dependenciesNumber/dependenciesVersion.generated.js +8 -0
  1761. package/lib/esm/entry/dependenciesNumber/dependenciesXgcd.generated.js +10 -0
  1762. package/lib/esm/entry/dependenciesNumber/dependenciesXor.generated.js +10 -0
  1763. package/lib/esm/entry/dependenciesNumber.generated.js +206 -0
  1764. package/lib/esm/entry/impureFunctionsAny.generated.js +687 -0
  1765. package/lib/esm/entry/impureFunctionsNumber.generated.js +496 -0
  1766. package/lib/esm/entry/mainAny.js +22 -0
  1767. package/lib/esm/entry/mainNumber.js +22 -0
  1768. package/lib/esm/entry/pureFunctionsAny.generated.js +1703 -0
  1769. package/lib/esm/entry/pureFunctionsNumber.generated.js +563 -0
  1770. package/lib/esm/entry/typeChecks.js +2 -0
  1771. package/lib/esm/error/ArgumentsError.js +24 -0
  1772. package/lib/esm/error/DimensionError.js +23 -0
  1773. package/lib/esm/error/IndexError.js +35 -0
  1774. package/lib/esm/expression/Help.js +115 -0
  1775. package/lib/esm/expression/Parser.js +141 -0
  1776. package/lib/esm/expression/embeddedDocs/constants/Infinity.js +8 -0
  1777. package/lib/esm/expression/embeddedDocs/constants/LN10.js +8 -0
  1778. package/lib/esm/expression/embeddedDocs/constants/LN2.js +8 -0
  1779. package/lib/esm/expression/embeddedDocs/constants/LOG10E.js +8 -0
  1780. package/lib/esm/expression/embeddedDocs/constants/LOG2E.js +8 -0
  1781. package/lib/esm/expression/embeddedDocs/constants/NaN.js +8 -0
  1782. package/lib/esm/expression/embeddedDocs/constants/SQRT1_2.js +8 -0
  1783. package/lib/esm/expression/embeddedDocs/constants/SQRT2.js +8 -0
  1784. package/lib/esm/expression/embeddedDocs/constants/e.js +8 -0
  1785. package/lib/esm/expression/embeddedDocs/constants/false.js +8 -0
  1786. package/lib/esm/expression/embeddedDocs/constants/i.js +8 -0
  1787. package/lib/esm/expression/embeddedDocs/constants/null.js +8 -0
  1788. package/lib/esm/expression/embeddedDocs/constants/phi.js +8 -0
  1789. package/lib/esm/expression/embeddedDocs/constants/pi.js +8 -0
  1790. package/lib/esm/expression/embeddedDocs/constants/tau.js +8 -0
  1791. package/lib/esm/expression/embeddedDocs/constants/true.js +8 -0
  1792. package/lib/esm/expression/embeddedDocs/constants/version.js +8 -0
  1793. package/lib/esm/expression/embeddedDocs/construction/bignumber.js +8 -0
  1794. package/lib/esm/expression/embeddedDocs/construction/boolean.js +8 -0
  1795. package/lib/esm/expression/embeddedDocs/construction/complex.js +8 -0
  1796. package/lib/esm/expression/embeddedDocs/construction/createUnit.js +8 -0
  1797. package/lib/esm/expression/embeddedDocs/construction/fraction.js +8 -0
  1798. package/lib/esm/expression/embeddedDocs/construction/index.js +8 -0
  1799. package/lib/esm/expression/embeddedDocs/construction/matrix.js +8 -0
  1800. package/lib/esm/expression/embeddedDocs/construction/number.js +8 -0
  1801. package/lib/esm/expression/embeddedDocs/construction/sparse.js +8 -0
  1802. package/lib/esm/expression/embeddedDocs/construction/splitUnit.js +8 -0
  1803. package/lib/esm/expression/embeddedDocs/construction/string.js +8 -0
  1804. package/lib/esm/expression/embeddedDocs/construction/unit.js +8 -0
  1805. package/lib/esm/expression/embeddedDocs/core/config.js +8 -0
  1806. package/lib/esm/expression/embeddedDocs/core/import.js +8 -0
  1807. package/lib/esm/expression/embeddedDocs/core/typed.js +8 -0
  1808. package/lib/esm/expression/embeddedDocs/embeddedDocs.js +706 -0
  1809. package/lib/esm/expression/embeddedDocs/function/algebra/derivative.js +8 -0
  1810. package/lib/esm/expression/embeddedDocs/function/algebra/leafCount.js +8 -0
  1811. package/lib/esm/expression/embeddedDocs/function/algebra/lsolve.js +8 -0
  1812. package/lib/esm/expression/embeddedDocs/function/algebra/lsolveAll.js +8 -0
  1813. package/lib/esm/expression/embeddedDocs/function/algebra/lup.js +8 -0
  1814. package/lib/esm/expression/embeddedDocs/function/algebra/lusolve.js +8 -0
  1815. package/lib/esm/expression/embeddedDocs/function/algebra/polynomialRoot.js +8 -0
  1816. package/lib/esm/expression/embeddedDocs/function/algebra/qr.js +8 -0
  1817. package/lib/esm/expression/embeddedDocs/function/algebra/rationalize.js +8 -0
  1818. package/lib/esm/expression/embeddedDocs/function/algebra/resolve.js +9 -0
  1819. package/lib/esm/expression/embeddedDocs/function/algebra/simplify.js +8 -0
  1820. package/lib/esm/expression/embeddedDocs/function/algebra/simplifyConstant.js +8 -0
  1821. package/lib/esm/expression/embeddedDocs/function/algebra/simplifyCore.js +8 -0
  1822. package/lib/esm/expression/embeddedDocs/function/algebra/slu.js +8 -0
  1823. package/lib/esm/expression/embeddedDocs/function/algebra/symbolicEqual.js +8 -0
  1824. package/lib/esm/expression/embeddedDocs/function/algebra/usolve.js +8 -0
  1825. package/lib/esm/expression/embeddedDocs/function/algebra/usolveAll.js +8 -0
  1826. package/lib/esm/expression/embeddedDocs/function/arithmetic/abs.js +8 -0
  1827. package/lib/esm/expression/embeddedDocs/function/arithmetic/add.js +8 -0
  1828. package/lib/esm/expression/embeddedDocs/function/arithmetic/cbrt.js +8 -0
  1829. package/lib/esm/expression/embeddedDocs/function/arithmetic/ceil.js +8 -0
  1830. package/lib/esm/expression/embeddedDocs/function/arithmetic/cube.js +8 -0
  1831. package/lib/esm/expression/embeddedDocs/function/arithmetic/divide.js +8 -0
  1832. package/lib/esm/expression/embeddedDocs/function/arithmetic/dotDivide.js +8 -0
  1833. package/lib/esm/expression/embeddedDocs/function/arithmetic/dotMultiply.js +8 -0
  1834. package/lib/esm/expression/embeddedDocs/function/arithmetic/dotPow.js +8 -0
  1835. package/lib/esm/expression/embeddedDocs/function/arithmetic/exp.js +8 -0
  1836. package/lib/esm/expression/embeddedDocs/function/arithmetic/expm.js +8 -0
  1837. package/lib/esm/expression/embeddedDocs/function/arithmetic/expm1.js +8 -0
  1838. package/lib/esm/expression/embeddedDocs/function/arithmetic/fix.js +8 -0
  1839. package/lib/esm/expression/embeddedDocs/function/arithmetic/floor.js +8 -0
  1840. package/lib/esm/expression/embeddedDocs/function/arithmetic/gcd.js +8 -0
  1841. package/lib/esm/expression/embeddedDocs/function/arithmetic/hypot.js +8 -0
  1842. package/lib/esm/expression/embeddedDocs/function/arithmetic/invmod.js +8 -0
  1843. package/lib/esm/expression/embeddedDocs/function/arithmetic/lcm.js +8 -0
  1844. package/lib/esm/expression/embeddedDocs/function/arithmetic/log.js +8 -0
  1845. package/lib/esm/expression/embeddedDocs/function/arithmetic/log10.js +8 -0
  1846. package/lib/esm/expression/embeddedDocs/function/arithmetic/log1p.js +8 -0
  1847. package/lib/esm/expression/embeddedDocs/function/arithmetic/log2.js +8 -0
  1848. package/lib/esm/expression/embeddedDocs/function/arithmetic/mod.js +8 -0
  1849. package/lib/esm/expression/embeddedDocs/function/arithmetic/multiply.js +8 -0
  1850. package/lib/esm/expression/embeddedDocs/function/arithmetic/norm.js +7 -0
  1851. package/lib/esm/expression/embeddedDocs/function/arithmetic/nthRoot.js +8 -0
  1852. package/lib/esm/expression/embeddedDocs/function/arithmetic/nthRoots.js +8 -0
  1853. package/lib/esm/expression/embeddedDocs/function/arithmetic/pow.js +8 -0
  1854. package/lib/esm/expression/embeddedDocs/function/arithmetic/round.js +8 -0
  1855. package/lib/esm/expression/embeddedDocs/function/arithmetic/sign.js +8 -0
  1856. package/lib/esm/expression/embeddedDocs/function/arithmetic/sqrt.js +8 -0
  1857. package/lib/esm/expression/embeddedDocs/function/arithmetic/sqrtm.js +8 -0
  1858. package/lib/esm/expression/embeddedDocs/function/arithmetic/square.js +8 -0
  1859. package/lib/esm/expression/embeddedDocs/function/arithmetic/subtract.js +8 -0
  1860. package/lib/esm/expression/embeddedDocs/function/arithmetic/unaryMinus.js +8 -0
  1861. package/lib/esm/expression/embeddedDocs/function/arithmetic/unaryPlus.js +8 -0
  1862. package/lib/esm/expression/embeddedDocs/function/arithmetic/xgcd.js +8 -0
  1863. package/lib/esm/expression/embeddedDocs/function/bitwise/bitAnd.js +8 -0
  1864. package/lib/esm/expression/embeddedDocs/function/bitwise/bitNot.js +8 -0
  1865. package/lib/esm/expression/embeddedDocs/function/bitwise/bitOr.js +8 -0
  1866. package/lib/esm/expression/embeddedDocs/function/bitwise/bitXor.js +8 -0
  1867. package/lib/esm/expression/embeddedDocs/function/bitwise/leftShift.js +8 -0
  1868. package/lib/esm/expression/embeddedDocs/function/bitwise/rightArithShift.js +8 -0
  1869. package/lib/esm/expression/embeddedDocs/function/bitwise/rightLogShift.js +8 -0
  1870. package/lib/esm/expression/embeddedDocs/function/combinatorics/bellNumbers.js +8 -0
  1871. package/lib/esm/expression/embeddedDocs/function/combinatorics/catalan.js +8 -0
  1872. package/lib/esm/expression/embeddedDocs/function/combinatorics/composition.js +8 -0
  1873. package/lib/esm/expression/embeddedDocs/function/combinatorics/stirlingS2.js +8 -0
  1874. package/lib/esm/expression/embeddedDocs/function/complex/arg.js +8 -0
  1875. package/lib/esm/expression/embeddedDocs/function/complex/conj.js +8 -0
  1876. package/lib/esm/expression/embeddedDocs/function/complex/im.js +8 -0
  1877. package/lib/esm/expression/embeddedDocs/function/complex/re.js +8 -0
  1878. package/lib/esm/expression/embeddedDocs/function/expression/evaluate.js +8 -0
  1879. package/lib/esm/expression/embeddedDocs/function/expression/help.js +8 -0
  1880. package/lib/esm/expression/embeddedDocs/function/geometry/distance.js +8 -0
  1881. package/lib/esm/expression/embeddedDocs/function/geometry/intersect.js +8 -0
  1882. package/lib/esm/expression/embeddedDocs/function/logical/and.js +8 -0
  1883. package/lib/esm/expression/embeddedDocs/function/logical/not.js +8 -0
  1884. package/lib/esm/expression/embeddedDocs/function/logical/or.js +8 -0
  1885. package/lib/esm/expression/embeddedDocs/function/logical/xor.js +8 -0
  1886. package/lib/esm/expression/embeddedDocs/function/matrix/column.js +8 -0
  1887. package/lib/esm/expression/embeddedDocs/function/matrix/concat.js +8 -0
  1888. package/lib/esm/expression/embeddedDocs/function/matrix/count.js +8 -0
  1889. package/lib/esm/expression/embeddedDocs/function/matrix/cross.js +8 -0
  1890. package/lib/esm/expression/embeddedDocs/function/matrix/ctranspose.js +8 -0
  1891. package/lib/esm/expression/embeddedDocs/function/matrix/det.js +8 -0
  1892. package/lib/esm/expression/embeddedDocs/function/matrix/diag.js +8 -0
  1893. package/lib/esm/expression/embeddedDocs/function/matrix/diff.js +8 -0
  1894. package/lib/esm/expression/embeddedDocs/function/matrix/dot.js +8 -0
  1895. package/lib/esm/expression/embeddedDocs/function/matrix/eigs.js +8 -0
  1896. package/lib/esm/expression/embeddedDocs/function/matrix/fft.js +8 -0
  1897. package/lib/esm/expression/embeddedDocs/function/matrix/filter.js +8 -0
  1898. package/lib/esm/expression/embeddedDocs/function/matrix/flatten.js +8 -0
  1899. package/lib/esm/expression/embeddedDocs/function/matrix/forEach.js +8 -0
  1900. package/lib/esm/expression/embeddedDocs/function/matrix/getMatrixDataType.js +8 -0
  1901. package/lib/esm/expression/embeddedDocs/function/matrix/identity.js +8 -0
  1902. package/lib/esm/expression/embeddedDocs/function/matrix/ifft.js +8 -0
  1903. package/lib/esm/expression/embeddedDocs/function/matrix/inv.js +8 -0
  1904. package/lib/esm/expression/embeddedDocs/function/matrix/kron.js +8 -0
  1905. package/lib/esm/expression/embeddedDocs/function/matrix/lyap.js +8 -0
  1906. package/lib/esm/expression/embeddedDocs/function/matrix/map.js +8 -0
  1907. package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromColumns.js +8 -0
  1908. package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromFunction.js +8 -0
  1909. package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromRows.js +8 -0
  1910. package/lib/esm/expression/embeddedDocs/function/matrix/ones.js +8 -0
  1911. package/lib/esm/expression/embeddedDocs/function/matrix/partitionSelect.js +8 -0
  1912. package/lib/esm/expression/embeddedDocs/function/matrix/pinv.js +8 -0
  1913. package/lib/esm/expression/embeddedDocs/function/matrix/range.js +8 -0
  1914. package/lib/esm/expression/embeddedDocs/function/matrix/reshape.js +8 -0
  1915. package/lib/esm/expression/embeddedDocs/function/matrix/resize.js +8 -0
  1916. package/lib/esm/expression/embeddedDocs/function/matrix/rotate.js +8 -0
  1917. package/lib/esm/expression/embeddedDocs/function/matrix/rotationMatrix.js +8 -0
  1918. package/lib/esm/expression/embeddedDocs/function/matrix/row.js +8 -0
  1919. package/lib/esm/expression/embeddedDocs/function/matrix/schur.js +8 -0
  1920. package/lib/esm/expression/embeddedDocs/function/matrix/size.js +8 -0
  1921. package/lib/esm/expression/embeddedDocs/function/matrix/sort.js +8 -0
  1922. package/lib/esm/expression/embeddedDocs/function/matrix/squeeze.js +8 -0
  1923. package/lib/esm/expression/embeddedDocs/function/matrix/subset.js +8 -0
  1924. package/lib/esm/expression/embeddedDocs/function/matrix/sylvester.js +8 -0
  1925. package/lib/esm/expression/embeddedDocs/function/matrix/trace.js +8 -0
  1926. package/lib/esm/expression/embeddedDocs/function/matrix/transpose.js +8 -0
  1927. package/lib/esm/expression/embeddedDocs/function/matrix/zeros.js +8 -0
  1928. package/lib/esm/expression/embeddedDocs/function/probability/combinations.js +8 -0
  1929. package/lib/esm/expression/embeddedDocs/function/probability/combinationsWithRep.js +8 -0
  1930. package/lib/esm/expression/embeddedDocs/function/probability/distribution.js +8 -0
  1931. package/lib/esm/expression/embeddedDocs/function/probability/factorial.js +8 -0
  1932. package/lib/esm/expression/embeddedDocs/function/probability/gamma.js +8 -0
  1933. package/lib/esm/expression/embeddedDocs/function/probability/kldivergence.js +8 -0
  1934. package/lib/esm/expression/embeddedDocs/function/probability/lgamma.js +8 -0
  1935. package/lib/esm/expression/embeddedDocs/function/probability/multinomial.js +8 -0
  1936. package/lib/esm/expression/embeddedDocs/function/probability/permutations.js +8 -0
  1937. package/lib/esm/expression/embeddedDocs/function/probability/pickRandom.js +8 -0
  1938. package/lib/esm/expression/embeddedDocs/function/probability/random.js +8 -0
  1939. package/lib/esm/expression/embeddedDocs/function/probability/randomInt.js +8 -0
  1940. package/lib/esm/expression/embeddedDocs/function/relational/compare.js +8 -0
  1941. package/lib/esm/expression/embeddedDocs/function/relational/compareNatural.js +8 -0
  1942. package/lib/esm/expression/embeddedDocs/function/relational/compareText.js +8 -0
  1943. package/lib/esm/expression/embeddedDocs/function/relational/deepEqual.js +8 -0
  1944. package/lib/esm/expression/embeddedDocs/function/relational/equal.js +8 -0
  1945. package/lib/esm/expression/embeddedDocs/function/relational/equalText.js +8 -0
  1946. package/lib/esm/expression/embeddedDocs/function/relational/larger.js +8 -0
  1947. package/lib/esm/expression/embeddedDocs/function/relational/largerEq.js +8 -0
  1948. package/lib/esm/expression/embeddedDocs/function/relational/smaller.js +8 -0
  1949. package/lib/esm/expression/embeddedDocs/function/relational/smallerEq.js +8 -0
  1950. package/lib/esm/expression/embeddedDocs/function/relational/unequal.js +8 -0
  1951. package/lib/esm/expression/embeddedDocs/function/set/setCartesian.js +8 -0
  1952. package/lib/esm/expression/embeddedDocs/function/set/setDifference.js +8 -0
  1953. package/lib/esm/expression/embeddedDocs/function/set/setDistinct.js +8 -0
  1954. package/lib/esm/expression/embeddedDocs/function/set/setIntersect.js +8 -0
  1955. package/lib/esm/expression/embeddedDocs/function/set/setIsSubset.js +8 -0
  1956. package/lib/esm/expression/embeddedDocs/function/set/setMultiplicity.js +8 -0
  1957. package/lib/esm/expression/embeddedDocs/function/set/setPowerset.js +8 -0
  1958. package/lib/esm/expression/embeddedDocs/function/set/setSize.js +8 -0
  1959. package/lib/esm/expression/embeddedDocs/function/set/setSymDifference.js +8 -0
  1960. package/lib/esm/expression/embeddedDocs/function/set/setUnion.js +8 -0
  1961. package/lib/esm/expression/embeddedDocs/function/special/erf.js +8 -0
  1962. package/lib/esm/expression/embeddedDocs/function/statistics/cumsum.js +8 -0
  1963. package/lib/esm/expression/embeddedDocs/function/statistics/mad.js +8 -0
  1964. package/lib/esm/expression/embeddedDocs/function/statistics/max.js +8 -0
  1965. package/lib/esm/expression/embeddedDocs/function/statistics/mean.js +8 -0
  1966. package/lib/esm/expression/embeddedDocs/function/statistics/median.js +8 -0
  1967. package/lib/esm/expression/embeddedDocs/function/statistics/min.js +8 -0
  1968. package/lib/esm/expression/embeddedDocs/function/statistics/mode.js +8 -0
  1969. package/lib/esm/expression/embeddedDocs/function/statistics/prod.js +8 -0
  1970. package/lib/esm/expression/embeddedDocs/function/statistics/quantileSeq.js +8 -0
  1971. package/lib/esm/expression/embeddedDocs/function/statistics/std.js +8 -0
  1972. package/lib/esm/expression/embeddedDocs/function/statistics/sum.js +8 -0
  1973. package/lib/esm/expression/embeddedDocs/function/statistics/variance.js +8 -0
  1974. package/lib/esm/expression/embeddedDocs/function/trigonometry/acos.js +8 -0
  1975. package/lib/esm/expression/embeddedDocs/function/trigonometry/acosh.js +8 -0
  1976. package/lib/esm/expression/embeddedDocs/function/trigonometry/acot.js +8 -0
  1977. package/lib/esm/expression/embeddedDocs/function/trigonometry/acoth.js +8 -0
  1978. package/lib/esm/expression/embeddedDocs/function/trigonometry/acsc.js +8 -0
  1979. package/lib/esm/expression/embeddedDocs/function/trigonometry/acsch.js +8 -0
  1980. package/lib/esm/expression/embeddedDocs/function/trigonometry/asec.js +8 -0
  1981. package/lib/esm/expression/embeddedDocs/function/trigonometry/asech.js +8 -0
  1982. package/lib/esm/expression/embeddedDocs/function/trigonometry/asin.js +8 -0
  1983. package/lib/esm/expression/embeddedDocs/function/trigonometry/asinh.js +8 -0
  1984. package/lib/esm/expression/embeddedDocs/function/trigonometry/atan.js +8 -0
  1985. package/lib/esm/expression/embeddedDocs/function/trigonometry/atan2.js +8 -0
  1986. package/lib/esm/expression/embeddedDocs/function/trigonometry/atanh.js +8 -0
  1987. package/lib/esm/expression/embeddedDocs/function/trigonometry/cos.js +8 -0
  1988. package/lib/esm/expression/embeddedDocs/function/trigonometry/cosh.js +8 -0
  1989. package/lib/esm/expression/embeddedDocs/function/trigonometry/cot.js +8 -0
  1990. package/lib/esm/expression/embeddedDocs/function/trigonometry/coth.js +8 -0
  1991. package/lib/esm/expression/embeddedDocs/function/trigonometry/csc.js +8 -0
  1992. package/lib/esm/expression/embeddedDocs/function/trigonometry/csch.js +8 -0
  1993. package/lib/esm/expression/embeddedDocs/function/trigonometry/sec.js +8 -0
  1994. package/lib/esm/expression/embeddedDocs/function/trigonometry/sech.js +8 -0
  1995. package/lib/esm/expression/embeddedDocs/function/trigonometry/sin.js +8 -0
  1996. package/lib/esm/expression/embeddedDocs/function/trigonometry/sinh.js +8 -0
  1997. package/lib/esm/expression/embeddedDocs/function/trigonometry/tan.js +8 -0
  1998. package/lib/esm/expression/embeddedDocs/function/trigonometry/tanh.js +8 -0
  1999. package/lib/esm/expression/embeddedDocs/function/units/to.js +8 -0
  2000. package/lib/esm/expression/embeddedDocs/function/utils/bin.js +8 -0
  2001. package/lib/esm/expression/embeddedDocs/function/utils/clone.js +8 -0
  2002. package/lib/esm/expression/embeddedDocs/function/utils/format.js +8 -0
  2003. package/lib/esm/expression/embeddedDocs/function/utils/hasNumericValue.js +8 -0
  2004. package/lib/esm/expression/embeddedDocs/function/utils/hex.js +8 -0
  2005. package/lib/esm/expression/embeddedDocs/function/utils/isInteger.js +8 -0
  2006. package/lib/esm/expression/embeddedDocs/function/utils/isNaN.js +8 -0
  2007. package/lib/esm/expression/embeddedDocs/function/utils/isNegative.js +8 -0
  2008. package/lib/esm/expression/embeddedDocs/function/utils/isNumeric.js +8 -0
  2009. package/lib/esm/expression/embeddedDocs/function/utils/isPositive.js +8 -0
  2010. package/lib/esm/expression/embeddedDocs/function/utils/isPrime.js +8 -0
  2011. package/lib/esm/expression/embeddedDocs/function/utils/isZero.js +8 -0
  2012. package/lib/esm/expression/embeddedDocs/function/utils/numeric.js +8 -0
  2013. package/lib/esm/expression/embeddedDocs/function/utils/oct.js +8 -0
  2014. package/lib/esm/expression/embeddedDocs/function/utils/print.js +8 -0
  2015. package/lib/esm/expression/embeddedDocs/function/utils/typeOf.js +8 -0
  2016. package/lib/esm/expression/function/compile.js +54 -0
  2017. package/lib/esm/expression/function/evaluate.js +63 -0
  2018. package/lib/esm/expression/function/help.js +67 -0
  2019. package/lib/esm/expression/function/parser.js +57 -0
  2020. package/lib/esm/expression/keywords.js +2 -0
  2021. package/lib/esm/expression/node/AccessorNode.js +189 -0
  2022. package/lib/esm/expression/node/ArrayNode.js +176 -0
  2023. package/lib/esm/expression/node/AssignmentNode.js +306 -0
  2024. package/lib/esm/expression/node/BlockNode.js +185 -0
  2025. package/lib/esm/expression/node/ConditionalNode.js +225 -0
  2026. package/lib/esm/expression/node/ConstantNode.js +172 -0
  2027. package/lib/esm/expression/node/FunctionAssignmentNode.js +235 -0
  2028. package/lib/esm/expression/node/FunctionNode.js +470 -0
  2029. package/lib/esm/expression/node/IndexNode.js +219 -0
  2030. package/lib/esm/expression/node/Node.js +361 -0
  2031. package/lib/esm/expression/node/ObjectNode.js +195 -0
  2032. package/lib/esm/expression/node/OperatorNode.js +623 -0
  2033. package/lib/esm/expression/node/ParenthesisNode.js +152 -0
  2034. package/lib/esm/expression/node/RangeNode.js +251 -0
  2035. package/lib/esm/expression/node/RelationalNode.js +198 -0
  2036. package/lib/esm/expression/node/SymbolNode.js +193 -0
  2037. package/lib/esm/expression/node/utils/access.js +40 -0
  2038. package/lib/esm/expression/node/utils/assign.js +46 -0
  2039. package/lib/esm/expression/operators.js +381 -0
  2040. package/lib/esm/expression/parse.js +1642 -0
  2041. package/lib/esm/expression/transform/apply.transform.js +44 -0
  2042. package/lib/esm/expression/transform/column.transform.js +47 -0
  2043. package/lib/esm/expression/transform/concat.transform.js +45 -0
  2044. package/lib/esm/expression/transform/cumsum.transform.js +46 -0
  2045. package/lib/esm/expression/transform/diff.transform.js +41 -0
  2046. package/lib/esm/expression/transform/filter.transform.js +77 -0
  2047. package/lib/esm/expression/transform/forEach.transform.js +66 -0
  2048. package/lib/esm/expression/transform/index.transform.js +49 -0
  2049. package/lib/esm/expression/transform/map.transform.js +80 -0
  2050. package/lib/esm/expression/transform/max.transform.js +40 -0
  2051. package/lib/esm/expression/transform/mean.transform.js +38 -0
  2052. package/lib/esm/expression/transform/min.transform.js +40 -0
  2053. package/lib/esm/expression/transform/range.transform.js +46 -0
  2054. package/lib/esm/expression/transform/row.transform.js +47 -0
  2055. package/lib/esm/expression/transform/std.transform.js +40 -0
  2056. package/lib/esm/expression/transform/subset.transform.js +33 -0
  2057. package/lib/esm/expression/transform/sum.transform.js +40 -0
  2058. package/lib/esm/expression/transform/utils/compileInlineExpression.js +29 -0
  2059. package/lib/esm/expression/transform/utils/errorTransform.js +13 -0
  2060. package/lib/esm/expression/transform/utils/lastDimToZeroBase.js +17 -0
  2061. package/lib/esm/expression/transform/variance.transform.js +46 -0
  2062. package/lib/esm/factoriesAny.js +284 -0
  2063. package/lib/esm/factoriesNumber.js +263 -0
  2064. package/lib/esm/function/algebra/decomposition/lup.js +379 -0
  2065. package/lib/esm/function/algebra/decomposition/qr.js +222 -0
  2066. package/lib/esm/function/algebra/decomposition/schur.js +70 -0
  2067. package/lib/esm/function/algebra/decomposition/slu.js +101 -0
  2068. package/lib/esm/function/algebra/derivative.js +543 -0
  2069. package/lib/esm/function/algebra/leafCount.js +54 -0
  2070. package/lib/esm/function/algebra/lyap.js +52 -0
  2071. package/lib/esm/function/algebra/polynomialRoot.js +122 -0
  2072. package/lib/esm/function/algebra/rationalize.js +823 -0
  2073. package/lib/esm/function/algebra/resolve.js +97 -0
  2074. package/lib/esm/function/algebra/simplify/util.js +261 -0
  2075. package/lib/esm/function/algebra/simplify/wildcards.js +20 -0
  2076. package/lib/esm/function/algebra/simplify.js +1254 -0
  2077. package/lib/esm/function/algebra/simplifyConstant.js +458 -0
  2078. package/lib/esm/function/algebra/simplifyCore.js +290 -0
  2079. package/lib/esm/function/algebra/solver/lsolve.js +157 -0
  2080. package/lib/esm/function/algebra/solver/lsolveAll.js +186 -0
  2081. package/lib/esm/function/algebra/solver/lusolve.js +108 -0
  2082. package/lib/esm/function/algebra/solver/usolve.js +161 -0
  2083. package/lib/esm/function/algebra/solver/usolveAll.js +190 -0
  2084. package/lib/esm/function/algebra/solver/utils/solveValidation.js +115 -0
  2085. package/lib/esm/function/algebra/sparse/csAmd.js +581 -0
  2086. package/lib/esm/function/algebra/sparse/csChol.js +156 -0
  2087. package/lib/esm/function/algebra/sparse/csCounts.js +125 -0
  2088. package/lib/esm/function/algebra/sparse/csCumsum.js +26 -0
  2089. package/lib/esm/function/algebra/sparse/csDfs.js +75 -0
  2090. package/lib/esm/function/algebra/sparse/csEreach.js +62 -0
  2091. package/lib/esm/function/algebra/sparse/csEtree.js +69 -0
  2092. package/lib/esm/function/algebra/sparse/csFkeep.js +56 -0
  2093. package/lib/esm/function/algebra/sparse/csFlip.js +11 -0
  2094. package/lib/esm/function/algebra/sparse/csIpvec.js +29 -0
  2095. package/lib/esm/function/algebra/sparse/csLeaf.js +56 -0
  2096. package/lib/esm/function/algebra/sparse/csLu.js +180 -0
  2097. package/lib/esm/function/algebra/sparse/csMark.js +14 -0
  2098. package/lib/esm/function/algebra/sparse/csMarked.js +12 -0
  2099. package/lib/esm/function/algebra/sparse/csPermute.js +59 -0
  2100. package/lib/esm/function/algebra/sparse/csPost.js +51 -0
  2101. package/lib/esm/function/algebra/sparse/csReach.js +50 -0
  2102. package/lib/esm/function/algebra/sparse/csSpsolve.js +83 -0
  2103. package/lib/esm/function/algebra/sparse/csSqr.js +178 -0
  2104. package/lib/esm/function/algebra/sparse/csSymperm.js +92 -0
  2105. package/lib/esm/function/algebra/sparse/csTdfs.js +40 -0
  2106. package/lib/esm/function/algebra/sparse/csUnflip.js +13 -0
  2107. package/lib/esm/function/algebra/sylvester.js +118 -0
  2108. package/lib/esm/function/algebra/symbolicEqual.js +60 -0
  2109. package/lib/esm/function/arithmetic/abs.js +40 -0
  2110. package/lib/esm/function/arithmetic/add.js +83 -0
  2111. package/lib/esm/function/arithmetic/addScalar.js +46 -0
  2112. package/lib/esm/function/arithmetic/cbrt.js +131 -0
  2113. package/lib/esm/function/arithmetic/ceil.js +161 -0
  2114. package/lib/esm/function/arithmetic/cube.js +51 -0
  2115. package/lib/esm/function/arithmetic/divide.js +79 -0
  2116. package/lib/esm/function/arithmetic/divideScalar.js +37 -0
  2117. package/lib/esm/function/arithmetic/dotDivide.js +78 -0
  2118. package/lib/esm/function/arithmetic/dotMultiply.js +66 -0
  2119. package/lib/esm/function/arithmetic/dotPow.js +78 -0
  2120. package/lib/esm/function/arithmetic/exp.js +48 -0
  2121. package/lib/esm/function/arithmetic/expm1.js +53 -0
  2122. package/lib/esm/function/arithmetic/fix.js +126 -0
  2123. package/lib/esm/function/arithmetic/floor.js +164 -0
  2124. package/lib/esm/function/arithmetic/gcd.js +117 -0
  2125. package/lib/esm/function/arithmetic/hypot.js +77 -0
  2126. package/lib/esm/function/arithmetic/invmod.js +55 -0
  2127. package/lib/esm/function/arithmetic/lcm.js +110 -0
  2128. package/lib/esm/function/arithmetic/log.js +72 -0
  2129. package/lib/esm/function/arithmetic/log10.js +59 -0
  2130. package/lib/esm/function/arithmetic/log1p.js +81 -0
  2131. package/lib/esm/function/arithmetic/log2.js +68 -0
  2132. package/lib/esm/function/arithmetic/mod.js +101 -0
  2133. package/lib/esm/function/arithmetic/multiply.js +879 -0
  2134. package/lib/esm/function/arithmetic/multiplyScalar.js +35 -0
  2135. package/lib/esm/function/arithmetic/norm.js +287 -0
  2136. package/lib/esm/function/arithmetic/nthRoot.js +166 -0
  2137. package/lib/esm/function/arithmetic/nthRoots.js +112 -0
  2138. package/lib/esm/function/arithmetic/pow.js +191 -0
  2139. package/lib/esm/function/arithmetic/round.js +148 -0
  2140. package/lib/esm/function/arithmetic/sign.js +63 -0
  2141. package/lib/esm/function/arithmetic/sqrt.js +70 -0
  2142. package/lib/esm/function/arithmetic/square.js +52 -0
  2143. package/lib/esm/function/arithmetic/subtract.js +106 -0
  2144. package/lib/esm/function/arithmetic/unaryMinus.js +46 -0
  2145. package/lib/esm/function/arithmetic/unaryPlus.js +60 -0
  2146. package/lib/esm/function/arithmetic/xgcd.js +91 -0
  2147. package/lib/esm/function/bitwise/bitAnd.js +65 -0
  2148. package/lib/esm/function/bitwise/bitNot.js +38 -0
  2149. package/lib/esm/function/bitwise/bitOr.js +66 -0
  2150. package/lib/esm/function/bitwise/bitXor.js +64 -0
  2151. package/lib/esm/function/bitwise/leftShift.js +114 -0
  2152. package/lib/esm/function/bitwise/rightArithShift.js +114 -0
  2153. package/lib/esm/function/bitwise/rightLogShift.js +115 -0
  2154. package/lib/esm/function/bitwise/useMatrixForArrayScalar.js +13 -0
  2155. package/lib/esm/function/combinatorics/bellNumbers.js +47 -0
  2156. package/lib/esm/function/combinatorics/catalan.js +43 -0
  2157. package/lib/esm/function/combinatorics/composition.js +46 -0
  2158. package/lib/esm/function/combinatorics/stirlingS2.js +86 -0
  2159. package/lib/esm/function/complex/arg.js +50 -0
  2160. package/lib/esm/function/complex/conj.js +39 -0
  2161. package/lib/esm/function/complex/im.js +42 -0
  2162. package/lib/esm/function/complex/re.js +41 -0
  2163. package/lib/esm/function/geometry/distance.js +303 -0
  2164. package/lib/esm/function/geometry/intersect.js +200 -0
  2165. package/lib/esm/function/logical/and.js +121 -0
  2166. package/lib/esm/function/logical/not.js +47 -0
  2167. package/lib/esm/function/logical/or.js +76 -0
  2168. package/lib/esm/function/logical/xor.js +75 -0
  2169. package/lib/esm/function/matrix/apply.js +111 -0
  2170. package/lib/esm/function/matrix/column.js +59 -0
  2171. package/lib/esm/function/matrix/concat.js +131 -0
  2172. package/lib/esm/function/matrix/count.js +39 -0
  2173. package/lib/esm/function/matrix/cross.js +81 -0
  2174. package/lib/esm/function/matrix/ctranspose.js +37 -0
  2175. package/lib/esm/function/matrix/det.js +143 -0
  2176. package/lib/esm/function/matrix/diag.js +155 -0
  2177. package/lib/esm/function/matrix/diff.js +165 -0
  2178. package/lib/esm/function/matrix/dot.js +156 -0
  2179. package/lib/esm/function/matrix/eigs/complexEigs.js +693 -0
  2180. package/lib/esm/function/matrix/eigs/realSymetric.js +293 -0
  2181. package/lib/esm/function/matrix/eigs.js +256 -0
  2182. package/lib/esm/function/matrix/expm.js +154 -0
  2183. package/lib/esm/function/matrix/fft.js +128 -0
  2184. package/lib/esm/function/matrix/filter.js +72 -0
  2185. package/lib/esm/function/matrix/flatten.js +39 -0
  2186. package/lib/esm/function/matrix/forEach.js +69 -0
  2187. package/lib/esm/function/matrix/getMatrixDataType.js +52 -0
  2188. package/lib/esm/function/matrix/identity.js +136 -0
  2189. package/lib/esm/function/matrix/ifft.js +37 -0
  2190. package/lib/esm/function/matrix/inv.js +184 -0
  2191. package/lib/esm/function/matrix/kron.js +85 -0
  2192. package/lib/esm/function/matrix/map.js +105 -0
  2193. package/lib/esm/function/matrix/matrixFromColumns.js +89 -0
  2194. package/lib/esm/function/matrix/matrixFromFunction.js +74 -0
  2195. package/lib/esm/function/matrix/matrixFromRows.js +77 -0
  2196. package/lib/esm/function/matrix/ones.js +123 -0
  2197. package/lib/esm/function/matrix/partitionSelect.js +144 -0
  2198. package/lib/esm/function/matrix/pinv.js +179 -0
  2199. package/lib/esm/function/matrix/range.js +258 -0
  2200. package/lib/esm/function/matrix/reshape.js +63 -0
  2201. package/lib/esm/function/matrix/resize.js +121 -0
  2202. package/lib/esm/function/matrix/rotate.js +71 -0
  2203. package/lib/esm/function/matrix/rotationMatrix.js +160 -0
  2204. package/lib/esm/function/matrix/row.js +59 -0
  2205. package/lib/esm/function/matrix/size.js +48 -0
  2206. package/lib/esm/function/matrix/sort.js +113 -0
  2207. package/lib/esm/function/matrix/sqrtm.js +99 -0
  2208. package/lib/esm/function/matrix/squeeze.js +54 -0
  2209. package/lib/esm/function/matrix/subset.js +213 -0
  2210. package/lib/esm/function/matrix/trace.js +128 -0
  2211. package/lib/esm/function/matrix/transpose.js +161 -0
  2212. package/lib/esm/function/matrix/zeros.js +123 -0
  2213. package/lib/esm/function/probability/combinations.js +69 -0
  2214. package/lib/esm/function/probability/combinationsWithRep.js +84 -0
  2215. package/lib/esm/function/probability/factorial.js +47 -0
  2216. package/lib/esm/function/probability/gamma.js +120 -0
  2217. package/lib/esm/function/probability/kldivergence.js +77 -0
  2218. package/lib/esm/function/probability/lgamma.js +137 -0
  2219. package/lib/esm/function/probability/multinomial.js +50 -0
  2220. package/lib/esm/function/probability/permutations.js +78 -0
  2221. package/lib/esm/function/probability/pickRandom.js +151 -0
  2222. package/lib/esm/function/probability/random.js +96 -0
  2223. package/lib/esm/function/probability/randomInt.js +67 -0
  2224. package/lib/esm/function/probability/util/randomMatrix.js +20 -0
  2225. package/lib/esm/function/probability/util/seededRNG.js +19 -0
  2226. package/lib/esm/function/relational/compare.js +111 -0
  2227. package/lib/esm/function/relational/compareNatural.js +274 -0
  2228. package/lib/esm/function/relational/compareText.js +57 -0
  2229. package/lib/esm/function/relational/compareUnits.js +14 -0
  2230. package/lib/esm/function/relational/deepEqual.js +74 -0
  2231. package/lib/esm/function/relational/equal.js +110 -0
  2232. package/lib/esm/function/relational/equalScalar.js +53 -0
  2233. package/lib/esm/function/relational/equalText.js +41 -0
  2234. package/lib/esm/function/relational/larger.js +98 -0
  2235. package/lib/esm/function/relational/largerEq.js +94 -0
  2236. package/lib/esm/function/relational/smaller.js +98 -0
  2237. package/lib/esm/function/relational/smallerEq.js +94 -0
  2238. package/lib/esm/function/relational/unequal.js +113 -0
  2239. package/lib/esm/function/set/setCartesian.js +58 -0
  2240. package/lib/esm/function/set/setDifference.js +71 -0
  2241. package/lib/esm/function/set/setDistinct.js +57 -0
  2242. package/lib/esm/function/set/setIntersect.js +63 -0
  2243. package/lib/esm/function/set/setIsSubset.js +62 -0
  2244. package/lib/esm/function/set/setMultiplicity.js +50 -0
  2245. package/lib/esm/function/set/setPowerset.js +75 -0
  2246. package/lib/esm/function/set/setSize.js +51 -0
  2247. package/lib/esm/function/set/setSymDifference.js +48 -0
  2248. package/lib/esm/function/set/setUnion.js +49 -0
  2249. package/lib/esm/function/special/erf.js +152 -0
  2250. package/lib/esm/function/statistics/cumsum.js +123 -0
  2251. package/lib/esm/function/statistics/mad.js +64 -0
  2252. package/lib/esm/function/statistics/max.js +104 -0
  2253. package/lib/esm/function/statistics/mean.js +94 -0
  2254. package/lib/esm/function/statistics/median.js +109 -0
  2255. package/lib/esm/function/statistics/min.js +104 -0
  2256. package/lib/esm/function/statistics/mode.js +76 -0
  2257. package/lib/esm/function/statistics/prod.js +79 -0
  2258. package/lib/esm/function/statistics/quantileSeq.js +235 -0
  2259. package/lib/esm/function/statistics/std.js +97 -0
  2260. package/lib/esm/function/statistics/sum.js +84 -0
  2261. package/lib/esm/function/statistics/utils/improveErrorMessage.js +25 -0
  2262. package/lib/esm/function/statistics/variance.js +153 -0
  2263. package/lib/esm/function/string/bin.js +44 -0
  2264. package/lib/esm/function/string/format.js +131 -0
  2265. package/lib/esm/function/string/hex.js +43 -0
  2266. package/lib/esm/function/string/oct.js +45 -0
  2267. package/lib/esm/function/string/print.js +86 -0
  2268. package/lib/esm/function/trigonometry/acos.js +49 -0
  2269. package/lib/esm/function/trigonometry/acosh.js +49 -0
  2270. package/lib/esm/function/trigonometry/acot.js +42 -0
  2271. package/lib/esm/function/trigonometry/acoth.js +48 -0
  2272. package/lib/esm/function/trigonometry/acsc.js +49 -0
  2273. package/lib/esm/function/trigonometry/acsch.js +41 -0
  2274. package/lib/esm/function/trigonometry/asec.js +50 -0
  2275. package/lib/esm/function/trigonometry/asech.js +53 -0
  2276. package/lib/esm/function/trigonometry/asin.js +49 -0
  2277. package/lib/esm/function/trigonometry/asinh.js +40 -0
  2278. package/lib/esm/function/trigonometry/atan.js +42 -0
  2279. package/lib/esm/function/trigonometry/atan2.js +89 -0
  2280. package/lib/esm/function/trigonometry/atanh.js +47 -0
  2281. package/lib/esm/function/trigonometry/cos.js +44 -0
  2282. package/lib/esm/function/trigonometry/cosh.js +35 -0
  2283. package/lib/esm/function/trigonometry/cot.js +42 -0
  2284. package/lib/esm/function/trigonometry/coth.js +39 -0
  2285. package/lib/esm/function/trigonometry/csc.js +42 -0
  2286. package/lib/esm/function/trigonometry/csch.js +39 -0
  2287. package/lib/esm/function/trigonometry/sec.js +42 -0
  2288. package/lib/esm/function/trigonometry/sech.js +39 -0
  2289. package/lib/esm/function/trigonometry/sin.js +44 -0
  2290. package/lib/esm/function/trigonometry/sinh.js +35 -0
  2291. package/lib/esm/function/trigonometry/tan.js +41 -0
  2292. package/lib/esm/function/trigonometry/tanh.js +38 -0
  2293. package/lib/esm/function/trigonometry/trigUnit.js +14 -0
  2294. package/lib/esm/function/unit/to.js +46 -0
  2295. package/lib/esm/function/utils/clone.js +30 -0
  2296. package/lib/esm/function/utils/hasNumericValue.js +48 -0
  2297. package/lib/esm/function/utils/isInteger.js +51 -0
  2298. package/lib/esm/function/utils/isNaN.js +57 -0
  2299. package/lib/esm/function/utils/isNegative.js +51 -0
  2300. package/lib/esm/function/utils/isNumeric.js +43 -0
  2301. package/lib/esm/function/utils/isPositive.js +52 -0
  2302. package/lib/esm/function/utils/isPrime.js +122 -0
  2303. package/lib/esm/function/utils/isZero.js +57 -0
  2304. package/lib/esm/function/utils/numeric.js +73 -0
  2305. package/lib/esm/function/utils/typeOf.js +64 -0
  2306. package/lib/esm/header.js +26 -0
  2307. package/lib/esm/index.js +1 -0
  2308. package/lib/esm/json/replacer.js +27 -0
  2309. package/lib/esm/json/reviver.js +21 -0
  2310. package/lib/esm/number.js +1 -0
  2311. package/lib/esm/plain/bignumber/arithmetic.js +22 -0
  2312. package/lib/esm/plain/bignumber/index.js +9 -0
  2313. package/lib/esm/plain/number/arithmetic.js +374 -0
  2314. package/lib/esm/plain/number/bitwise.js +52 -0
  2315. package/lib/esm/plain/number/combinations.js +33 -0
  2316. package/lib/esm/plain/number/constants.js +4 -0
  2317. package/lib/esm/plain/number/index.js +9 -0
  2318. package/lib/esm/plain/number/logical.js +18 -0
  2319. package/lib/esm/plain/number/probability.js +77 -0
  2320. package/lib/esm/plain/number/relational.js +0 -0
  2321. package/lib/esm/plain/number/trigonometry.js +112 -0
  2322. package/lib/esm/plain/number/utils.js +22 -0
  2323. package/lib/esm/type/bignumber/BigNumber.js +57 -0
  2324. package/lib/esm/type/bignumber/function/bignumber.js +74 -0
  2325. package/lib/esm/type/boolean.js +70 -0
  2326. package/lib/esm/type/chain/Chain.js +213 -0
  2327. package/lib/esm/type/chain/function/chain.js +52 -0
  2328. package/lib/esm/type/complex/Complex.js +194 -0
  2329. package/lib/esm/type/complex/function/complex.js +86 -0
  2330. package/lib/esm/type/fraction/Fraction.js +41 -0
  2331. package/lib/esm/type/fraction/function/fraction.js +75 -0
  2332. package/lib/esm/type/matrix/DenseMatrix.js +943 -0
  2333. package/lib/esm/type/matrix/FibonacciHeap.js +351 -0
  2334. package/lib/esm/type/matrix/ImmutableDenseMatrix.js +221 -0
  2335. package/lib/esm/type/matrix/Matrix.js +242 -0
  2336. package/lib/esm/type/matrix/MatrixIndex.js +266 -0
  2337. package/lib/esm/type/matrix/Range.js +304 -0
  2338. package/lib/esm/type/matrix/Spa.js +136 -0
  2339. package/lib/esm/type/matrix/SparseMatrix.js +1486 -0
  2340. package/lib/esm/type/matrix/function/index.js +62 -0
  2341. package/lib/esm/type/matrix/function/matrix.js +82 -0
  2342. package/lib/esm/type/matrix/function/sparse.js +56 -0
  2343. package/lib/esm/type/matrix/utils/broadcast.js +75 -0
  2344. package/lib/esm/type/matrix/utils/matAlgo01xDSid.js +112 -0
  2345. package/lib/esm/type/matrix/utils/matAlgo02xDS0.js +116 -0
  2346. package/lib/esm/type/matrix/utils/matAlgo03xDSf.js +122 -0
  2347. package/lib/esm/type/matrix/utils/matAlgo04xSidSid.js +179 -0
  2348. package/lib/esm/type/matrix/utils/matAlgo05xSfSf.js +171 -0
  2349. package/lib/esm/type/matrix/utils/matAlgo06xS0S0.js +153 -0
  2350. package/lib/esm/type/matrix/utils/matAlgo07xSSf.js +119 -0
  2351. package/lib/esm/type/matrix/utils/matAlgo08xS0Sid.js +154 -0
  2352. package/lib/esm/type/matrix/utils/matAlgo09xS0Sf.js +142 -0
  2353. package/lib/esm/type/matrix/utils/matAlgo10xSids.js +105 -0
  2354. package/lib/esm/type/matrix/utils/matAlgo11xS0s.js +103 -0
  2355. package/lib/esm/type/matrix/utils/matAlgo12xSfs.js +105 -0
  2356. package/lib/esm/type/matrix/utils/matAlgo13xDD.js +94 -0
  2357. package/lib/esm/type/matrix/utils/matAlgo14xDs.js +76 -0
  2358. package/lib/esm/type/matrix/utils/matrixAlgorithmSuite.js +156 -0
  2359. package/lib/esm/type/number.js +145 -0
  2360. package/lib/esm/type/resultset/ResultSet.js +68 -0
  2361. package/lib/esm/type/string.js +54 -0
  2362. package/lib/esm/type/unit/Unit.js +3848 -0
  2363. package/lib/esm/type/unit/function/createUnit.js +79 -0
  2364. package/lib/esm/type/unit/function/splitUnit.js +32 -0
  2365. package/lib/esm/type/unit/function/unit.js +62 -0
  2366. package/lib/esm/type/unit/physicalConstants.js +101 -0
  2367. package/lib/esm/utils/array.js +579 -0
  2368. package/lib/esm/utils/bignumber/bitwise.js +399 -0
  2369. package/lib/esm/utils/bignumber/constants.js +57 -0
  2370. package/lib/esm/utils/bignumber/formatter.js +251 -0
  2371. package/lib/esm/utils/bignumber/nearlyEqual.js +41 -0
  2372. package/lib/esm/utils/collection.js +177 -0
  2373. package/lib/esm/utils/complex.js +13 -0
  2374. package/lib/esm/utils/customs.js +153 -0
  2375. package/lib/esm/utils/emitter.js +18 -0
  2376. package/lib/esm/utils/factory.js +127 -0
  2377. package/lib/esm/utils/function.js +99 -0
  2378. package/lib/esm/utils/is.js +169 -0
  2379. package/lib/esm/utils/latex.js +485 -0
  2380. package/lib/esm/utils/log.js +16 -0
  2381. package/lib/esm/utils/lruQueue.js +55 -0
  2382. package/lib/esm/utils/map.js +120 -0
  2383. package/lib/esm/utils/noop.js +15 -0
  2384. package/lib/esm/utils/number.js +657 -0
  2385. package/lib/esm/utils/object.js +373 -0
  2386. package/lib/esm/utils/product.js +14 -0
  2387. package/lib/esm/utils/scope.js +24 -0
  2388. package/lib/esm/utils/snapshot.js +227 -0
  2389. package/lib/esm/utils/string.js +198 -0
  2390. package/lib/esm/utils/switch.js +20 -0
  2391. package/lib/esm/version.js +3 -0
  2392. package/main/es5/index.js +3 -0
  2393. package/main/es5/number.js +3 -0
  2394. package/main/es5/package.json +3 -0
  2395. package/main/esm/index.js +3 -0
  2396. package/main/esm/number.js +3 -0
  2397. package/main/esm/package.json +3 -0
  2398. package/number.cjs +3 -0
  2399. package/package.json +178 -0
  2400. package/types/index.d.ts +6429 -0
  2401. package/types/tslint.json +6 -0
@@ -0,0 +1,1524 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.createSparseMatrixClass = void 0;
8
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
9
+ var _is = require("../../utils/is.js");
10
+ var _number = require("../../utils/number.js");
11
+ var _string = require("../../utils/string.js");
12
+ var _object = require("../../utils/object.js");
13
+ var _array = require("../../utils/array.js");
14
+ var _factory = require("../../utils/factory.js");
15
+ var _DimensionError = require("../../error/DimensionError.js");
16
+ var _function = require("../../utils/function.js");
17
+ var name = 'SparseMatrix';
18
+ var dependencies = ['typed', 'equalScalar', 'Matrix'];
19
+ var createSparseMatrixClass = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
20
+ var typed = _ref.typed,
21
+ equalScalar = _ref.equalScalar,
22
+ Matrix = _ref.Matrix;
23
+ /**
24
+ * Sparse Matrix implementation. This type implements
25
+ * a [Compressed Column Storage](https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_column_(CSC_or_CCS))
26
+ * format for two-dimensional sparse matrices.
27
+ * @class SparseMatrix
28
+ */
29
+ function SparseMatrix(data, datatype) {
30
+ if (!(this instanceof SparseMatrix)) {
31
+ throw new SyntaxError('Constructor must be called with the new operator');
32
+ }
33
+ if (datatype && !(0, _is.isString)(datatype)) {
34
+ throw new Error('Invalid datatype: ' + datatype);
35
+ }
36
+ if ((0, _is.isMatrix)(data)) {
37
+ // create from matrix
38
+ _createFromMatrix(this, data, datatype);
39
+ } else if (data && (0, _is.isArray)(data.index) && (0, _is.isArray)(data.ptr) && (0, _is.isArray)(data.size)) {
40
+ // initialize fields
41
+ this._values = data.values;
42
+ this._index = data.index;
43
+ this._ptr = data.ptr;
44
+ this._size = data.size;
45
+ this._datatype = datatype || data.datatype;
46
+ } else if ((0, _is.isArray)(data)) {
47
+ // create from array
48
+ _createFromArray(this, data, datatype);
49
+ } else if (data) {
50
+ // unsupported type
51
+ throw new TypeError('Unsupported type of data (' + (0, _is.typeOf)(data) + ')');
52
+ } else {
53
+ // nothing provided
54
+ this._values = [];
55
+ this._index = [];
56
+ this._ptr = [0];
57
+ this._size = [0, 0];
58
+ this._datatype = datatype;
59
+ }
60
+ }
61
+ function _createFromMatrix(matrix, source, datatype) {
62
+ // check matrix type
63
+ if (source.type === 'SparseMatrix') {
64
+ // clone arrays
65
+ matrix._values = source._values ? (0, _object.clone)(source._values) : undefined;
66
+ matrix._index = (0, _object.clone)(source._index);
67
+ matrix._ptr = (0, _object.clone)(source._ptr);
68
+ matrix._size = (0, _object.clone)(source._size);
69
+ matrix._datatype = datatype || source._datatype;
70
+ } else {
71
+ // build from matrix data
72
+ _createFromArray(matrix, source.valueOf(), datatype || source._datatype);
73
+ }
74
+ }
75
+ function _createFromArray(matrix, data, datatype) {
76
+ // initialize fields
77
+ matrix._values = [];
78
+ matrix._index = [];
79
+ matrix._ptr = [];
80
+ matrix._datatype = datatype;
81
+ // discover rows & columns, do not use math.size() to avoid looping array twice
82
+ var rows = data.length;
83
+ var columns = 0;
84
+
85
+ // equal signature to use
86
+ var eq = equalScalar;
87
+ // zero value
88
+ var zero = 0;
89
+ if ((0, _is.isString)(datatype)) {
90
+ // find signature that matches (datatype, datatype)
91
+ eq = typed.find(equalScalar, [datatype, datatype]) || equalScalar;
92
+ // convert 0 to the same datatype
93
+ zero = typed.convert(0, datatype);
94
+ }
95
+
96
+ // check we have rows (empty array)
97
+ if (rows > 0) {
98
+ // column index
99
+ var j = 0;
100
+ do {
101
+ // store pointer to values index
102
+ matrix._ptr.push(matrix._index.length);
103
+ // loop rows
104
+ for (var i = 0; i < rows; i++) {
105
+ // current row
106
+ var row = data[i];
107
+ // check row is an array
108
+ if ((0, _is.isArray)(row)) {
109
+ // update columns if needed (only on first column)
110
+ if (j === 0 && columns < row.length) {
111
+ columns = row.length;
112
+ }
113
+ // check row has column
114
+ if (j < row.length) {
115
+ // value
116
+ var v = row[j];
117
+ // check value != 0
118
+ if (!eq(v, zero)) {
119
+ // store value
120
+ matrix._values.push(v);
121
+ // index
122
+ matrix._index.push(i);
123
+ }
124
+ }
125
+ } else {
126
+ // update columns if needed (only on first column)
127
+ if (j === 0 && columns < 1) {
128
+ columns = 1;
129
+ }
130
+ // check value != 0 (row is a scalar)
131
+ if (!eq(row, zero)) {
132
+ // store value
133
+ matrix._values.push(row);
134
+ // index
135
+ matrix._index.push(i);
136
+ }
137
+ }
138
+ }
139
+ // increment index
140
+ j++;
141
+ } while (j < columns);
142
+ }
143
+ // store number of values in ptr
144
+ matrix._ptr.push(matrix._index.length);
145
+ // size
146
+ matrix._size = [rows, columns];
147
+ }
148
+ SparseMatrix.prototype = new Matrix();
149
+
150
+ /**
151
+ * Create a new SparseMatrix
152
+ */
153
+ SparseMatrix.prototype.createSparseMatrix = function (data, datatype) {
154
+ return new SparseMatrix(data, datatype);
155
+ };
156
+
157
+ /**
158
+ * Attach type information
159
+ */
160
+ Object.defineProperty(SparseMatrix, 'name', {
161
+ value: 'SparseMatrix'
162
+ });
163
+ SparseMatrix.prototype.constructor = SparseMatrix;
164
+ SparseMatrix.prototype.type = 'SparseMatrix';
165
+ SparseMatrix.prototype.isSparseMatrix = true;
166
+
167
+ /**
168
+ * Get the matrix type
169
+ *
170
+ * Usage:
171
+ * const matrixType = matrix.getDataType() // retrieves the matrix type
172
+ *
173
+ * @memberOf SparseMatrix
174
+ * @return {string} type information; if multiple types are found from the Matrix, it will return "mixed"
175
+ */
176
+ SparseMatrix.prototype.getDataType = function () {
177
+ return (0, _array.getArrayDataType)(this._values, _is.typeOf);
178
+ };
179
+
180
+ /**
181
+ * Get the storage format used by the matrix.
182
+ *
183
+ * Usage:
184
+ * const format = matrix.storage() // retrieve storage format
185
+ *
186
+ * @memberof SparseMatrix
187
+ * @return {string} The storage format.
188
+ */
189
+ SparseMatrix.prototype.storage = function () {
190
+ return 'sparse';
191
+ };
192
+
193
+ /**
194
+ * Get the datatype of the data stored in the matrix.
195
+ *
196
+ * Usage:
197
+ * const format = matrix.datatype() // retrieve matrix datatype
198
+ *
199
+ * @memberof SparseMatrix
200
+ * @return {string} The datatype.
201
+ */
202
+ SparseMatrix.prototype.datatype = function () {
203
+ return this._datatype;
204
+ };
205
+
206
+ /**
207
+ * Create a new SparseMatrix
208
+ * @memberof SparseMatrix
209
+ * @param {Array} data
210
+ * @param {string} [datatype]
211
+ */
212
+ SparseMatrix.prototype.create = function (data, datatype) {
213
+ return new SparseMatrix(data, datatype);
214
+ };
215
+
216
+ /**
217
+ * Get the matrix density.
218
+ *
219
+ * Usage:
220
+ * const density = matrix.density() // retrieve matrix density
221
+ *
222
+ * @memberof SparseMatrix
223
+ * @return {number} The matrix density.
224
+ */
225
+ SparseMatrix.prototype.density = function () {
226
+ // rows & columns
227
+ var rows = this._size[0];
228
+ var columns = this._size[1];
229
+ // calculate density
230
+ return rows !== 0 && columns !== 0 ? this._index.length / (rows * columns) : 0;
231
+ };
232
+
233
+ /**
234
+ * Get a subset of the matrix, or replace a subset of the matrix.
235
+ *
236
+ * Usage:
237
+ * const subset = matrix.subset(index) // retrieve subset
238
+ * const value = matrix.subset(index, replacement) // replace subset
239
+ *
240
+ * @memberof SparseMatrix
241
+ * @param {Index} index
242
+ * @param {Array | Matrix | *} [replacement]
243
+ * @param {*} [defaultValue=0] Default value, filled in on new entries when
244
+ * the matrix is resized. If not provided,
245
+ * new matrix elements will be filled with zeros.
246
+ */
247
+ SparseMatrix.prototype.subset = function (index, replacement, defaultValue) {
248
+ // check it is a pattern matrix
249
+ if (!this._values) {
250
+ throw new Error('Cannot invoke subset on a Pattern only matrix');
251
+ }
252
+
253
+ // check arguments
254
+ switch (arguments.length) {
255
+ case 1:
256
+ return _getsubset(this, index);
257
+
258
+ // intentional fall through
259
+ case 2:
260
+ case 3:
261
+ return _setsubset(this, index, replacement, defaultValue);
262
+ default:
263
+ throw new SyntaxError('Wrong number of arguments');
264
+ }
265
+ };
266
+ function _getsubset(matrix, idx) {
267
+ // check idx
268
+ if (!(0, _is.isIndex)(idx)) {
269
+ throw new TypeError('Invalid index');
270
+ }
271
+ var isScalar = idx.isScalar();
272
+ if (isScalar) {
273
+ // return a scalar
274
+ return matrix.get(idx.min());
275
+ }
276
+ // validate dimensions
277
+ var size = idx.size();
278
+ if (size.length !== matrix._size.length) {
279
+ throw new _DimensionError.DimensionError(size.length, matrix._size.length);
280
+ }
281
+
282
+ // vars
283
+ var i, ii, k, kk;
284
+
285
+ // validate if any of the ranges in the index is out of range
286
+ var min = idx.min();
287
+ var max = idx.max();
288
+ for (i = 0, ii = matrix._size.length; i < ii; i++) {
289
+ (0, _array.validateIndex)(min[i], matrix._size[i]);
290
+ (0, _array.validateIndex)(max[i], matrix._size[i]);
291
+ }
292
+
293
+ // matrix arrays
294
+ var mvalues = matrix._values;
295
+ var mindex = matrix._index;
296
+ var mptr = matrix._ptr;
297
+
298
+ // rows & columns dimensions for result matrix
299
+ var rows = idx.dimension(0);
300
+ var columns = idx.dimension(1);
301
+
302
+ // workspace & permutation vector
303
+ var w = [];
304
+ var pv = [];
305
+
306
+ // loop rows in resulting matrix
307
+ rows.forEach(function (i, r) {
308
+ // update permutation vector
309
+ pv[i] = r[0];
310
+ // mark i in workspace
311
+ w[i] = true;
312
+ });
313
+
314
+ // result matrix arrays
315
+ var values = mvalues ? [] : undefined;
316
+ var index = [];
317
+ var ptr = [];
318
+
319
+ // loop columns in result matrix
320
+ columns.forEach(function (j) {
321
+ // update ptr
322
+ ptr.push(index.length);
323
+ // loop values in column j
324
+ for (k = mptr[j], kk = mptr[j + 1]; k < kk; k++) {
325
+ // row
326
+ i = mindex[k];
327
+ // check row is in result matrix
328
+ if (w[i] === true) {
329
+ // push index
330
+ index.push(pv[i]);
331
+ // check we need to process values
332
+ if (values) {
333
+ values.push(mvalues[k]);
334
+ }
335
+ }
336
+ }
337
+ });
338
+ // update ptr
339
+ ptr.push(index.length);
340
+
341
+ // return matrix
342
+ return new SparseMatrix({
343
+ values: values,
344
+ index: index,
345
+ ptr: ptr,
346
+ size: size,
347
+ datatype: matrix._datatype
348
+ });
349
+ }
350
+ function _setsubset(matrix, index, submatrix, defaultValue) {
351
+ // check index
352
+ if (!index || index.isIndex !== true) {
353
+ throw new TypeError('Invalid index');
354
+ }
355
+
356
+ // get index size and check whether the index contains a single value
357
+ var iSize = index.size();
358
+ var isScalar = index.isScalar();
359
+
360
+ // calculate the size of the submatrix, and convert it into an Array if needed
361
+ var sSize;
362
+ if ((0, _is.isMatrix)(submatrix)) {
363
+ // submatrix size
364
+ sSize = submatrix.size();
365
+ // use array representation
366
+ submatrix = submatrix.toArray();
367
+ } else {
368
+ // get submatrix size (array, scalar)
369
+ sSize = (0, _array.arraySize)(submatrix);
370
+ }
371
+
372
+ // check index is a scalar
373
+ if (isScalar) {
374
+ // verify submatrix is a scalar
375
+ if (sSize.length !== 0) {
376
+ throw new TypeError('Scalar expected');
377
+ }
378
+ // set value
379
+ matrix.set(index.min(), submatrix, defaultValue);
380
+ } else {
381
+ // validate dimensions, index size must be one or two dimensions
382
+ if (iSize.length !== 1 && iSize.length !== 2) {
383
+ throw new _DimensionError.DimensionError(iSize.length, matrix._size.length, '<');
384
+ }
385
+
386
+ // check submatrix and index have the same dimensions
387
+ if (sSize.length < iSize.length) {
388
+ // calculate number of missing outer dimensions
389
+ var i = 0;
390
+ var outer = 0;
391
+ while (iSize[i] === 1 && sSize[i] === 1) {
392
+ i++;
393
+ }
394
+ while (iSize[i] === 1) {
395
+ outer++;
396
+ i++;
397
+ }
398
+ // unsqueeze both outer and inner dimensions
399
+ submatrix = (0, _array.unsqueeze)(submatrix, iSize.length, outer, sSize);
400
+ }
401
+
402
+ // check whether the size of the submatrix matches the index size
403
+ if (!(0, _object.deepStrictEqual)(iSize, sSize)) {
404
+ throw new _DimensionError.DimensionError(iSize, sSize, '>');
405
+ }
406
+
407
+ // insert the sub matrix
408
+ if (iSize.length === 1) {
409
+ // if the replacement index only has 1 dimension, go trough each one and set its value
410
+ var range = index.dimension(0);
411
+ range.forEach(function (dataIndex, subIndex) {
412
+ (0, _array.validateIndex)(dataIndex);
413
+ matrix.set([dataIndex, 0], submatrix[subIndex[0]], defaultValue);
414
+ });
415
+ } else {
416
+ // if the replacement index has 2 dimensions, go through each one and set the value in the correct index
417
+ var firstDimensionRange = index.dimension(0);
418
+ var secondDimensionRange = index.dimension(1);
419
+ firstDimensionRange.forEach(function (firstDataIndex, firstSubIndex) {
420
+ (0, _array.validateIndex)(firstDataIndex);
421
+ secondDimensionRange.forEach(function (secondDataIndex, secondSubIndex) {
422
+ (0, _array.validateIndex)(secondDataIndex);
423
+ matrix.set([firstDataIndex, secondDataIndex], submatrix[firstSubIndex[0]][secondSubIndex[0]], defaultValue);
424
+ });
425
+ });
426
+ }
427
+ }
428
+ return matrix;
429
+ }
430
+
431
+ /**
432
+ * Get a single element from the matrix.
433
+ * @memberof SparseMatrix
434
+ * @param {number[]} index Zero-based index
435
+ * @return {*} value
436
+ */
437
+ SparseMatrix.prototype.get = function (index) {
438
+ if (!(0, _is.isArray)(index)) {
439
+ throw new TypeError('Array expected');
440
+ }
441
+ if (index.length !== this._size.length) {
442
+ throw new _DimensionError.DimensionError(index.length, this._size.length);
443
+ }
444
+
445
+ // check it is a pattern matrix
446
+ if (!this._values) {
447
+ throw new Error('Cannot invoke get on a Pattern only matrix');
448
+ }
449
+
450
+ // row and column
451
+ var i = index[0];
452
+ var j = index[1];
453
+
454
+ // check i, j are valid
455
+ (0, _array.validateIndex)(i, this._size[0]);
456
+ (0, _array.validateIndex)(j, this._size[1]);
457
+
458
+ // find value index
459
+ var k = _getValueIndex(i, this._ptr[j], this._ptr[j + 1], this._index);
460
+ // check k is prior to next column k and it is in the correct row
461
+ if (k < this._ptr[j + 1] && this._index[k] === i) {
462
+ return this._values[k];
463
+ }
464
+ return 0;
465
+ };
466
+
467
+ /**
468
+ * Replace a single element in the matrix.
469
+ * @memberof SparseMatrix
470
+ * @param {number[]} index Zero-based index
471
+ * @param {*} v
472
+ * @param {*} [defaultValue] Default value, filled in on new entries when
473
+ * the matrix is resized. If not provided,
474
+ * new matrix elements will be set to zero.
475
+ * @return {SparseMatrix} self
476
+ */
477
+ SparseMatrix.prototype.set = function (index, v, defaultValue) {
478
+ if (!(0, _is.isArray)(index)) {
479
+ throw new TypeError('Array expected');
480
+ }
481
+ if (index.length !== this._size.length) {
482
+ throw new _DimensionError.DimensionError(index.length, this._size.length);
483
+ }
484
+
485
+ // check it is a pattern matrix
486
+ if (!this._values) {
487
+ throw new Error('Cannot invoke set on a Pattern only matrix');
488
+ }
489
+
490
+ // row and column
491
+ var i = index[0];
492
+ var j = index[1];
493
+
494
+ // rows & columns
495
+ var rows = this._size[0];
496
+ var columns = this._size[1];
497
+
498
+ // equal signature to use
499
+ var eq = equalScalar;
500
+ // zero value
501
+ var zero = 0;
502
+ if ((0, _is.isString)(this._datatype)) {
503
+ // find signature that matches (datatype, datatype)
504
+ eq = typed.find(equalScalar, [this._datatype, this._datatype]) || equalScalar;
505
+ // convert 0 to the same datatype
506
+ zero = typed.convert(0, this._datatype);
507
+ }
508
+
509
+ // check we need to resize matrix
510
+ if (i > rows - 1 || j > columns - 1) {
511
+ // resize matrix
512
+ _resize(this, Math.max(i + 1, rows), Math.max(j + 1, columns), defaultValue);
513
+ // update rows & columns
514
+ rows = this._size[0];
515
+ columns = this._size[1];
516
+ }
517
+
518
+ // check i, j are valid
519
+ (0, _array.validateIndex)(i, rows);
520
+ (0, _array.validateIndex)(j, columns);
521
+
522
+ // find value index
523
+ var k = _getValueIndex(i, this._ptr[j], this._ptr[j + 1], this._index);
524
+ // check k is prior to next column k and it is in the correct row
525
+ if (k < this._ptr[j + 1] && this._index[k] === i) {
526
+ // check value != 0
527
+ if (!eq(v, zero)) {
528
+ // update value
529
+ this._values[k] = v;
530
+ } else {
531
+ // remove value from matrix
532
+ _remove(k, j, this._values, this._index, this._ptr);
533
+ }
534
+ } else {
535
+ if (!eq(v, zero)) {
536
+ // insert value @ (i, j)
537
+ _insert(k, i, j, v, this._values, this._index, this._ptr);
538
+ }
539
+ }
540
+ return this;
541
+ };
542
+ function _getValueIndex(i, top, bottom, index) {
543
+ // check row is on the bottom side
544
+ if (bottom - top === 0) {
545
+ return bottom;
546
+ }
547
+ // loop rows [top, bottom[
548
+ for (var r = top; r < bottom; r++) {
549
+ // check we found value index
550
+ if (index[r] === i) {
551
+ return r;
552
+ }
553
+ }
554
+ // we did not find row
555
+ return top;
556
+ }
557
+ function _remove(k, j, values, index, ptr) {
558
+ // remove value @ k
559
+ values.splice(k, 1);
560
+ index.splice(k, 1);
561
+ // update pointers
562
+ for (var x = j + 1; x < ptr.length; x++) {
563
+ ptr[x]--;
564
+ }
565
+ }
566
+ function _insert(k, i, j, v, values, index, ptr) {
567
+ // insert value
568
+ values.splice(k, 0, v);
569
+ // update row for k
570
+ index.splice(k, 0, i);
571
+ // update column pointers
572
+ for (var x = j + 1; x < ptr.length; x++) {
573
+ ptr[x]++;
574
+ }
575
+ }
576
+
577
+ /**
578
+ * Resize the matrix to the given size. Returns a copy of the matrix when
579
+ * `copy=true`, otherwise return the matrix itself (resize in place).
580
+ *
581
+ * @memberof SparseMatrix
582
+ * @param {number[] | Matrix} size The new size the matrix should have.
583
+ * Since sparse matrices are always two-dimensional,
584
+ * size must be two numbers in either an array or a matrix
585
+ * @param {*} [defaultValue=0] Default value, filled in on new entries.
586
+ * If not provided, the matrix elements will
587
+ * be filled with zeros.
588
+ * @param {boolean} [copy] Return a resized copy of the matrix
589
+ *
590
+ * @return {Matrix} The resized matrix
591
+ */
592
+ SparseMatrix.prototype.resize = function (size, defaultValue, copy) {
593
+ // validate arguments
594
+ if (!(0, _is.isCollection)(size)) {
595
+ throw new TypeError('Array or Matrix expected');
596
+ }
597
+
598
+ // SparseMatrix input is always 2d, flatten this into 1d if it's indeed a vector
599
+ var sizeArray = size.valueOf().map(function (value) {
600
+ return Array.isArray(value) && value.length === 1 ? value[0] : value;
601
+ });
602
+ if (sizeArray.length !== 2) {
603
+ throw new Error('Only two dimensions matrix are supported');
604
+ }
605
+
606
+ // check sizes
607
+ sizeArray.forEach(function (value) {
608
+ if (!(0, _is.isNumber)(value) || !(0, _number.isInteger)(value) || value < 0) {
609
+ throw new TypeError('Invalid size, must contain positive integers ' + '(size: ' + (0, _string.format)(sizeArray) + ')');
610
+ }
611
+ });
612
+
613
+ // matrix to resize
614
+ var m = copy ? this.clone() : this;
615
+ // resize matrix
616
+ return _resize(m, sizeArray[0], sizeArray[1], defaultValue);
617
+ };
618
+ function _resize(matrix, rows, columns, defaultValue) {
619
+ // value to insert at the time of growing matrix
620
+ var value = defaultValue || 0;
621
+
622
+ // equal signature to use
623
+ var eq = equalScalar;
624
+ // zero value
625
+ var zero = 0;
626
+ if ((0, _is.isString)(matrix._datatype)) {
627
+ // find signature that matches (datatype, datatype)
628
+ eq = typed.find(equalScalar, [matrix._datatype, matrix._datatype]) || equalScalar;
629
+ // convert 0 to the same datatype
630
+ zero = typed.convert(0, matrix._datatype);
631
+ // convert value to the same datatype
632
+ value = typed.convert(value, matrix._datatype);
633
+ }
634
+
635
+ // should we insert the value?
636
+ var ins = !eq(value, zero);
637
+
638
+ // old columns and rows
639
+ var r = matrix._size[0];
640
+ var c = matrix._size[1];
641
+ var i, j, k;
642
+
643
+ // check we need to increase columns
644
+ if (columns > c) {
645
+ // loop new columns
646
+ for (j = c; j < columns; j++) {
647
+ // update matrix._ptr for current column
648
+ matrix._ptr[j] = matrix._values.length;
649
+ // check we need to insert matrix._values
650
+ if (ins) {
651
+ // loop rows
652
+ for (i = 0; i < r; i++) {
653
+ // add new matrix._values
654
+ matrix._values.push(value);
655
+ // update matrix._index
656
+ matrix._index.push(i);
657
+ }
658
+ }
659
+ }
660
+ // store number of matrix._values in matrix._ptr
661
+ matrix._ptr[columns] = matrix._values.length;
662
+ } else if (columns < c) {
663
+ // truncate matrix._ptr
664
+ matrix._ptr.splice(columns + 1, c - columns);
665
+ // truncate matrix._values and matrix._index
666
+ matrix._values.splice(matrix._ptr[columns], matrix._values.length);
667
+ matrix._index.splice(matrix._ptr[columns], matrix._index.length);
668
+ }
669
+ // update columns
670
+ c = columns;
671
+
672
+ // check we need to increase rows
673
+ if (rows > r) {
674
+ // check we have to insert values
675
+ if (ins) {
676
+ // inserts
677
+ var n = 0;
678
+ // loop columns
679
+ for (j = 0; j < c; j++) {
680
+ // update matrix._ptr for current column
681
+ matrix._ptr[j] = matrix._ptr[j] + n;
682
+ // where to insert matrix._values
683
+ k = matrix._ptr[j + 1] + n;
684
+ // pointer
685
+ var p = 0;
686
+ // loop new rows, initialize pointer
687
+ for (i = r; i < rows; i++, p++) {
688
+ // add value
689
+ matrix._values.splice(k + p, 0, value);
690
+ // update matrix._index
691
+ matrix._index.splice(k + p, 0, i);
692
+ // increment inserts
693
+ n++;
694
+ }
695
+ }
696
+ // store number of matrix._values in matrix._ptr
697
+ matrix._ptr[c] = matrix._values.length;
698
+ }
699
+ } else if (rows < r) {
700
+ // deletes
701
+ var d = 0;
702
+ // loop columns
703
+ for (j = 0; j < c; j++) {
704
+ // update matrix._ptr for current column
705
+ matrix._ptr[j] = matrix._ptr[j] - d;
706
+ // where matrix._values start for next column
707
+ var k0 = matrix._ptr[j];
708
+ var k1 = matrix._ptr[j + 1] - d;
709
+ // loop matrix._index
710
+ for (k = k0; k < k1; k++) {
711
+ // row
712
+ i = matrix._index[k];
713
+ // check we need to delete value and matrix._index
714
+ if (i > rows - 1) {
715
+ // remove value
716
+ matrix._values.splice(k, 1);
717
+ // remove item from matrix._index
718
+ matrix._index.splice(k, 1);
719
+ // increase deletes
720
+ d++;
721
+ }
722
+ }
723
+ }
724
+ // update matrix._ptr for current column
725
+ matrix._ptr[j] = matrix._values.length;
726
+ }
727
+ // update matrix._size
728
+ matrix._size[0] = rows;
729
+ matrix._size[1] = columns;
730
+ // return matrix
731
+ return matrix;
732
+ }
733
+
734
+ /**
735
+ * Reshape the matrix to the given size. Returns a copy of the matrix when
736
+ * `copy=true`, otherwise return the matrix itself (reshape in place).
737
+ *
738
+ * NOTE: This might be better suited to copy by default, instead of modifying
739
+ * in place. For now, it operates in place to remain consistent with
740
+ * resize().
741
+ *
742
+ * @memberof SparseMatrix
743
+ * @param {number[]} sizes The new size the matrix should have.
744
+ * Since sparse matrices are always two-dimensional,
745
+ * size must be two numbers in either an array or a matrix
746
+ * @param {boolean} [copy] Return a reshaped copy of the matrix
747
+ *
748
+ * @return {Matrix} The reshaped matrix
749
+ */
750
+ SparseMatrix.prototype.reshape = function (sizes, copy) {
751
+ // validate arguments
752
+ if (!(0, _is.isArray)(sizes)) {
753
+ throw new TypeError('Array expected');
754
+ }
755
+ if (sizes.length !== 2) {
756
+ throw new Error('Sparse matrices can only be reshaped in two dimensions');
757
+ }
758
+
759
+ // check sizes
760
+ sizes.forEach(function (value) {
761
+ if (!(0, _is.isNumber)(value) || !(0, _number.isInteger)(value) || value <= -2 || value === 0) {
762
+ throw new TypeError('Invalid size, must contain positive integers or -1 ' + '(size: ' + (0, _string.format)(sizes) + ')');
763
+ }
764
+ });
765
+ var currentLength = this._size[0] * this._size[1];
766
+ sizes = (0, _array.processSizesWildcard)(sizes, currentLength);
767
+ var newLength = sizes[0] * sizes[1];
768
+
769
+ // m * n must not change
770
+ if (currentLength !== newLength) {
771
+ throw new Error('Reshaping sparse matrix will result in the wrong number of elements');
772
+ }
773
+
774
+ // matrix to reshape
775
+ var m = copy ? this.clone() : this;
776
+
777
+ // return unchanged if the same shape
778
+ if (this._size[0] === sizes[0] && this._size[1] === sizes[1]) {
779
+ return m;
780
+ }
781
+
782
+ // Convert to COO format (generate a column index)
783
+ var colIndex = [];
784
+ for (var i = 0; i < m._ptr.length; i++) {
785
+ for (var j = 0; j < m._ptr[i + 1] - m._ptr[i]; j++) {
786
+ colIndex.push(i);
787
+ }
788
+ }
789
+
790
+ // Clone the values array
791
+ var values = m._values.slice();
792
+
793
+ // Clone the row index array
794
+ var rowIndex = m._index.slice();
795
+
796
+ // Transform the (row, column) indices
797
+ for (var _i = 0; _i < m._index.length; _i++) {
798
+ var r1 = rowIndex[_i];
799
+ var c1 = colIndex[_i];
800
+ var flat = r1 * m._size[1] + c1;
801
+ colIndex[_i] = flat % sizes[1];
802
+ rowIndex[_i] = Math.floor(flat / sizes[1]);
803
+ }
804
+
805
+ // Now reshaping is supposed to preserve the row-major order, BUT these sparse matrices are stored
806
+ // in column-major order, so we have to reorder the value array now. One option is to use a multisort,
807
+ // sorting several arrays based on some other array.
808
+
809
+ // OR, we could easily just:
810
+
811
+ // 1. Remove all values from the matrix
812
+ m._values.length = 0;
813
+ m._index.length = 0;
814
+ m._ptr.length = sizes[1] + 1;
815
+ m._size = sizes.slice();
816
+ for (var _i2 = 0; _i2 < m._ptr.length; _i2++) {
817
+ m._ptr[_i2] = 0;
818
+ }
819
+
820
+ // 2. Re-insert all elements in the proper order (simplified code from SparseMatrix.prototype.set)
821
+ // This step is probably the most time-consuming
822
+ for (var h = 0; h < values.length; h++) {
823
+ var _i3 = rowIndex[h];
824
+ var _j = colIndex[h];
825
+ var v = values[h];
826
+ var k = _getValueIndex(_i3, m._ptr[_j], m._ptr[_j + 1], m._index);
827
+ _insert(k, _i3, _j, v, m._values, m._index, m._ptr);
828
+ }
829
+
830
+ // The value indices are inserted out of order, but apparently that's... still OK?
831
+
832
+ return m;
833
+ };
834
+
835
+ /**
836
+ * Create a clone of the matrix
837
+ * @memberof SparseMatrix
838
+ * @return {SparseMatrix} clone
839
+ */
840
+ SparseMatrix.prototype.clone = function () {
841
+ var m = new SparseMatrix({
842
+ values: this._values ? (0, _object.clone)(this._values) : undefined,
843
+ index: (0, _object.clone)(this._index),
844
+ ptr: (0, _object.clone)(this._ptr),
845
+ size: (0, _object.clone)(this._size),
846
+ datatype: this._datatype
847
+ });
848
+ return m;
849
+ };
850
+
851
+ /**
852
+ * Retrieve the size of the matrix.
853
+ * @memberof SparseMatrix
854
+ * @returns {number[]} size
855
+ */
856
+ SparseMatrix.prototype.size = function () {
857
+ return this._size.slice(0); // copy the Array
858
+ };
859
+
860
+ /**
861
+ * Create a new matrix with the results of the callback function executed on
862
+ * each entry of the matrix.
863
+ * @memberof SparseMatrix
864
+ * @param {Function} callback The callback function is invoked with three
865
+ * parameters: the value of the element, the index
866
+ * of the element, and the Matrix being traversed.
867
+ * @param {boolean} [skipZeros] Invoke callback function for non-zero values only.
868
+ *
869
+ * @return {SparseMatrix} matrix
870
+ */
871
+ SparseMatrix.prototype.map = function (callback, skipZeros) {
872
+ // check it is a pattern matrix
873
+ if (!this._values) {
874
+ throw new Error('Cannot invoke map on a Pattern only matrix');
875
+ }
876
+ // matrix instance
877
+ var me = this;
878
+ // rows and columns
879
+ var rows = this._size[0];
880
+ var columns = this._size[1];
881
+ // invoke callback
882
+ var args = (0, _function.maxArgumentCount)(callback);
883
+ var invoke = function invoke(v, i, j) {
884
+ // invoke callback
885
+ if (args === 1) return callback(v);
886
+ if (args === 2) return callback(v, [i, j]);
887
+ return callback(v, [i, j], me);
888
+ };
889
+ // invoke _map
890
+ return _map(this, 0, rows - 1, 0, columns - 1, invoke, skipZeros);
891
+ };
892
+
893
+ /**
894
+ * Create a new matrix with the results of the callback function executed on the interval
895
+ * [minRow..maxRow, minColumn..maxColumn].
896
+ */
897
+ function _map(matrix, minRow, maxRow, minColumn, maxColumn, callback, skipZeros) {
898
+ // result arrays
899
+ var values = [];
900
+ var index = [];
901
+ var ptr = [];
902
+
903
+ // equal signature to use
904
+ var eq = equalScalar;
905
+ // zero value
906
+ var zero = 0;
907
+ if ((0, _is.isString)(matrix._datatype)) {
908
+ // find signature that matches (datatype, datatype)
909
+ eq = typed.find(equalScalar, [matrix._datatype, matrix._datatype]) || equalScalar;
910
+ // convert 0 to the same datatype
911
+ zero = typed.convert(0, matrix._datatype);
912
+ }
913
+
914
+ // invoke callback
915
+ var invoke = function invoke(v, x, y) {
916
+ // invoke callback
917
+ v = callback(v, x, y);
918
+ // check value != 0
919
+ if (!eq(v, zero)) {
920
+ // store value
921
+ values.push(v);
922
+ // index
923
+ index.push(x);
924
+ }
925
+ };
926
+ // loop columns
927
+ for (var j = minColumn; j <= maxColumn; j++) {
928
+ // store pointer to values index
929
+ ptr.push(values.length);
930
+ // k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
931
+ var k0 = matrix._ptr[j];
932
+ var k1 = matrix._ptr[j + 1];
933
+ if (skipZeros) {
934
+ // loop k within [k0, k1[
935
+ for (var k = k0; k < k1; k++) {
936
+ // row index
937
+ var i = matrix._index[k];
938
+ // check i is in range
939
+ if (i >= minRow && i <= maxRow) {
940
+ // value @ k
941
+ invoke(matrix._values[k], i - minRow, j - minColumn);
942
+ }
943
+ }
944
+ } else {
945
+ // create a cache holding all defined values
946
+ var _values = {};
947
+ for (var _k = k0; _k < k1; _k++) {
948
+ var _i4 = matrix._index[_k];
949
+ _values[_i4] = matrix._values[_k];
950
+ }
951
+
952
+ // loop over all rows (indexes can be unordered so we can't use that),
953
+ // and either read the value or zero
954
+ for (var _i5 = minRow; _i5 <= maxRow; _i5++) {
955
+ var value = _i5 in _values ? _values[_i5] : 0;
956
+ invoke(value, _i5 - minRow, j - minColumn);
957
+ }
958
+ }
959
+ }
960
+
961
+ // store number of values in ptr
962
+ ptr.push(values.length);
963
+ // return sparse matrix
964
+ return new SparseMatrix({
965
+ values: values,
966
+ index: index,
967
+ ptr: ptr,
968
+ size: [maxRow - minRow + 1, maxColumn - minColumn + 1]
969
+ });
970
+ }
971
+
972
+ /**
973
+ * Execute a callback function on each entry of the matrix.
974
+ * @memberof SparseMatrix
975
+ * @param {Function} callback The callback function is invoked with three
976
+ * parameters: the value of the element, the index
977
+ * of the element, and the Matrix being traversed.
978
+ * @param {boolean} [skipZeros] Invoke callback function for non-zero values only.
979
+ * If false, the indices are guaranteed to be in order,
980
+ * if true, the indices can be unordered.
981
+ */
982
+ SparseMatrix.prototype.forEach = function (callback, skipZeros) {
983
+ // check it is a pattern matrix
984
+ if (!this._values) {
985
+ throw new Error('Cannot invoke forEach on a Pattern only matrix');
986
+ }
987
+ // matrix instance
988
+ var me = this;
989
+ // rows and columns
990
+ var rows = this._size[0];
991
+ var columns = this._size[1];
992
+ // loop columns
993
+ for (var j = 0; j < columns; j++) {
994
+ // k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
995
+ var k0 = this._ptr[j];
996
+ var k1 = this._ptr[j + 1];
997
+ if (skipZeros) {
998
+ // loop k within [k0, k1[
999
+ for (var k = k0; k < k1; k++) {
1000
+ // row index
1001
+ var i = this._index[k];
1002
+
1003
+ // value @ k
1004
+ callback(this._values[k], [i, j], me);
1005
+ }
1006
+ } else {
1007
+ // create a cache holding all defined values
1008
+ var values = {};
1009
+ for (var _k2 = k0; _k2 < k1; _k2++) {
1010
+ var _i6 = this._index[_k2];
1011
+ values[_i6] = this._values[_k2];
1012
+ }
1013
+
1014
+ // loop over all rows (indexes can be unordered so we can't use that),
1015
+ // and either read the value or zero
1016
+ for (var _i7 = 0; _i7 < rows; _i7++) {
1017
+ var value = _i7 in values ? values[_i7] : 0;
1018
+ callback(value, [_i7, j], me);
1019
+ }
1020
+ }
1021
+ }
1022
+ };
1023
+
1024
+ /**
1025
+ * Iterate over the matrix elements, skipping zeros
1026
+ * @return {Iterable<{ value, index: number[] }>}
1027
+ */
1028
+ SparseMatrix.prototype[Symbol.iterator] = /*#__PURE__*/_regenerator["default"].mark(function _callee() {
1029
+ var columns, j, k0, k1, k, i;
1030
+ return _regenerator["default"].wrap(function _callee$(_context) {
1031
+ while (1) {
1032
+ switch (_context.prev = _context.next) {
1033
+ case 0:
1034
+ if (this._values) {
1035
+ _context.next = 2;
1036
+ break;
1037
+ }
1038
+ throw new Error('Cannot iterate a Pattern only matrix');
1039
+ case 2:
1040
+ columns = this._size[1];
1041
+ j = 0;
1042
+ case 4:
1043
+ if (!(j < columns)) {
1044
+ _context.next = 18;
1045
+ break;
1046
+ }
1047
+ k0 = this._ptr[j];
1048
+ k1 = this._ptr[j + 1];
1049
+ k = k0;
1050
+ case 8:
1051
+ if (!(k < k1)) {
1052
+ _context.next = 15;
1053
+ break;
1054
+ }
1055
+ // row index
1056
+ i = this._index[k];
1057
+ _context.next = 12;
1058
+ return {
1059
+ value: this._values[k],
1060
+ index: [i, j]
1061
+ };
1062
+ case 12:
1063
+ k++;
1064
+ _context.next = 8;
1065
+ break;
1066
+ case 15:
1067
+ j++;
1068
+ _context.next = 4;
1069
+ break;
1070
+ case 18:
1071
+ case "end":
1072
+ return _context.stop();
1073
+ }
1074
+ }
1075
+ }, _callee, this);
1076
+ });
1077
+
1078
+ /**
1079
+ * Create an Array with a copy of the data of the SparseMatrix
1080
+ * @memberof SparseMatrix
1081
+ * @returns {Array} array
1082
+ */
1083
+ SparseMatrix.prototype.toArray = function () {
1084
+ return _toArray(this._values, this._index, this._ptr, this._size, true);
1085
+ };
1086
+
1087
+ /**
1088
+ * Get the primitive value of the SparseMatrix: a two dimensions array
1089
+ * @memberof SparseMatrix
1090
+ * @returns {Array} array
1091
+ */
1092
+ SparseMatrix.prototype.valueOf = function () {
1093
+ return _toArray(this._values, this._index, this._ptr, this._size, false);
1094
+ };
1095
+ function _toArray(values, index, ptr, size, copy) {
1096
+ // rows and columns
1097
+ var rows = size[0];
1098
+ var columns = size[1];
1099
+ // result
1100
+ var a = [];
1101
+ // vars
1102
+ var i, j;
1103
+ // initialize array
1104
+ for (i = 0; i < rows; i++) {
1105
+ a[i] = [];
1106
+ for (j = 0; j < columns; j++) {
1107
+ a[i][j] = 0;
1108
+ }
1109
+ }
1110
+
1111
+ // loop columns
1112
+ for (j = 0; j < columns; j++) {
1113
+ // k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
1114
+ var k0 = ptr[j];
1115
+ var k1 = ptr[j + 1];
1116
+ // loop k within [k0, k1[
1117
+ for (var k = k0; k < k1; k++) {
1118
+ // row index
1119
+ i = index[k];
1120
+ // set value (use one for pattern matrix)
1121
+ a[i][j] = values ? copy ? (0, _object.clone)(values[k]) : values[k] : 1;
1122
+ }
1123
+ }
1124
+ return a;
1125
+ }
1126
+
1127
+ /**
1128
+ * Get a string representation of the matrix, with optional formatting options.
1129
+ * @memberof SparseMatrix
1130
+ * @param {Object | number | Function} [options] Formatting options. See
1131
+ * lib/utils/number:format for a
1132
+ * description of the available
1133
+ * options.
1134
+ * @returns {string} str
1135
+ */
1136
+ SparseMatrix.prototype.format = function (options) {
1137
+ // rows and columns
1138
+ var rows = this._size[0];
1139
+ var columns = this._size[1];
1140
+ // density
1141
+ var density = this.density();
1142
+ // rows & columns
1143
+ var str = 'Sparse Matrix [' + (0, _string.format)(rows, options) + ' x ' + (0, _string.format)(columns, options) + '] density: ' + (0, _string.format)(density, options) + '\n';
1144
+ // loop columns
1145
+ for (var j = 0; j < columns; j++) {
1146
+ // k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
1147
+ var k0 = this._ptr[j];
1148
+ var k1 = this._ptr[j + 1];
1149
+ // loop k within [k0, k1[
1150
+ for (var k = k0; k < k1; k++) {
1151
+ // row index
1152
+ var i = this._index[k];
1153
+ // append value
1154
+ str += '\n (' + (0, _string.format)(i, options) + ', ' + (0, _string.format)(j, options) + ') ==> ' + (this._values ? (0, _string.format)(this._values[k], options) : 'X');
1155
+ }
1156
+ }
1157
+ return str;
1158
+ };
1159
+
1160
+ /**
1161
+ * Get a string representation of the matrix
1162
+ * @memberof SparseMatrix
1163
+ * @returns {string} str
1164
+ */
1165
+ SparseMatrix.prototype.toString = function () {
1166
+ return (0, _string.format)(this.toArray());
1167
+ };
1168
+
1169
+ /**
1170
+ * Get a JSON representation of the matrix
1171
+ * @memberof SparseMatrix
1172
+ * @returns {Object}
1173
+ */
1174
+ SparseMatrix.prototype.toJSON = function () {
1175
+ return {
1176
+ mathjs: 'SparseMatrix',
1177
+ values: this._values,
1178
+ index: this._index,
1179
+ ptr: this._ptr,
1180
+ size: this._size,
1181
+ datatype: this._datatype
1182
+ };
1183
+ };
1184
+
1185
+ /**
1186
+ * Get the kth Matrix diagonal.
1187
+ *
1188
+ * @memberof SparseMatrix
1189
+ * @param {number | BigNumber} [k=0] The kth diagonal where the vector will retrieved.
1190
+ *
1191
+ * @returns {Matrix} The matrix vector with the diagonal values.
1192
+ */
1193
+ SparseMatrix.prototype.diagonal = function (k) {
1194
+ // validate k if any
1195
+ if (k) {
1196
+ // convert BigNumber to a number
1197
+ if ((0, _is.isBigNumber)(k)) {
1198
+ k = k.toNumber();
1199
+ }
1200
+ // is must be an integer
1201
+ if (!(0, _is.isNumber)(k) || !(0, _number.isInteger)(k)) {
1202
+ throw new TypeError('The parameter k must be an integer number');
1203
+ }
1204
+ } else {
1205
+ // default value
1206
+ k = 0;
1207
+ }
1208
+ var kSuper = k > 0 ? k : 0;
1209
+ var kSub = k < 0 ? -k : 0;
1210
+
1211
+ // rows & columns
1212
+ var rows = this._size[0];
1213
+ var columns = this._size[1];
1214
+
1215
+ // number diagonal values
1216
+ var n = Math.min(rows - kSub, columns - kSuper);
1217
+
1218
+ // diagonal arrays
1219
+ var values = [];
1220
+ var index = [];
1221
+ var ptr = [];
1222
+ // initial ptr value
1223
+ ptr[0] = 0;
1224
+ // loop columns
1225
+ for (var j = kSuper; j < columns && values.length < n; j++) {
1226
+ // k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
1227
+ var k0 = this._ptr[j];
1228
+ var k1 = this._ptr[j + 1];
1229
+ // loop x within [k0, k1[
1230
+ for (var x = k0; x < k1; x++) {
1231
+ // row index
1232
+ var i = this._index[x];
1233
+ // check row
1234
+ if (i === j - kSuper + kSub) {
1235
+ // value on this column
1236
+ values.push(this._values[x]);
1237
+ // store row
1238
+ index[values.length - 1] = i - kSub;
1239
+ // exit loop
1240
+ break;
1241
+ }
1242
+ }
1243
+ }
1244
+ // close ptr
1245
+ ptr.push(values.length);
1246
+ // return matrix
1247
+ return new SparseMatrix({
1248
+ values: values,
1249
+ index: index,
1250
+ ptr: ptr,
1251
+ size: [n, 1]
1252
+ });
1253
+ };
1254
+
1255
+ /**
1256
+ * Generate a matrix from a JSON object
1257
+ * @memberof SparseMatrix
1258
+ * @param {Object} json An object structured like
1259
+ * `{"mathjs": "SparseMatrix", "values": [], "index": [], "ptr": [], "size": []}`,
1260
+ * where mathjs is optional
1261
+ * @returns {SparseMatrix}
1262
+ */
1263
+ SparseMatrix.fromJSON = function (json) {
1264
+ return new SparseMatrix(json);
1265
+ };
1266
+
1267
+ /**
1268
+ * Create a diagonal matrix.
1269
+ *
1270
+ * @memberof SparseMatrix
1271
+ * @param {Array} size The matrix size.
1272
+ * @param {number | Array | Matrix } value The values for the diagonal.
1273
+ * @param {number | BigNumber} [k=0] The kth diagonal where the vector will be filled in.
1274
+ * @param {number} [defaultValue] The default value for non-diagonal
1275
+ * @param {string} [datatype] The Matrix datatype, values must be of this datatype.
1276
+ *
1277
+ * @returns {SparseMatrix}
1278
+ */
1279
+ SparseMatrix.diagonal = function (size, value, k, defaultValue, datatype) {
1280
+ if (!(0, _is.isArray)(size)) {
1281
+ throw new TypeError('Array expected, size parameter');
1282
+ }
1283
+ if (size.length !== 2) {
1284
+ throw new Error('Only two dimensions matrix are supported');
1285
+ }
1286
+
1287
+ // map size & validate
1288
+ size = size.map(function (s) {
1289
+ // check it is a big number
1290
+ if ((0, _is.isBigNumber)(s)) {
1291
+ // convert it
1292
+ s = s.toNumber();
1293
+ }
1294
+ // validate arguments
1295
+ if (!(0, _is.isNumber)(s) || !(0, _number.isInteger)(s) || s < 1) {
1296
+ throw new Error('Size values must be positive integers');
1297
+ }
1298
+ return s;
1299
+ });
1300
+
1301
+ // validate k if any
1302
+ if (k) {
1303
+ // convert BigNumber to a number
1304
+ if ((0, _is.isBigNumber)(k)) {
1305
+ k = k.toNumber();
1306
+ }
1307
+ // is must be an integer
1308
+ if (!(0, _is.isNumber)(k) || !(0, _number.isInteger)(k)) {
1309
+ throw new TypeError('The parameter k must be an integer number');
1310
+ }
1311
+ } else {
1312
+ // default value
1313
+ k = 0;
1314
+ }
1315
+
1316
+ // equal signature to use
1317
+ var eq = equalScalar;
1318
+ // zero value
1319
+ var zero = 0;
1320
+ if ((0, _is.isString)(datatype)) {
1321
+ // find signature that matches (datatype, datatype)
1322
+ eq = typed.find(equalScalar, [datatype, datatype]) || equalScalar;
1323
+ // convert 0 to the same datatype
1324
+ zero = typed.convert(0, datatype);
1325
+ }
1326
+ var kSuper = k > 0 ? k : 0;
1327
+ var kSub = k < 0 ? -k : 0;
1328
+
1329
+ // rows and columns
1330
+ var rows = size[0];
1331
+ var columns = size[1];
1332
+
1333
+ // number of non-zero items
1334
+ var n = Math.min(rows - kSub, columns - kSuper);
1335
+
1336
+ // value extraction function
1337
+ var _value;
1338
+
1339
+ // check value
1340
+ if ((0, _is.isArray)(value)) {
1341
+ // validate array
1342
+ if (value.length !== n) {
1343
+ // number of values in array must be n
1344
+ throw new Error('Invalid value array length');
1345
+ }
1346
+ // define function
1347
+ _value = function _value(i) {
1348
+ // return value @ i
1349
+ return value[i];
1350
+ };
1351
+ } else if ((0, _is.isMatrix)(value)) {
1352
+ // matrix size
1353
+ var ms = value.size();
1354
+ // validate matrix
1355
+ if (ms.length !== 1 || ms[0] !== n) {
1356
+ // number of values in array must be n
1357
+ throw new Error('Invalid matrix length');
1358
+ }
1359
+ // define function
1360
+ _value = function _value(i) {
1361
+ // return value @ i
1362
+ return value.get([i]);
1363
+ };
1364
+ } else {
1365
+ // define function
1366
+ _value = function _value() {
1367
+ // return value
1368
+ return value;
1369
+ };
1370
+ }
1371
+
1372
+ // create arrays
1373
+ var values = [];
1374
+ var index = [];
1375
+ var ptr = [];
1376
+
1377
+ // loop items
1378
+ for (var j = 0; j < columns; j++) {
1379
+ // number of rows with value
1380
+ ptr.push(values.length);
1381
+ // diagonal index
1382
+ var i = j - kSuper;
1383
+ // check we need to set diagonal value
1384
+ if (i >= 0 && i < n) {
1385
+ // get value @ i
1386
+ var v = _value(i);
1387
+ // check for zero
1388
+ if (!eq(v, zero)) {
1389
+ // column
1390
+ index.push(i + kSub);
1391
+ // add value
1392
+ values.push(v);
1393
+ }
1394
+ }
1395
+ }
1396
+ // last value should be number of values
1397
+ ptr.push(values.length);
1398
+ // create SparseMatrix
1399
+ return new SparseMatrix({
1400
+ values: values,
1401
+ index: index,
1402
+ ptr: ptr,
1403
+ size: [rows, columns]
1404
+ });
1405
+ };
1406
+
1407
+ /**
1408
+ * Swap rows i and j in Matrix.
1409
+ *
1410
+ * @memberof SparseMatrix
1411
+ * @param {number} i Matrix row index 1
1412
+ * @param {number} j Matrix row index 2
1413
+ *
1414
+ * @return {Matrix} The matrix reference
1415
+ */
1416
+ SparseMatrix.prototype.swapRows = function (i, j) {
1417
+ // check index
1418
+ if (!(0, _is.isNumber)(i) || !(0, _number.isInteger)(i) || !(0, _is.isNumber)(j) || !(0, _number.isInteger)(j)) {
1419
+ throw new Error('Row index must be positive integers');
1420
+ }
1421
+ // check dimensions
1422
+ if (this._size.length !== 2) {
1423
+ throw new Error('Only two dimensional matrix is supported');
1424
+ }
1425
+ // validate index
1426
+ (0, _array.validateIndex)(i, this._size[0]);
1427
+ (0, _array.validateIndex)(j, this._size[0]);
1428
+
1429
+ // swap rows
1430
+ SparseMatrix._swapRows(i, j, this._size[1], this._values, this._index, this._ptr);
1431
+ // return current instance
1432
+ return this;
1433
+ };
1434
+
1435
+ /**
1436
+ * Loop rows with data in column j.
1437
+ *
1438
+ * @param {number} j Column
1439
+ * @param {Array} values Matrix values
1440
+ * @param {Array} index Matrix row indeces
1441
+ * @param {Array} ptr Matrix column pointers
1442
+ * @param {Function} callback Callback function invoked for every row in column j
1443
+ */
1444
+ SparseMatrix._forEachRow = function (j, values, index, ptr, callback) {
1445
+ // indeces for column j
1446
+ var k0 = ptr[j];
1447
+ var k1 = ptr[j + 1];
1448
+ // loop
1449
+ for (var k = k0; k < k1; k++) {
1450
+ // invoke callback
1451
+ callback(index[k], values[k]);
1452
+ }
1453
+ };
1454
+
1455
+ /**
1456
+ * Swap rows x and y in Sparse Matrix data structures.
1457
+ *
1458
+ * @param {number} x Matrix row index 1
1459
+ * @param {number} y Matrix row index 2
1460
+ * @param {number} columns Number of columns in matrix
1461
+ * @param {Array} values Matrix values
1462
+ * @param {Array} index Matrix row indeces
1463
+ * @param {Array} ptr Matrix column pointers
1464
+ */
1465
+ SparseMatrix._swapRows = function (x, y, columns, values, index, ptr) {
1466
+ // loop columns
1467
+ for (var j = 0; j < columns; j++) {
1468
+ // k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
1469
+ var k0 = ptr[j];
1470
+ var k1 = ptr[j + 1];
1471
+ // find value index @ x
1472
+ var kx = _getValueIndex(x, k0, k1, index);
1473
+ // find value index @ x
1474
+ var ky = _getValueIndex(y, k0, k1, index);
1475
+ // check both rows exist in matrix
1476
+ if (kx < k1 && ky < k1 && index[kx] === x && index[ky] === y) {
1477
+ // swap values (check for pattern matrix)
1478
+ if (values) {
1479
+ var v = values[kx];
1480
+ values[kx] = values[ky];
1481
+ values[ky] = v;
1482
+ }
1483
+ // next column
1484
+ continue;
1485
+ }
1486
+ // check x row exist & no y row
1487
+ if (kx < k1 && index[kx] === x && (ky >= k1 || index[ky] !== y)) {
1488
+ // value @ x (check for pattern matrix)
1489
+ var vx = values ? values[kx] : undefined;
1490
+ // insert value @ y
1491
+ index.splice(ky, 0, y);
1492
+ if (values) {
1493
+ values.splice(ky, 0, vx);
1494
+ }
1495
+ // remove value @ x (adjust array index if needed)
1496
+ index.splice(ky <= kx ? kx + 1 : kx, 1);
1497
+ if (values) {
1498
+ values.splice(ky <= kx ? kx + 1 : kx, 1);
1499
+ }
1500
+ // next column
1501
+ continue;
1502
+ }
1503
+ // check y row exist & no x row
1504
+ if (ky < k1 && index[ky] === y && (kx >= k1 || index[kx] !== x)) {
1505
+ // value @ y (check for pattern matrix)
1506
+ var vy = values ? values[ky] : undefined;
1507
+ // insert value @ x
1508
+ index.splice(kx, 0, x);
1509
+ if (values) {
1510
+ values.splice(kx, 0, vy);
1511
+ }
1512
+ // remove value @ y (adjust array index if needed)
1513
+ index.splice(kx <= ky ? ky + 1 : ky, 1);
1514
+ if (values) {
1515
+ values.splice(kx <= ky ? ky + 1 : ky, 1);
1516
+ }
1517
+ }
1518
+ }
1519
+ };
1520
+ return SparseMatrix;
1521
+ }, {
1522
+ isClass: true
1523
+ });
1524
+ exports.createSparseMatrixClass = createSparseMatrixClass;