mathjs 13.1.1 → 13.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/HISTORY.md +24 -0
  2. package/lib/browser/math.js +1 -1
  3. package/lib/browser/math.js.LICENSE.txt +2 -9
  4. package/lib/browser/math.js.map +1 -1
  5. package/lib/cjs/core/function/typed.js +2 -1
  6. package/lib/cjs/entry/dependenciesAny/dependenciesParserClass.generated.js +2 -0
  7. package/lib/cjs/entry/dependenciesAny/dependenciesSimplify.generated.js +0 -18
  8. package/lib/cjs/entry/dependenciesNumber/dependenciesParserClass.generated.js +2 -0
  9. package/lib/cjs/entry/dependenciesNumber/dependenciesSimplify.generated.js +0 -14
  10. package/lib/cjs/entry/impureFunctionsAny.generated.js +2 -12
  11. package/lib/cjs/entry/impureFunctionsNumber.generated.js +2 -10
  12. package/lib/cjs/expression/Parser.js +21 -2
  13. package/lib/cjs/expression/parse.js +1 -1
  14. package/lib/cjs/expression/transform/filter.transform.js +28 -40
  15. package/lib/cjs/expression/transform/forEach.transform.js +29 -30
  16. package/lib/cjs/expression/transform/map.transform.js +8 -93
  17. package/lib/cjs/expression/transform/utils/transformCallback.js +101 -0
  18. package/lib/cjs/function/algebra/derivative.js +10 -11
  19. package/lib/cjs/function/algebra/simplify.js +2 -13
  20. package/lib/cjs/function/matrix/filter.js +3 -2
  21. package/lib/cjs/function/matrix/forEach.js +3 -14
  22. package/lib/cjs/function/matrix/map.js +11 -33
  23. package/lib/cjs/header.js +2 -2
  24. package/lib/cjs/type/matrix/DenseMatrix.js +73 -29
  25. package/lib/cjs/type/matrix/MatrixIndex.js +3 -0
  26. package/lib/cjs/type/matrix/SparseMatrix.js +7 -4
  27. package/lib/cjs/type/resultset/ResultSet.js +1 -1
  28. package/lib/cjs/utils/array.js +22 -0
  29. package/lib/cjs/utils/optimizeCallback.js +94 -0
  30. package/lib/cjs/version.js +1 -1
  31. package/lib/esm/core/function/typed.js +2 -1
  32. package/lib/esm/entry/dependenciesAny/dependenciesParserClass.generated.js +2 -0
  33. package/lib/esm/entry/dependenciesAny/dependenciesSimplify.generated.js +0 -18
  34. package/lib/esm/entry/dependenciesNumber/dependenciesParserClass.generated.js +2 -0
  35. package/lib/esm/entry/dependenciesNumber/dependenciesSimplify.generated.js +0 -14
  36. package/lib/esm/entry/impureFunctionsAny.generated.js +2 -12
  37. package/lib/esm/entry/impureFunctionsNumber.generated.js +2 -10
  38. package/lib/esm/expression/Parser.js +21 -2
  39. package/lib/esm/expression/parse.js +1 -1
  40. package/lib/esm/expression/transform/filter.transform.js +28 -40
  41. package/lib/esm/expression/transform/forEach.transform.js +29 -30
  42. package/lib/esm/expression/transform/map.transform.js +8 -93
  43. package/lib/esm/expression/transform/utils/transformCallback.js +95 -0
  44. package/lib/esm/function/algebra/derivative.js +10 -11
  45. package/lib/esm/function/algebra/simplify.js +2 -13
  46. package/lib/esm/function/matrix/filter.js +3 -2
  47. package/lib/esm/function/matrix/forEach.js +3 -14
  48. package/lib/esm/function/matrix/map.js +12 -34
  49. package/lib/esm/type/matrix/DenseMatrix.js +75 -32
  50. package/lib/esm/type/matrix/MatrixIndex.js +3 -0
  51. package/lib/esm/type/matrix/SparseMatrix.js +7 -4
  52. package/lib/esm/type/resultset/ResultSet.js +1 -1
  53. package/lib/esm/utils/array.js +21 -0
  54. package/lib/esm/utils/optimizeCallback.js +88 -0
  55. package/lib/esm/version.js +1 -1
  56. package/package.json +19 -19
  57. package/types/index.d.ts +50 -12
  58. package/lib/cjs/utils/applyCallback.js +0 -73
  59. package/lib/esm/utils/applyCallback.js +0 -67
@@ -6,13 +6,6 @@
6
6
  * MIT Licence
7
7
  */
8
8
 
9
- /**
10
- * @license Complex.js v2.1.1 12/05/2020
11
- *
12
- * Copyright (c) 2020, Robert Eisele (robert@xarg.org)
13
- * Dual licensed under the MIT or GPL Version 2 licenses.
14
- **/
15
-
16
9
  /**
17
10
  * @license Fraction.js v4.3.7 31/08/2023
18
11
  * https://www.xarg.org/2014/03/rational-numbers-in-javascript/
@@ -29,8 +22,8 @@
29
22
  * It features real and complex numbers, units, matrices, a large set of
30
23
  * mathematical functions, and a flexible expression parser.
31
24
  *
32
- * @version 13.1.1
33
- * @date 2024-08-27
25
+ * @version 13.2.1
26
+ * @date 2024-11-06
34
27
  *
35
28
  * @license
36
29
  * Copyright (C) 2013-2024 Jos de Jong <wjosdejong@gmail.com>