mathjs 12.4.0 → 12.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/HISTORY.md +13 -0
- package/README.md +28 -0
- package/bin/cli.js +1 -1
- package/bin/repl.js +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/expression/node/ConstantNode.js +5 -3
- package/lib/cjs/function/algebra/simplifyCore.js +3 -0
- package/lib/cjs/function/algebra/sparse/csAmd.js +4 -2
- package/lib/cjs/function/algebra/sparse/csChol.js +4 -2
- package/lib/cjs/function/algebra/sparse/csCounts.js +4 -2
- package/lib/cjs/function/algebra/sparse/csCumsum.js +4 -2
- package/lib/cjs/function/algebra/sparse/csDfs.js +4 -2
- package/lib/cjs/function/algebra/sparse/csEreach.js +4 -2
- package/lib/cjs/function/algebra/sparse/csEtree.js +4 -2
- package/lib/cjs/function/algebra/sparse/csFkeep.js +4 -2
- package/lib/cjs/function/algebra/sparse/csFlip.js +4 -2
- package/lib/cjs/function/algebra/sparse/csIpvec.js +4 -0
- package/lib/cjs/function/algebra/sparse/csLeaf.js +4 -2
- package/lib/cjs/function/algebra/sparse/csLu.js +4 -2
- package/lib/cjs/function/algebra/sparse/csMark.js +4 -2
- package/lib/cjs/function/algebra/sparse/csMarked.js +4 -2
- package/lib/cjs/function/algebra/sparse/csPermute.js +4 -2
- package/lib/cjs/function/algebra/sparse/csPost.js +4 -2
- package/lib/cjs/function/algebra/sparse/csReach.js +4 -2
- package/lib/cjs/function/algebra/sparse/csSpsolve.js +4 -2
- package/lib/cjs/function/algebra/sparse/csSqr.js +4 -2
- package/lib/cjs/function/algebra/sparse/csSymperm.js +4 -2
- package/lib/cjs/function/algebra/sparse/csTdfs.js +4 -2
- package/lib/cjs/function/algebra/sparse/csUnflip.js +4 -2
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/type/unit/Unit.js +6 -2
- package/lib/cjs/version.js +1 -1
- package/lib/esm/expression/node/ConstantNode.js +5 -3
- package/lib/esm/function/algebra/simplifyCore.js +3 -0
- package/lib/esm/function/algebra/sparse/csAmd.js +3 -2
- package/lib/esm/function/algebra/sparse/csChol.js +3 -2
- package/lib/esm/function/algebra/sparse/csCounts.js +3 -2
- package/lib/esm/function/algebra/sparse/csCumsum.js +4 -2
- package/lib/esm/function/algebra/sparse/csDfs.js +3 -2
- package/lib/esm/function/algebra/sparse/csEreach.js +3 -2
- package/lib/esm/function/algebra/sparse/csEtree.js +4 -2
- package/lib/esm/function/algebra/sparse/csFkeep.js +4 -2
- package/lib/esm/function/algebra/sparse/csFlip.js +4 -2
- package/lib/esm/function/algebra/sparse/csIpvec.js +4 -0
- package/lib/esm/function/algebra/sparse/csLeaf.js +4 -2
- package/lib/esm/function/algebra/sparse/csLu.js +4 -2
- package/lib/esm/function/algebra/sparse/csMark.js +4 -2
- package/lib/esm/function/algebra/sparse/csMarked.js +4 -2
- package/lib/esm/function/algebra/sparse/csPermute.js +4 -2
- package/lib/esm/function/algebra/sparse/csPost.js +3 -2
- package/lib/esm/function/algebra/sparse/csReach.js +4 -2
- package/lib/esm/function/algebra/sparse/csSpsolve.js +3 -2
- package/lib/esm/function/algebra/sparse/csSqr.js +3 -2
- package/lib/esm/function/algebra/sparse/csSymperm.js +3 -2
- package/lib/esm/function/algebra/sparse/csTdfs.js +4 -2
- package/lib/esm/function/algebra/sparse/csUnflip.js +3 -2
- package/lib/esm/type/unit/Unit.js +6 -2
- package/lib/esm/version.js +1 -1
- package/package.json +13 -13
package/HISTORY.md
CHANGED
@@ -1,6 +1,19 @@
|
|
1
1
|
# History
|
2
2
|
|
3
3
|
|
4
|
+
# 2024-03-13, 12.4.1
|
5
|
+
|
6
|
+
- Docs: implement an interactive version of the Lorenz example, and show the
|
7
|
+
chart full screen (#3151). Thanks @dvd101x.
|
8
|
+
- Fix #3172: simplify `"true and true"`.
|
9
|
+
- Fix #3163: `toTex` wrongly returning `Infinity` for large BigNumbers.
|
10
|
+
- Fix #3162: add license information about CSParse (#3164).
|
11
|
+
- Fix #3175: cannot delete units using `math.Unit.deleteUnit`.
|
12
|
+
- Fix: faster startup time of the CLI and REPL by loading the bundle.
|
13
|
+
- Fix: remove using polyfill.io inside the example
|
14
|
+
`pretty_printing_with_mathjax.html` (#3167). Thanks @SukkaW.
|
15
|
+
|
16
|
+
|
4
17
|
# 2024-02-22, 12.4.0
|
5
18
|
|
6
19
|
- Feat: implement support for trailing commas in matrices (#3154, #2968).
|
package/README.md
CHANGED
@@ -195,6 +195,9 @@ Thanks Github Actions and BrowserStack for the generous free hosting of this ope
|
|
195
195
|
|
196
196
|
## License
|
197
197
|
|
198
|
+
mathjs is published under the Apache 2.0 license:
|
199
|
+
|
200
|
+
```
|
198
201
|
Copyright (C) 2013-2024 Jos de Jong <wjosdejong@gmail.com>
|
199
202
|
|
200
203
|
Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -208,3 +211,28 @@ distributed under the License is distributed on an "AS IS" BASIS,
|
|
208
211
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
209
212
|
See the License for the specific language governing permissions and
|
210
213
|
limitations under the License.
|
214
|
+
```
|
215
|
+
|
216
|
+
mathjs contains a JavaScript port of the [CSparse](https://github.com/DrTimothyAldenDavis/SuiteSparse/tree/dev/CSparse/Source) library, published under the LGPL-2.1+ license:
|
217
|
+
|
218
|
+
```
|
219
|
+
CSparse: a Concise Sparse matrix package.
|
220
|
+
Copyright (c) 2006, Timothy A. Davis.
|
221
|
+
http://www.suitesparse.com
|
222
|
+
|
223
|
+
--------------------------------------------------------------------------------
|
224
|
+
|
225
|
+
CSparse is free software; you can redistribute it and/or
|
226
|
+
modify it under the terms of the GNU Lesser General Public
|
227
|
+
License as published by the Free Software Foundation; either
|
228
|
+
version 2.1 of the License, or (at your option) any later version.
|
229
|
+
|
230
|
+
CSparse is distributed in the hope that it will be useful,
|
231
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
232
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
233
|
+
Lesser General Public License for more details.
|
234
|
+
|
235
|
+
You should have received a copy of the GNU Lesser General Public
|
236
|
+
License along with this Module; if not, write to the Free Software
|
237
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
238
|
+
```
|
package/bin/cli.js
CHANGED
package/bin/repl.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
* This simply preloads mathjs and drops you into a REPL to
|
5
5
|
* help interactive debugging.
|
6
6
|
**/
|
7
|
-
global.math = require('../lib/
|
7
|
+
global.math = require('../lib/browser/math.js')
|
8
8
|
const repl = require('repl')
|
9
9
|
|
10
10
|
repl.start({ useGlobal: true })
|