mathjs 11.4.0 → 11.5.1
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 +29 -0
- package/NOTICE +1 -1
- package/README.md +2 -2
- package/bin/cli.js +1 -1
- package/lib/browser/math.js +1 -1
- package/lib/browser/math.js.LICENSE.txt +3 -3
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/invmod.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/pow.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromColumns.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromFunction.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromRows.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/reshape.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/rotate.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/lgamma.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/max.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/mean.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/min.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/std.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/sum.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/variance.js +1 -1
- package/lib/cjs/function/algebra/simplify.js +58 -5
- package/lib/cjs/function/matrix/reshape.js +1 -1
- package/lib/cjs/function/statistics/max.js +2 -2
- package/lib/cjs/function/statistics/mean.js +2 -2
- package/lib/cjs/function/statistics/min.js +2 -2
- package/lib/cjs/function/statistics/mode.js +1 -1
- package/lib/cjs/function/statistics/prod.js +1 -1
- package/lib/cjs/function/statistics/quantileSeq.js +1 -1
- package/lib/cjs/function/statistics/sum.js +3 -2
- package/lib/cjs/function/statistics/variance.js +1 -1
- package/lib/cjs/function/string/format.js +24 -24
- package/lib/cjs/header.js +3 -3
- package/lib/cjs/version.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/arithmetic/invmod.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/arithmetic/pow.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromColumns.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromFunction.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromRows.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/matrix/reshape.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/matrix/rotate.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/probability/lgamma.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/statistics/max.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/statistics/mean.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/statistics/min.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/statistics/std.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/statistics/sum.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/statistics/variance.js +1 -1
- package/lib/esm/function/algebra/simplify.js +58 -5
- package/lib/esm/function/matrix/reshape.js +1 -1
- package/lib/esm/function/statistics/max.js +2 -2
- package/lib/esm/function/statistics/mean.js +2 -2
- package/lib/esm/function/statistics/min.js +2 -2
- package/lib/esm/function/statistics/mode.js +1 -1
- package/lib/esm/function/statistics/prod.js +1 -1
- package/lib/esm/function/statistics/quantileSeq.js +1 -1
- package/lib/esm/function/statistics/sum.js +3 -2
- package/lib/esm/function/statistics/variance.js +1 -1
- package/lib/esm/function/string/format.js +24 -24
- package/lib/esm/header.js +1 -1
- package/lib/esm/version.js +1 -1
- package/package.json +21 -23
- package/types/index.d.ts +71 -10
package/HISTORY.md
CHANGED
@@ -1,5 +1,34 @@
|
|
1
1
|
# History
|
2
2
|
|
3
|
+
# 2023-01-31, 11.5.1
|
4
|
+
|
5
|
+
- Add type definitions for function `rotationMatrix` (#2860).
|
6
|
+
Thanks @brunoSnoww.
|
7
|
+
- Add type signature for `lusolve(LUDecomposition, ...)` (#2864).
|
8
|
+
Thanks @evanmiller.
|
9
|
+
- Fix #2873: the rocket_trajectory_optimization.html example being partly
|
10
|
+
broken. Thanks @dvd101x.
|
11
|
+
- Fix #2871: coverage report broken (#2877). Thanks @bornova.
|
12
|
+
- Fix #2883: update documentation for stat functions, describe missing syntax.
|
13
|
+
- Fix #2884: fix examples in the embedded docs of function `pow` and some other
|
14
|
+
functions.
|
15
|
+
- Fix type definition of function `complex` for one numeric input (#2886),
|
16
|
+
thanks @ariymarkowitz.
|
17
|
+
- Fix type definitions of `map()` and `forEach()` (#2887), thanks @xiaohk.
|
18
|
+
- Fix #2606: improve type definitions of `dotMultiply`, `dotPow` and
|
19
|
+
`dotDivide` (#2890). Thanks @brunoSnoww.
|
20
|
+
|
21
|
+
# 2022-12-05, 11.5.0
|
22
|
+
|
23
|
+
- Improve `simplify` rule matches in non-commutative contexts (#2841).
|
24
|
+
Thanks @samueltlg.
|
25
|
+
- Simplify: add rules and restructure tests for non-commutative contexts
|
26
|
+
(#2847). Thanks @samueltlg.
|
27
|
+
- Fix function `reshape` mutating the input in case of a matrix (see #2854).
|
28
|
+
- Fix TypeScript types for `multiply()` with `number[]` and `number[][]`
|
29
|
+
(#2852). Thanks @hfhchan.
|
30
|
+
|
31
|
+
|
3
32
|
# 2022-11-18, 11.4.0
|
4
33
|
|
5
34
|
- Implemented more wildcards to describe rules for `simplify`, making it easier
|
package/NOTICE
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
math.js
|
2
2
|
https://github.com/josdejong/mathjs
|
3
3
|
|
4
|
-
Copyright (C) 2013-
|
4
|
+
Copyright (C) 2013-2023 Jos de Jong <wjosdejong@gmail.com>
|
5
5
|
|
6
6
|
Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
@@ -7,7 +7,7 @@ Math.js is an extensive math library for JavaScript and Node.js. It features a f
|
|
7
7
|
[](https://www.npmjs.com/package/mathjs)
|
8
8
|
[](https://www.npmjs.com/package/mathjs)
|
9
9
|
[](https://github.com/josdejong/mathjs/actions)
|
10
|
-
[](https://github.com/josdejong/mathjs/graphs/commit-activity)
|
11
11
|
[](https://github.com/josdejong/mathjs/blob/master/LICENSE)
|
12
12
|
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fjosdejong%2Fmathjs?ref=badge_shield)
|
13
13
|
[](https://codecov.io/gh/josdejong/mathjs)
|
@@ -220,7 +220,7 @@ Thanks Github Actions and BrowserStack for the generous free hosting of this ope
|
|
220
220
|
|
221
221
|
## License
|
222
222
|
|
223
|
-
Copyright (C) 2013-
|
223
|
+
Copyright (C) 2013-2023 Jos de Jong <wjosdejong@gmail.com>
|
224
224
|
|
225
225
|
Licensed under the Apache License, Version 2.0 (the "License");
|
226
226
|
you may not use this file except in compliance with the License.
|
package/bin/cli.js
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
* cat script.txt | mathjs > results.txt Run input stream, output to file
|
31
31
|
*
|
32
32
|
* @license
|
33
|
-
* Copyright (C) 2013-
|
33
|
+
* Copyright (C) 2013-2023 Jos de Jong <wjosdejong@gmail.com>
|
34
34
|
*
|
35
35
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
36
36
|
* use this file except in compliance with the License. You may obtain a copy
|