mathjs 13.1.1 → 13.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/HISTORY.md +24 -0
- package/lib/browser/math.js +1 -1
- package/lib/browser/math.js.LICENSE.txt +2 -9
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/core/function/typed.js +2 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesParserClass.generated.js +2 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSimplify.generated.js +0 -18
- package/lib/cjs/entry/dependenciesNumber/dependenciesParserClass.generated.js +2 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSimplify.generated.js +0 -14
- package/lib/cjs/entry/impureFunctionsAny.generated.js +2 -12
- package/lib/cjs/entry/impureFunctionsNumber.generated.js +2 -10
- package/lib/cjs/expression/Parser.js +21 -2
- 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/algebra/simplify.js +2 -13
- 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/MatrixIndex.js +3 -0
- package/lib/cjs/type/matrix/SparseMatrix.js +7 -4
- package/lib/cjs/type/resultset/ResultSet.js +1 -1
- 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 +2 -1
- package/lib/esm/entry/dependenciesAny/dependenciesParserClass.generated.js +2 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSimplify.generated.js +0 -18
- package/lib/esm/entry/dependenciesNumber/dependenciesParserClass.generated.js +2 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSimplify.generated.js +0 -14
- package/lib/esm/entry/impureFunctionsAny.generated.js +2 -12
- package/lib/esm/entry/impureFunctionsNumber.generated.js +2 -10
- package/lib/esm/expression/Parser.js +21 -2
- 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/algebra/simplify.js +2 -13
- 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/MatrixIndex.js +3 -0
- package/lib/esm/type/matrix/SparseMatrix.js +7 -4
- package/lib/esm/type/resultset/ResultSet.js +1 -1
- 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 +19 -19
- 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,29 @@
|
|
1
1
|
# History
|
2
2
|
|
3
|
+
# 2024-11-06, 13.2.1
|
4
|
+
|
5
|
+
- Update to the latest version of `complex.js`.
|
6
|
+
- Fix `Index.dimension(dim)` accepting non-numeric input.
|
7
|
+
- Fix: #3290 should validate variables names in method `Parser.set` (#3308).
|
8
|
+
Thanks @nkumawat34.
|
9
|
+
|
10
|
+
# 2024-10-02, 13.2.0
|
11
|
+
|
12
|
+
- Feat: improve performance of functions `map`, `filter` and `forEach` (#3256).
|
13
|
+
Thanks @dvd101x.
|
14
|
+
- Feat: improve performance of the methods `map()` and `forEach()`
|
15
|
+
of `DenseMatrix` (#3251). Thanks @Galm007.
|
16
|
+
- Fix: #3253 cannot use identifiers containing special characters in function
|
17
|
+
`derivative`.
|
18
|
+
- Fix: improve the type definitions of `ConstantNode` to support all data
|
19
|
+
types (#3257). Thanks @smith120bh.
|
20
|
+
- Fix: #3259 function `symbolicEqual` missing in the TypeScript definitions.
|
21
|
+
- Fix: #3246 function `leafCount` missing in the TypeScript definitions.
|
22
|
+
- Fix: #3267 implicit multiplication with a negative number and unit `in`.
|
23
|
+
- Docs: fix broken links on the Configuration page. Thanks @vassudanagunta.
|
24
|
+
- Docs: document the syntax of `map` and `forEach` in the expression parser
|
25
|
+
(#3272). Thanks @dvd101x.
|
26
|
+
|
3
27
|
# 2024-08-27, 13.1.1
|
4
28
|
|
5
29
|
- Fix security vulnerability in the CLI and web API allowing to call functions
|