math-exercises 2.0.2 → 2.0.4

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 (742) hide show
  1. package/lib/exercises/calcul/addAndSub.d.ts +6 -6
  2. package/lib/exercises/calcul/addAndSub.js +63 -63
  3. package/lib/exercises/calcul/addAndSubWithoutRelatives.d.ts +6 -6
  4. package/lib/exercises/calcul/addAndSubWithoutRelatives.js +73 -73
  5. package/lib/exercises/calcul/arithmetics/euclideanDivision.d.ts +9 -9
  6. package/lib/exercises/calcul/arithmetics/euclideanDivision.js +60 -60
  7. package/lib/exercises/calcul/arithmetics/index.d.ts +3 -3
  8. package/lib/exercises/calcul/arithmetics/index.js +19 -19
  9. package/lib/exercises/calcul/arithmetics/paritySumsAndProducts.d.ts +4 -4
  10. package/lib/exercises/calcul/arithmetics/paritySumsAndProducts.js +115 -115
  11. package/lib/exercises/calcul/arithmetics/primeNumbers.d.ts +6 -6
  12. package/lib/exercises/calcul/arithmetics/primeNumbers.js +105 -105
  13. package/lib/exercises/calcul/fractions/fractionAndIntegerDivision.d.ts +8 -8
  14. package/lib/exercises/calcul/fractions/fractionAndIntegerDivision.js +77 -77
  15. package/lib/exercises/calcul/fractions/fractionAndIntegerProduct.d.ts +7 -7
  16. package/lib/exercises/calcul/fractions/fractionAndIntegerProduct.js +68 -68
  17. package/lib/exercises/calcul/fractions/fractionAndIntegerSum.d.ts +7 -7
  18. package/lib/exercises/calcul/fractions/fractionAndIntegerSum.js +67 -67
  19. package/lib/exercises/calcul/fractions/fractionToPercentToDecimal.d.ts +8 -8
  20. package/lib/exercises/calcul/fractions/fractionToPercentToDecimal.js +157 -157
  21. package/lib/exercises/calcul/fractions/fractionsDivision.d.ts +7 -7
  22. package/lib/exercises/calcul/fractions/fractionsDivision.js +62 -62
  23. package/lib/exercises/calcul/fractions/fractionsProduct.d.ts +7 -7
  24. package/lib/exercises/calcul/fractions/fractionsProduct.js +60 -60
  25. package/lib/exercises/calcul/fractions/fractionsSum.d.ts +7 -7
  26. package/lib/exercises/calcul/fractions/fractionsSum.js +60 -60
  27. package/lib/exercises/calcul/fractions/index.d.ts +8 -8
  28. package/lib/exercises/calcul/fractions/index.js +24 -24
  29. package/lib/exercises/calcul/fractions/simplifyFraction.d.ts +7 -7
  30. package/lib/exercises/calcul/fractions/simplifyFraction.js +52 -52
  31. package/lib/exercises/calcul/index.d.ts +8 -8
  32. package/lib/exercises/calcul/index.js +24 -24
  33. package/lib/exercises/calcul/mentalCaluls/index.d.ts +4 -4
  34. package/lib/exercises/calcul/mentalCaluls/index.js +20 -20
  35. package/lib/exercises/calcul/mentalCaluls/mentalAddAndSub.d.ts +6 -6
  36. package/lib/exercises/calcul/mentalCaluls/mentalAddAndSub.js +84 -84
  37. package/lib/exercises/calcul/mentalCaluls/mentalDivisions.d.ts +9 -9
  38. package/lib/exercises/calcul/mentalCaluls/mentalDivisions.js +101 -101
  39. package/lib/exercises/calcul/mentalCaluls/mentalMultiplications.d.ts +6 -6
  40. package/lib/exercises/calcul/mentalCaluls/mentalMultiplications.js +84 -84
  41. package/lib/exercises/calcul/mentalCaluls/mentalPercentage.d.ts +8 -8
  42. package/lib/exercises/calcul/mentalCaluls/mentalPercentage.js +140 -140
  43. package/lib/exercises/calcul/operations/index.d.ts +2 -2
  44. package/lib/exercises/calcul/operations/index.js +18 -18
  45. package/lib/exercises/calcul/operations/operationsPriorities.d.ts +17 -17
  46. package/lib/exercises/calcul/operations/operationsPriorities.js +121 -121
  47. package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.d.ts +18 -18
  48. package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.js +202 -202
  49. package/lib/exercises/calcul/proportionality/index.d.ts +1 -1
  50. package/lib/exercises/calcul/proportionality/index.js +17 -17
  51. package/lib/exercises/calcul/proportionality/proportionalityTable.d.ts +10 -10
  52. package/lib/exercises/calcul/proportionality/proportionalityTable.js +65 -65
  53. package/lib/exercises/calcul/rounding/index.d.ts +1 -1
  54. package/lib/exercises/calcul/rounding/index.js +17 -17
  55. package/lib/exercises/calcul/rounding/rounding.d.ts +21 -21
  56. package/lib/exercises/calcul/rounding/rounding.js +141 -141
  57. package/lib/exercises/calculLitteral/distributivity/allIdentities.d.ts +10 -10
  58. package/lib/exercises/calculLitteral/distributivity/allIdentities.js +72 -72
  59. package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.d.ts +7 -7
  60. package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.js +74 -74
  61. package/lib/exercises/calculLitteral/distributivity/firstIdentity.d.ts +10 -10
  62. package/lib/exercises/calculLitteral/distributivity/firstIdentity.js +64 -64
  63. package/lib/exercises/calculLitteral/distributivity/index.d.ts +6 -6
  64. package/lib/exercises/calculLitteral/distributivity/index.js +26 -26
  65. package/lib/exercises/calculLitteral/distributivity/secondIdentity.d.ts +10 -10
  66. package/lib/exercises/calculLitteral/distributivity/secondIdentity.js +65 -65
  67. package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.d.ts +8 -8
  68. package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.js +61 -61
  69. package/lib/exercises/calculLitteral/distributivity/thirdIdentity.d.ts +10 -10
  70. package/lib/exercises/calculLitteral/distributivity/thirdIdentity.js +69 -69
  71. package/lib/exercises/calculLitteral/equation/equationSimpleSquare.d.ts +6 -6
  72. package/lib/exercises/calculLitteral/equation/equationSimpleSquare.js +140 -140
  73. package/lib/exercises/calculLitteral/equation/equationType1Exercise.d.ts +10 -10
  74. package/lib/exercises/calculLitteral/equation/equationType1Exercise.js +60 -60
  75. package/lib/exercises/calculLitteral/equation/equationType2Exercise.d.ts +10 -10
  76. package/lib/exercises/calculLitteral/equation/equationType2Exercise.js +64 -64
  77. package/lib/exercises/calculLitteral/equation/equationType3Exercise.d.ts +11 -11
  78. package/lib/exercises/calculLitteral/equation/equationType3Exercise.js +68 -68
  79. package/lib/exercises/calculLitteral/equation/equationType4Exercise.d.ts +12 -12
  80. package/lib/exercises/calculLitteral/equation/equationType4Exercise.js +75 -75
  81. package/lib/exercises/calculLitteral/equation/expEquation.d.ts +7 -7
  82. package/lib/exercises/calculLitteral/equation/expEquation.js +75 -75
  83. package/lib/exercises/calculLitteral/equation/firstDegreeEquation.d.ts +7 -7
  84. package/lib/exercises/calculLitteral/equation/firstDegreeEquation.js +58 -58
  85. package/lib/exercises/calculLitteral/equation/fractionEquation.d.ts +9 -9
  86. package/lib/exercises/calculLitteral/equation/fractionEquation.js +82 -82
  87. package/lib/exercises/calculLitteral/equation/index.d.ts +10 -10
  88. package/lib/exercises/calculLitteral/equation/index.js +26 -26
  89. package/lib/exercises/calculLitteral/equation/logEquation.d.ts +7 -7
  90. package/lib/exercises/calculLitteral/equation/logEquation.js +74 -74
  91. package/lib/exercises/calculLitteral/equation/multiplicationEquation.d.ts +9 -9
  92. package/lib/exercises/calculLitteral/equation/multiplicationEquation.js +78 -78
  93. package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.d.ts +7 -7
  94. package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.js +58 -58
  95. package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.d.ts +7 -7
  96. package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.js +60 -60
  97. package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.d.ts +7 -7
  98. package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.js +66 -66
  99. package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.d.ts +10 -10
  100. package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.js +91 -91
  101. package/lib/exercises/calculLitteral/factorisation/index.d.ts +4 -4
  102. package/lib/exercises/calculLitteral/factorisation/index.js +20 -20
  103. package/lib/exercises/calculLitteral/index.d.ts +5 -5
  104. package/lib/exercises/calculLitteral/index.js +21 -21
  105. package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType0.d.ts +8 -8
  106. package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType0.js +68 -68
  107. package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType1.d.ts +8 -8
  108. package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType1.js +80 -80
  109. package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType2.d.ts +9 -9
  110. package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType2.js +83 -83
  111. package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType3.d.ts +11 -11
  112. package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType3.js +92 -92
  113. package/lib/exercises/calculLitteral/inequations/index.d.ts +4 -4
  114. package/lib/exercises/calculLitteral/inequations/index.js +20 -20
  115. package/lib/exercises/calculLitteral/simplifying/evaluateExpression.d.ts +9 -9
  116. package/lib/exercises/calculLitteral/simplifying/evaluateExpression.js +63 -63
  117. package/lib/exercises/calculLitteral/simplifying/expSimplifiying.d.ts +9 -9
  118. package/lib/exercises/calculLitteral/simplifying/expSimplifiying.js +116 -116
  119. package/lib/exercises/calculLitteral/simplifying/index.d.ts +4 -4
  120. package/lib/exercises/calculLitteral/simplifying/index.js +20 -20
  121. package/lib/exercises/calculLitteral/simplifying/logSimplifiying.d.ts +8 -8
  122. package/lib/exercises/calculLitteral/simplifying/logSimplifiying.js +77 -77
  123. package/lib/exercises/calculLitteral/simplifying/reduceExpression.d.ts +8 -8
  124. package/lib/exercises/calculLitteral/simplifying/reduceExpression.js +114 -114
  125. package/lib/exercises/combinatory/anagrams.d.ts +6 -6
  126. package/lib/exercises/combinatory/anagrams.js +161 -161
  127. package/lib/exercises/combinatory/ballsCounting.d.ts +9 -9
  128. package/lib/exercises/combinatory/ballsCounting.js +110 -110
  129. package/lib/exercises/combinatory/diceCounting.d.ts +6 -6
  130. package/lib/exercises/combinatory/diceCounting.js +122 -122
  131. package/lib/exercises/combinatory/index.d.ts +3 -3
  132. package/lib/exercises/combinatory/index.js +19 -19
  133. package/lib/exercises/complex/addComplex.d.ts +9 -9
  134. package/lib/exercises/complex/addComplex.js +64 -64
  135. package/lib/exercises/complex/argumentFromAlgebraicComplex.js +52 -52
  136. package/lib/exercises/complex/conjugateComplex.ts.d.ts +7 -7
  137. package/lib/exercises/complex/conjugateComplex.ts.js +54 -54
  138. package/lib/exercises/complex/conjugateDivideComplex.d.ts +7 -7
  139. package/lib/exercises/complex/conjugateDivideComplex.js +61 -61
  140. package/lib/exercises/complex/conjugateMultiplyComplex.d.ts +7 -7
  141. package/lib/exercises/complex/conjugateMultiplyComplex.js +61 -61
  142. package/lib/exercises/complex/divideComplex.d.ts +7 -7
  143. package/lib/exercises/complex/divideComplex.js +58 -58
  144. package/lib/exercises/complex/index.d.ts +10 -10
  145. package/lib/exercises/complex/index.js +27 -27
  146. package/lib/exercises/complex/inverseComplex.d.ts +7 -7
  147. package/lib/exercises/complex/inverseComplex.js +54 -54
  148. package/lib/exercises/complex/linearCombinaisonComplex.d.ts +9 -9
  149. package/lib/exercises/complex/linearCombinaisonComplex.js +59 -59
  150. package/lib/exercises/complex/moduloFromAlgebraicComplex.d.ts +7 -7
  151. package/lib/exercises/complex/moduloFromAlgebraicComplex.js +55 -55
  152. package/lib/exercises/complex/mutiplyComplex.d.ts +7 -7
  153. package/lib/exercises/complex/mutiplyComplex.js +58 -58
  154. package/lib/exercises/complex/reAndIm.d.ts +8 -8
  155. package/lib/exercises/complex/reAndIm.js +50 -50
  156. package/lib/exercises/conversion/aeraConversion.d.ts +8 -8
  157. package/lib/exercises/conversion/aeraConversion.js +60 -60
  158. package/lib/exercises/conversion/capacityConversion.d.ts +8 -8
  159. package/lib/exercises/conversion/capacityConversion.js +58 -58
  160. package/lib/exercises/conversion/index.d.ts +6 -6
  161. package/lib/exercises/conversion/index.js +22 -22
  162. package/lib/exercises/conversion/lengthConversion.d.ts +8 -8
  163. package/lib/exercises/conversion/lengthConversion.js +58 -58
  164. package/lib/exercises/conversion/massConversion.d.ts +8 -8
  165. package/lib/exercises/conversion/massConversion.js +58 -58
  166. package/lib/exercises/conversion/volumeCapacityConversion.d.ts +9 -9
  167. package/lib/exercises/conversion/volumeCapacityConversion.js +74 -74
  168. package/lib/exercises/conversion/volumeConversion.d.ts +8 -8
  169. package/lib/exercises/conversion/volumeConversion.js +60 -60
  170. package/lib/exercises/derivation/derivative/constanteDerivative.d.ts +9 -9
  171. package/lib/exercises/derivation/derivative/constanteDerivative.js +54 -54
  172. package/lib/exercises/derivation/derivative/expDerivativeOne.d.ts +7 -7
  173. package/lib/exercises/derivation/derivative/expDerivativeOne.d.ts.map +1 -1
  174. package/lib/exercises/derivation/derivative/expDerivativeOne.js +62 -61
  175. package/lib/exercises/derivation/derivative/expDerivativeThree.d.ts +7 -7
  176. package/lib/exercises/derivation/derivative/expDerivativeThree.js +55 -55
  177. package/lib/exercises/derivation/derivative/expDerivativeTwo.d.ts +7 -7
  178. package/lib/exercises/derivation/derivative/expDerivativeTwo.js +57 -57
  179. package/lib/exercises/derivation/derivative/firstDegreeDerivative.d.ts +10 -10
  180. package/lib/exercises/derivation/derivative/firstDegreeDerivative.js +52 -52
  181. package/lib/exercises/derivation/derivative/index.d.ts +17 -17
  182. package/lib/exercises/derivation/derivative/index.js +38 -38
  183. package/lib/exercises/derivation/derivative/inverseFunctionDerivative.d.ts +6 -6
  184. package/lib/exercises/derivation/derivative/inverseFunctionDerivative.js +55 -55
  185. package/lib/exercises/derivation/derivative/lnDerivativeOne.d.ts +7 -7
  186. package/lib/exercises/derivation/derivative/lnDerivativeOne.js +68 -68
  187. package/lib/exercises/derivation/derivative/lnDerivativeThree.d.ts +7 -7
  188. package/lib/exercises/derivation/derivative/lnDerivativeThree.js +83 -83
  189. package/lib/exercises/derivation/derivative/lnDerivativeTwo.d.ts +7 -7
  190. package/lib/exercises/derivation/derivative/lnDerivativeTwo.js +60 -60
  191. package/lib/exercises/derivation/derivative/powerFunctionDerivative.d.ts +7 -7
  192. package/lib/exercises/derivation/derivative/powerFunctionDerivative.js +71 -71
  193. package/lib/exercises/derivation/derivative/productDerivative.d.ts +7 -7
  194. package/lib/exercises/derivation/derivative/productDerivative.js +59 -59
  195. package/lib/exercises/derivation/derivative/quotientDerivative.d.ts +7 -7
  196. package/lib/exercises/derivation/derivative/quotientDerivative.js +84 -84
  197. package/lib/exercises/derivation/derivative/rootFunctionDerivative.d.ts +6 -6
  198. package/lib/exercises/derivation/derivative/rootFunctionDerivative.js +78 -78
  199. package/lib/exercises/derivation/derivative/secondDegreeDerivative.d.ts +9 -9
  200. package/lib/exercises/derivation/derivative/secondDegreeDerivative.js +74 -74
  201. package/lib/exercises/derivation/derivative/thirdDegreeDerivative.d.ts +9 -9
  202. package/lib/exercises/derivation/derivative/thirdDegreeDerivative.js +81 -81
  203. package/lib/exercises/derivation/derivative/thirdDegreeFunctionVariation.d.ts +9 -9
  204. package/lib/exercises/derivation/derivative/thirdDegreeFunctionVariation.js +99 -99
  205. package/lib/exercises/derivation/derivative/usualderivative.d.ts +10 -10
  206. package/lib/exercises/derivation/derivative/usualderivative.js +108 -108
  207. package/lib/exercises/derivation/derivativeNumberCalcul.d.ts +7 -7
  208. package/lib/exercises/derivation/derivativeNumberCalcul.js +48 -48
  209. package/lib/exercises/derivation/derivativeNumberReading.d.ts +7 -7
  210. package/lib/exercises/derivation/derivativeNumberReading.js +85 -85
  211. package/lib/exercises/derivation/index.d.ts +3 -3
  212. package/lib/exercises/derivation/index.js +19 -19
  213. package/lib/exercises/equaDiff/equaDiffGeneralForme.d.ts +6 -6
  214. package/lib/exercises/equaDiff/equaDiffGeneralForme.js +58 -58
  215. package/lib/exercises/equaDiff/equaDiffGeneralFormeWithIC.d.ts +7 -7
  216. package/lib/exercises/equaDiff/equaDiffGeneralFormeWithIC.js +68 -68
  217. package/lib/exercises/equaDiff/index.d.ts +2 -2
  218. package/lib/exercises/equaDiff/index.js +18 -18
  219. package/lib/exercises/exercise.d.ts +50 -50
  220. package/lib/exercises/exercise.js +38 -38
  221. package/lib/exercises/functions/absolute/absoluteValueEquations.d.ts +7 -7
  222. package/lib/exercises/functions/absolute/absoluteValueEquations.js +74 -74
  223. package/lib/exercises/functions/absolute/absoluteValueInequations.d.ts +8 -8
  224. package/lib/exercises/functions/absolute/absoluteValueInequations.js +69 -69
  225. package/lib/exercises/functions/absolute/index.d.ts +2 -2
  226. package/lib/exercises/functions/absolute/index.js +18 -18
  227. package/lib/exercises/functions/affines/index.d.ts +4 -4
  228. package/lib/exercises/functions/affines/index.js +20 -20
  229. package/lib/exercises/functions/affines/leadingCoefficient.d.ts +9 -9
  230. package/lib/exercises/functions/affines/leadingCoefficient.js +83 -83
  231. package/lib/exercises/functions/affines/leadingCoefficientCalculV1.d.ts +9 -9
  232. package/lib/exercises/functions/affines/leadingCoefficientCalculV1.js +55 -55
  233. package/lib/exercises/functions/affines/leadingCoefficientCalculV2.d.ts +9 -9
  234. package/lib/exercises/functions/affines/leadingCoefficientCalculV2.js +54 -54
  235. package/lib/exercises/functions/affines/signFunction.d.ts +8 -8
  236. package/lib/exercises/functions/affines/signFunction.js +83 -83
  237. package/lib/exercises/functions/basics/imageFunction.d.ts +9 -9
  238. package/lib/exercises/functions/basics/imageFunction.js +64 -64
  239. package/lib/exercises/functions/basics/imageFunctionGeogebra.d.ts +9 -9
  240. package/lib/exercises/functions/basics/imageFunctionGeogebra.js +91 -91
  241. package/lib/exercises/functions/basics/index.d.ts +4 -4
  242. package/lib/exercises/functions/basics/index.js +20 -20
  243. package/lib/exercises/functions/basics/inverseImageFunction.d.ts +7 -7
  244. package/lib/exercises/functions/basics/inverseImageFunction.js +52 -52
  245. package/lib/exercises/functions/basics/inverseImageFunctionGeogebra.d.ts +10 -8
  246. package/lib/exercises/functions/basics/inverseImageFunctionGeogebra.d.ts.map +1 -1
  247. package/lib/exercises/functions/basics/inverseImageFunctionGeogebra.js +181 -166
  248. package/lib/exercises/functions/cube/cubicEquation.d.ts +6 -6
  249. package/lib/exercises/functions/cube/cubicEquation.js +55 -55
  250. package/lib/exercises/functions/cube/index.d.ts +1 -1
  251. package/lib/exercises/functions/cube/index.js +17 -17
  252. package/lib/exercises/functions/index.d.ts +6 -6
  253. package/lib/exercises/functions/index.js +22 -22
  254. package/lib/exercises/functions/rationalFraction/index.d.ts +1 -1
  255. package/lib/exercises/functions/rationalFraction/index.js +17 -17
  256. package/lib/exercises/functions/rationalFraction/rationalFractionForbiddenValue.d.ts +9 -9
  257. package/lib/exercises/functions/rationalFraction/rationalFractionForbiddenValue.js +64 -64
  258. package/lib/exercises/functions/trinoms/alphaBetaFromDevForm.d.ts +7 -7
  259. package/lib/exercises/functions/trinoms/alphaBetaFromDevForm.js +51 -51
  260. package/lib/exercises/functions/trinoms/alphaBetaInCanonicalForm.d.ts +9 -9
  261. package/lib/exercises/functions/trinoms/alphaBetaInCanonicalForm.js +66 -66
  262. package/lib/exercises/functions/trinoms/canonicalFromDevForm.d.ts +8 -8
  263. package/lib/exercises/functions/trinoms/canonicalFromDevForm.js +52 -52
  264. package/lib/exercises/functions/trinoms/deltaTrinom.d.ts +8 -8
  265. package/lib/exercises/functions/trinoms/deltaTrinom.js +52 -52
  266. package/lib/exercises/functions/trinoms/extremumFromCanonicalForm.d.ts +8 -8
  267. package/lib/exercises/functions/trinoms/extremumFromCanonicalForm.js +57 -57
  268. package/lib/exercises/functions/trinoms/extremumTypeFromAlgebricForm.d.ts +8 -8
  269. package/lib/exercises/functions/trinoms/extremumTypeFromAlgebricForm.js +43 -43
  270. package/lib/exercises/functions/trinoms/index.d.ts +10 -10
  271. package/lib/exercises/functions/trinoms/index.js +26 -26
  272. package/lib/exercises/functions/trinoms/niceRootsFromDevForm.d.ts +8 -8
  273. package/lib/exercises/functions/trinoms/niceRootsFromDevForm.js +56 -56
  274. package/lib/exercises/functions/trinoms/rootsFromDevForm.d.ts +8 -8
  275. package/lib/exercises/functions/trinoms/rootsFromDevForm.js +56 -56
  276. package/lib/exercises/functions/trinoms/rootsFromFactorizedForm.d.ts +8 -8
  277. package/lib/exercises/functions/trinoms/rootsFromFactorizedForm.js +70 -70
  278. package/lib/exercises/functions/trinoms/variationsFromAlgebricForm.d.ts +8 -8
  279. package/lib/exercises/functions/trinoms/variationsFromAlgebricForm.js +44 -44
  280. package/lib/exercises/geometry/areas/circleArea.d.ts +8 -8
  281. package/lib/exercises/geometry/areas/circleArea.js +52 -52
  282. package/lib/exercises/geometry/areas/index.d.ts +6 -6
  283. package/lib/exercises/geometry/areas/index.js +22 -22
  284. package/lib/exercises/geometry/areas/rectangleArea.d.ts +7 -7
  285. package/lib/exercises/geometry/areas/rectangleArea.js +46 -46
  286. package/lib/exercises/geometry/areas/rightTriangleArea.d.ts +6 -6
  287. package/lib/exercises/geometry/areas/rightTriangleArea.js +75 -75
  288. package/lib/exercises/geometry/areas/squareArea.d.ts +6 -6
  289. package/lib/exercises/geometry/areas/squareArea.js +46 -46
  290. package/lib/exercises/geometry/areas/triangleArea.d.ts +4 -4
  291. package/lib/exercises/geometry/areas/triangleArea.js +97 -97
  292. package/lib/exercises/geometry/areas/triangleAreaV2.d.ts +6 -6
  293. package/lib/exercises/geometry/areas/triangleAreaV2.js +71 -71
  294. package/lib/exercises/geometry/cartesian/distanceBetweenTwoPoints.d.ts +7 -7
  295. package/lib/exercises/geometry/cartesian/distanceBetweenTwoPoints.js +95 -95
  296. package/lib/exercises/geometry/cartesian/index.d.ts +2 -2
  297. package/lib/exercises/geometry/cartesian/index.js +18 -18
  298. package/lib/exercises/geometry/cartesian/midpoint.d.ts +7 -7
  299. package/lib/exercises/geometry/cartesian/midpoint.js +63 -63
  300. package/lib/exercises/geometry/index.d.ts +6 -6
  301. package/lib/exercises/geometry/index.js +22 -22
  302. package/lib/exercises/geometry/perimeters/circleCircumference.d.ts +8 -8
  303. package/lib/exercises/geometry/perimeters/circleCircumference.js +52 -52
  304. package/lib/exercises/geometry/perimeters/index.d.ts +4 -4
  305. package/lib/exercises/geometry/perimeters/index.js +20 -20
  306. package/lib/exercises/geometry/perimeters/rectanglePerimeter.d.ts +7 -7
  307. package/lib/exercises/geometry/perimeters/rectanglePerimeter.js +46 -46
  308. package/lib/exercises/geometry/perimeters/squarePerimeter.d.ts +6 -6
  309. package/lib/exercises/geometry/perimeters/squarePerimeter.js +46 -46
  310. package/lib/exercises/geometry/perimeters/trianglePerimeter.d.ts +6 -6
  311. package/lib/exercises/geometry/perimeters/trianglePerimeter.js +46 -46
  312. package/lib/exercises/geometry/pythagore/index.d.ts +2 -2
  313. package/lib/exercises/geometry/pythagore/index.js +18 -18
  314. package/lib/exercises/geometry/pythagore/pythagore.d.ts +8 -8
  315. package/lib/exercises/geometry/pythagore/pythagore.js +65 -65
  316. package/lib/exercises/geometry/pythagore/pythagoreCalcul.d.ts +7 -7
  317. package/lib/exercises/geometry/pythagore/pythagoreCalcul.js +102 -102
  318. package/lib/exercises/geometry/thales/index.d.ts +2 -2
  319. package/lib/exercises/geometry/thales/index.js +18 -18
  320. package/lib/exercises/geometry/thales/thales.d.ts +6 -6
  321. package/lib/exercises/geometry/thales/thales.js +128 -128
  322. package/lib/exercises/geometry/thales/thalesCalcul.d.ts +9 -9
  323. package/lib/exercises/geometry/thales/thalesCalcul.js +145 -145
  324. package/lib/exercises/geometry/vectors/chasles.d.ts +7 -7
  325. package/lib/exercises/geometry/vectors/chasles.js +63 -63
  326. package/lib/exercises/geometry/vectors/coordinatesReading.d.ts +9 -9
  327. package/lib/exercises/geometry/vectors/coordinatesReading.js +66 -66
  328. package/lib/exercises/geometry/vectors/determinant.d.ts +7 -7
  329. package/lib/exercises/geometry/vectors/determinant.js +54 -54
  330. package/lib/exercises/geometry/vectors/index.d.ts +5 -5
  331. package/lib/exercises/geometry/vectors/index.js +21 -21
  332. package/lib/exercises/geometry/vectors/scalarProductViaCoords.d.ts +7 -7
  333. package/lib/exercises/geometry/vectors/scalarProductViaCoords.js +52 -52
  334. package/lib/exercises/geometry/vectors/vectorCoordinatesFromTwoPoints.d.ts +7 -7
  335. package/lib/exercises/geometry/vectors/vectorCoordinatesFromTwoPoints.js +52 -52
  336. package/lib/exercises/index.d.ts +18 -18
  337. package/lib/exercises/index.js +34 -34
  338. package/lib/exercises/limits/index.d.ts +9 -9
  339. package/lib/exercises/limits/index.js +25 -25
  340. package/lib/exercises/limits/polynomLimit.d.ts +7 -7
  341. package/lib/exercises/limits/polynomLimit.js +53 -53
  342. package/lib/exercises/limits/polynomLimitNoFI.d.ts +7 -7
  343. package/lib/exercises/limits/polynomLimitNoFI.js +53 -53
  344. package/lib/exercises/limits/rationalFracForbiddenValueLimit.d.ts +8 -8
  345. package/lib/exercises/limits/rationalFracForbiddenValueLimit.js +73 -73
  346. package/lib/exercises/limits/rationalFracLimit.d.ts +8 -8
  347. package/lib/exercises/limits/rationalFracLimit.js +101 -101
  348. package/lib/exercises/limits/sequenceGeometricLimit.d.ts +7 -7
  349. package/lib/exercises/limits/sequenceGeometricLimit.js +51 -51
  350. package/lib/exercises/limits/sequencePolynomLimit.d.ts +6 -6
  351. package/lib/exercises/limits/sequencePolynomLimit.js +52 -52
  352. package/lib/exercises/limits/sequencePolynomNoFILimit.d.ts +6 -6
  353. package/lib/exercises/limits/sequencePolynomNoFILimit.js +52 -52
  354. package/lib/exercises/limits/sequencePolynomProductLimit.d.ts +7 -7
  355. package/lib/exercises/limits/sequencePolynomProductLimit.js +70 -70
  356. package/lib/exercises/limits/sequenceRationalFracLimit.d.ts +7 -7
  357. package/lib/exercises/limits/sequenceRationalFracLimit.js +100 -100
  358. package/lib/exercises/percent/applyPercent.d.ts +8 -8
  359. package/lib/exercises/percent/applyPercent.js +78 -78
  360. package/lib/exercises/percent/averageEvolutionRate.d.ts +7 -7
  361. package/lib/exercises/percent/averageEvolutionRate.js +54 -54
  362. package/lib/exercises/percent/evolutionToCM.d.ts +7 -7
  363. package/lib/exercises/percent/evolutionToCM.js +64 -64
  364. package/lib/exercises/percent/globalPercent.d.ts +6 -6
  365. package/lib/exercises/percent/globalPercent.d.ts.map +1 -1
  366. package/lib/exercises/percent/globalPercent.js +71 -71
  367. package/lib/exercises/percent/index.d.ts +5 -5
  368. package/lib/exercises/percent/index.js +21 -21
  369. package/lib/exercises/percent/reciprocalPercentage.d.ts +7 -7
  370. package/lib/exercises/percent/reciprocalPercentage.d.ts.map +1 -1
  371. package/lib/exercises/percent/reciprocalPercentage.js +61 -61
  372. package/lib/exercises/powers/calculateNegativePower.d.ts +7 -7
  373. package/lib/exercises/powers/calculateNegativePower.js +73 -73
  374. package/lib/exercises/powers/calculatePower.d.ts +7 -7
  375. package/lib/exercises/powers/calculatePower.js +65 -65
  376. package/lib/exercises/powers/decimalToScientific.d.ts +6 -6
  377. package/lib/exercises/powers/decimalToScientific.js +76 -76
  378. package/lib/exercises/powers/index.d.ts +9 -9
  379. package/lib/exercises/powers/index.js +25 -25
  380. package/lib/exercises/powers/powerDefinition.d.ts +7 -7
  381. package/lib/exercises/powers/powerDefinition.js +55 -55
  382. package/lib/exercises/powers/powersDivision.d.ts +12 -12
  383. package/lib/exercises/powers/powersDivision.js +87 -87
  384. package/lib/exercises/powers/powersOfTenToDecimal.d.ts +9 -9
  385. package/lib/exercises/powers/powersOfTenToDecimal.js +72 -72
  386. package/lib/exercises/powers/powersPower.d.ts +12 -12
  387. package/lib/exercises/powers/powersPower.js +94 -94
  388. package/lib/exercises/powers/powersProduct.d.ts +12 -12
  389. package/lib/exercises/powers/powersProduct.js +89 -89
  390. package/lib/exercises/powers/scientificToDecimal.d.ts +10 -10
  391. package/lib/exercises/powers/scientificToDecimal.js +72 -72
  392. package/lib/exercises/primitive/constantPrimitive.d.ts +9 -9
  393. package/lib/exercises/primitive/constantPrimitive.js +56 -56
  394. package/lib/exercises/primitive/expUPrimitive.d.ts +9 -9
  395. package/lib/exercises/primitive/expUPrimitive.js +76 -76
  396. package/lib/exercises/primitive/exponentialPrimitive.d.ts +9 -9
  397. package/lib/exercises/primitive/exponentialPrimitive.js +72 -72
  398. package/lib/exercises/primitive/index.d.ts +8 -7
  399. package/lib/exercises/primitive/index.d.ts.map +1 -1
  400. package/lib/exercises/primitive/index.js +32 -31
  401. package/lib/exercises/primitive/logarithmePrimitive.d.ts +8 -8
  402. package/lib/exercises/primitive/logarithmePrimitive.js +79 -79
  403. package/lib/exercises/primitive/polynomialPrimitive.d.ts +9 -9
  404. package/lib/exercises/primitive/polynomialPrimitive.js +60 -60
  405. package/lib/exercises/primitive/sinCosPrimitive.d.ts +10 -10
  406. package/lib/exercises/primitive/sinCosPrimitive.js +79 -79
  407. package/lib/exercises/primitive/sinUCosUPrimitive.d.ts +10 -10
  408. package/lib/exercises/primitive/sinUCosUPrimitive.js +85 -85
  409. package/lib/exercises/primitive/usualPrimitives.d.ts +10 -10
  410. package/lib/exercises/primitive/usualPrimitives.js +108 -108
  411. package/lib/exercises/probaStat/ballsBasicProbas.d.ts +7 -7
  412. package/lib/exercises/probaStat/ballsBasicProbas.js +62 -62
  413. package/lib/exercises/probaStat/cardBasicProbas.d.ts +6 -6
  414. package/lib/exercises/probaStat/cardBasicProbas.js +104 -104
  415. package/lib/exercises/probaStat/conditionalProbability.d.ts +9 -9
  416. package/lib/exercises/probaStat/conditionalProbability.js +91 -91
  417. package/lib/exercises/probaStat/diceBasicProbas.d.ts +8 -8
  418. package/lib/exercises/probaStat/diceBasicProbas.js +77 -77
  419. package/lib/exercises/probaStat/index.d.ts +7 -7
  420. package/lib/exercises/probaStat/index.js +23 -23
  421. package/lib/exercises/probaStat/probabilityTree.d.ts +12 -12
  422. package/lib/exercises/probaStat/probabilityTree.js +140 -140
  423. package/lib/exercises/probaStat/stats1var/averageWithTable.d.ts +7 -7
  424. package/lib/exercises/probaStat/stats1var/averageWithTable.js +61 -61
  425. package/lib/exercises/probaStat/stats1var/index.d.ts +6 -6
  426. package/lib/exercises/probaStat/stats1var/index.js +22 -22
  427. package/lib/exercises/probaStat/stats1var/marginalAndConditionalFrequency.d.ts +10 -10
  428. package/lib/exercises/probaStat/stats1var/marginalAndConditionalFrequency.js +122 -122
  429. package/lib/exercises/probaStat/stats1var/median.d.ts +6 -6
  430. package/lib/exercises/probaStat/stats1var/median.js +64 -64
  431. package/lib/exercises/probaStat/stats1var/medianList.d.ts +6 -6
  432. package/lib/exercises/probaStat/stats1var/medianList.js +55 -55
  433. package/lib/exercises/probaStat/stats1var/quartiles.d.ts +8 -8
  434. package/lib/exercises/probaStat/stats1var/quartiles.js +77 -77
  435. package/lib/exercises/probaStat/stats1var/quartilesList.d.ts +7 -7
  436. package/lib/exercises/probaStat/stats1var/quartilesList.js +71 -71
  437. package/lib/exercises/probaStat/stats2var/averagePoint.d.ts +7 -7
  438. package/lib/exercises/probaStat/stats2var/averagePoint.js +65 -65
  439. package/lib/exercises/probaStat/stats2var/index.d.ts +1 -1
  440. package/lib/exercises/probaStat/stats2var/index.js +17 -17
  441. package/lib/exercises/sequences/arithmetic/arithmeticExplicitFormulaUsage.d.ts +8 -8
  442. package/lib/exercises/sequences/arithmetic/arithmeticExplicitFormulaUsage.js +48 -48
  443. package/lib/exercises/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts +7 -7
  444. package/lib/exercises/sequences/arithmetic/arithmeticFindExplicitFormula.js +55 -55
  445. package/lib/exercises/sequences/arithmetic/arithmeticFindReason.d.ts +8 -8
  446. package/lib/exercises/sequences/arithmetic/arithmeticFindReason.js +48 -48
  447. package/lib/exercises/sequences/arithmetic/arithmeticReasonUsage.d.ts +8 -8
  448. package/lib/exercises/sequences/arithmetic/arithmeticReasonUsage.js +47 -47
  449. package/lib/exercises/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts +8 -8
  450. package/lib/exercises/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.js +47 -47
  451. package/lib/exercises/sequences/arithmetic/arithmeticThresholdFind.d.ts +8 -8
  452. package/lib/exercises/sequences/arithmetic/arithmeticThresholdFind.js +57 -57
  453. package/lib/exercises/sequences/arithmetic/firstIntegersSum.d.ts +6 -6
  454. package/lib/exercises/sequences/arithmetic/firstIntegersSum.js +46 -46
  455. package/lib/exercises/sequences/arithmetic/index.d.ts +7 -7
  456. package/lib/exercises/sequences/arithmetic/index.js +23 -23
  457. package/lib/exercises/sequences/explicitFormulaUsage.d.ts +7 -7
  458. package/lib/exercises/sequences/explicitFormulaUsage.js +50 -50
  459. package/lib/exercises/sequences/genericSequenceVariations.d.ts +6 -6
  460. package/lib/exercises/sequences/genericSequenceVariations.js +52 -52
  461. package/lib/exercises/sequences/geometric/geometricExplicitFormulaUsage.d.ts +8 -8
  462. package/lib/exercises/sequences/geometric/geometricExplicitFormulaUsage.js +52 -52
  463. package/lib/exercises/sequences/geometric/geometricFindExplicitFormula.d.ts +7 -7
  464. package/lib/exercises/sequences/geometric/geometricFindExplicitFormula.js +60 -60
  465. package/lib/exercises/sequences/geometric/geometricFindReason.d.ts +8 -8
  466. package/lib/exercises/sequences/geometric/geometricFindReason.js +51 -51
  467. package/lib/exercises/sequences/geometric/geometricFirstTermsSum.d.ts +7 -7
  468. package/lib/exercises/sequences/geometric/geometricFirstTermsSum.js +55 -55
  469. package/lib/exercises/sequences/geometric/geometricReasonUsage.d.ts +8 -8
  470. package/lib/exercises/sequences/geometric/geometricReasonUsage.js +49 -49
  471. package/lib/exercises/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts +8 -8
  472. package/lib/exercises/sequences/geometric/geometricRecurrenceFormulaUsage.js +49 -49
  473. package/lib/exercises/sequences/geometric/index.d.ts +6 -6
  474. package/lib/exercises/sequences/geometric/index.js +22 -22
  475. package/lib/exercises/sequences/index.d.ts +5 -5
  476. package/lib/exercises/sequences/index.js +21 -21
  477. package/lib/exercises/sequences/recurrenceFormulaUsage.d.ts +8 -8
  478. package/lib/exercises/sequences/recurrenceFormulaUsage.js +55 -55
  479. package/lib/exercises/sets/index.d.ts +2 -2
  480. package/lib/exercises/sets/index.js +18 -18
  481. package/lib/exercises/sets/intervals/index.d.ts +3 -3
  482. package/lib/exercises/sets/intervals/index.js +19 -19
  483. package/lib/exercises/sets/intervals/inequalityToInterval.d.ts +7 -7
  484. package/lib/exercises/sets/intervals/inequalityToInterval.js +145 -145
  485. package/lib/exercises/sets/intervals/intervalsIntersection.d.ts +7 -7
  486. package/lib/exercises/sets/intervals/intervalsIntersection.js +56 -56
  487. package/lib/exercises/sets/intervals/intervalsUnion.d.ts +7 -7
  488. package/lib/exercises/sets/intervals/intervalsUnion.js +48 -48
  489. package/lib/exercises/sets/setBelonging.d.ts +7 -7
  490. package/lib/exercises/sets/setBelonging.js +84 -84
  491. package/lib/exercises/squareRoots/index.d.ts +2 -2
  492. package/lib/exercises/squareRoots/index.js +18 -18
  493. package/lib/exercises/squareRoots/simpifySquareRoot.d.ts +6 -6
  494. package/lib/exercises/squareRoots/simpifySquareRoot.js +54 -54
  495. package/lib/exercises/squareRoots/squareRootEquation.d.ts +6 -6
  496. package/lib/exercises/squareRoots/squareRootEquation.js +54 -54
  497. package/lib/exercises/trigonometry/index.d.ts +5 -5
  498. package/lib/exercises/trigonometry/index.js +21 -21
  499. package/lib/exercises/trigonometry/mainRemarkableValues.d.ts +7 -7
  500. package/lib/exercises/trigonometry/mainRemarkableValues.js +69 -69
  501. package/lib/exercises/trigonometry/remarkableValues.d.ts +7 -7
  502. package/lib/exercises/trigonometry/remarkableValues.js +70 -70
  503. package/lib/exercises/trigonometry/trigonometry.d.ts +10 -10
  504. package/lib/exercises/trigonometry/trigonometry.js +114 -114
  505. package/lib/exercises/trigonometry/trigonometryAngleCalcul.d.ts +8 -8
  506. package/lib/exercises/trigonometry/trigonometryAngleCalcul.js +73 -73
  507. package/lib/exercises/trigonometry/trigonometrySideCalcul.d.ts +9 -9
  508. package/lib/exercises/trigonometry/trigonometrySideCalcul.js +85 -85
  509. package/lib/exercises/utils/cardsData.d.ts +21 -21
  510. package/lib/exercises/utils/cardsData.js +26 -26
  511. package/lib/exercises/utils/geogebra/getAdaptedCoords.js +1 -1
  512. package/lib/exercises/utils/getDistinctQuestions.d.ts +10 -10
  513. package/lib/exercises/utils/getDistinctQuestions.js +37 -37
  514. package/lib/exercises/utils/keys/equationKeys.d.ts +2 -2
  515. package/lib/exercises/utils/keys/equationKeys.js +12 -12
  516. package/lib/exercises/utils/keys/inequationKeys.d.ts +2 -2
  517. package/lib/exercises/utils/keys/inequationKeys.js +17 -17
  518. package/lib/index.d.ts +697 -692
  519. package/lib/index.d.ts.map +1 -1
  520. package/lib/index.js +61 -61
  521. package/lib/math/complex/complex.d.ts +24 -24
  522. package/lib/math/complex/complex.js +104 -104
  523. package/lib/math/geometry/point.d.ts +31 -31
  524. package/lib/math/geometry/point.js +73 -73
  525. package/lib/math/geometry/triangles.d.ts +53 -53
  526. package/lib/math/geometry/triangles.js +183 -183
  527. package/lib/math/geometry/vector.d.ts +17 -17
  528. package/lib/math/geometry/vector.js +49 -49
  529. package/lib/math/numbers/decimals/decimal.d.ts +27 -27
  530. package/lib/math/numbers/decimals/decimal.js +187 -187
  531. package/lib/math/numbers/epsilon.d.ts +1 -1
  532. package/lib/math/numbers/epsilon.js +10 -10
  533. package/lib/math/numbers/integer/integer.d.ts +20 -20
  534. package/lib/math/numbers/integer/integer.js +111 -111
  535. package/lib/math/numbers/integer/power.d.ts +13 -13
  536. package/lib/math/numbers/integer/power.js +52 -52
  537. package/lib/math/numbers/integer/primes.d.ts +1 -1
  538. package/lib/math/numbers/integer/primes.js +7 -7
  539. package/lib/math/numbers/nombre.d.ts +17 -17
  540. package/lib/math/numbers/nombre.js +37 -37
  541. package/lib/math/numbers/rationals/rational.d.ts +28 -28
  542. package/lib/math/numbers/rationals/rational.js +132 -132
  543. package/lib/math/numbers/reals/extendedRingElement.d.ts +14 -14
  544. package/lib/math/numbers/reals/extendedRingElement.js +41 -41
  545. package/lib/math/numbers/reals/real.d.ts +31 -31
  546. package/lib/math/numbers/reals/real.js +114 -114
  547. package/lib/math/polynomials/affine.d.ts +15 -15
  548. package/lib/math/polynomials/affine.js +44 -44
  549. package/lib/math/polynomials/monom.d.ts +4 -4
  550. package/lib/math/polynomials/monom.js +14 -14
  551. package/lib/math/polynomials/polynomial.d.ts +45 -45
  552. package/lib/math/polynomials/polynomial.js +379 -377
  553. package/lib/math/polynomials/rationalFrac.d.ts +11 -11
  554. package/lib/math/polynomials/rationalFrac.d.ts.map +1 -1
  555. package/lib/math/polynomials/rationalFrac.js +50 -50
  556. package/lib/math/polynomials/trinom.d.ts +29 -29
  557. package/lib/math/polynomials/trinom.d.ts.map +1 -1
  558. package/lib/math/polynomials/trinom.js +176 -176
  559. package/lib/math/sequences/arithmeticSequence.js +1 -1
  560. package/lib/math/sequences/geometricSequence.d.ts +13 -13
  561. package/lib/math/sequences/geometricSequence.js +76 -76
  562. package/lib/math/sequences/sequence.d.ts +24 -24
  563. package/lib/math/sequences/sequence.js +22 -22
  564. package/lib/math/sets/discreteSet.d.ts +10 -10
  565. package/lib/math/sets/discreteSet.js +28 -28
  566. package/lib/math/sets/emptySet.js +6 -6
  567. package/lib/math/sets/intervals/intervals.d.ts +35 -35
  568. package/lib/math/sets/intervals/intervals.js +261 -261
  569. package/lib/math/sets/mathSet.d.ts +8 -8
  570. package/lib/math/sets/mathSet.js +11 -11
  571. package/lib/math/sets/mathSetInterface.d.ts +6 -6
  572. package/lib/math/sets/mathSetInterface.js +2 -2
  573. package/lib/math/trigonometry/remarkableValue.d.ts +15 -15
  574. package/lib/math/trigonometry/remarkableValue.js +40 -40
  575. package/lib/math/trigonometry/remarkableValues.d.ts +2 -2
  576. package/lib/math/trigonometry/remarkableValues.js +67 -67
  577. package/lib/math/utils/arithmetic/coprimesOf.d.ts +1 -1
  578. package/lib/math/utils/arithmetic/coprimesOf.js +13 -13
  579. package/lib/math/utils/arithmetic/dividersOf.d.ts +1 -1
  580. package/lib/math/utils/arithmetic/dividersOf.js +12 -12
  581. package/lib/math/utils/arithmetic/gcd.d.ts +1 -1
  582. package/lib/math/utils/arithmetic/gcd.d.ts.map +1 -1
  583. package/lib/math/utils/arithmetic/gcd.js +13 -7
  584. package/lib/math/utils/arithmetic/isSquare.d.ts +1 -1
  585. package/lib/math/utils/arithmetic/isSquare.js +7 -7
  586. package/lib/math/utils/arithmetic/lcd.d.ts +1 -1
  587. package/lib/math/utils/arithmetic/lcd.js +12 -12
  588. package/lib/math/utils/arithmetic/nonCoprimesOf.d.ts +1 -1
  589. package/lib/math/utils/arithmetic/nonCoprimesOf.js +13 -13
  590. package/lib/math/utils/arithmetic/nonDividersOf.d.ts +1 -1
  591. package/lib/math/utils/arithmetic/nonDividersOf.js +14 -14
  592. package/lib/math/utils/arithmetic/primeFactors.d.ts +5 -5
  593. package/lib/math/utils/arithmetic/primeFactors.js +22 -22
  594. package/lib/math/utils/decimals/decimalPartLengthOf.d.ts +1 -1
  595. package/lib/math/utils/decimals/decimalPartLengthOf.js +14 -14
  596. package/lib/math/utils/latex/frenchify.d.ts +1 -1
  597. package/lib/math/utils/latex/frenchify.js +9 -9
  598. package/lib/math/utils/random/randTupleInt.d.ts +13 -13
  599. package/lib/math/utils/random/randTupleInt.js +30 -30
  600. package/lib/math/utils/random/randint.d.ts +4 -4
  601. package/lib/math/utils/random/randint.js +18 -18
  602. package/lib/math/utils/round.d.ts +1 -1
  603. package/lib/math/utils/round.js +8 -8
  604. package/lib/server.d.ts +2 -2
  605. package/lib/server.js +109 -117
  606. package/lib/tree/nodes/algebraicNode.d.ts +3 -3
  607. package/lib/tree/nodes/algebraicNode.js +5 -5
  608. package/lib/tree/nodes/complex/complexNode.d.ts +12 -13
  609. package/lib/tree/nodes/complex/complexNode.d.ts.map +1 -1
  610. package/lib/tree/nodes/complex/complexNode.js +43 -46
  611. package/lib/tree/nodes/equations/equalNode.d.ts +12 -13
  612. package/lib/tree/nodes/equations/equalNode.d.ts.map +1 -1
  613. package/lib/tree/nodes/equations/equalNode.js +38 -41
  614. package/lib/tree/nodes/equations/equationSolutionNode.d.ts +20 -20
  615. package/lib/tree/nodes/equations/equationSolutionNode.js +44 -44
  616. package/lib/tree/nodes/equations/multiEqualNode.d.ts +13 -13
  617. package/lib/tree/nodes/equations/multiEqualNode.js +39 -39
  618. package/lib/tree/nodes/functions/absNode.d.ts +15 -16
  619. package/lib/tree/nodes/functions/absNode.d.ts.map +1 -1
  620. package/lib/tree/nodes/functions/absNode.js +41 -41
  621. package/lib/tree/nodes/functions/cosNode.d.ts +15 -16
  622. package/lib/tree/nodes/functions/cosNode.d.ts.map +1 -1
  623. package/lib/tree/nodes/functions/cosNode.js +41 -41
  624. package/lib/tree/nodes/functions/expNode.d.ts +16 -17
  625. package/lib/tree/nodes/functions/expNode.d.ts.map +1 -1
  626. package/lib/tree/nodes/functions/expNode.js +53 -53
  627. package/lib/tree/nodes/functions/functionNode.d.ts +16 -16
  628. package/lib/tree/nodes/functions/functionNode.js +18 -18
  629. package/lib/tree/nodes/functions/logNode.d.ts +16 -17
  630. package/lib/tree/nodes/functions/logNode.d.ts.map +1 -1
  631. package/lib/tree/nodes/functions/logNode.js +51 -51
  632. package/lib/tree/nodes/functions/oppositeNode.d.ts +20 -21
  633. package/lib/tree/nodes/functions/oppositeNode.d.ts.map +1 -1
  634. package/lib/tree/nodes/functions/oppositeNode.js +66 -85
  635. package/lib/tree/nodes/functions/sinNode.d.ts +15 -16
  636. package/lib/tree/nodes/functions/sinNode.d.ts.map +1 -1
  637. package/lib/tree/nodes/functions/sinNode.js +41 -41
  638. package/lib/tree/nodes/functions/sqrtNode.d.ts +15 -16
  639. package/lib/tree/nodes/functions/sqrtNode.d.ts.map +1 -1
  640. package/lib/tree/nodes/functions/sqrtNode.js +54 -54
  641. package/lib/tree/nodes/geometry/lengthNode.d.ts +13 -13
  642. package/lib/tree/nodes/geometry/lengthNode.js +33 -33
  643. package/lib/tree/nodes/geometry/pointNode.d.ts +14 -14
  644. package/lib/tree/nodes/geometry/pointNode.js +41 -41
  645. package/lib/tree/nodes/geometry/vectorNode.d.ts +13 -13
  646. package/lib/tree/nodes/geometry/vectorNode.js +30 -30
  647. package/lib/tree/nodes/inequations/inequationNode.d.ts +20 -20
  648. package/lib/tree/nodes/inequations/inequationNode.js +116 -116
  649. package/lib/tree/nodes/inequations/inequationSolutionNode.d.ts +20 -20
  650. package/lib/tree/nodes/inequations/inequationSolutionNode.js +46 -46
  651. package/lib/tree/nodes/node.d.ts +33 -34
  652. package/lib/tree/nodes/node.d.ts.map +1 -1
  653. package/lib/tree/nodes/node.js +18 -18
  654. package/lib/tree/nodes/numbers/constantNode.d.ts +13 -14
  655. package/lib/tree/nodes/numbers/constantNode.d.ts.map +1 -1
  656. package/lib/tree/nodes/numbers/constantNode.js +32 -32
  657. package/lib/tree/nodes/numbers/infiniteNode.d.ts +4 -4
  658. package/lib/tree/nodes/numbers/infiniteNode.js +7 -7
  659. package/lib/tree/nodes/numbers/numberNode.d.ts +15 -15
  660. package/lib/tree/nodes/numbers/numberNode.d.ts.map +1 -1
  661. package/lib/tree/nodes/numbers/numberNode.js +37 -37
  662. package/lib/tree/nodes/numbers/percentNode.d.ts +11 -11
  663. package/lib/tree/nodes/numbers/percentNode.js +26 -26
  664. package/lib/tree/nodes/numbers/piNode.d.ts +2 -2
  665. package/lib/tree/nodes/numbers/piNode.js +5 -5
  666. package/lib/tree/nodes/operators/addNode.d.ts +18 -19
  667. package/lib/tree/nodes/operators/addNode.d.ts.map +1 -1
  668. package/lib/tree/nodes/operators/addNode.js +77 -80
  669. package/lib/tree/nodes/operators/divideNode.d.ts +19 -20
  670. package/lib/tree/nodes/operators/divideNode.d.ts.map +1 -1
  671. package/lib/tree/nodes/operators/divideNode.js +63 -66
  672. package/lib/tree/nodes/operators/fractionNode.d.ts +21 -22
  673. package/lib/tree/nodes/operators/fractionNode.d.ts.map +1 -1
  674. package/lib/tree/nodes/operators/fractionNode.js +67 -70
  675. package/lib/tree/nodes/operators/multiplyNode.d.ts +19 -20
  676. package/lib/tree/nodes/operators/multiplyNode.d.ts.map +1 -1
  677. package/lib/tree/nodes/operators/multiplyNode.js +193 -193
  678. package/lib/tree/nodes/operators/operatorNode.d.ts +20 -20
  679. package/lib/tree/nodes/operators/operatorNode.d.ts.map +1 -1
  680. package/lib/tree/nodes/operators/operatorNode.js +17 -17
  681. package/lib/tree/nodes/operators/powerNode.d.ts +19 -20
  682. package/lib/tree/nodes/operators/powerNode.d.ts.map +1 -1
  683. package/lib/tree/nodes/operators/powerNode.js +77 -80
  684. package/lib/tree/nodes/operators/substractNode.d.ts +14 -15
  685. package/lib/tree/nodes/operators/substractNode.d.ts.map +1 -1
  686. package/lib/tree/nodes/operators/substractNode.js +49 -52
  687. package/lib/tree/nodes/sets/belongsNode.d.ts +14 -14
  688. package/lib/tree/nodes/sets/belongsNode.js +36 -36
  689. package/lib/tree/nodes/sets/discreteSetNode.d.ts +14 -14
  690. package/lib/tree/nodes/sets/discreteSetNode.js +54 -54
  691. package/lib/tree/nodes/sets/intervalNode.d.ts +23 -23
  692. package/lib/tree/nodes/sets/intervalNode.js +71 -71
  693. package/lib/tree/nodes/sets/setNode.d.ts +3 -3
  694. package/lib/tree/nodes/sets/setNode.js +2 -2
  695. package/lib/tree/nodes/sets/unionIntervalNode.d.ts +19 -19
  696. package/lib/tree/nodes/sets/unionIntervalNode.js +44 -44
  697. package/lib/tree/nodes/variables/variableNode.d.ts +12 -12
  698. package/lib/tree/nodes/variables/variableNode.js +30 -30
  699. package/lib/tree/parsers/derivateParser.js +62 -62
  700. package/lib/tree/parsers/simplify.d.ts +0 -3
  701. package/lib/tree/parsers/simplify.d.ts.map +1 -1
  702. package/lib/tree/parsers/simplify.js +99 -76
  703. package/lib/tree/utilities/functionComposition.d.ts +4 -4
  704. package/lib/tree/utilities/functionComposition.js +14 -14
  705. package/lib/tree/utilities/operatorComposition.d.ts +4 -4
  706. package/lib/tree/utilities/operatorComposition.js +14 -14
  707. package/lib/types/class.d.ts +3 -3
  708. package/lib/types/class.js +2 -2
  709. package/lib/types/keyIds.d.ts +31 -29
  710. package/lib/types/keyIds.d.ts.map +1 -1
  711. package/lib/types/keyIds.js +2 -2
  712. package/lib/utils/arrayEqual.d.ts +1 -1
  713. package/lib/utils/arrayEqual.js +13 -13
  714. package/lib/utils/average.d.ts +1 -1
  715. package/lib/utils/average.js +9 -9
  716. package/lib/utils/cartesianProducts.d.ts +12 -12
  717. package/lib/utils/cartesianProducts.js +64 -64
  718. package/lib/utils/coinFlip.d.ts +1 -1
  719. package/lib/utils/coinFlip.js +7 -7
  720. package/lib/utils/diceFlip.d.ts +1 -1
  721. package/lib/utils/diceFlip.js +12 -12
  722. package/lib/utils/enumToArray.d.ts +7 -7
  723. package/lib/utils/enumToArray.js +16 -16
  724. package/lib/utils/isInt.d.ts +1 -1
  725. package/lib/utils/isInt.js +7 -7
  726. package/lib/utils/isLetter.d.ts +1 -1
  727. package/lib/utils/isLetter.js +7 -7
  728. package/lib/utils/permutations.d.ts +1 -1
  729. package/lib/utils/permutations.js +21 -21
  730. package/lib/utils/probaFlip.d.ts +6 -6
  731. package/lib/utils/probaFlip.js +12 -12
  732. package/lib/utils/probaLawFlip.d.ts +1 -1
  733. package/lib/utils/probaLawFlip.js +19 -19
  734. package/lib/utils/random.d.ts +1 -1
  735. package/lib/utils/random.js +7 -7
  736. package/lib/utils/randomEnumValue.d.ts +1 -1
  737. package/lib/utils/randomEnumValue.js +9 -9
  738. package/lib/utils/randomLetter.d.ts +1 -1
  739. package/lib/utils/randomLetter.js +9 -9
  740. package/lib/utils/shuffle.d.ts +1 -1
  741. package/lib/utils/shuffle.js +15 -15
  742. package/package.json +3 -4
