mathjs 14.3.1 → 14.5.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 +28 -6
- package/README.md +1 -1
- 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/constants.js +12 -12
- package/lib/cjs/core/create.js +1 -2
- package/lib/cjs/defaultInstance.js +1 -2
- package/lib/cjs/entry/allFactoriesAny.js +1 -2
- package/lib/cjs/entry/allFactoriesNumber.js +1 -2
- package/lib/cjs/expression/embeddedDocs/construction/index.js +1 -1
- package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +6 -0
- package/lib/cjs/expression/embeddedDocs/function/expression/compile.js +14 -0
- package/lib/cjs/expression/embeddedDocs/function/expression/evaluate.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/expression/parse.js +14 -0
- package/lib/cjs/expression/embeddedDocs/function/expression/parser.js +14 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/sum.js +1 -1
- package/lib/cjs/expression/function/parser.js +1 -1
- package/lib/cjs/expression/parse.js +4 -3
- package/lib/cjs/function/arithmetic/add.js +33 -33
- package/lib/cjs/function/arithmetic/hypot.js +1 -1
- package/lib/cjs/function/matrix/filter.js +4 -1
- package/lib/cjs/function/matrix/flatten.js +1 -1
- package/lib/cjs/function/matrix/forEach.js +2 -1
- package/lib/cjs/function/matrix/map.js +2 -1
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/type/matrix/DenseMatrix.js +144 -81
- package/lib/cjs/type/matrix/SparseMatrix.js +4 -3
- package/lib/cjs/type/unit/Unit.js +19 -4
- package/lib/cjs/utils/array.js +31 -7
- package/lib/cjs/utils/collection.js +3 -3
- package/lib/cjs/utils/latex.js +4 -1
- package/lib/cjs/utils/optimizeCallback.js +61 -13
- package/lib/cjs/utils/snapshot.js +1 -2
- package/lib/cjs/version.js +1 -1
- package/lib/esm/constants.js +12 -12
- package/lib/esm/expression/embeddedDocs/construction/index.js +1 -1
- package/lib/esm/expression/embeddedDocs/embeddedDocs.js +6 -0
- package/lib/esm/expression/embeddedDocs/function/expression/compile.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/expression/evaluate.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/expression/parse.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/expression/parser.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/sum.js +1 -1
- package/lib/esm/expression/function/parser.js +1 -1
- package/lib/esm/expression/parse.js +4 -3
- package/lib/esm/function/arithmetic/add.js +33 -33
- package/lib/esm/function/arithmetic/hypot.js +1 -1
- package/lib/esm/function/matrix/filter.js +4 -1
- package/lib/esm/function/matrix/flatten.js +1 -1
- package/lib/esm/function/matrix/forEach.js +2 -1
- package/lib/esm/function/matrix/map.js +2 -1
- package/lib/esm/type/matrix/DenseMatrix.js +150 -87
- package/lib/esm/type/matrix/SparseMatrix.js +4 -3
- package/lib/esm/type/unit/Unit.js +19 -4
- package/lib/esm/utils/array.js +33 -9
- package/lib/esm/utils/collection.js +3 -3
- package/lib/esm/utils/latex.js +4 -1
- package/lib/esm/utils/optimizeCallback.js +61 -13
- package/lib/esm/version.js +1 -1
- package/package.json +20 -20
package/HISTORY.md
CHANGED
@@ -1,10 +1,32 @@
|
|
1
1
|
# History
|
2
2
|
|
3
|
-
#
|
3
|
+
# 2025-05-21, 14.5.0
|
4
|
+
|
5
|
+
- Feat: improve the performance of the `map` and `forEach` methods of
|
6
|
+
`DenseMatrix` (#3446). Thanks @dvd101x.
|
7
|
+
- Feat: improve the performance of `subset` (#3467). Thanks @dvd101x.
|
8
|
+
- Feat: define embedded docs for `compile`, `evaluate`, `parse`, and `parser`,
|
9
|
+
and add tests for the examples in embedded docs (#3413). Thanks @dvd101x.
|
10
|
+
- Fix: #3450 support multiplication of valueless units by arbitrary types
|
11
|
+
(#3454).
|
12
|
+
- Fix: #3474 correctly parse `(lbf in)` (#3476). Thanks @costerwi.
|
13
|
+
|
14
|
+
# 2025-03-28, 14.4.0
|
15
|
+
|
16
|
+
- Feat: improve the performance of function `flatten` (#3400). Thanks @dvd101x.
|
17
|
+
- Feat: improve the performance of `map` and `forEach` (#3409).
|
18
|
+
Thanks @dvd101x.
|
19
|
+
- Feat: add LaTeX representation for fractions (#3434, #3419). Thanks @orelbn.
|
20
|
+
- Fix: #3422 allow dot operators after symbol E (#3425).
|
21
|
+
- Fix: issue in the `nthRoots` latex function template string (#3427).
|
22
|
+
Thanks @aitee.
|
23
|
+
- Fix: upgrade to the latest version of `@babel/runtime`.
|
24
|
+
|
25
|
+
# 2025-03-06, 14.3.1
|
4
26
|
|
5
27
|
- Fix: #3350 cannot import a constant that is a complex number.
|
6
28
|
|
7
|
-
#
|
29
|
+
# 2025-02-28, 14.3.0
|
8
30
|
|
9
31
|
- Feat: improved performance of function `flatten` (#3354). Thanks @dvd101x.
|
10
32
|
- Feat: improved performance of `DenseMatrix` Symbol.iterator (#3395).
|
@@ -20,11 +42,11 @@
|
|
20
42
|
- Fix: #3387 use utility `math.isNaN` for consistent `max` and `min` results
|
21
43
|
(#3389). Thanks @orelbn.
|
22
44
|
|
23
|
-
#
|
45
|
+
# 2025-02-05, 14.2.1
|
24
46
|
|
25
47
|
- Fix: #3377 remove redundant dependency `@lambdatest/node-tunnel`.
|
26
48
|
|
27
|
-
#
|
49
|
+
# 2025-01-30, 14.2.0
|
28
50
|
|
29
51
|
- Feat: #3041, #3340 rename `apply` to `mapSlices` (#3357). Function
|
30
52
|
`apply` is still available but is now marked deprecated. Thanks @gwhitney.
|
@@ -159,9 +181,9 @@
|
|
159
181
|
Breaking changes:
|
160
182
|
|
161
183
|
- Change `isZero`, `isPositive`, and `isNegative` to respect `config.epsilon`
|
162
|
-
(#3139, #2838).
|
184
|
+
(#3139, #2838). Thanks @dvd101x.
|
163
185
|
- Change the behavior of the internal `nearlyEqual` to align with Python and
|
164
|
-
Julia (#3152, #2838)
|
186
|
+
Julia (#3152, #2838). Thanks @dvd101x.
|
165
187
|
- Upgrade to `fraction.js@4.3.7`,
|
166
188
|
see <https://github.com/rawify/Fraction.js/issues/68>.
|
167
189
|
- Dropped support for JavaScript engines that do not fully support ES6 or
|
package/README.md
CHANGED