mathjs 11.8.0 → 11.8.2
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 +25 -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/entry/dependenciesAny/dependenciesDistance.generated.js +2 -2
- package/lib/cjs/entry/pureFunctionsAny.generated.js +2 -2
- package/lib/cjs/expression/Parser.js +1 -1
- package/lib/cjs/expression/function/parser.js +1 -1
- package/lib/cjs/expression/transform/filter.transform.js +4 -13
- package/lib/cjs/expression/transform/forEach.transform.js +3 -12
- package/lib/cjs/expression/transform/map.transform.js +4 -13
- package/lib/cjs/function/algebra/derivative.js +2 -2
- package/lib/cjs/function/algebra/leafCount.js +1 -1
- package/lib/cjs/function/algebra/polynomialRoot.js +1 -1
- package/lib/cjs/function/algebra/rationalize.js +4 -4
- package/lib/cjs/function/algebra/resolve.js +1 -1
- package/lib/cjs/function/algebra/simplify.js +7 -7
- package/lib/cjs/function/algebra/simplifyConstant.js +2 -2
- package/lib/cjs/function/algebra/simplifyCore.js +2 -2
- package/lib/cjs/function/algebra/symbolicEqual.js +8 -8
- package/lib/cjs/function/geometry/distance.js +21 -17
- package/lib/cjs/function/matrix/filter.js +2 -11
- package/lib/cjs/function/matrix/forEach.js +3 -12
- package/lib/cjs/function/matrix/map.js +6 -38
- package/lib/cjs/function/matrix/sqrtm.js +1 -1
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/type/bignumber/function/bignumber.js +7 -0
- package/lib/cjs/type/fraction/function/fraction.js +8 -1
- package/lib/cjs/type/number.js +7 -3
- package/lib/cjs/type/unit/function/splitUnit.js +1 -1
- package/lib/cjs/utils/applyCallback.js +73 -0
- package/lib/cjs/utils/bignumber/formatter.js +4 -3
- package/lib/cjs/version.js +1 -1
- package/lib/esm/entry/dependenciesAny/dependenciesDistance.generated.js +2 -2
- package/lib/esm/entry/pureFunctionsAny.generated.js +2 -2
- package/lib/esm/expression/Parser.js +1 -1
- package/lib/esm/expression/function/parser.js +1 -1
- package/lib/esm/expression/transform/filter.transform.js +4 -13
- package/lib/esm/expression/transform/forEach.transform.js +3 -12
- package/lib/esm/expression/transform/map.transform.js +4 -13
- package/lib/esm/function/algebra/derivative.js +2 -2
- package/lib/esm/function/algebra/leafCount.js +1 -1
- package/lib/esm/function/algebra/polynomialRoot.js +1 -1
- package/lib/esm/function/algebra/rationalize.js +4 -4
- package/lib/esm/function/algebra/resolve.js +1 -1
- package/lib/esm/function/algebra/simplify.js +7 -7
- package/lib/esm/function/algebra/simplifyConstant.js +2 -2
- package/lib/esm/function/algebra/simplifyCore.js +2 -2
- package/lib/esm/function/algebra/symbolicEqual.js +8 -8
- package/lib/esm/function/geometry/distance.js +21 -17
- package/lib/esm/function/matrix/filter.js +2 -11
- package/lib/esm/function/matrix/forEach.js +3 -12
- package/lib/esm/function/matrix/map.js +6 -38
- package/lib/esm/function/matrix/sqrtm.js +1 -1
- package/lib/esm/type/bignumber/function/bignumber.js +5 -0
- package/lib/esm/type/fraction/function/fraction.js +6 -1
- package/lib/esm/type/number.js +5 -3
- package/lib/esm/type/unit/function/splitUnit.js +1 -1
- package/lib/esm/utils/applyCallback.js +67 -0
- package/lib/esm/utils/bignumber/formatter.js +4 -3
- package/lib/esm/version.js +1 -1
- package/package.json +19 -19
- package/types/index.d.ts +149 -50
package/HISTORY.md
CHANGED
@@ -1,6 +1,30 @@
|
|
1
1
|
# History
|
2
2
|
|
3
|
-
# 2023-
|
3
|
+
# 2023-06-20, 11.8.2
|
4
|
+
|
5
|
+
- Fix #2971: improve typings of statistics functions `min`, `max`, `mean`,
|
6
|
+
`median`, `mode`, `std`, `sum`, `prod`, `variance`. Fixes a regression
|
7
|
+
introduced in v11.8.1.
|
8
|
+
- Fix #2972: type definitions of `Unit.divide(Unit)` have a wrong return type.
|
9
|
+
|
10
|
+
|
11
|
+
# 2023-06-13, 11.8.1
|
12
|
+
|
13
|
+
- Fix #2964: issue in function ` distance` when calculate the distance from
|
14
|
+
a point to a line (#2965). Thanks @Kiku-CN.
|
15
|
+
- Fix `math.format` not working correctly for `engineering` notation when using
|
16
|
+
BigNumbers and for `fixed` notation with `precision: 0` configured (#2956).
|
17
|
+
Thanks @mgreminger.
|
18
|
+
- Fix #2880: not possible to map cube root `cbrt`.
|
19
|
+
- Fix #2938: make the syntax description of all functions consistent in the
|
20
|
+
docs (#2941). Thanks @dvd101x.
|
21
|
+
- Fix #2954: improve the TypeScript definitions the return type of functions
|
22
|
+
`min` and `max` (#2955). Thanks @Maxim-Mazurok.
|
23
|
+
- Fix #2959: typo in an example in the docs. Thanks @kunalagrwl.
|
24
|
+
- Drop official support for Node.js 14, has reached end of life.
|
25
|
+
|
26
|
+
|
27
|
+
# 2023-04-03, 11.8.0
|
4
28
|
|
5
29
|
- Extended functions `fraction`, `bignumber`, and `number` with support for
|
6
30
|
units, see #2918 (#2926).
|