@@ -1,76 +1,99 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.simplifyNode = exports.simplifyComplex = void 0;
4
- const mathjs_1 = require("mathjs");
5
- const oppositeNode_1 = require("../nodes/functions/oppositeNode");
6
- const sqrtNode_1 = require("../nodes/functions/sqrtNode");
7
- const numberNode_1 = require("../nodes/numbers/numberNode");
8
- const piNode_1 = require("../nodes/numbers/piNode");
9
- const addNode_1 = require("../nodes/operators/addNode");
10
- const fractionNode_1 = require("../nodes/operators/fractionNode");
11
- const multiplyNode_1 = require("../nodes/operators/multiplyNode");
12
- const powerNode_1 = require("../nodes/operators/powerNode");
13
- const substractNode_1 = require("../nodes/operators/substractNode");
14
- const variableNode_1 = require("../nodes/variables/variableNode");
15
- const logNode_1 = require("../nodes/functions/logNode");
16
- const expNode_1 = require("../nodes/functions/expNode");
17
- const cosNode_1 = require("../../tree/nodes/functions/cosNode");
18
- const sinNode_1 = require("../../tree/nodes/functions/sinNode");
19
- const complexNode_1 = require("../nodes/complex/complexNode");
20
- const simplifyComplex = (node) => {
21
- return mathjsComplexToNode((0, mathjs_1.complex)(node.toMathjs()));
22
- };
23
- exports.simplifyComplex = simplifyComplex;
24
- const mathjsComplexToNode = (complex) => {
25
- return new complexNode_1.ComplexNode(new numberNode_1.NumberNode(complex.re), new numberNode_1.NumberNode(complex.im));
26
- };
27
- const simplifyNode = (node) => {
28
- return mathjsNodeToNode((0, mathjs_1.simplify)(node.toMathString()));
29
- };
30
- exports.simplifyNode = simplifyNode;
31
- const mathjsNodeToNode = (mathjsNode) => {
32
- if (mathjsNode.isSymbolNode) {
33
- if (mathjsNode.name === "pi")
34
- return piNode_1.PiNode;
35
- return new variableNode_1.VariableNode(mathjsNode.name);
36
- }
37
- else if (mathjsNode.isConstantNode) {
38
- return new numberNode_1.NumberNode(mathjsNode.value);
39
- }
40
- else if (mathjsNode.isOperatorNode) {
41
- switch (mathjsNode.fn) {
42
- case "add":
43
- return new addNode_1.AddNode(mathjsNodeToNode(mathjsNode.args[0]), mathjsNodeToNode(mathjsNode.args[1]));
44
- case "subtract":
45
- return new substractNode_1.SubstractNode(mathjsNodeToNode(mathjsNode.args[0]), mathjsNodeToNode(mathjsNode.args[1]));
46
- case "unaryMinus":
47
- return new oppositeNode_1.OppositeNode(mathjsNodeToNode(mathjsNode.args[0]));
48
- case "divide":
49
- return new fractionNode_1.FractionNode(mathjsNodeToNode(mathjsNode.args[0]), mathjsNodeToNode(mathjsNode.args[1]));
50
- case "multiply":
51
- return new multiplyNode_1.MultiplyNode(mathjsNodeToNode(mathjsNode.args[0]), mathjsNodeToNode(mathjsNode.args[1]));
52
- case "pow":
53
- return new powerNode_1.PowerNode(mathjsNodeToNode(mathjsNode.args[0]), mathjsNodeToNode(mathjsNode.args[1]));
54
- }
55
- }
56
- else if (mathjsNode.isFunctionNode) {
57
- const fn = mathjsNode.fn;
58
- switch (fn.name) {
59
- //mathjs arrondit les racines carrées, on truc avec sqr pour bypass
60
- case "sqr":
61
- return new sqrtNode_1.SqrtNode(mathjsNodeToNode(mathjsNode.args[0]));
62
- case "sqrt":
63
- return new sqrtNode_1.SqrtNode(mathjsNodeToNode(mathjsNode.args[0]));
64
- case "log":
65
- return new logNode_1.LogNode(mathjsNodeToNode(mathjsNode.args[0]));
66
- case "exp":
67
- return new expNode_1.ExpNode(mathjsNodeToNode(mathjsNode.args[0]));
68
- case "cos":
69
- return new cosNode_1.CosNode(mathjsNodeToNode(mathjsNode.args[0]));
70
- case "sin":
71
- return new sinNode_1.SinNode(mathjsNodeToNode(mathjsNode.args[0]));
72
- }
73
- }
74
- console.log(mathjsNode);
75
- throw Error("unrecognized mathjs node");
76
- };
1
+ "use strict";
2
+ // import { Complex, complex, simplify as mathsimplify } from "mathjs";
3
+ // import { OppositeNode } from "../nodes/functions/oppositeNode";
4
+ // import { SqrtNode } from "../nodes/functions/sqrtNode";
5
+ // import { Node } from "../nodes/node";
6
+ // import { NumberNode } from "../nodes/numbers/numberNode";
7
+ // import { PiNode } from "../nodes/numbers/piNode";
8
+ // import { AddNode } from "../nodes/operators/addNode";
9
+ // import { FractionNode } from "../nodes/operators/fractionNode";
10
+ // import { MultiplyNode } from "../nodes/operators/multiplyNode";
11
+ // import { PowerNode } from "../nodes/operators/powerNode";
12
+ // import { SubstractNode } from "../nodes/operators/substractNode";
13
+ // import { VariableNode } from "../nodes/variables/variableNode";
14
+ // import { LogNode } from "../nodes/functions/logNode";
15
+ // import { ExpNode } from "../nodes/functions/expNode";
16
+ // import { CosNode } from "../../tree/nodes/functions/cosNode";
17
+ // import { SinNode } from "../../tree/nodes/functions/sinNode";
18
+ // import { ComplexNode } from "../nodes/complex/complexNode";
19
+ // interface MathjsNode {
20
+ // isSymbolNode: boolean;
21
+ // isFunctionNode: boolean;
22
+ // isConstantNode: boolean;
23
+ // isOperatorNode: boolean;
24
+ // fn?: MathjsNode | string;
25
+ // name?: string;
26
+ // value?: any;
27
+ // args?: MathjsNode[];
28
+ // }
29
+ // export const simplifyComplex = (node: Node): Node => {
30
+ // return mathjsComplexToNode(complex(node.toMathjs()));
31
+ // };
32
+ // const mathjsComplexToNode = (complex: Complex) => {
33
+ // return new ComplexNode(
34
+ // new NumberNode(complex.re),
35
+ // new NumberNode(complex.im),
36
+ // );
37
+ // };
38
+ // export const simplifyNode = (node: Node): Node => {
39
+ // return mathjsNodeToNode(
40
+ // mathsimplify(node.toMathString()) as unknown as MathjsNode,
41
+ // );
42
+ // };
43
+ // const mathjsNodeToNode = (mathjsNode: MathjsNode): Node => {
44
+ // if (mathjsNode.isSymbolNode) {
45
+ // if (mathjsNode.name === "pi") return PiNode;
46
+ // return new VariableNode(mathjsNode.name!);
47
+ // } else if (mathjsNode.isConstantNode) {
48
+ // return new NumberNode(mathjsNode.value!);
49
+ // } else if (mathjsNode.isOperatorNode) {
50
+ // switch (mathjsNode.fn) {
51
+ // case "add":
52
+ // return new AddNode(
53
+ // mathjsNodeToNode(mathjsNode.args![0]),
54
+ // mathjsNodeToNode(mathjsNode.args![1]),
55
+ // );
56
+ // case "subtract":
57
+ // return new SubstractNode(
58
+ // mathjsNodeToNode(mathjsNode.args![0]),
59
+ // mathjsNodeToNode(mathjsNode.args![1]),
60
+ // );
61
+ // case "unaryMinus":
62
+ // return new OppositeNode(mathjsNodeToNode(mathjsNode.args![0]));
63
+ // case "divide":
64
+ // return new FractionNode(
65
+ // mathjsNodeToNode(mathjsNode.args![0]),
66
+ // mathjsNodeToNode(mathjsNode.args![1]),
67
+ // );
68
+ // case "multiply":
69
+ // return new MultiplyNode(
70
+ // mathjsNodeToNode(mathjsNode.args![0]),
71
+ // mathjsNodeToNode(mathjsNode.args![1]),
72
+ // );
73
+ // case "pow":
74
+ // return new PowerNode(
75
+ // mathjsNodeToNode(mathjsNode.args![0]),
76
+ // mathjsNodeToNode(mathjsNode.args![1]),
77
+ // );
78
+ // }
79
+ // } else if (mathjsNode.isFunctionNode) {
80
+ // const fn = mathjsNode.fn as MathjsNode;
81
+ // switch (fn.name) {
82
+ // //mathjs arrondit les racines carrées, on truc avec sqr pour bypass
83
+ // case "sqr":
84
+ // return new SqrtNode(mathjsNodeToNode(mathjsNode.args![0]));
85
+ // case "sqrt":
86
+ // return new SqrtNode(mathjsNodeToNode(mathjsNode.args![0]));
87
+ // case "log":
88
+ // return new LogNode(mathjsNodeToNode(mathjsNode.args![0]));
89
+ // case "exp":
90
+ // return new ExpNode(mathjsNodeToNode(mathjsNode.args![0]));
91
+ // case "cos":
92
+ // return new CosNode(mathjsNodeToNode(mathjsNode.args![0]));
93
+ // case "sin":
94
+ // return new SinNode(mathjsNodeToNode(mathjsNode.args![0]));
95
+ // }
96
+ // }
97
+ // console.log(mathjsNode);
98
+ // throw Error("unrecognized mathjs node");
99
+ // };
@@ -1,5 +1,5 @@
1
- import { Class } from '../../types/class';
2
- import { FunctionNode } from '../nodes/functions/functionNode';
3
- import { Node } from '../nodes/node';
4
- export declare const functionComposition: <T extends Class<FunctionNode>>(Compositor: T, arr: Node[]) => FunctionNode;
1
+ import { Class } from '../../types/class';
2
+ import { FunctionNode } from '../nodes/functions/functionNode';
3
+ import { Node } from '../nodes/node';
4
+ export declare const functionComposition: <T extends Class<FunctionNode>>(Compositor: T, arr: Node[]) => FunctionNode;
5
5
  //# sourceMappingURL=functionComposition.d.ts.map
