From 7e524970cf12c0eb8825ebca80afce3176ecd32c Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Thu, 26 Oct 2023 10:31:15 +0200 Subject: [PATCH] chore: publish v11.12.0 --- docs/reference/functions/subtract.md | 6 ++-- download.md | 8 ++--- .../advanced/custom_evaluate_using_import.js | 2 +- .../custom_evaluate_using_import.js.md | 2 +- examples/browser/angle_configuration.html | 2 +- examples/browser/angle_configuration.html.md | 2 +- examples/browser/basic_usage.html | 2 +- examples/browser/basic_usage.html.md | 2 +- examples/browser/currency_conversion.html | 2 +- examples/browser/currency_conversion.html.md | 2 +- examples/browser/custom_separators.html | 2 +- examples/browser/custom_separators.html.md | 2 +- examples/browser/lorenz.html | 2 +- examples/browser/lorenz.html.md | 2 +- examples/browser/plot.html | 2 +- examples/browser/plot.html.md | 2 +- .../browser/pretty_printing_with_mathjax.html | 2 +- .../pretty_printing_with_mathjax.html.md | 2 +- examples/browser/printing_html.html | 2 +- examples/browser/printing_html.html.md | 2 +- examples/browser/requirejs_loading.html | 2 +- examples/browser/requirejs_loading.html.md | 2 +- .../rocket_trajectory_optimization.html | 2 +- .../rocket_trajectory_optimization.html.md | 2 +- examples/browser/webworkers/index.md | 2 +- examples/browser/webworkers/worker.js | 2 +- examples/matrices.js | 2 +- examples/matrices.js.md | 2 +- history.md | 11 +++++++ js/lib/math.js | 2 +- js/lib/math.js.LICENSE.txt | 4 +-- js/lib/math.js.map | 2 +- package-lock.json | 30 +++++++++---------- package.json | 2 +- 34 files changed, 64 insertions(+), 53 deletions(-) diff --git a/docs/reference/functions/subtract.md b/docs/reference/functions/subtract.md index 832c20ed0..3723018c2 100644 --- a/docs/reference/functions/subtract.md +++ b/docs/reference/functions/subtract.md @@ -20,14 +20,14 @@ math.subtract(x, y) Parameter | Type | Description --------- | ---- | ----------- -`x` | number | BigNumber | Fraction | Complex | Unit | Array | Matrix | Initial value -`y` | number | BigNumber | Fraction | Complex | Unit | Array | Matrix | Value to subtract from `x` +`x` | number | BigNumber | Fraction | Complex | Unit | Array | Matrix | Initial value +`y` | number | BigNumber | Fraction | Complex | Unit | Array | Matrix | Value to subtract from `x`

Returns #

Type | Description ---- | ----------- -number | BigNumber | Fraction | Complex | Unit | Array | Matrix | Subtraction of `x` and `y` +number | BigNumber | Fraction | Complex | Unit | Array | Matrix | Subtraction of `x` and `y`

Throws #

diff --git a/download.md b/download.md index acf4e7164..1ff9d0eca 100644 --- a/download.md +++ b/download.md @@ -27,7 +27,7 @@ Math.js can be downloaded or linked from various content delivery networks: unpkg - https://unpkg.com/mathjs@11.11.2/ + https://unpkg.com/mathjs@11.12.0/ cdnjs @@ -48,9 +48,9 @@ Or download the full bundle directly from [unpkg](https://unpkg.com):

math.js (version 11.11.2, 199 kB, minified and gzipped) - and if needed the source map + href="https://unpkg.com/mathjs@11.12.0/lib/browser/math.js" + >math.js (version 11.12.0, 199 kB, minified and gzipped) + and if needed the source map

