mathjs 13.1.1 → 13.2.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.
- package/HISTORY.md +17 -0
- package/lib/browser/math.js +1 -1
- package/lib/browser/math.js.LICENSE.txt +2 -2
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/core/function/typed.js +1 -0
- package/lib/cjs/expression/parse.js +1 -1
- package/lib/cjs/expression/transform/filter.transform.js +28 -40
- package/lib/cjs/expression/transform/forEach.transform.js +29 -30
- package/lib/cjs/expression/transform/map.transform.js +8 -93
- package/lib/cjs/expression/transform/utils/transformCallback.js +101 -0
- package/lib/cjs/function/algebra/derivative.js +10 -11
- package/lib/cjs/function/matrix/filter.js +3 -2
- package/lib/cjs/function/matrix/forEach.js +3 -14
- package/lib/cjs/function/matrix/map.js +11 -33
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/type/matrix/DenseMatrix.js +73 -29
- package/lib/cjs/type/matrix/SparseMatrix.js +7 -4
- package/lib/cjs/utils/array.js +22 -0
- package/lib/cjs/utils/optimizeCallback.js +94 -0
- package/lib/cjs/version.js +1 -1
- package/lib/esm/core/function/typed.js +1 -0
- package/lib/esm/expression/parse.js +1 -1
- package/lib/esm/expression/transform/filter.transform.js +28 -40
- package/lib/esm/expression/transform/forEach.transform.js +29 -30
- package/lib/esm/expression/transform/map.transform.js +8 -93
- package/lib/esm/expression/transform/utils/transformCallback.js +95 -0
- package/lib/esm/function/algebra/derivative.js +10 -11
- package/lib/esm/function/matrix/filter.js +3 -2
- package/lib/esm/function/matrix/forEach.js +3 -14
- package/lib/esm/function/matrix/map.js +12 -34
- package/lib/esm/type/matrix/DenseMatrix.js +75 -32
- package/lib/esm/type/matrix/SparseMatrix.js +7 -4
- package/lib/esm/utils/array.js +21 -0
- package/lib/esm/utils/optimizeCallback.js +88 -0
- package/lib/esm/version.js +1 -1
- package/package.json +7 -7
- package/types/index.d.ts +50 -12
- package/lib/cjs/utils/applyCallback.js +0 -73
- package/lib/esm/utils/applyCallback.js +0 -67
package/HISTORY.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# History
|
2
2
|
|
3
|
+
# 2204-10-02 13.2.0
|
4
|
+
|
5
|
+
- Feat: improve performance of functions `map`, `filter` and `forEach` (#3256).
|
6
|
+
Thanks @dvd101x.
|
7
|
+
- Feat: improve performance of the methods `map()` and `forEach()`
|
8
|
+
of `DenseMatrix` (#3251). Thanks @Galm007.
|
9
|
+
- Fix: #3253 cannot use identifiers containing special characters in function
|
10
|
+
`derivative`.
|
11
|
+
- Fix: improve the type definitions of `ConstantNode` to support all data
|
12
|
+
types (#3257). Thanks @smith120bh.
|
13
|
+
- Fix: #3259 function `symbolicEqual` missing in the TypeScript definitions.
|
14
|
+
- Fix: #3246 function `leafCount` missing in the TypeScript definitions.
|
15
|
+
- Fix: #3267 implicit multiplication with a negative number and unit `in`.
|
16
|
+
- Docs: fix broken links on the Configuration page. Thanks @vassudanagunta.
|
17
|
+
- Docs: document the syntax of `map` and `forEach` in the expression parser
|
18
|
+
(#3272). Thanks @dvd101x.
|
19
|
+
|
3
20
|
# 2024-08-27, 13.1.1
|
4
21
|
|
5
22
|
- Fix security vulnerability in the CLI and web API allowing to call functions
|