@@ -1,14 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.functionComposition = void 0;
4
- const functionComposition = (Compositor, arr) => {
5
- let res;
6
- if (arr.length < 1)
7
- throw Error(`received ${arr.length} nodes for operator composition`);
8
- res = new Compositor(arr[0]);
9
- for (let i = 1; i < arr.length; i++) {
10
- res = new Compositor(res, arr[i]);
11
- }
12
- return res;
13
- };
14
- exports.functionComposition = functionComposition;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.functionComposition = void 0;
4
+ const functionComposition = (Compositor, arr) => {
5
+ let res;
6
+ if (arr.length < 1)
7
+ throw Error(`received ${arr.length} nodes for operator composition`);
8
+ res = new Compositor(arr[0]);
9
+ for (let i = 1; i < arr.length; i++) {
10
+ res = new Compositor(res, arr[i]);
11
+ }
12
+ return res;
13
+ };
14
+ exports.functionComposition = functionComposition;
@@ -1,5 +1,5 @@
1
- import { Class } from "../../types/class";
2
- import { Node } from "../nodes/node";
3
- import { CommutativeOperatorNode } from "../nodes/operators/operatorNode";
4
- export declare const operatorComposition: <T extends Class<CommutativeOperatorNode>>(Compositor: T, arr: Node[]) => InstanceType<T>;
1
+ import { Class } from "../../types/class";
2
+ import { Node } from "../nodes/node";
3
+ import { CommutativeOperatorNode } from "../nodes/operators/operatorNode";
4
+ export declare const operatorComposition: <T extends Class<CommutativeOperatorNode>>(Compositor: T, arr: Node[]) => InstanceType<T>;
5
5
  //# sourceMappingURL=operatorComposition.d.ts.map
