mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
Publish mathjs@5.3.1
This commit is contained in:
parent
e88759762e
commit
6290ba5378
10
download.md
10
download.md
@ -29,7 +29,7 @@ Math.js can be downloaded or linked from various content delivery networks:
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>unpkg</td>
|
||||
<td><a href="https://unpkg.com/mathjs@5.3.0/">https://unpkg.com/mathjs@5.3.0/</a></td>
|
||||
<td><a href="https://unpkg.com/mathjs@5.3.1/">https://unpkg.com/mathjs@5.3.1/</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>cdnjs</td>
|
||||
@ -47,8 +47,8 @@ Here some direct download links from [unpkg](https://unpkg.com):
|
||||
<table class="download">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="https://unpkg.com/mathjs@5.3.0/dist/math.js">
|
||||
Development (version 5.3.0)
|
||||
<a href="https://unpkg.com/mathjs@5.3.1/dist/math.js">
|
||||
Development (version 5.3.1)
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
@ -57,8 +57,8 @@ Here some direct download links from [unpkg](https://unpkg.com):
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="https://unpkg.com/mathjs@5.3.0/dist/math.min.js">
|
||||
Production (version 5.3.0)
|
||||
<a href="https://unpkg.com/mathjs@5.3.1/dist/math.min.js">
|
||||
Production (version 5.3.1)
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ File: [angle_configuration.html](angle_configuration.html) (click for a live dem
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>math.js | basic usage</title>
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ File: [basic_usage.html](basic_usage.html) (click for a live demo)
|
||||
<html>
|
||||
<head>
|
||||
<title>math.js | basic usage</title>
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<title>math.js | currency conversion</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
|
||||
<style>
|
||||
body,
|
||||
|
||||
@ -12,7 +12,7 @@ File: [currency_conversion.html](currency_conversion.html) (click for a live dem
|
||||
<head>
|
||||
<title>math.js | currency conversion</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
|
||||
<style>
|
||||
body,
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ File: [custom_separators.html](custom_separators.html) (click for a live demo)
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/2.2.0/es5-shim.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/2.2.0/es5-sham.min.js"></script>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ File: [old_browsers.html](old_browsers.html) (click for a live demo)
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/2.2.0/es5-shim.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/2.2.0/es5-sham.min.js"></script>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>math.js | plot</title>
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-1.35.2.min.js"></script>
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ File: [plot.html](plot.html) (click for a live demo)
|
||||
<html>
|
||||
<head>
|
||||
<title>math.js | plot</title>
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-1.35.2.min.js"></script>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<title>math.js | pretty printing with MathJax</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/mathjax/2.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -12,7 +12,7 @@ File: [pretty_printing_with_mathjax.html](pretty_printing_with_mathjax.html) (cl
|
||||
<head>
|
||||
<title>math.js | pretty printing with MathJax</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/mathjax/2.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<title>math.js | printing HTML</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
|
||||
@ -12,7 +12,7 @@ File: [printing_html.html](printing_html.html) (click for a live demo)
|
||||
<head>
|
||||
<title>math.js | printing HTML</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
<script>
|
||||
// load math.js using require.js
|
||||
require(['https://unpkg.com/mathjs@5.3.0/dist/math.min.js'], function (math) {
|
||||
require(['https://unpkg.com/mathjs@5.3.1/dist/math.min.js'], function (math) {
|
||||
// evaluate some expression
|
||||
const result = math.eval('1.2 * (2 + 4.5)')
|
||||
document.write(result)
|
||||
|
||||
@ -17,7 +17,7 @@ File: [requirejs_loading.html](requirejs_loading.html) (click for a live demo)
|
||||
|
||||
<script>
|
||||
// load math.js using require.js
|
||||
require(['https://unpkg.com/mathjs@5.3.0/dist/math.min.js'], function (math) {
|
||||
require(['https://unpkg.com/mathjs@5.3.1/dist/math.min.js'], function (math) {
|
||||
// evaluate some expression
|
||||
const result = math.eval('1.2 * (2 + 4.5)')
|
||||
document.write(result)
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<title>math.js | rocket trajectory optimization</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -12,7 +12,7 @@ File: [rocket_trajectory_optimization.html](rocket_trajectory_optimization.html)
|
||||
<head>
|
||||
<title>math.js | rocket trajectory optimization</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@5.3.0/dist/math.min.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@5.3.1/dist/math.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -91,7 +91,7 @@ File: [webworkers.html](webworkers.html) (click for a live demo)
|
||||
File: [worker.js](worker.js) (click for a live demo)
|
||||
|
||||
```js
|
||||
importScripts('https://unpkg.com/mathjs@5.3.0/dist/math.min.js')
|
||||
importScripts('https://unpkg.com/mathjs@5.3.1/dist/math.min.js')
|
||||
|
||||
// create a parser
|
||||
const parser = self.math.parser()
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
importScripts('https://unpkg.com/mathjs@5.3.0/dist/math.min.js')
|
||||
importScripts('https://unpkg.com/mathjs@5.3.1/dist/math.min.js')
|
||||
|
||||
// create a parser
|
||||
const parser = self.math.parser()
|
||||
|
||||
@ -4,6 +4,12 @@ layout: default
|
||||
|
||||
<h1 id="history">History <a href="#history" title="Permalink">#</a></h1>
|
||||
|
||||
<h1 id="20181203-version-531">2018-12-03, version 5.3.1 <a href="#20181203-version-531" title="Permalink">#</a></h1>
|
||||
|
||||
- Fixed <a href="https://github.com/josdejong/mathjs/issues/1336">#1336</a>: Unit.toSI() returning units with prefix like `mm` instead
|
||||
of `m`. Thanks <a href="https://github.com/ericman314">@ericman314</a>.
|
||||
|
||||
|
||||
<h1 id="20181129-version-530">2018-11-29, version 5.3.0 <a href="#20181129-version-530" title="Permalink">#</a></h1>
|
||||
|
||||
- Implemented function `hasNumericValue`. Thanks <a href="https://github.com/Sathish-kumar-Subramani">@Sathish-kumar-Subramani</a>.
|
||||
|
||||
@ -6,8 +6,8 @@
|
||||
* It features real and complex numbers, units, matrices, a large set of
|
||||
* mathematical functions, and a flexible expression parser.
|
||||
*
|
||||
* @version 5.3.0
|
||||
* @date 2018-11-29
|
||||
* @version 5.3.1
|
||||
* @date 2018-12-03
|
||||
*
|
||||
* @license
|
||||
* Copyright (C) 2013-2018 Jos de Jong <wjosdejong@gmail.com>
|
||||
@ -39571,6 +39571,7 @@ function factory(type, config, load, typed, math) {
|
||||
|
||||
|
||||
ret.units = proposedUnitList;
|
||||
ret.fixPrefix = true;
|
||||
ret.isUnitListSimplified = true;
|
||||
return ret;
|
||||
};
|
||||
@ -42952,7 +42953,7 @@ exports.math = true; // request access to the math namespace
|
||||
/* 194 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = '5.3.0'; // Note: This file is automatically generated when building math.js.
|
||||
module.exports = '5.3.1'; // Note: This file is automatically generated when building math.js.
|
||||
// Changes made in this file will be overwritten.
|
||||
|
||||
/***/ }),
|
||||
|
||||
6
js/lib/math.min.js
vendored
6
js/lib/math.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
package-lock.json
generated
6
package-lock.json
generated
@ -1621,9 +1621,9 @@
|
||||
}
|
||||
},
|
||||
"mathjs": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-5.3.0.tgz",
|
||||
"integrity": "sha512-4DSk2A3WpAEgKND49nGNwzhVm0ZvCJJkzwcJjC3Dum/jstG7/iMPHW8ni4V7Gm7jQOhs7zsoqocFKXXU1E1kig==",
|
||||
"version": "5.3.1",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-5.3.1.tgz",
|
||||
"integrity": "sha512-6Z1Yev5Bl0XrKiaV9Rbj9wTf4Ba0pUHrM/cRc69MqgtfTw37QGUSavypbicUlbPLC0BK8mqJ5+WA6/Rk9Rx2kg==",
|
||||
"requires": {
|
||||
"complex.js": "2.0.11",
|
||||
"decimal.js": "10.0.1",
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
"url": "https://github.com/josdejong/mathjs.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"mathjs": "5.3.0"
|
||||
"mathjs": "5.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"glob": "^7.1.2",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user