mathjs 14.2.0 → 14.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/HISTORY.md +20 -0
  2. package/lib/browser/math.js +1 -1
  3. package/lib/browser/math.js.LICENSE.txt +2 -2
  4. package/lib/browser/math.js.map +1 -1
  5. package/lib/cjs/entry/dependenciesAny/dependenciesMax.generated.js +2 -0
  6. package/lib/cjs/entry/dependenciesAny/dependenciesMaxTransform.generated.js +2 -0
  7. package/lib/cjs/entry/dependenciesAny/dependenciesMin.generated.js +2 -0
  8. package/lib/cjs/entry/dependenciesAny/dependenciesMinTransform.generated.js +2 -0
  9. package/lib/cjs/entry/dependenciesNumber/dependenciesMax.generated.js +2 -0
  10. package/lib/cjs/entry/dependenciesNumber/dependenciesMaxTransform.generated.js +2 -0
  11. package/lib/cjs/entry/dependenciesNumber/dependenciesMin.generated.js +2 -0
  12. package/lib/cjs/entry/dependenciesNumber/dependenciesMinTransform.generated.js +2 -0
  13. package/lib/cjs/entry/impureFunctionsAny.generated.js +2 -0
  14. package/lib/cjs/entry/impureFunctionsNumber.generated.js +2 -0
  15. package/lib/cjs/entry/pureFunctionsAny.generated.js +2 -0
  16. package/lib/cjs/entry/pureFunctionsNumber.generated.js +2 -0
  17. package/lib/cjs/expression/embeddedDocs/function/matrix/mapSlices.js +1 -1
  18. package/lib/cjs/expression/embeddedDocs/function/relational/larger.js +1 -1
  19. package/lib/cjs/expression/embeddedDocs/function/relational/smaller.js +1 -1
  20. package/lib/cjs/expression/embeddedDocs/function/statistics/max.js +1 -1
  21. package/lib/cjs/expression/embeddedDocs/function/statistics/min.js +1 -1
  22. package/lib/cjs/expression/transform/max.transform.js +5 -3
  23. package/lib/cjs/expression/transform/min.transform.js +5 -3
  24. package/lib/cjs/expression/transform/variance.transform.js +2 -2
  25. package/lib/cjs/function/matrix/flatten.js +1 -1
  26. package/lib/cjs/function/matrix/forEach.js +1 -1
  27. package/lib/cjs/function/matrix/map.js +1 -1
  28. package/lib/cjs/function/matrix/partitionSelect.js +2 -2
  29. package/lib/cjs/function/statistics/max.js +5 -4
  30. package/lib/cjs/function/statistics/min.js +5 -4
  31. package/lib/cjs/function/statistics/mode.js +2 -2
  32. package/lib/cjs/function/statistics/variance.js +2 -2
  33. package/lib/cjs/header.js +2 -2
  34. package/lib/cjs/type/matrix/DenseMatrix.js +45 -48
  35. package/lib/cjs/utils/array.js +120 -48
  36. package/lib/cjs/utils/collection.js +14 -15
  37. package/lib/cjs/utils/optimizeCallback.js +19 -2
  38. package/lib/cjs/version.js +1 -1
  39. package/lib/esm/entry/dependenciesAny/dependenciesMax.generated.js +2 -0
  40. package/lib/esm/entry/dependenciesAny/dependenciesMaxTransform.generated.js +2 -0
  41. package/lib/esm/entry/dependenciesAny/dependenciesMin.generated.js +2 -0
  42. package/lib/esm/entry/dependenciesAny/dependenciesMinTransform.generated.js +2 -0
  43. package/lib/esm/entry/dependenciesNumber/dependenciesMax.generated.js +2 -0
  44. package/lib/esm/entry/dependenciesNumber/dependenciesMaxTransform.generated.js +2 -0
  45. package/lib/esm/entry/dependenciesNumber/dependenciesMin.generated.js +2 -0
  46. package/lib/esm/entry/dependenciesNumber/dependenciesMinTransform.generated.js +2 -0
  47. package/lib/esm/entry/impureFunctionsAny.generated.js +2 -0
  48. package/lib/esm/entry/impureFunctionsNumber.generated.js +2 -0
  49. package/lib/esm/entry/pureFunctionsAny.generated.js +2 -0
  50. package/lib/esm/entry/pureFunctionsNumber.generated.js +2 -0
  51. package/lib/esm/expression/embeddedDocs/function/matrix/mapSlices.js +1 -1
  52. package/lib/esm/expression/embeddedDocs/function/relational/larger.js +1 -1
  53. package/lib/esm/expression/embeddedDocs/function/relational/smaller.js +1 -1
  54. package/lib/esm/expression/embeddedDocs/function/statistics/max.js +1 -1
  55. package/lib/esm/expression/embeddedDocs/function/statistics/min.js +1 -1
  56. package/lib/esm/expression/transform/max.transform.js +5 -3
  57. package/lib/esm/expression/transform/min.transform.js +5 -3
  58. package/lib/esm/expression/transform/variance.transform.js +2 -2
  59. package/lib/esm/function/matrix/flatten.js +1 -1
  60. package/lib/esm/function/matrix/forEach.js +2 -2
  61. package/lib/esm/function/matrix/map.js +2 -2
  62. package/lib/esm/function/matrix/partitionSelect.js +2 -2
  63. package/lib/esm/function/statistics/max.js +5 -4
  64. package/lib/esm/function/statistics/min.js +5 -4
  65. package/lib/esm/function/statistics/mode.js +2 -2
  66. package/lib/esm/function/statistics/variance.js +2 -2
  67. package/lib/esm/type/matrix/DenseMatrix.js +46 -49
  68. package/lib/esm/utils/array.js +118 -47
  69. package/lib/esm/utils/collection.js +15 -16
  70. package/lib/esm/utils/optimizeCallback.js +19 -2
  71. package/lib/esm/version.js +1 -1
  72. package/package.json +10 -11
  73. package/types/index.d.ts +2 -1
package/HISTORY.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # History
2
2
 
3
+ # 2024-02-28, 14.3.0
4
+
5
+ - Feat: improved performance of function `flatten` (#3354). Thanks @dvd101x.
6
+ - Feat: improved performance of `DenseMatrix` Symbol.iterator (#3395).
7
+ Thanks @dvd101x.
8
+ - Feat: improved performance of functions `map` and `forEach` (#3399).
9
+ Thanks @dvd101x.
10
+ - Fix: #3390 issue in callback optimization and add error handling for invalid
11
+ argument types (#3394). Thanks @dvd101x.
12
+ - Fix: #3356 add missing eigsDependencies export to TypeScript definitions
13
+ (#3397). Thanks @porst17.
14
+ - Fix: #3406 infer the correct type for multi-dimensional arrays in function
15
+ `multiply` (#3408). Thanks @orelbn.
16
+ - Fix: #3387 use utility `math.isNaN` for consistent `max` and `min` results
17
+ (#3389). Thanks @orelbn.
18
+
19
+ # 2024-02-05, 14.2.1
20
+
21
+ - Fix: #3377 remove redundant dependency `@lambdatest/node-tunnel`.
22
+
3
23
  # 2024-01-30, 14.2.0
4
24
 
5
25
  - Feat: #3041, #3340 rename `apply` to `mapSlices` (#3357). Function