@@ -1,14 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.operatorComposition = void 0;
4
- const operatorComposition = (Compositor, arr) => {
5
- let res;
6
- if (arr.length < 2)
7
- throw Error(`received ${arr.length} nodes for operator composition`);
8
- res = new Compositor(arr[0], arr[1]);
9
- for (let i = 2; i < arr.length; i++) {
10
- res = new Compositor(res, arr[i]);
11
- }
12
- return res;
13
- };
14
- exports.operatorComposition = operatorComposition;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.operatorComposition = void 0;
4
+ const operatorComposition = (Compositor, arr) => {
5
+ let res;
6
+ if (arr.length < 2)
7
+ throw Error(`received ${arr.length} nodes for operator composition`);
8
+ res = new Compositor(arr[0], arr[1]);
9
+ for (let i = 2; i < arr.length; i++) {
10
+ res = new Compositor(res, arr[i]);
11
+ }
12
+ return res;
13
+ };
14
+ exports.operatorComposition = operatorComposition;
@@ -1,4 +1,4 @@
1
- export interface Class<T> extends Function {
2
- new (...args: any[]): T;
3
- }
1
+ export interface Class<T> extends Function {
2
+ new (...args: any[]): T;
3
+ }
4
4
  //# sourceMappingURL=class.d.ts.map
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,30 +1,32 @@
1
- export type KeyId =
2
- /**units */
3
- 'cm' | 'cm2' | 'celsius' | 'Hz' | 'mol' | 'kJ' | 'mL'
4
- /**utility */
5
- | 'custom' | 'right' | 'left' | 'rightarrow' | 'del' | 'close' | 'switch' | 'ou' | 'et' | 'maj'
6
- /**geometry */
7
- | 'overrightarrow' | 'degree'
8
- /**operations */
9
- | 'plus' | 'minus' | 'times' | 'frac' | 'obelus' | 'sqrt' | 'sqrtCub' | 'square' | 'cube' | 'power' | 'percent' | 'leftParenthesis' | 'rightParenthesis' | 'equal' | 'comma' | 'semicolon' | 'dot' | 'sup' | 'inf' | 'geq' | 'leq' | 'approx' | 'xsquare' | 'xcube'
10
- /**sets */
11
- | 'belongs' | 'notin' | 'cap' | 'cup' | 'lbrace' | 'rbrace' | 'lbracket' | 'rbracket' | 'emptyset' | 'naturals' | 'integers' | 'rationals' | 'decimals' | 'reals' | 'complex' | 'ast' | 'del' | 'right' | 'left' | 'rightarrow' | 'overrightarrow' | 'infty'
12
- /**fcts */
13
- | 'log' | 'ln' | 'exp' | 'epower' | 'sin' | 'cos' | 'tan' | 'arccos' | 'arcsin' | 'arctan' | 'abs'
14
- /**sequences */
15
- | 'un' | 'unplus1'
16
- /**probas */
17
- | 'overlineProba' | 'majProba' | 'minProba' | 'binom'
18
- /**complex */
19
- | 'overline'
20
- /**greek */
21
- | 'alpha' | 'beta' | 'delta' | 'Delta' | 'sigma' | 'theta' | 'tau' | 'pi' | 'phi' | 'Omega' | 'lambda' | 'mu' | 'gamma' | 'omega'
22
- /**alphabet */
23
- | 'guillemet' | 'quote' | 'hyphen' | 'euro' | 'space' | 'underscore' | 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z' | 'É' | 'È' | 'Ç' | 'À' | 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z' | 'é' | 'è' | 'à' | 'ç' | 'ù' | 'ô'
24
- /**numbers */
25
- | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'
26
- /**atoms */
27
- | 'Hydrogène' | 'Hélium' | 'Lithium' | 'Béryllium' | 'Bore' | 'Carbone' | 'Azote' | 'Oxygène' | 'Fluor' | 'Néon' | 'Sodium' | 'Magnésium' | 'Aluminium' | 'Silicium' | 'Phosphore' | 'Soufre' | 'Chlore' | 'Argon' | 'Potassium' | 'Calcium' | 'Scandium' | 'Titane' | 'Vanadium' | 'Chrome' | 'Manganèse' | 'Fer' | 'Cobalt' | 'Nickel' | 'Cuivre' | 'Zinc' | 'Gallium' | 'Germanium' | 'Arsenic' | 'Sélénium' | 'Brome' | 'Krypton' | 'Rubidium' | 'Strontium' | 'Yttrium' | 'Zirconium' | 'Niobium' | 'Molybdène' | 'Technétium' | 'Ruthénium' | 'Rhodium' | 'Palladium' | 'Argent' | 'Cadmium' | 'Indium' | 'Étain' | 'Antimoine' | 'Tellure' | 'Iode' | 'Xénon' | 'Césium' | 'Baryum' | 'Lanthane' | 'Cérium' | 'Praséodyme' | 'Néodyme' | 'Prométhium' | 'Samarium' | 'Europium' | 'Gadolinium' | 'Térbium' | 'Dysprosium' | 'Holmium' | 'Erbium' | 'Thulium' | 'Ytterbium' | 'Lutétium' | 'Hafnium' | 'Tantale' | 'Tungstène' | 'Rhénium' | 'Osmium' | 'Iridium' | 'Platine' | 'Or' | 'Mercure' | 'Thallium' | 'Plomb' | 'Bismuth' | 'Polonium' | 'Astate' | 'Radon' | 'Francium' | 'Radium' | 'Actinium' | 'Thorium' | 'Protactinium' | 'Uranium' | 'Neptunium' | 'Plutonium' | 'Américium' | 'Curium' | 'Berkélium' | 'Californium' | 'Einsteinium' | 'Fermium' | 'Mendélévium' | 'Nobelium' | 'Lawrencium' | 'Rutherfordium' | 'Dubnium' | 'Seaborgium' | 'Bohrium' | 'Hassium' | 'Meitnérium' | 'Darmstadtium' | 'Roentgenium' | 'Copernicium' | 'Nihonium' | 'Flerovium' | 'Moscovium' | 'Livermorium' | 'Tennessine' | 'Oganesson'
28
- /**Molecules */
29
- | 'Dihydrogène' | 'Dioxygène' | 'Eau' | 'Méthane' | 'Dioxyde de carbone' | 'Ammoniac' | 'Dioxyde de soufre' | 'Éthanol' | 'Glucose' | 'Méthanol' | 'Propane' | 'Butane' | 'Acide sulfurique' | 'Propylène' | 'Benzène' | 'Acetonitrile' | 'Méthanal' | 'Méthanoate de sodium' | 'Carbonate de calcium' | "Sulfate d'ammonium" | 'Soude caustique' | "Nitrate d'ammonium" | 'Carbonate de sodium' | 'Vitamine C' | 'Aspirine' | 'Caféine' | 'Paracétamol' | 'Chlorure de sodium' | 'Lactose' | 'Acide acétique' | 'Magnésium' | 'Oxyde de magnésium' | 'Fer' | 'Oxyde de fer(III)' | 'Éthane' | 'Éthylène' | 'Acétone' | 'Toluène' | 'Éthylène glycol' | 'Butène' | 'Pentène' | 'Cyclohexane' | "Acétate d'éthyle" | 'Acétate de méthyle' | 'Acétate de butyle' | 'Phénol' | 'Éthanal' | 'Butyraldéhyde' | 'Furfural' | 'Acide formique' | 'Sucrose' | 'Acide chlorhydrique' | 'Hydroxyde de sodium' | "Nitrate d'argent" | "Chlorure d'argent" | 'Nitrate de sodium' | 'Hydroxyde de calcium' | 'Sulfate de calcium' | 'Sulfate de cuivre' | 'Hydroxyde de cuivre(II)' | 'Sulfate de sodium' | 'Zinc' | 'Chlorure de zinc' | 'Hydroxyde de potassium' | 'Sulfate de potassium' | "Peroxyde d'hydrogène" | 'Chlorure de plomb(II)' | 'Iodure de potassium' | 'Iodure de plomb(II)' | 'Chlorure de potassium' | 'Acétate de sodium' | 'Soufre' | 'Nitrate de baryum' | 'Sulfate de baryum' | 'Cuivre' | 'Nitrate de cuivre(II)' | 'Argent' | 'Phosphate de calcium' | 'Soufre' | 'Nitrate de potassium' | 'Azote' | 'Nitrate de plomb(II)' | 'Sulfate de plomb(II)' | 'Oxyde de calcium' | 'Chlorure de cuivre(II)' | 'Chlorure de fer(II)' | 'Dichlore' | "Protoxyde d'azote" | 'Peroxyde de dinitrogène' | "Dioxyde d'azote" | 'Chlorate de potassium' | 'Sulfate de zinc' | 'Acide phosphorique' | 'Oxyde de sodium' | "Monoxyde d'azote" | 'Monoxyde de carbone' | 'Oxyde de fer(III)' | 'Sulfure de cuivre(I)' | 'Oxyde de cuivre(I)' | 'Ion hydronium' | 'Ion sulfate' | 'Ion fer(II)' | 'Ion hydroxyde' | 'Ion argent(I)' | 'Ion phosphate' | "Phosphate d'argent(I)" | 'Ion cuivre(II)' | 'Acétate de sodium' | 'Phosphate de calcium' | "Chlorure d'ammonium" | 'cyclooctasoufre ' | 'Hydroxyde de magnésium' | 'Chlorure de magnésium';
1
+ export type KeyId =
2
+ /**units */
3
+ "cm" | "cm2" | "celsius" | "Hz" | "mol" | "kJ" | "mL"
4
+ /**utility */
5
+ | "custom" | "right" | "left" | "rightarrow" | "del" | "close" | "switch" | "maj"
6
+ /**words */
7
+ | "ou" | "et" | "aucun"
8
+ /**geometry */
9
+ | "overrightarrow" | "degree"
10
+ /**operations */
11
+ | "plus" | "minus" | "times" | "frac" | "obelus" | "sqrt" | "sqrtCub" | "square" | "cube" | "power" | "percent" | "leftParenthesis" | "rightParenthesis" | "equal" | "comma" | "semicolon" | "dot" | "sup" | "inf" | "geq" | "leq" | "approx" | "xsquare" | "xcube"
12
+ /**sets */
13
+ | "belongs" | "notin" | "cap" | "cup" | "lbrace" | "rbrace" | "lbracket" | "rbracket" | "emptyset" | "naturals" | "integers" | "rationals" | "decimals" | "reals" | "complex" | "ast" | "del" | "right" | "left" | "rightarrow" | "overrightarrow" | "infty"
14
+ /**fcts */
15
+ | "log" | "ln" | "exp" | "epower" | "sin" | "cos" | "tan" | "arccos" | "arcsin" | "arctan" | "abs"
16
+ /**sequences */
17
+ | "un" | "unplus1"
18
+ /**probas */
19
+ | "overlineProba" | "majProba" | "minProba" | "binom"
20
+ /**complex */
21
+ | "overline"
22
+ /**greek */
23
+ | "alpha" | "beta" | "delta" | "Delta" | "sigma" | "theta" | "tau" | "pi" | "phi" | "Omega" | "lambda" | "mu" | "gamma" | "omega"
24
+ /**alphabet */
25
+ | "guillemet" | "quote" | "hyphen" | "euro" | "space" | "underscore" | "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z" | "É" | "È" | "Ç" | "À" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "é" | "è" | "à" | "ç" | "ù" | "ô"
26
+ /**numbers */
27
+ | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
28
+ /**atoms */
29
+ | "Hydrogène" | "Hélium" | "Lithium" | "Béryllium" | "Bore" | "Carbone" | "Azote" | "Oxygène" | "Fluor" | "Néon" | "Sodium" | "Magnésium" | "Aluminium" | "Silicium" | "Phosphore" | "Soufre" | "Chlore" | "Argon" | "Potassium" | "Calcium" | "Scandium" | "Titane" | "Vanadium" | "Chrome" | "Manganèse" | "Fer" | "Cobalt" | "Nickel" | "Cuivre" | "Zinc" | "Gallium" | "Germanium" | "Arsenic" | "Sélénium" | "Brome" | "Krypton" | "Rubidium" | "Strontium" | "Yttrium" | "Zirconium" | "Niobium" | "Molybdène" | "Technétium" | "Ruthénium" | "Rhodium" | "Palladium" | "Argent" | "Cadmium" | "Indium" | "Étain" | "Antimoine" | "Tellure" | "Iode" | "Xénon" | "Césium" | "Baryum" | "Lanthane" | "Cérium" | "Praséodyme" | "Néodyme" | "Prométhium" | "Samarium" | "Europium" | "Gadolinium" | "Térbium" | "Dysprosium" | "Holmium" | "Erbium" | "Thulium" | "Ytterbium" | "Lutétium" | "Hafnium" | "Tantale" | "Tungstène" | "Rhénium" | "Osmium" | "Iridium" | "Platine" | "Or" | "Mercure" | "Thallium" | "Plomb" | "Bismuth" | "Polonium" | "Astate" | "Radon" | "Francium" | "Radium" | "Actinium" | "Thorium" | "Protactinium" | "Uranium" | "Neptunium" | "Plutonium" | "Américium" | "Curium" | "Berkélium" | "Californium" | "Einsteinium" | "Fermium" | "Mendélévium" | "Nobelium" | "Lawrencium" | "Rutherfordium" | "Dubnium" | "Seaborgium" | "Bohrium" | "Hassium" | "Meitnérium" | "Darmstadtium" | "Roentgenium" | "Copernicium" | "Nihonium" | "Flerovium" | "Moscovium" | "Livermorium" | "Tennessine" | "Oganesson"
30
+ /**Molecules */
31
+ | "Dihydrogène" | "Dioxygène" | "Eau" | "Méthane" | "Dioxyde de carbone" | "Ammoniac" | "Dioxyde de soufre" | "Éthanol" | "Glucose" | "Méthanol" | "Propane" | "Butane" | "Acide sulfurique" | "Propylène" | "Benzène" | "Acetonitrile" | "Méthanal" | "Méthanoate de sodium" | "Carbonate de calcium" | "Sulfate d'ammonium" | "Soude caustique" | "Nitrate d'ammonium" | "Carbonate de sodium" | "Vitamine C" | "Aspirine" | "Caféine" | "Paracétamol" | "Chlorure de sodium" | "Lactose" | "Acide acétique" | "Magnésium" | "Oxyde de magnésium" | "Fer" | "Oxyde de fer(III)" | "Éthane" | "Éthylène" | "Acétone" | "Toluène" | "Éthylène glycol" | "Butène" | "Pentène" | "Cyclohexane" | "Acétate d'éthyle" | "Acétate de méthyle" | "Acétate de butyle" | "Phénol" | "Éthanal" | "Butyraldéhyde" | "Furfural" | "Acide formique" | "Sucrose" | "Acide chlorhydrique" | "Hydroxyde de sodium" | "Nitrate d'argent" | "Chlorure d'argent" | "Nitrate de sodium" | "Hydroxyde de calcium" | "Sulfate de calcium" | "Sulfate de cuivre" | "Hydroxyde de cuivre(II)" | "Sulfate de sodium" | "Zinc" | "Chlorure de zinc" | "Hydroxyde de potassium" | "Sulfate de potassium" | "Peroxyde d'hydrogène" | "Chlorure de plomb(II)" | "Iodure de potassium" | "Iodure de plomb(II)" | "Chlorure de potassium" | "Acétate de sodium" | "Soufre" | "Nitrate de baryum" | "Sulfate de baryum" | "Cuivre" | "Nitrate de cuivre(II)" | "Argent" | "Phosphate de calcium" | "Soufre" | "Nitrate de potassium" | "Azote" | "Nitrate de plomb(II)" | "Sulfate de plomb(II)" | "Oxyde de calcium" | "Chlorure de cuivre(II)" | "Chlorure de fer(II)" | "Dichlore" | "Protoxyde d'azote" | "Peroxyde de dinitrogène" | "Dioxyde d'azote" | "Chlorate de potassium" | "Sulfate de zinc" | "Acide phosphorique" | "Oxyde de sodium" | "Monoxyde d'azote" | "Monoxyde de carbone" | "Oxyde de fer(III)" | "Sulfure de cuivre(I)" | "Oxyde de cuivre(I)" | "Ion hydronium" | "Ion sulfate" | "Ion fer(II)" | "Ion hydroxyde" | "Ion argent(I)" | "Ion phosphate" | "Phosphate d'argent(I)" | "Ion cuivre(II)" | "Acétate de sodium" | "Phosphate de calcium" | "Chlorure d'ammonium" | "cyclooctasoufre " | "Hydroxyde de magnésium" | "Chlorure de magnésium";
30
32
  //# sourceMappingURL=keyIds.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyIds.d.ts","sourceRoot":"","sources":["../../src/types/keyIds.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK;AACf,WAAW;AACT,IAAI,GACJ,KAAK,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V,SAAS,GACT,aAAa,GACb,oBAAoB,GACpB,SAAS,GACT,gBAAgB,GAChB,WAAW,GACX,oBAAoB,GACpB,KAAK,GACL,mBAAmB,GACnB,QAAQ,GACR,UAAU,GACV,SAAS,GACT,SAAS,GACT,iBAAiB,GACjB,QAAQ,GACR,SAAS,GACT,aAAa,GACb,kBAAkB,GAClB,oBAAoB,GACpB,mBAAmB,GACnB,QAAQ,GACR,SAAS,GACT,eAAe,GACf,UAAU,GACV,gBAAgB,GAChB,SAAS,GACT,qBAAqB,GACrB,qBAAqB,GACrB,kBAAkB,GAClB,mBAAmB,GACnB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,mBAAmB,GACnB,yBAAyB,GACzB,mBAAmB,GACnB,MAAM,GACN,kBAAkB,GAClB,wBAAwB,GACxB,sBAAsB,GACtB,sBAAsB,GACtB,uBAAuB,GACvB,qBAAqB,GACrB,qBAAqB,GACrB,uBAAuB,GACvB,mBAAmB,GACnB,QAAQ,GACR,mBAAmB,GACnB,mBAAmB,GACnB,QAAQ,GACR,uBAAuB,GACvB,QAAQ,GACR,sBAAsB,GACtB,QAAQ,GACR,sBAAsB,GACtB,OAAO,GACP,sBAAsB,GACtB,sBAAsB,GACtB,kBAAkB,GAClB,wBAAwB,GACxB,qBAAqB,GACrB,UAAU,GACV,mBAAmB,GACnB,yBAAyB,GACzB,iBAAiB,GACjB,uBAAuB,GACvB,iBAAiB,GACjB,oBAAoB,GACpB,iBAAiB,GACjB,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,eAAe,GACf,aAAa,GACb,aAAa,GACb,eAAe,GACf,eAAe,GACf,eAAe,GACf,uBAAuB,GACvB,gBAAgB,GAChB,mBAAmB,GACnB,sBAAsB,GACtB,qBAAqB,GACrB,kBAAkB,GAClB,wBAAwB,GACxB,uBAAuB,CAAC"}