Too large for you? Create your own [custom bundle](docs/custom_bundling.html). diff --git a/examples/advanced/custom_evaluate_using_import.js b/examples/advanced/custom_evaluate_using_import.js index 4546e24f4..34e5583b2 100644 --- a/examples/advanced/custom_evaluate_using_import.js +++ b/examples/advanced/custom_evaluate_using_import.js @@ -11,7 +11,7 @@ const divide = (a, b) => a / b // create a mathjs instance with hardly any functions // there are some functions created which are used internally by evaluate though, -// for example by the Unit class which has dependencies on addScalar, subtract, +// for example by the Unit class which has dependencies on addScalar, subtractScalar, // multiplyScalar, etc. const math = create(evaluateDependencies) diff --git a/examples/advanced/custom_evaluate_using_import.js.md b/examples/advanced/custom_evaluate_using_import.js.md index 7f9e9ca70..6b6a15f56 100644 --- a/examples/advanced/custom_evaluate_using_import.js.md +++ b/examples/advanced/custom_evaluate_using_import.js.md @@ -20,7 +20,7 @@ const divide = (a, b) => a / b // create a mathjs instance with hardly any functions // there are some functions created which are used internally by evaluate though, -// for example by the Unit class which has dependencies on addScalar, subtract, +// for example by the Unit class which has dependencies on addScalar, subtractScalar, // multiplyScalar, etc. const math = create(evaluateDependencies) diff --git a/examples/browser/angle_configuration.html b/examples/browser/angle_configuration.html index f8e54e532..a5401af0d 100644 --- a/examples/browser/angle_configuration.html +++ b/examples/browser/angle_configuration.html @@ -15,7 +15,7 @@ } - + diff --git a/examples/browser/angle_configuration.html.md b/examples/browser/angle_configuration.html.md index 0459a3397..73ef5e614 100644 --- a/examples/browser/angle_configuration.html.md +++ b/examples/browser/angle_configuration.html.md @@ -24,7 +24,7 @@ File: [angle_configuration.html](angle_configuration.html) (click for a live dem } - + diff --git a/examples/browser/basic_usage.html b/examples/browser/basic_usage.html index 4fe1d2472..cb444519c 100644 --- a/examples/browser/basic_usage.html +++ b/examples/browser/basic_usage.html @@ -3,7 +3,7 @@ math.js | basic usage - + diff --git a/examples/browser/basic_usage.html.md b/examples/browser/basic_usage.html.md index 6892bf9d3..5d7f36f7d 100644 --- a/examples/browser/basic_usage.html.md +++ b/examples/browser/basic_usage.html.md @@ -12,7 +12,7 @@ File: [basic_usage.html](basic_usage.html) (click for a live demo) math.js | basic usage - + diff --git a/examples/browser/currency_conversion.html b/examples/browser/currency_conversion.html index 96ec2743d..ee87a403f 100644 --- a/examples/browser/currency_conversion.html +++ b/examples/browser/currency_conversion.html @@ -4,7 +4,7 @@ math.js | currency conversion - + - + diff --git a/examples/browser/custom_separators.html.md b/examples/browser/custom_separators.html.md index 3d5a48a9a..4d6bfdf2c 100644 --- a/examples/browser/custom_separators.html.md +++ b/examples/browser/custom_separators.html.md @@ -24,7 +24,7 @@ File: [custom_separators.html](custom_separators.html) (click for a live demo) } - + diff --git a/examples/browser/lorenz.html b/examples/browser/lorenz.html index a23c616a5..f370fa1fe 100644 --- a/examples/browser/lorenz.html +++ b/examples/browser/lorenz.html @@ -4,7 +4,7 @@ math.js | Lorenz Attractor - + diff --git a/examples/browser/lorenz.html.md b/examples/browser/lorenz.html.md index 2fc0ee558..df6fbfed2 100644 --- a/examples/browser/lorenz.html.md +++ b/examples/browser/lorenz.html.md @@ -13,7 +13,7 @@ File: [lorenz.html](lorenz.html) (click for a live demo) math.js | Lorenz Attractor - + diff --git a/examples/browser/plot.html b/examples/browser/plot.html index eff429b23..15f97efb0 100644 --- a/examples/browser/plot.html +++ b/examples/browser/plot.html @@ -3,7 +3,7 @@ math.js | plot - + diff --git a/examples/browser/plot.html.md b/examples/browser/plot.html.md index d03edc13b..e9e3fa63b 100644 --- a/examples/browser/plot.html.md +++ b/examples/browser/plot.html.md @@ -12,7 +12,7 @@ File: [plot.html](plot.html) (click for a live demo) math.js | plot - + diff --git a/examples/browser/pretty_printing_with_mathjax.html b/examples/browser/pretty_printing_with_mathjax.html index 983a19080..d52a9da57 100644 --- a/examples/browser/pretty_printing_with_mathjax.html +++ b/examples/browser/pretty_printing_with_mathjax.html @@ -4,7 +4,7 @@ math.js | pretty printing with MathJax - + diff --git a/examples/browser/pretty_printing_with_mathjax.html.md b/examples/browser/pretty_printing_with_mathjax.html.md index 739befe18..c8bd66f9a 100644 --- a/examples/browser/pretty_printing_with_mathjax.html.md +++ b/examples/browser/pretty_printing_with_mathjax.html.md @@ -13,7 +13,7 @@ File: [pretty_printing_with_mathjax.html](pretty_printing_with_mathjax.html) (cl math.js | pretty printing with MathJax - + diff --git a/examples/browser/printing_html.html b/examples/browser/printing_html.html index 7d66a15ed..55e81a541 100644 --- a/examples/browser/printing_html.html +++ b/examples/browser/printing_html.html @@ -4,7 +4,7 @@ math.js | printing HTML - +