mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
chore: publish mathjs@12.4.1
This commit is contained in:
parent
03095ece57
commit
9e86a6cec6
@ -27,7 +27,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@12.4.0/">https://unpkg.com/mathjs@12.4.0/</a></td>
|
||||
<td><a href="https://unpkg.com/mathjs@12.4.1/">https://unpkg.com/mathjs@12.4.1/</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>cdnjs</td>
|
||||
@ -48,9 +48,9 @@ Or download the full bundle directly from [unpkg](https://unpkg.com):
|
||||
|
||||
<p>
|
||||
<a
|
||||
href="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"
|
||||
>math.js (version 12.4.0, <span id="size">200 kB</span>, minified and gzipped)</a>
|
||||
and if needed the <a href="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js.map">source map</a>
|
||||
href="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"
|
||||
>math.js (version 12.4.1, <span id="size">200 kB</span>, minified and gzipped)</a>
|
||||
and if needed the <a href="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js.map">source map</a>
|
||||
</p>
|
||||
|
||||
Too large for you? Create your own [custom bundle](docs/custom_bundling.html).
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ File: [angle_configuration.html](angle_configuration.html) (click for a live dem
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | basic usage</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ File: [basic_usage.html](basic_usage.html) (click for a live demo)
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | basic usage</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | currency conversion</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
|
||||
<style>
|
||||
body,
|
||||
|
||||
@ -13,7 +13,7 @@ File: [currency_conversion.html](currency_conversion.html) (click for a live dem
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | currency conversion</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
|
||||
<style>
|
||||
body,
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ File: [custom_separators.html](custom_separators.html) (click for a live demo)
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -4,9 +4,25 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>math.js | Lorenz Attractor</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-2.25.2.min.js" charset="utf-8"></script>
|
||||
<style>
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#LorenzGraph {
|
||||
flex: 1;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@ -36,7 +52,11 @@
|
||||
type: "scatter3d",
|
||||
mode: "lines"
|
||||
}],
|
||||
{ width: 800, height: 600 }
|
||||
{
|
||||
responsive: true,
|
||||
uirevision: 'true',
|
||||
title:"Lorenz Attractor",
|
||||
}
|
||||
)
|
||||
|
||||
// define the lorenz attractor
|
||||
|
||||
@ -13,9 +13,25 @@ File: [lorenz.html](lorenz.html) (click for a live demo)
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>math.js | Lorenz Attractor</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-2.25.2.min.js" charset="utf-8"></script>
|
||||
<style>
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#LorenzGraph {
|
||||
flex: 1;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@ -45,7 +61,11 @@ File: [lorenz.html](lorenz.html) (click for a live demo)
|
||||
type: "scatter3d",
|
||||
mode: "lines"
|
||||
}],
|
||||
{ width: 800, height: 600 }
|
||||
{
|
||||
responsive: true,
|
||||
uirevision: 'true',
|
||||
title:"Lorenz Attractor",
|
||||
}
|
||||
)
|
||||
|
||||
// define the lorenz attractor
|
||||
|
||||
193
examples/browser/lorenz_interactive.html
Normal file
193
examples/browser/lorenz_interactive.html
Normal file
@ -0,0 +1,193 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>math.js | Lorenz Attractor</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-2.28.0.min.js" charset="utf-8"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js"
|
||||
integrity="sha512-LQNxIMR5rXv7o+b1l8+N1EZMfhG7iFZ9HhnbJkTp4zjNr5Wvst75AqUeFDxeRUa7l5vEDyUiAip//r+EFLLCyA=="
|
||||
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.css"
|
||||
integrity="sha512-fHwaWebuwA7NSF5Qg/af4UeDx9XqUpYpOGgubo3yWu+b2IQR4UeQwbb42Ti7gVAjNtVoI/I9TEoYeu9omwcC6g=="
|
||||
crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||
<style>
|
||||
body,
|
||||
html {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#LorenzGraph {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#inputsDiv {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
background: white;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="LorenzGraph"></div>
|
||||
<div id="inputsDiv">
|
||||
<fieldset name="inputs" id="inputs">
|
||||
<legend for="inputs">Inputs:</legend>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="sigma" id="sigmaLabel">sigma</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="sigma" name="sigma" value=10 min=9 max=11 step=0.01>
|
||||
</td>
|
||||
<td>
|
||||
<label for="beta" id="betaLabel">beta</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="beta" name="beta" value=8/3 min=2 max=4 step=0.01>
|
||||
</td>
|
||||
<td>
|
||||
<label for="rho" id="rhoLabel">rho</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="rho" name="rho" value=28 min=20 max=30 step=0.01>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="x0" id="x0Label">x0</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="x0" name="x0" value=1 min=-5 max=5 step=0.01>
|
||||
</td>
|
||||
<td>
|
||||
<label for="y0" id="y0Label">y0</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="y0" name="y0" value=1 min=-5 max=5 step=0.01>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<label for="z0" id="z0Label">z0</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="z0" name="z0" value=0 min=-5 max=5 step=0.01>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="epsilon" id="epsilonLabel">epsilon</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="epsilon" name="epsilon" value=0.01 min=0.0001 max=0.1 step=0.0001>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
</body>
|
||||
<script defer>
|
||||
katex.render(String.raw`\sigma`, document.querySelector("#sigmaLabel"))
|
||||
katex.render(String.raw`\beta`, document.querySelector("#betaLabel"))
|
||||
katex.render(String.raw`\rho`, document.querySelector("#rhoLabel"))
|
||||
katex.render(String.raw`x_0`, document.querySelector("#x0Label"))
|
||||
katex.render(String.raw`y_0`, document.querySelector("#y0Label"))
|
||||
katex.render(String.raw`z_0`, document.querySelector("#z0Label"))
|
||||
katex.render(String.raw`\epsilon`, document.querySelector("#epsilonLabel"))
|
||||
|
||||
const inputs = document.querySelector("#inputs")
|
||||
|
||||
// define the constants for the Lorenz attractor
|
||||
const sigma = document.querySelector("#sigma")
|
||||
const beta = document.querySelector("#beta")
|
||||
const rho = document.querySelector("#rho")
|
||||
|
||||
// define the initial location
|
||||
const x0 = document.querySelector('#x0')
|
||||
const y0 = document.querySelector('#y0')
|
||||
const z0 = document.querySelector('#z0')
|
||||
|
||||
// define the tolerance for the solution
|
||||
const epsilon = document.querySelector('#epsilon')
|
||||
|
||||
const layout = {
|
||||
interactive: true,
|
||||
title: 'Lorenz Attractor',
|
||||
uirevision: 'true',
|
||||
sliders: [{
|
||||
name: 'sigma',
|
||||
currentvalue: {
|
||||
xanchor: 'right',
|
||||
prefix: 'color: ',
|
||||
font: {
|
||||
color: '#888',
|
||||
size: 20
|
||||
}
|
||||
},
|
||||
steps: [{ label: 'g', method: "updateSolution" }, { label: 'f' }]
|
||||
}]
|
||||
}
|
||||
|
||||
const t_span = [0, 100]
|
||||
|
||||
inputs.addEventListener("change", updateSolution)
|
||||
|
||||
let trace
|
||||
// solve the Lorenz attractor with the initial values
|
||||
updateSolution()
|
||||
|
||||
// crates a trace in the format needed for plotly
|
||||
function createTrace(sol) {
|
||||
// make colors that represents time differences in the solution
|
||||
const diff = math.diff(sol.t)
|
||||
const color = [diff[0], ...diff]
|
||||
const trace = [{
|
||||
x: sol.y.map(u => u[0]),
|
||||
y: sol.y.map(u => u[1]),
|
||||
z: sol.y.map(u => u[2]),
|
||||
line: {
|
||||
color,
|
||||
colorscale: 'Jet'
|
||||
},
|
||||
type: "scatter3d",
|
||||
mode: "lines"
|
||||
}]
|
||||
return trace
|
||||
}
|
||||
|
||||
function createLorenz(sigma, rho, beta) {
|
||||
// define the lorenz attractor as a function of t and u in the format needed for solveODE
|
||||
return function lorenz(t, u) {
|
||||
const [x, y, z] = u
|
||||
// return x', y', z'
|
||||
return [
|
||||
sigma * (y - x),
|
||||
x * (rho - z) - y,
|
||||
x * y - beta * z
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
function updateSolution() {
|
||||
const y_0 = [x0.value, y0.value, z0.value]
|
||||
const sol = math.solveODE(createLorenz(sigma.value, rho.value, beta.value), t_span, y_0, { tol: epsilon.value })
|
||||
trace = createTrace(sol)
|
||||
// reactively render the plot on update
|
||||
Plotly.react('LorenzGraph', trace, layout)
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</html>
|
||||
207
examples/browser/lorenz_interactive.html.md
Normal file
207
examples/browser/lorenz_interactive.html.md
Normal file
@ -0,0 +1,207 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
# Lorenz interactive
|
||||
|
||||
File: [lorenz_interactive.html](lorenz_interactive.html) (click for a live demo)
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>math.js | Lorenz Attractor</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-2.28.0.min.js" charset="utf-8"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js"
|
||||
integrity="sha512-LQNxIMR5rXv7o+b1l8+N1EZMfhG7iFZ9HhnbJkTp4zjNr5Wvst75AqUeFDxeRUa7l5vEDyUiAip//r+EFLLCyA=="
|
||||
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.css"
|
||||
integrity="sha512-fHwaWebuwA7NSF5Qg/af4UeDx9XqUpYpOGgubo3yWu+b2IQR4UeQwbb42Ti7gVAjNtVoI/I9TEoYeu9omwcC6g=="
|
||||
crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||
<style>
|
||||
body,
|
||||
html {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#LorenzGraph {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#inputsDiv {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
background: white;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="LorenzGraph"></div>
|
||||
<div id="inputsDiv">
|
||||
<fieldset name="inputs" id="inputs">
|
||||
<legend for="inputs">Inputs:</legend>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="sigma" id="sigmaLabel">sigma</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="sigma" name="sigma" value=10 min=9 max=11 step=0.01>
|
||||
</td>
|
||||
<td>
|
||||
<label for="beta" id="betaLabel">beta</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="beta" name="beta" value=8/3 min=2 max=4 step=0.01>
|
||||
</td>
|
||||
<td>
|
||||
<label for="rho" id="rhoLabel">rho</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="rho" name="rho" value=28 min=20 max=30 step=0.01>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="x0" id="x0Label">x0</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="x0" name="x0" value=1 min=-5 max=5 step=0.01>
|
||||
</td>
|
||||
<td>
|
||||
<label for="y0" id="y0Label">y0</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="y0" name="y0" value=1 min=-5 max=5 step=0.01>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<label for="z0" id="z0Label">z0</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="z0" name="z0" value=0 min=-5 max=5 step=0.01>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="epsilon" id="epsilonLabel">epsilon</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="range" id="epsilon" name="epsilon" value=0.01 min=0.0001 max=0.1 step=0.0001>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
</body>
|
||||
<script defer>
|
||||
katex.render(String.raw`\sigma`, document.querySelector("#sigmaLabel"))
|
||||
katex.render(String.raw`\beta`, document.querySelector("#betaLabel"))
|
||||
katex.render(String.raw`\rho`, document.querySelector("#rhoLabel"))
|
||||
katex.render(String.raw`x_0`, document.querySelector("#x0Label"))
|
||||
katex.render(String.raw`y_0`, document.querySelector("#y0Label"))
|
||||
katex.render(String.raw`z_0`, document.querySelector("#z0Label"))
|
||||
katex.render(String.raw`\epsilon`, document.querySelector("#epsilonLabel"))
|
||||
|
||||
const inputs = document.querySelector("#inputs")
|
||||
|
||||
// define the constants for the Lorenz attractor
|
||||
const sigma = document.querySelector("#sigma")
|
||||
const beta = document.querySelector("#beta")
|
||||
const rho = document.querySelector("#rho")
|
||||
|
||||
// define the initial location
|
||||
const x0 = document.querySelector('#x0')
|
||||
const y0 = document.querySelector('#y0')
|
||||
const z0 = document.querySelector('#z0')
|
||||
|
||||
// define the tolerance for the solution
|
||||
const epsilon = document.querySelector('#epsilon')
|
||||
|
||||
const layout = {
|
||||
interactive: true,
|
||||
title: 'Lorenz Attractor',
|
||||
uirevision: 'true',
|
||||
sliders: [{
|
||||
name: 'sigma',
|
||||
currentvalue: {
|
||||
xanchor: 'right',
|
||||
prefix: 'color: ',
|
||||
font: {
|
||||
color: '#888',
|
||||
size: 20
|
||||
}
|
||||
},
|
||||
steps: [{ label: 'g', method: "updateSolution" }, { label: 'f' }]
|
||||
}]
|
||||
}
|
||||
|
||||
const t_span = [0, 100]
|
||||
|
||||
inputs.addEventListener("change", updateSolution)
|
||||
|
||||
let trace
|
||||
// solve the Lorenz attractor with the initial values
|
||||
updateSolution()
|
||||
|
||||
// crates a trace in the format needed for plotly
|
||||
function createTrace(sol) {
|
||||
// make colors that represents time differences in the solution
|
||||
const diff = math.diff(sol.t)
|
||||
const color = [diff[0], ...diff]
|
||||
const trace = [{
|
||||
x: sol.y.map(u => u[0]),
|
||||
y: sol.y.map(u => u[1]),
|
||||
z: sol.y.map(u => u[2]),
|
||||
line: {
|
||||
color,
|
||||
colorscale: 'Jet'
|
||||
},
|
||||
type: "scatter3d",
|
||||
mode: "lines"
|
||||
}]
|
||||
return trace
|
||||
}
|
||||
|
||||
function createLorenz(sigma, rho, beta) {
|
||||
// define the lorenz attractor as a function of t and u in the format needed for solveODE
|
||||
return function lorenz(t, u) {
|
||||
const [x, y, z] = u
|
||||
// return x', y', z'
|
||||
return [
|
||||
sigma * (y - x),
|
||||
x * (rho - z) - y,
|
||||
x * y - beta * z
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
function updateSolution() {
|
||||
const y_0 = [x0.value, y0.value, z0.value]
|
||||
const sol = math.solveODE(createLorenz(sigma.value, rho.value, beta.value), t_span, y_0, { tol: epsilon.value })
|
||||
trace = createTrace(sol)
|
||||
// reactively render the plot on update
|
||||
Plotly.react('LorenzGraph', trace, layout)
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</html>
|
||||
|
||||
```
|
||||
|
||||
<!-- Note: This file is automatically generated. Changes made in this file will be overridden. -->
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | plot</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-1.35.2.min.js"></script>
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ File: [plot.html](plot.html) (click for a live demo)
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | plot</title>
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
|
||||
<script src="https://cdn.plot.ly/plotly-1.35.2.min.js"></script>
|
||||
|
||||
|
||||
@ -4,8 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | pretty printing with MathJax</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -13,8 +13,7 @@ File: [pretty_printing_with_mathjax.html](pretty_printing_with_mathjax.html) (cl
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | pretty printing with MathJax</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | printing HTML</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
|
||||
@ -13,7 +13,7 @@ File: [printing_html.html](printing_html.html) (click for a live demo)
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | printing HTML</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
<script>
|
||||
// load math.js using require.js
|
||||
require(['https://unpkg.com/mathjs@12.4.0/lib/browser/math.js'], function (math) {
|
||||
require(['https://unpkg.com/mathjs@12.4.1/lib/browser/math.js'], function (math) {
|
||||
// evaluate some expression
|
||||
const result = math.evaluate('1.2 * (2 + 4.5)')
|
||||
document.write(result)
|
||||
|
||||
@ -18,7 +18,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@12.4.0/lib/browser/math.js'], function (math) {
|
||||
require(['https://unpkg.com/mathjs@12.4.1/lib/browser/math.js'], function (math) {
|
||||
// evaluate some expression
|
||||
const result = math.evaluate('1.2 * (2 + 4.5)')
|
||||
document.write(result)
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | rocket trajectory optimization</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -14,7 +14,7 @@ File: [rocket_trajectory_optimization.html](rocket_trajectory_optimization.html)
|
||||
<meta charset="utf-8">
|
||||
<title>math.js | rocket trajectory optimization</title>
|
||||
|
||||
<script src="https://unpkg.com/mathjs@12.4.0/lib/browser/math.js"></script>
|
||||
<script src="https://unpkg.com/mathjs@12.4.1/lib/browser/math.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
@ -92,7 +92,7 @@ File: [webworkers.html](webworkers.html) (click for a live demo)
|
||||
File: [worker.js](worker.js)
|
||||
|
||||
```js
|
||||
importScripts('https://unpkg.com/mathjs@12.4.0/lib/browser/math.js')
|
||||
importScripts('https://unpkg.com/mathjs@12.4.1/lib/browser/math.js')
|
||||
|
||||
// create a parser
|
||||
const parser = self.math.parser()
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
importScripts('https://unpkg.com/mathjs@12.4.0/lib/browser/math.js')
|
||||
importScripts('https://unpkg.com/mathjs@12.4.1/lib/browser/math.js')
|
||||
|
||||
// create a parser
|
||||
const parser = self.math.parser()
|
||||
|
||||
@ -25,6 +25,7 @@ layout: default
|
||||
- [Currency conversion](browser\currency_conversion.html.html)
|
||||
- [Custom separators](browser\custom_separators.html.html)
|
||||
- [Lorenz](browser\lorenz.html.html)
|
||||
- [Lorenz interactive](browser\lorenz_interactive.html.html)
|
||||
- [Plot](browser\plot.html.html)
|
||||
- [Pretty printing with mathjax](browser\pretty_printing_with_mathjax.html.html)
|
||||
- [Printing html](browser\printing_html.html.html)
|
||||
|
||||
13
history.md
13
history.md
@ -5,6 +5,19 @@ layout: default
|
||||
<h1 id="history">History <a href="#history" title="Permalink">#</a></h1>
|
||||
|
||||
|
||||
<h1 id="20240313-1241">2024-03-13, 12.4.1 <a href="#20240313-1241" title="Permalink">#</a></h1>
|
||||
|
||||
- Docs: implement an interactive version of the Lorenz example, and show the
|
||||
chart full screen (<a href="https://github.com/josdejong/mathjs/issues/3151">#3151</a>). Thanks <a href="https://github.com/dvd101x">@dvd101x</a>.
|
||||
- Fix <a href="https://github.com/josdejong/mathjs/issues/3172">#3172</a>: simplify `"true and true"`.
|
||||
- Fix <a href="https://github.com/josdejong/mathjs/issues/3163">#3163</a>: `toTex` wrongly returning `Infinity` for large BigNumbers.
|
||||
- Fix <a href="https://github.com/josdejong/mathjs/issues/3162">#3162</a>: add license information about CSParse (<a href="https://github.com/josdejong/mathjs/issues/3164">#3164</a>).
|
||||
- Fix <a href="https://github.com/josdejong/mathjs/issues/3175">#3175</a>: cannot delete units using `math.Unit.deleteUnit`.
|
||||
- Fix: faster startup time of the CLI and REPL by loading the bundle.
|
||||
- Fix: remove using polyfill.io inside the example
|
||||
`pretty_printing_with_mathjax.html` (<a href="https://github.com/josdejong/mathjs/issues/3167">#3167</a>). Thanks <a href="https://github.com/SukkaW">@SukkaW</a>.
|
||||
|
||||
|
||||
<h1 id="20240222-1240">2024-02-22, 12.4.0 <a href="#20240222-1240" title="Permalink">#</a></h1>
|
||||
|
||||
- Feat: implement support for trailing commas in matrices (<a href="https://github.com/josdejong/mathjs/issues/3154">#3154</a>, <a href="https://github.com/josdejong/mathjs/issues/2968">#2968</a>).
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -23,8 +23,8 @@
|
||||
* It features real and complex numbers, units, matrices, a large set of
|
||||
* mathematical functions, and a flexible expression parser.
|
||||
*
|
||||
* @version 12.4.0
|
||||
* @date 2024-02-22
|
||||
* @version 12.4.1
|
||||
* @date 2024-03-13
|
||||
*
|
||||
* @license
|
||||
* Copyright (C) 2013-2024 Jos de Jong <wjosdejong@gmail.com>
|
||||
|
||||
File diff suppressed because one or more lines are too long
193
package-lock.json
generated
193
package-lock.json
generated
@ -8,7 +8,7 @@
|
||||
"name": "mathjs-website",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"mathjs": "12.4.0"
|
||||
"mathjs": "12.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"fancy-log": "2.0.0",
|
||||
@ -22,9 +22,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@babel/runtime": {
|
||||
"version": "7.23.9",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.9.tgz",
|
||||
"integrity": "sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==",
|
||||
"version": "7.24.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.0.tgz",
|
||||
"integrity": "sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==",
|
||||
"dependencies": {
|
||||
"regenerator-runtime": "^0.14.0"
|
||||
},
|
||||
@ -784,12 +784,16 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/d": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz",
|
||||
"integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=",
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.2.tgz",
|
||||
"integrity": "sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"es5-ext": "^0.10.9"
|
||||
"es5-ext": "^0.10.64",
|
||||
"type": "^2.7.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.12"
|
||||
}
|
||||
},
|
||||
"node_modules/debug": {
|
||||
@ -967,14 +971,19 @@
|
||||
}
|
||||
},
|
||||
"node_modules/es5-ext": {
|
||||
"version": "0.10.50",
|
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.50.tgz",
|
||||
"integrity": "sha512-KMzZTPBkeQV/JcSQhI5/z6d9VWJ3EnQ194USTUwIYZ2ZbpN8+SGXQKt1h68EX44+qt+Fzr8DO17vnxrw7c3agw==",
|
||||
"version": "0.10.64",
|
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz",
|
||||
"integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"es6-iterator": "~2.0.3",
|
||||
"es6-symbol": "~3.1.1",
|
||||
"next-tick": "^1.0.0"
|
||||
"es6-iterator": "^2.0.3",
|
||||
"es6-symbol": "^3.1.3",
|
||||
"esniff": "^2.0.1",
|
||||
"next-tick": "^1.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10"
|
||||
}
|
||||
},
|
||||
"node_modules/es6-iterator": {
|
||||
@ -989,13 +998,16 @@
|
||||
}
|
||||
},
|
||||
"node_modules/es6-symbol": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz",
|
||||
"integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=",
|
||||
"version": "3.1.4",
|
||||
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.4.tgz",
|
||||
"integrity": "sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"d": "1",
|
||||
"es5-ext": "~0.10.14"
|
||||
"d": "^1.0.2",
|
||||
"ext": "^1.7.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.12"
|
||||
}
|
||||
},
|
||||
"node_modules/es6-weak-map": {
|
||||
@ -1024,6 +1036,31 @@
|
||||
"node": ">=0.8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/esniff": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz",
|
||||
"integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"d": "^1.0.1",
|
||||
"es5-ext": "^0.10.62",
|
||||
"event-emitter": "^0.3.5",
|
||||
"type": "^2.7.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10"
|
||||
}
|
||||
},
|
||||
"node_modules/event-emitter": {
|
||||
"version": "0.3.5",
|
||||
"resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz",
|
||||
"integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"d": "1",
|
||||
"es5-ext": "~0.10.14"
|
||||
}
|
||||
},
|
||||
"node_modules/expand-brackets": {
|
||||
"version": "2.1.4",
|
||||
"resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
|
||||
@ -1078,6 +1115,15 @@
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/ext": {
|
||||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz",
|
||||
"integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"type": "^2.7.2"
|
||||
}
|
||||
},
|
||||
"node_modules/extend": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
|
||||
@ -3033,11 +3079,11 @@
|
||||
}
|
||||
},
|
||||
"node_modules/mathjs": {
|
||||
"version": "12.4.0",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-12.4.0.tgz",
|
||||
"integrity": "sha512-4Moy0RNjwMSajEkGGxNUyMMC/CZAcl87WBopvNsJWB4E4EFebpTedr+0/rhqmnOSTH3Wu/3WfiWiw6mqiaHxVw==",
|
||||
"version": "12.4.1",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-12.4.1.tgz",
|
||||
"integrity": "sha512-welnW3khgwYjPYvECFHO+xkCxAx9IKIIPDDWPi8B5rKAvmgoEHnQX9slEmHKZTNaJiE+OS4qrJJcB4sfDn/4sw==",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.23.9",
|
||||
"@babel/runtime": "^7.24.0",
|
||||
"complex.js": "^2.1.1",
|
||||
"decimal.js": "^10.4.3",
|
||||
"escape-latex": "^1.2.0",
|
||||
@ -3181,9 +3227,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/next-tick": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz",
|
||||
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=",
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz",
|
||||
"integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/normalize-package-data": {
|
||||
@ -4417,6 +4463,12 @@
|
||||
"node": ">= 0.10"
|
||||
}
|
||||
},
|
||||
"node_modules/type": {
|
||||
"version": "2.7.2",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz",
|
||||
"integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/typed-function": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/typed-function/-/typed-function-4.1.1.tgz",
|
||||
@ -4782,9 +4834,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": {
|
||||
"version": "7.23.9",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.9.tgz",
|
||||
"integrity": "sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==",
|
||||
"version": "7.24.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.0.tgz",
|
||||
"integrity": "sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==",
|
||||
"requires": {
|
||||
"regenerator-runtime": "^0.14.0"
|
||||
}
|
||||
@ -5396,12 +5448,13 @@
|
||||
"dev": true
|
||||
},
|
||||
"d": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz",
|
||||
"integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=",
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.2.tgz",
|
||||
"integrity": "sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"es5-ext": "^0.10.9"
|
||||
"es5-ext": "^0.10.64",
|
||||
"type": "^2.7.2"
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
@ -5550,14 +5603,15 @@
|
||||
}
|
||||
},
|
||||
"es5-ext": {
|
||||
"version": "0.10.50",
|
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.50.tgz",
|
||||
"integrity": "sha512-KMzZTPBkeQV/JcSQhI5/z6d9VWJ3EnQ194USTUwIYZ2ZbpN8+SGXQKt1h68EX44+qt+Fzr8DO17vnxrw7c3agw==",
|
||||
"version": "0.10.64",
|
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz",
|
||||
"integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"es6-iterator": "~2.0.3",
|
||||
"es6-symbol": "~3.1.1",
|
||||
"next-tick": "^1.0.0"
|
||||
"es6-iterator": "^2.0.3",
|
||||
"es6-symbol": "^3.1.3",
|
||||
"esniff": "^2.0.1",
|
||||
"next-tick": "^1.1.0"
|
||||
}
|
||||
},
|
||||
"es6-iterator": {
|
||||
@ -5572,13 +5626,13 @@
|
||||
}
|
||||
},
|
||||
"es6-symbol": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz",
|
||||
"integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=",
|
||||
"version": "3.1.4",
|
||||
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.4.tgz",
|
||||
"integrity": "sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"d": "1",
|
||||
"es5-ext": "~0.10.14"
|
||||
"d": "^1.0.2",
|
||||
"ext": "^1.7.0"
|
||||
}
|
||||
},
|
||||
"es6-weak-map": {
|
||||
@ -5604,6 +5658,28 @@
|
||||
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
|
||||
"dev": true
|
||||
},
|
||||
"esniff": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz",
|
||||
"integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"d": "^1.0.1",
|
||||
"es5-ext": "^0.10.62",
|
||||
"event-emitter": "^0.3.5",
|
||||
"type": "^2.7.2"
|
||||
}
|
||||
},
|
||||
"event-emitter": {
|
||||
"version": "0.3.5",
|
||||
"resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz",
|
||||
"integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"d": "1",
|
||||
"es5-ext": "~0.10.14"
|
||||
}
|
||||
},
|
||||
"expand-brackets": {
|
||||
"version": "2.1.4",
|
||||
"resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
|
||||
@ -5648,6 +5724,15 @@
|
||||
"homedir-polyfill": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"ext": {
|
||||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz",
|
||||
"integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"type": "^2.7.2"
|
||||
}
|
||||
},
|
||||
"extend": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
|
||||
@ -7264,11 +7349,11 @@
|
||||
}
|
||||
},
|
||||
"mathjs": {
|
||||
"version": "12.4.0",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-12.4.0.tgz",
|
||||
"integrity": "sha512-4Moy0RNjwMSajEkGGxNUyMMC/CZAcl87WBopvNsJWB4E4EFebpTedr+0/rhqmnOSTH3Wu/3WfiWiw6mqiaHxVw==",
|
||||
"version": "12.4.1",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-12.4.1.tgz",
|
||||
"integrity": "sha512-welnW3khgwYjPYvECFHO+xkCxAx9IKIIPDDWPi8B5rKAvmgoEHnQX9slEmHKZTNaJiE+OS4qrJJcB4sfDn/4sw==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.23.9",
|
||||
"@babel/runtime": "^7.24.0",
|
||||
"complex.js": "^2.1.1",
|
||||
"decimal.js": "^10.4.3",
|
||||
"escape-latex": "^1.2.0",
|
||||
@ -7387,9 +7472,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"next-tick": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz",
|
||||
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=",
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz",
|
||||
"integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==",
|
||||
"dev": true
|
||||
},
|
||||
"normalize-package-data": {
|
||||
@ -8379,6 +8464,12 @@
|
||||
"through2": "^2.0.3"
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
"version": "2.7.2",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz",
|
||||
"integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==",
|
||||
"dev": true
|
||||
},
|
||||
"typed-function": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/typed-function/-/typed-function-4.1.1.tgz",
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
"url": "https://github.com/josdejong/mathjs.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"mathjs": "12.4.0"
|
||||
"mathjs": "12.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"fancy-log": "2.0.0",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user