1
+ {"version":3,"file":"keyIds.d.ts","sourceRoot":"","sources":["../../src/types/keyIds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AkB,GAClB,wBAAwB,GACxB,uBAAuB,CAAC"}
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,2 @@
1
- export declare function arrayEqual<T>(arr1: T[], arr2: T[]): boolean;
1
+ export declare function arrayEqual<T>(arr1: T[], arr2: T[]): boolean;
2
2
  //# sourceMappingURL=arrayEqual.d.ts.map
@@ -1,13 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.arrayEqual = void 0;
4
- function arrayEqual(arr1, arr2) {
5
- if (arr1.length !== arr2.length)
6
- return false;
7
- for (let i = 0; i < arr1.length; i++) {
8
- if (arr1[i] !== arr2[i])
9
- return false;
10
- }
11
- return true;
12
- }
13
- exports.arrayEqual = arrayEqual;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.arrayEqual = void 0;
4
+ function arrayEqual(arr1, arr2) {
5
+ if (arr1.length !== arr2.length)
6
+ return false;
7
+ for (let i = 0; i < arr1.length; i++) {
8
+ if (arr1[i] !== arr2[i])
9
+ return false;
10
+ }
11
+ return true;
12
+ }
13
+ exports.arrayEqual = arrayEqual;
@@ -1,2 +1,2 @@
1
- export declare const average: (arr: number[]) => number;
1
+ export declare const average: (arr: number[]) => number;
2
2
  //# sourceMappingURL=average.d.ts.map
@@ -1,9 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.average = void 0;
4
- const average = (arr) => {
5
- if (!arr.length)
6
- return 0;
7
- return arr.reduce((acc, curr) => acc + curr) / arr.length;
8
- };
9
- exports.average = average;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.average = void 0;
4
+ const average = (arr) => {
5
+ if (!arr.length)
6
+ return 0;
7
+ return arr.reduce((acc, curr) => acc + curr) / arr.length;
8
+ };
9
+ exports.average = average;
@@ -1,13 +1,13 @@
1
- /**
2
- * exp [[1,2],[3],[4,5]] donnera [[1,3,4], [1,3,5], [2,3,4],[2,3,5]]
3
- * @param arr
4
- * @returns
5
- */
6
- export declare function getCartesiansProducts<T>(arr: T[][]): T[][];
7
- /**
8
- * exp [[1], [[5, 5], 6], [7, [8, 9]]] -> [1,5,5,7] [1,5,5,8,9] [1,6,7] [1,6,8,9]
9
- * @param arr
10
- * @returns
11
- */
12
- export declare function getFlatCartesianProducts<T>(arr: (T | T[])[][]): T[][];
1
+ /**
2
+ * exp [[1,2],[3],[4,5]] donnera [[1,3,4], [1,3,5], [2,3,4],[2,3,5]]
3
+ * @param arr
4
+ * @returns
5
+ */
6
+ export declare function getCartesiansProducts<T>(arr: T[][]): T[][];
7
+ /**
8
+ * exp [[1], [[5, 5], 6], [7, [8, 9]]] -> [1,5,5,7] [1,5,5,8,9] [1,6,7] [1,6,8,9]
9
+ * @param arr
10
+ * @returns
11
+ */
12
+ export declare function getFlatCartesianProducts<T>(arr: (T | T[])[][]): T[][];
13
13
  //# sourceMappingURL=cartesianProducts.d.ts.map