@mojir/lits 2.1.4 → 2.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/dist/cli/cli.js +26924 -7777
  2. package/dist/cli/reference/api.d.ts +28 -10
  3. package/dist/cli/reference/categories/grid/index.d.ts +3 -0
  4. package/dist/cli/reference/categories/linearAlgebra/index.d.ts +3 -0
  5. package/dist/cli/reference/categories/matrix/index.d.ts +3 -0
  6. package/dist/cli/reference/categories/numberTheory/abundant.d.ts +2 -0
  7. package/dist/cli/reference/categories/numberTheory/arithmetic.d.ts +2 -0
  8. package/dist/cli/reference/categories/numberTheory/bell.d.ts +2 -0
  9. package/dist/cli/reference/categories/numberTheory/bernoulli.d.ts +2 -0
  10. package/dist/cli/reference/categories/numberTheory/catalan.d.ts +2 -0
  11. package/dist/cli/reference/categories/numberTheory/collatz.d.ts +2 -0
  12. package/dist/cli/reference/categories/numberTheory/composite.d.ts +2 -0
  13. package/dist/cli/reference/categories/numberTheory/deficient.d.ts +2 -0
  14. package/dist/cli/reference/categories/numberTheory/factorial.d.ts +2 -0
  15. package/dist/cli/reference/categories/numberTheory/fibonacci.d.ts +2 -0
  16. package/dist/cli/reference/categories/numberTheory/geometric.d.ts +2 -0
  17. package/dist/cli/reference/categories/numberTheory/golomb.d.ts +2 -0
  18. package/dist/cli/reference/categories/numberTheory/happy.d.ts +2 -0
  19. package/dist/cli/reference/categories/numberTheory/index.d.ts +12 -0
  20. package/dist/cli/reference/categories/numberTheory/juggler.d.ts +2 -0
  21. package/dist/cli/reference/categories/numberTheory/lookAndSay.d.ts +2 -0
  22. package/dist/cli/reference/categories/numberTheory/lucas.d.ts +2 -0
  23. package/dist/cli/reference/categories/numberTheory/lucky.d.ts +2 -0
  24. package/dist/cli/reference/categories/numberTheory/mersenne.d.ts +2 -0
  25. package/dist/cli/reference/categories/numberTheory/padovan.d.ts +2 -0
  26. package/dist/cli/reference/categories/numberTheory/partition.d.ts +2 -0
  27. package/dist/cli/reference/categories/numberTheory/pell.d.ts +2 -0
  28. package/dist/cli/reference/categories/numberTheory/perfect.d.ts +2 -0
  29. package/dist/cli/reference/categories/numberTheory/perfectCube.d.ts +2 -0
  30. package/dist/cli/reference/categories/numberTheory/perfectPower.d.ts +2 -0
  31. package/dist/cli/reference/categories/numberTheory/perfectSquare.d.ts +2 -0
  32. package/dist/cli/reference/categories/numberTheory/polygonal.d.ts +2 -0
  33. package/dist/cli/reference/categories/numberTheory/prime.d.ts +2 -0
  34. package/dist/cli/reference/categories/numberTheory/recaman.d.ts +2 -0
  35. package/dist/cli/reference/categories/numberTheory/sylvester.d.ts +2 -0
  36. package/dist/cli/reference/categories/numberTheory/thueMorse.d.ts +2 -0
  37. package/dist/cli/reference/categories/numberTheory/tribonacci.d.ts +2 -0
  38. package/dist/cli/reference/categories/random.d.ts +3 -0
  39. package/dist/cli/reference/categories/vector/entropy.d.ts +2 -0
  40. package/dist/cli/reference/categories/vector/giniCoefficient.d.ts +2 -0
  41. package/dist/cli/reference/categories/vector/index.d.ts +7 -0
  42. package/dist/cli/reference/categories/vector/iqr.d.ts +2 -0
  43. package/dist/cli/reference/categories/vector/kurtosis.d.ts +5 -0
  44. package/dist/cli/reference/categories/vector/mad.d.ts +2 -0
  45. package/dist/cli/reference/categories/vector/max.d.ts +2 -0
  46. package/dist/cli/reference/categories/vector/mean.d.ts +4 -0
  47. package/dist/cli/reference/categories/vector/medad.d.ts +2 -0
  48. package/dist/cli/reference/categories/vector/median.d.ts +2 -0
  49. package/dist/cli/reference/categories/vector/min.d.ts +2 -0
  50. package/dist/cli/reference/categories/vector/prod.d.ts +2 -0
  51. package/dist/cli/reference/categories/vector/rms.d.ts +2 -0
  52. package/dist/cli/reference/categories/vector/skewness.d.ts +3 -0
  53. package/dist/cli/reference/categories/vector/span.d.ts +2 -0
  54. package/dist/cli/reference/categories/vector/standardDeviation.d.ts +3 -0
  55. package/dist/cli/reference/categories/vector/sum.d.ts +2 -0
  56. package/dist/cli/reference/categories/vector/variance.d.ts +3 -0
  57. package/dist/cli/reference/index.d.ts +606 -209
  58. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/grid/fromArray.d.ts +8 -0
  59. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/grid/index.d.ts +2 -0
  60. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/grid/transpose.d.ts +2 -0
  61. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/calcFractionalRanks.d.ts +1 -0
  62. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/collinear.d.ts +2 -0
  63. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/corrleation.d.ts +8 -0
  64. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/covariance.d.ts +4 -0
  65. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/gaussJordanElimination.d.ts +7 -0
  66. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/isZeroVector.d.ts +1 -0
  67. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/kendallTau.d.ts +10 -0
  68. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/pearsonCorr.d.ts +1 -0
  69. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/solve.d.ts +8 -0
  70. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/index.d.ts +2 -0
  71. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/adjugate.d.ts +1 -0
  72. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/band.d.ts +9 -0
  73. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/cofactor.d.ts +1 -0
  74. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/determinant.d.ts +6 -0
  75. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/inverse.d.ts +6 -0
  76. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isBanded.d.ts +11 -0
  77. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isDiagonal.d.ts +10 -0
  78. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isIdentity.d.ts +1 -0
  79. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isOrthogonal.d.ts +1 -0
  80. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isSquare.d.ts +1 -0
  81. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isSymetric.d.ts +8 -0
  82. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isTriangular.d.ts +13 -0
  83. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/matrixMultiply.d.ts +7 -0
  84. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/minor.d.ts +1 -0
  85. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/norm1.d.ts +1 -0
  86. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/trace.d.ts +8 -0
  87. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/matrix/index.d.ts +2 -0
  88. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/binomialCefficient.d.ts +1 -0
  89. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/combinations.d.ts +2 -0
  90. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/derangements.d.ts +2 -0
  91. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/divisors.d.ts +4 -0
  92. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/factorial.d.ts +3 -0
  93. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/index.d.ts +2 -0
  94. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/partitions.d.ts +2 -0
  95. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/permutations.d.ts +2 -0
  96. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/powerSet.d.ts +2 -0
  97. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/primeFactors.d.ts +11 -0
  98. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/abundant.d.ts +2 -0
  99. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/arithmetic.d.ts +2 -0
  100. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/bell.d.ts +1 -0
  101. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/bernoulli.d.ts +2 -0
  102. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/catalan.d.ts +1 -0
  103. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/collatz.d.ts +2 -0
  104. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/composite.d.ts +3 -0
  105. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/deficient.d.ts +2 -0
  106. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/factorial.d.ts +1 -0
  107. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/fibonacci.d.ts +1 -0
  108. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/geometric.d.ts +2 -0
  109. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/golomb.d.ts +2 -0
  110. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/happy.d.ts +2 -0
  111. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/index.d.ts +26 -0
  112. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/juggler.d.ts +2 -0
  113. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/lookAndSay.d.ts +2 -0
  114. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/lucas.d.ts +1 -0
  115. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/lucky.d.ts +2 -0
  116. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/mersenne.d.ts +1 -0
  117. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/padovan.d.ts +2 -0
  118. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/partition.d.ts +1 -0
  119. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/pell.d.ts +1 -0
  120. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/perfect.d.ts +1 -0
  121. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/perfectCube.d.ts +2 -0
  122. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/perfectPower.d.ts +10 -0
  123. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/perfectSquare.d.ts +2 -0
  124. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/poligonal.d.ts +2 -0
  125. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/prime.d.ts +3 -0
  126. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/recaman.d.ts +9 -0
  127. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/sylvester.d.ts +1 -0
  128. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/thueMorse.d.ts +2 -0
  129. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/tribonacci.d.ts +1 -0
  130. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/random/index.d.ts +2 -0
  131. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/bincount.d.ts +9 -0
  132. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/calcMad.d.ts +1 -0
  133. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/calcMean.d.ts +1 -0
  134. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/calcMedad.d.ts +1 -0
  135. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/calcMedian.d.ts +1 -0
  136. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/calcStdDev.d.ts +2 -0
  137. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/calcVariance.d.ts +2 -0
  138. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/entropy.d.ts +8 -0
  139. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/histogram.d.ts +9 -0
  140. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/index.d.ts +2 -0
  141. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/mode.d.ts +6 -0
  142. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/outliers.d.ts +7 -0
  143. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/percentile.d.ts +7 -0
  144. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/quartiles.d.ts +1 -0
  145. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/entropy.d.ts +2 -0
  146. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/giniCoefficient.d.ts +2 -0
  147. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/index.d.ts +13 -0
  148. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/iqr.d.ts +2 -0
  149. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/kurtosis.d.ts +5 -0
  150. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/mad.d.ts +2 -0
  151. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/max.d.ts +2 -0
  152. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/mean.d.ts +4 -0
  153. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/medad.d.ts +2 -0
  154. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/median.d.ts +2 -0
  155. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/min.d.ts +2 -0
  156. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/prod.d.ts +2 -0
  157. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/rms.d.ts +2 -0
  158. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/skewness.d.ts +3 -0
  159. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/span.d.ts +2 -0
  160. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/standardDeviation.d.ts +3 -0
  161. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/sum.d.ts +2 -0
  162. package/dist/cli/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/variance.d.ts +3 -0
  163. package/dist/cli/src/errors.d.ts +1 -4
  164. package/dist/cli/src/evaluator/interface.d.ts +2 -2
  165. package/dist/cli/src/parser/types.d.ts +6 -4
  166. package/dist/cli/src/tokenizer/operators.d.ts +2 -2
  167. package/dist/cli/src/tokenizer/reservedNames.d.ts +2 -0
  168. package/dist/cli/src/typeGuards/annotatedArrays.d.ts +12 -0
  169. package/dist/cli/src/typeGuards/lits.d.ts +4 -1
  170. package/dist/cli/src/utils/index.d.ts +2 -0
  171. package/dist/index.esm.js +25685 -7953
  172. package/dist/index.esm.js.map +1 -1
  173. package/dist/index.js +25687 -7952
  174. package/dist/index.js.map +1 -1
  175. package/dist/lits.iife.js +25687 -7952
  176. package/dist/lits.iife.js.map +1 -1
  177. package/dist/reference/api.d.ts +28 -10
  178. package/dist/reference/categories/grid/index.d.ts +3 -0
  179. package/dist/reference/categories/linearAlgebra/index.d.ts +3 -0
  180. package/dist/reference/categories/matrix/index.d.ts +3 -0
  181. package/dist/reference/categories/numberTheory/abundant.d.ts +2 -0
  182. package/dist/reference/categories/numberTheory/arithmetic.d.ts +2 -0
  183. package/dist/reference/categories/numberTheory/bell.d.ts +2 -0
  184. package/dist/reference/categories/numberTheory/bernoulli.d.ts +2 -0
  185. package/dist/reference/categories/numberTheory/catalan.d.ts +2 -0
  186. package/dist/reference/categories/numberTheory/collatz.d.ts +2 -0
  187. package/dist/reference/categories/numberTheory/composite.d.ts +2 -0
  188. package/dist/reference/categories/numberTheory/deficient.d.ts +2 -0
  189. package/dist/reference/categories/numberTheory/factorial.d.ts +2 -0
  190. package/dist/reference/categories/numberTheory/fibonacci.d.ts +2 -0
  191. package/dist/reference/categories/numberTheory/geometric.d.ts +2 -0
  192. package/dist/reference/categories/numberTheory/golomb.d.ts +2 -0
  193. package/dist/reference/categories/numberTheory/happy.d.ts +2 -0
  194. package/dist/reference/categories/numberTheory/index.d.ts +12 -0
  195. package/dist/reference/categories/numberTheory/juggler.d.ts +2 -0
  196. package/dist/reference/categories/numberTheory/lookAndSay.d.ts +2 -0
  197. package/dist/reference/categories/numberTheory/lucas.d.ts +2 -0
  198. package/dist/reference/categories/numberTheory/lucky.d.ts +2 -0
  199. package/dist/reference/categories/numberTheory/mersenne.d.ts +2 -0
  200. package/dist/reference/categories/numberTheory/padovan.d.ts +2 -0
  201. package/dist/reference/categories/numberTheory/partition.d.ts +2 -0
  202. package/dist/reference/categories/numberTheory/pell.d.ts +2 -0
  203. package/dist/reference/categories/numberTheory/perfect.d.ts +2 -0
  204. package/dist/reference/categories/numberTheory/perfectCube.d.ts +2 -0
  205. package/dist/reference/categories/numberTheory/perfectPower.d.ts +2 -0
  206. package/dist/reference/categories/numberTheory/perfectSquare.d.ts +2 -0
  207. package/dist/reference/categories/numberTheory/polygonal.d.ts +2 -0
  208. package/dist/reference/categories/numberTheory/prime.d.ts +2 -0
  209. package/dist/reference/categories/numberTheory/recaman.d.ts +2 -0
  210. package/dist/reference/categories/numberTheory/sylvester.d.ts +2 -0
  211. package/dist/reference/categories/numberTheory/thueMorse.d.ts +2 -0
  212. package/dist/reference/categories/numberTheory/tribonacci.d.ts +2 -0
  213. package/dist/reference/categories/random.d.ts +3 -0
  214. package/dist/reference/categories/vector/entropy.d.ts +2 -0
  215. package/dist/reference/categories/vector/giniCoefficient.d.ts +2 -0
  216. package/dist/reference/categories/vector/index.d.ts +7 -0
  217. package/dist/reference/categories/vector/iqr.d.ts +2 -0
  218. package/dist/reference/categories/vector/kurtosis.d.ts +5 -0
  219. package/dist/reference/categories/vector/mad.d.ts +2 -0
  220. package/dist/reference/categories/vector/max.d.ts +2 -0
  221. package/dist/reference/categories/vector/mean.d.ts +4 -0
  222. package/dist/reference/categories/vector/medad.d.ts +2 -0
  223. package/dist/reference/categories/vector/median.d.ts +2 -0
  224. package/dist/reference/categories/vector/min.d.ts +2 -0
  225. package/dist/reference/categories/vector/prod.d.ts +2 -0
  226. package/dist/reference/categories/vector/rms.d.ts +2 -0
  227. package/dist/reference/categories/vector/skewness.d.ts +3 -0
  228. package/dist/reference/categories/vector/span.d.ts +2 -0
  229. package/dist/reference/categories/vector/standardDeviation.d.ts +3 -0
  230. package/dist/reference/categories/vector/sum.d.ts +2 -0
  231. package/dist/reference/categories/vector/variance.d.ts +3 -0
  232. package/dist/reference/index.d.ts +606 -209
  233. package/dist/src/builtin/normalExpressions/categories/namespaces/grid/fromArray.d.ts +8 -0
  234. package/dist/src/builtin/normalExpressions/categories/namespaces/grid/index.d.ts +2 -0
  235. package/dist/src/builtin/normalExpressions/categories/namespaces/grid/transpose.d.ts +2 -0
  236. package/dist/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/calcFractionalRanks.d.ts +1 -0
  237. package/dist/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/collinear.d.ts +2 -0
  238. package/dist/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/corrleation.d.ts +8 -0
  239. package/dist/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/covariance.d.ts +4 -0
  240. package/dist/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/gaussJordanElimination.d.ts +7 -0
  241. package/dist/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/isZeroVector.d.ts +1 -0
  242. package/dist/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/kendallTau.d.ts +10 -0
  243. package/dist/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/pearsonCorr.d.ts +1 -0
  244. package/dist/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/helpers/solve.d.ts +8 -0
  245. package/dist/src/builtin/normalExpressions/categories/namespaces/linearAlgebra/index.d.ts +2 -0
  246. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/adjugate.d.ts +1 -0
  247. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/band.d.ts +9 -0
  248. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/cofactor.d.ts +1 -0
  249. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/determinant.d.ts +6 -0
  250. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/diagonal.d.ts +1 -0
  251. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/inverse.d.ts +6 -0
  252. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isBanded.d.ts +11 -0
  253. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isDiagonal.d.ts +10 -0
  254. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isIdentity.d.ts +1 -0
  255. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isOrthogonal.d.ts +1 -0
  256. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isSquare.d.ts +1 -0
  257. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isSymetric.d.ts +8 -0
  258. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/isTriangular.d.ts +13 -0
  259. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/matrixMultiply.d.ts +7 -0
  260. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/minor.d.ts +1 -0
  261. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/norm1.d.ts +1 -0
  262. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/helpers/trace.d.ts +8 -0
  263. package/dist/src/builtin/normalExpressions/categories/namespaces/matrix/index.d.ts +2 -0
  264. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/binomialCefficient.d.ts +1 -0
  265. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/combinations.d.ts +2 -0
  266. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/derangements.d.ts +2 -0
  267. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/divisors.d.ts +4 -0
  268. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/factorial.d.ts +3 -0
  269. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/index.d.ts +2 -0
  270. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/partitions.d.ts +2 -0
  271. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/permutations.d.ts +2 -0
  272. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/powerSet.d.ts +2 -0
  273. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/primeFactors.d.ts +11 -0
  274. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/abundant.d.ts +2 -0
  275. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/arithmetic.d.ts +2 -0
  276. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/bell.d.ts +1 -0
  277. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/bernoulli.d.ts +2 -0
  278. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/catalan.d.ts +1 -0
  279. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/collatz.d.ts +2 -0
  280. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/composite.d.ts +3 -0
  281. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/deficient.d.ts +2 -0
  282. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/factorial.d.ts +1 -0
  283. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/fibonacci.d.ts +1 -0
  284. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/geometric.d.ts +2 -0
  285. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/golomb.d.ts +2 -0
  286. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/happy.d.ts +2 -0
  287. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/index.d.ts +26 -0
  288. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/juggler.d.ts +2 -0
  289. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/lookAndSay.d.ts +2 -0
  290. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/lucas.d.ts +1 -0
  291. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/lucky.d.ts +2 -0
  292. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/mersenne.d.ts +1 -0
  293. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/padovan.d.ts +2 -0
  294. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/partition.d.ts +1 -0
  295. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/pell.d.ts +1 -0
  296. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/perfect.d.ts +1 -0
  297. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/perfectCube.d.ts +2 -0
  298. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/perfectPower.d.ts +10 -0
  299. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/perfectSquare.d.ts +2 -0
  300. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/poligonal.d.ts +2 -0
  301. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/prime.d.ts +3 -0
  302. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/recaman.d.ts +9 -0
  303. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/sylvester.d.ts +1 -0
  304. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/thueMorse.d.ts +2 -0
  305. package/dist/src/builtin/normalExpressions/categories/namespaces/numberTheory/sequences/tribonacci.d.ts +1 -0
  306. package/dist/src/builtin/normalExpressions/categories/namespaces/random/index.d.ts +2 -0
  307. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/bincount.d.ts +9 -0
  308. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/calcMad.d.ts +1 -0
  309. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/calcMean.d.ts +1 -0
  310. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/calcMedad.d.ts +1 -0
  311. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/calcMedian.d.ts +1 -0
  312. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/calcStdDev.d.ts +2 -0
  313. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/calcVariance.d.ts +2 -0
  314. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/entropy.d.ts +8 -0
  315. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/histogram.d.ts +9 -0
  316. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/index.d.ts +2 -0
  317. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/mode.d.ts +6 -0
  318. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/outliers.d.ts +7 -0
  319. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/percentile.d.ts +7 -0
  320. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/quartiles.d.ts +1 -0
  321. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/entropy.d.ts +2 -0
  322. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/giniCoefficient.d.ts +2 -0
  323. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/index.d.ts +13 -0
  324. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/iqr.d.ts +2 -0
  325. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/kurtosis.d.ts +5 -0
  326. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/mad.d.ts +2 -0
  327. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/max.d.ts +2 -0
  328. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/mean.d.ts +4 -0
  329. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/medad.d.ts +2 -0
  330. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/median.d.ts +2 -0
  331. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/min.d.ts +2 -0
  332. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/prod.d.ts +2 -0
  333. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/rms.d.ts +2 -0
  334. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/skewness.d.ts +3 -0
  335. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/span.d.ts +2 -0
  336. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/standardDeviation.d.ts +3 -0
  337. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/sum.d.ts +2 -0
  338. package/dist/src/builtin/normalExpressions/categories/namespaces/vector/reductionFunctions/variance.d.ts +3 -0
  339. package/dist/src/errors.d.ts +1 -4
  340. package/dist/src/evaluator/interface.d.ts +2 -2
  341. package/dist/src/index.d.ts +1 -0
  342. package/dist/src/parser/types.d.ts +6 -4
  343. package/dist/src/tokenizer/operators.d.ts +2 -2
  344. package/dist/src/tokenizer/reservedNames.d.ts +2 -0
  345. package/dist/src/typeGuards/annotatedArrays.d.ts +12 -0
  346. package/dist/src/typeGuards/lits.d.ts +4 -1
  347. package/dist/src/utils/index.d.ts +2 -0
  348. package/dist/testFramework.esm.js +8016 -819
  349. package/dist/testFramework.esm.js.map +1 -1
  350. package/dist/testFramework.js +8016 -819
  351. package/dist/testFramework.js.map +1 -1
  352. package/package.json +5 -1
@@ -0,0 +1,2 @@
1
+ import type { ReductionFunctionDefinition } from '.';
2
+ export declare const rmsReductionFunction: ReductionFunctionDefinition<'rms'>;
@@ -0,0 +1,3 @@
1
+ import type { ReductionFunctionDefinition } from '.';
2
+ export declare const skewnessReductionFunction: ReductionFunctionDefinition<'skewness'>;
3
+ export declare const sampleSkewnessReductionFunction: ReductionFunctionDefinition<'sample-skewness'>;
@@ -0,0 +1,2 @@
1
+ import type { ReductionFunctionDefinition } from '.';
2
+ export declare const spanReductionFunction: ReductionFunctionDefinition<'span'>;
@@ -0,0 +1,3 @@
1
+ import type { ReductionFunctionDefinition } from '.';
2
+ export declare const stdevReductionFunction: ReductionFunctionDefinition<'stdev'>;
3
+ export declare const sampleStdevReductionFunction: ReductionFunctionDefinition<'sample-stdev'>;
@@ -0,0 +1,2 @@
1
+ import type { ReductionFunctionDefinition } from '.';
2
+ export declare const sumReductionFunction: ReductionFunctionDefinition<'sum'>;
@@ -0,0 +1,3 @@
1
+ import type { ReductionFunctionDefinition } from '.';
2
+ export declare const varianceReductionFunction: ReductionFunctionDefinition<'variance'>;
3
+ export declare const sampleVarianceReductionFunction: ReductionFunctionDefinition<'sample-variance'>;
@@ -7,12 +7,9 @@ export declare class RecurSignal extends Error {
7
7
  export declare class LitsError extends Error {
8
8
  readonly sourceCodeInfo?: SourceCodeInfo;
9
9
  readonly shortMessage: string;
10
- constructor(message: string | Error, sourceCodeInfo: SourceCodeInfo | undefined);
10
+ constructor(err: unknown, sourceCodeInfo: SourceCodeInfo | undefined);
11
11
  getCodeMarker(): string | undefined;
12
12
  }
13
- export declare class NotAFunctionError extends LitsError {
14
- constructor(fn: unknown, sourceCodeInfo?: SourceCodeInfo);
15
- }
16
13
  export declare class UserDefinedError extends LitsError {
17
14
  userMessage: string;
18
15
  constructor(message: string, sourceCodeInfo?: SourceCodeInfo);
@@ -1,5 +1,5 @@
1
1
  import type { Any, Arr } from '../interface';
2
- import type { Node } from '../parser/types';
2
+ import type { FunctionLike, Node } from '../parser/types';
3
3
  import type { SourceCodeInfo } from '../tokenizer/token';
4
4
  import type { ContextStack } from './ContextStack';
5
5
  export interface ContextEntry {
@@ -7,6 +7,6 @@ export interface ContextEntry {
7
7
  }
8
8
  export type Context = Record<string, ContextEntry>;
9
9
  export type EvaluateNode = (node: Node, contextStack: ContextStack) => Any;
10
- export type ExecuteFunction = (fn: Any, params: Arr, contextStack: ContextStack, sourceCodeInfo?: SourceCodeInfo) => Any;
10
+ export type ExecuteFunction = (fn: FunctionLike, params: Arr, contextStack: ContextStack, sourceCodeInfo?: SourceCodeInfo) => Any;
11
11
  export type LookUpResult = ContextEntry | null;
12
12
  export declare function isContextEntry(value: unknown): value is ContextEntry;
@@ -3,7 +3,7 @@ import type { SpecialExpressionType } from '../builtin';
3
3
  import type { specialExpressionTypes } from '../builtin/specialExpressionTypes';
4
4
  import type { FunctionType, NodeType, NodeTypes } from '../constants/constants';
5
5
  import type { Context } from '../evaluator/interface';
6
- import type { Any, Arr } from '../interface';
6
+ import type { Any, Arr, Coll } from '../interface';
7
7
  import type { ReservedSymbol } from '../tokenizer/reservedNames';
8
8
  import type { SourceCodeInfo, Token } from '../tokenizer/token';
9
9
  import type { FUNCTION_SYMBOL, REGEXP_SYMBOL } from '../utils/symbols';
@@ -34,8 +34,9 @@ export interface UserDefinedFunction extends GenericLitsFunction {
34
34
  }
35
35
  export interface PartialFunction extends GenericLitsFunction {
36
36
  functionType: 'Partial';
37
- function: Any;
37
+ function: FunctionLike;
38
38
  params: Arr;
39
+ placeholders: number[];
39
40
  }
40
41
  export interface CompFunction extends GenericLitsFunction {
41
42
  functionType: 'Comp';
@@ -51,7 +52,7 @@ export interface JuxtFunction extends GenericLitsFunction {
51
52
  }
52
53
  export interface ComplementFunction extends GenericLitsFunction {
53
54
  functionType: 'Complement';
54
- function: Any;
55
+ function: FunctionLike;
55
56
  }
56
57
  export interface EveryPredFunction extends GenericLitsFunction {
57
58
  functionType: 'EveryPred';
@@ -63,7 +64,7 @@ export interface SomePredFunction extends GenericLitsFunction {
63
64
  }
64
65
  export interface FNullFunction extends GenericLitsFunction {
65
66
  functionType: 'Fnull';
66
- function: Any;
67
+ function: FunctionLike;
67
68
  params: Arr;
68
69
  }
69
70
  export interface NormalBuiltinFunction extends GenericLitsFunction {
@@ -76,6 +77,7 @@ export interface SpecialBuiltinFunction extends GenericLitsFunction {
76
77
  }
77
78
  export type LitsFunction = NativeJsFunction | UserDefinedFunction | NormalBuiltinFunction | SpecialBuiltinFunction | PartialFunction | CompFunction | ConstantlyFunction | JuxtFunction | ComplementFunction | EveryPredFunction | SomePredFunction | FNullFunction;
78
79
  export type LitsFunctionType = LitsFunction['functionType'];
80
+ export type FunctionLike = LitsFunction | Coll | number;
79
81
  export type DebugData = {
80
82
  token: Token;
81
83
  nameToken?: Token;
@@ -1,5 +1,5 @@
1
- declare const binaryOperators: readonly ["**", "*", "/", "%", "+", "-", "<<", ">>", ">>>", "++", "<", "<=", "≤", ">", ">=", "≥", "=", "!=", "≠", "&", "^", "|", "&&", "||", "??"];
2
- declare const symbolicOperators: readonly ["**", "*", "/", "%", "+", "-", "<<", ">>", ">>>", "++", "<", "<=", "≤", ">", ">=", "≥", "=", "!=", "≠", "&", "^", "|", "&&", "||", "??", "->", "...", ".", ",", ":=", ";"];
1
+ declare const binaryOperators: readonly ["^", "*", "/", "%", "+", "-", "<<", ">>", ">>>", "++", "<", "<=", "≤", ">", ">=", "≥", "=", "!=", "≠", "~", "≈", "&", "xor", "|", "&&", "||", "??", "|>"];
2
+ declare const symbolicOperators: readonly ["^", "*", "/", "%", "+", "-", "<<", ">>", ">>>", "++", "<", "<=", "≤", ">", ">=", "≥", "=", "!=", "≠", "~", "≈", "&", "xor", "|", "&&", "||", "??", "|>", "->", "...", ".", ",", ":=", ";"];
3
3
  export declare function isFunctionOperator(operator: string): boolean;
4
4
  export type SymbolicBinaryOperator = typeof binaryOperators[number];
5
5
  export type SymbolicOperator = typeof symbolicOperators[number];
@@ -66,6 +66,7 @@ export declare const reservedSymbolRecord: {
66
66
  readonly function: null;
67
67
  readonly export: null;
68
68
  readonly as: null;
69
+ readonly _: null;
69
70
  };
70
71
  export declare const validReservedSymbolRecord: {
71
72
  readonly E: number;
@@ -108,6 +109,7 @@ export declare const validReservedSymbolRecord: {
108
109
  readonly function: null;
109
110
  readonly export: null;
110
111
  readonly as: null;
112
+ readonly _: null;
111
113
  };
112
114
  export type ValidReservedSymbol = keyof typeof validReservedSymbolRecord;
113
115
  export type ReservedSymbol = keyof typeof reservedSymbolRecord;
@@ -0,0 +1,12 @@
1
+ import type { Any } from '../interface';
2
+ import type { SourceCodeInfo } from '../tokenizer/token';
3
+ export declare function annotate<T>(value: T): T;
4
+ export declare function isVector(vector: unknown): vector is number[];
5
+ export declare function assertVector(vector: unknown, sourceCodeInfo: SourceCodeInfo | undefined): asserts vector is number[];
6
+ export declare function assertNonEmptyVector(vector: unknown, sourceCodeInfo: SourceCodeInfo | undefined): asserts vector is number[];
7
+ export declare function isGrid(grid: unknown): grid is unknown[][];
8
+ export declare function assertGrid(grid: unknown, sourceCodeInfo: SourceCodeInfo | undefined): asserts grid is Any[][];
9
+ export declare function isMatrix(matrix: unknown): matrix is number[][];
10
+ export declare function assertMatrix(matrix: unknown, sourceCodeInfo: SourceCodeInfo | undefined): asserts matrix is number[][];
11
+ export declare function assertSquareMatrix(matrix: unknown, sourceCodeInfo: SourceCodeInfo | undefined): asserts matrix is number[][];
12
+ export declare function isSquareMatrix(matrix: unknown): matrix is number[][];
@@ -1,5 +1,5 @@
1
1
  import type { Any, Coll, Obj, Seq } from '../interface';
2
- import type { RegularExpression } from '../parser/types';
2
+ import type { FunctionLike, RegularExpression } from '../parser/types';
3
3
  import type { SourceCodeInfo } from '../tokenizer/token';
4
4
  export declare function isAny(value: unknown): value is Any;
5
5
  export declare function asAny(value: unknown, sourceCodeInfo?: SourceCodeInfo): Any;
@@ -19,3 +19,6 @@ export declare function assertRegularExpression(value: unknown, sourceCodeInfo?:
19
19
  export declare function isStringOrRegularExpression(value: unknown): value is string | RegularExpression;
20
20
  export declare function asStringOrRegularExpression(value: unknown, sourceCodeInfo?: SourceCodeInfo): string | RegularExpression;
21
21
  export declare function assertStringOrRegularExpression(value: unknown, sourceCodeInfo?: SourceCodeInfo): asserts value is string | RegularExpression;
22
+ export declare function isFunctionLike(value: unknown): value is FunctionLike;
23
+ export declare function asFunctionLike(value: unknown, sourceCodeInfo?: SourceCodeInfo): FunctionLike;
24
+ export declare function assertFunctionLike(value: unknown, sourceCodeInfo?: SourceCodeInfo): asserts value is FunctionLike;
@@ -10,3 +10,5 @@ export declare function cloneColl<T extends Coll>(value: T): T;
10
10
  export declare function createNativeJsFunction(fn: (...args: any[]) => unknown, name?: string): NativeJsFunction;
11
11
  export declare function joinSets<T>(...results: Set<T>[]): Set<T>;
12
12
  export declare function addToSet<T>(target: Set<T>, source: Set<T>): void;
13
+ export declare function approxEqual(a: number, b: number, epsilon?: number): boolean;
14
+ export declare function approxZero(value: number, epsilon?: number): boolean;