From 4a7f9dcbdb8cf86920eeff64e82b410cf12ce413 Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Mon, 25 Jul 2022 10:14:12 +0200 Subject: [PATCH] Publish v11.0.1 --- docs/reference/functions/acot.md | 5 ++--- docs/reference/functions/acsc.md | 5 ++--- docs/reference/functions/asec.md | 4 ++-- docs/reference/functions/asin.md | 2 +- docs/reference/functions/atan.md | 3 +-- docs/reference/functions/atan2.md | 2 +- docs/reference/functions/bitNot.md | 2 +- docs/reference/functions/clone.md | 2 +- docs/reference/functions/derivative.md | 6 ++--- docs/reference/functions/diff.md | 2 +- docs/reference/functions/distance.md | 4 ++-- docs/reference/functions/fix.md | 2 +- docs/reference/functions/floor.md | 2 +- docs/reference/functions/format.md | 4 ++-- docs/reference/functions/hasNumericValue.md | 2 +- docs/reference/functions/hex.md | 3 +-- docs/reference/functions/invmod.md | 2 +- docs/reference/functions/isInteger.md | 2 +- docs/reference/functions/isNaN.md | 2 +- docs/reference/functions/isNegative.md | 2 +- docs/reference/functions/isNumeric.md | 2 +- docs/reference/functions/isPositive.md | 2 +- docs/reference/functions/isZero.md | 22 +++++++++---------- docs/reference/functions/leftShift.md | 2 +- docs/reference/functions/nthRoot.md | 6 ++--- docs/reference/functions/nthRoots.md | 4 ++-- docs/reference/functions/rightArithShift.md | 2 +- docs/reference/functions/rightLogShift.md | 2 +- docs/reference/functions/rotate.md | 10 ++++----- docs/reference/functions/simplify.md | 4 +++- docs/reference/functions/symbolicEqual.md | 11 +++++----- download.md | 6 ++--- 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/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 +- history.md | 6 +++++ js/lib/math.js | 2 +- js/lib/math.js.LICENSE.txt | 4 ++-- js/lib/math.js.map | 2 +- mathjs-src | 2 +- package-lock.json | 14 ++++++------ package.json | 2 +- 59 files changed, 103 insertions(+), 100 deletions(-) diff --git a/docs/reference/functions/acot.md b/docs/reference/functions/acot.md index 1939c3744..b28f3e878 100644 --- a/docs/reference/functions/acot.md +++ b/docs/reference/functions/acot.md @@ -40,10 +40,9 @@ Type | Description

Examples #

```js -math.acot(0.5) // returns number 0.4636476090008061 +math.acot(0.5) // returns number 1.1071487177940904 +math.acot(2) // returns number 0.4636476090008061 math.acot(math.cot(1.5)) // returns number 1.5 - -math.acot(2) // returns Complex 1.5707963267948966 -1.3169578969248166 i ``` diff --git a/docs/reference/functions/acsc.md b/docs/reference/functions/acsc.md index 63cd75178..84176f4dd 100644 --- a/docs/reference/functions/acsc.md +++ b/docs/reference/functions/acsc.md @@ -40,10 +40,9 @@ Type | Description

Examples #

```js -math.acsc(0.5) // returns number 0.5235987755982989 +math.acsc(2) // returns 0.5235987755982989 +math.acsc(0.5) // returns Complex 1.5707963267948966 -1.3169578969248166i math.acsc(math.csc(1.5)) // returns number ~1.5 - -math.acsc(2) // returns Complex 1.5707963267948966 -1.3169578969248166 i ``` diff --git a/docs/reference/functions/asec.md b/docs/reference/functions/asec.md index 227cb01a0..d78ddadea 100644 --- a/docs/reference/functions/asec.md +++ b/docs/reference/functions/asec.md @@ -40,10 +40,10 @@ Type | Description

Examples #

```js -math.asec(0.5) // returns 1.0471975511965979 +math.asec(2) // returns 1.0471975511965979 math.asec(math.sec(1.5)) // returns 1.5 -math.asec(2) // returns 0 + 1.3169578969248166 i +math.asec(0.5) // returns Complex 0 + 1.3169578969248166i ``` diff --git a/docs/reference/functions/asin.md b/docs/reference/functions/asin.md index 59089861a..1341d46f8 100644 --- a/docs/reference/functions/asin.md +++ b/docs/reference/functions/asin.md @@ -43,7 +43,7 @@ Type | Description math.asin(0.5) // returns number 0.5235987755982989 math.asin(math.sin(1.5)) // returns number ~1.5 -math.asin(2) // returns Complex 1.5707963267948966 -1.3169578969248166 i +math.asin(2) // returns Complex 1.5707963267948966 -1.3169578969248166i ``` diff --git a/docs/reference/functions/atan.md b/docs/reference/functions/atan.md index 5e4fae8b0..4ec8cebb8 100644 --- a/docs/reference/functions/atan.md +++ b/docs/reference/functions/atan.md @@ -41,9 +41,8 @@ Type | Description ```js math.atan(0.5) // returns number 0.4636476090008061 +math.atan(2) // returns number 1.1071487177940904 math.atan(math.tan(1.5)) // returns number 1.5 - -math.atan(2) // returns Complex 1.5707963267948966 -1.3169578969248166 i ``` diff --git a/docs/reference/functions/atan2.md b/docs/reference/functions/atan2.md index cf2ec6163..12a8da153 100644 --- a/docs/reference/functions/atan2.md +++ b/docs/reference/functions/atan2.md @@ -48,7 +48,7 @@ const angle = math.unit(60, 'deg') // returns Unit 60 deg const x = math.cos(angle) const y = math.sin(angle) -math.atan(2) // returns Complex 1.5707963267948966 -1.3169578969248166 i +math.atan(2) // returns number 1.1071487177940904 ``` diff --git a/docs/reference/functions/bitNot.md b/docs/reference/functions/bitNot.md index b6c10e435..0ed9122e5 100644 --- a/docs/reference/functions/bitNot.md +++ b/docs/reference/functions/bitNot.md @@ -41,7 +41,7 @@ Type | Description ```js math.bitNot(1) // returns number -2 -math.bitNot([2, -3, 4]) // returns Array [-3, 2, 5] +math.bitNot([2, -3, 4]) // returns Array [-3, 2, -5] ``` diff --git a/docs/reference/functions/clone.md b/docs/reference/functions/clone.md index 711587ccd..9d1041388 100644 --- a/docs/reference/functions/clone.md +++ b/docs/reference/functions/clone.md @@ -38,7 +38,7 @@ Type | Description ```js math.clone(3.5) // returns number 3.5 -math.clone(math.complex('2-4i') // returns Complex 2 - 4i +math.clone(math.complex('2-4i')) // returns Complex 2 - 4i math.clone(math.unit(45, 'deg')) // returns Unit 45 deg math.clone([[1, 2], [3, 4]]) // returns Array [[1, 2], [3, 4]] math.clone("hello world") // returns string "hello world" diff --git a/docs/reference/functions/derivative.md b/docs/reference/functions/derivative.md index 3758b6d8e..d700d32a4 100644 --- a/docs/reference/functions/derivative.md +++ b/docs/reference/functions/derivative.md @@ -47,9 +47,9 @@ Type | Description

Examples #

```js -math.derivative('x^2', 'x') // Node {2 * x} -math.derivative('x^2', 'x', {simplify: false}) // Node {2 * 1 * x ^ (2 - 1) -math.derivative('sin(2x)', 'x')) // Node {2 * cos(2 * x)} +math.derivative('x^2', 'x') // Node '2 * x' +math.derivative('x^2', 'x', {simplify: false}) // Node '2 * 1 * x ^ (2 - 1)' +math.derivative('sin(2x)', 'x')) // Node '2 * cos(2 * x)' math.derivative('2*x', 'x').evaluate() // number 2 math.derivative('x^2', 'x').evaluate({x: 4}) // number 8 const f = math.parse('x^2') diff --git a/docs/reference/functions/diff.md b/docs/reference/functions/diff.md index b2adb217c..4fb6f807c 100644 --- a/docs/reference/functions/diff.md +++ b/docs/reference/functions/diff.md @@ -47,7 +47,7 @@ Type | Description ```js const arr = [1, 2, 4, 7, 0] math.diff(arr) // returns [1, 2, 3, -7] (no dimension passed so 0 is assumed) -math.diff(math.matrix(arr)) // returns math.matrix([1, 2, 3, -7]) +math.diff(math.matrix(arr)) // returns Matrix [1, 2, 3, -7] const arr = [[1, 2, 3, 4, 5], [1, 2, 3, 4, 5], [9, 8, 7, 6, 4]] math.diff(arr) // returns [[0, 0, 0, 0, 0], [8, 6, 4, 2, -1]] diff --git a/docs/reference/functions/distance.md b/docs/reference/functions/distance.md index 9fc431322..ed6c88ccc 100644 --- a/docs/reference/functions/distance.md +++ b/docs/reference/functions/distance.md @@ -58,11 +58,11 @@ Type | Description

Examples #

```js -math.distance([0,0], [4,4]) // Returns 5.6569 +math.distance([0,0], [4,4]) // Returns 5.656854249492381 math.distance( {pointOneX: 0, pointOneY: 0}, {pointTwoX: 10, pointTwoY: 10}) // Returns 14.142135623730951 -math.distance([1, 0, 1], [4, -2, 2]) // Returns 3.74166 +math.distance([1, 0, 1], [4, -2, 2]) // Returns 3.7416573867739413 math.distance( {pointOneX: 4, pointOneY: 5, pointOneZ: 8}, {pointTwoX: 2, pointTwoY: 7, pointTwoZ: 9}) // Returns 3 diff --git a/docs/reference/functions/fix.md b/docs/reference/functions/fix.md index a821459ba..65c56889c 100644 --- a/docs/reference/functions/fix.md +++ b/docs/reference/functions/fix.md @@ -52,7 +52,7 @@ math.fix(-4.17, 1) // returns number -4.1 const c = math.complex(3.22, -2.78) math.fix(c) // returns Complex 3 - 2i -math.fix(c, 1) // returns Complex 3.2 - 2.7i +math.fix(c, 1) // returns Complex 3.2 -2.7i math.fix([3.2, 3.8, -4.7]) // returns Array [3, 3, -4] math.fix([3.2, 3.8, -4.7], 1) // returns Array [3.2, 3.8, -4.7] diff --git a/docs/reference/functions/floor.md b/docs/reference/functions/floor.md index 00a1eb9e7..36dd776cc 100644 --- a/docs/reference/functions/floor.md +++ b/docs/reference/functions/floor.md @@ -52,7 +52,7 @@ math.floor(-4.782, 2) // returns number -4.79 const c = math.complex(3.24, -2.71) math.floor(c) // returns Complex 3 - 3i -math.floor(c, 1) // returns Complex 3.2 - 2.8i +math.floor(c, 1) // returns Complex 3.2 -2.8i math.floor([3.2, 3.8, -4.7]) // returns Array [3, 3, -5] math.floor([3.21, 3.82, -4.71], 1) // returns Array [3.2, 3.8, -4.8] diff --git a/docs/reference/functions/format.md b/docs/reference/functions/format.md index b4ff06cc3..92546cc37 100644 --- a/docs/reference/functions/format.md +++ b/docs/reference/functions/format.md @@ -105,14 +105,14 @@ Type | Description ```js math.format(6.4) // returns '6.4' -math.format(1240000) // returns '1.24e6' +math.format(1240000) // returns '1.24e+6' math.format(1/3) // returns '0.3333333333333333' math.format(1/3, 3) // returns '0.333' math.format(21385, 2) // returns '21000' math.format(12e8, {notation: 'fixed'}) // returns '1200000000' math.format(2.3, {notation: 'fixed', precision: 4}) // returns '2.3000' math.format(52.8, {notation: 'exponential'}) // returns '5.28e+1' -math.format(12400,{notation: 'engineering'}) // returns '12.400e+3' +math.format(12400, {notation: 'engineering'}) // returns '12.4e+3' math.format(2000, {lowerExp: -2, upperExp: 2}) // returns '2e+3' function formatCurrency(value) { diff --git a/docs/reference/functions/hasNumericValue.md b/docs/reference/functions/hasNumericValue.md index 852dbd6d6..4428b1bf5 100644 --- a/docs/reference/functions/hasNumericValue.md +++ b/docs/reference/functions/hasNumericValue.md @@ -45,7 +45,7 @@ math.isNumeric('2') // returns false math.hasNumericValue(0) // returns true math.hasNumericValue(math.bignumber(500)) // returns true math.hasNumericValue(math.fraction(4)) // returns true -math.hasNumericValue(math.complex('2-4i') // returns false +math.hasNumericValue(math.complex('2-4i')) // returns false math.hasNumericValue(false) // returns true math.hasNumericValue([2.3, 'foo', false]) // returns [true, false, true] ``` diff --git a/docs/reference/functions/hex.md b/docs/reference/functions/hex.md index 01dc0f519..55a0237e0 100644 --- a/docs/reference/functions/hex.md +++ b/docs/reference/functions/hex.md @@ -38,8 +38,7 @@ Type | Description

Examples #

```js -//the following outputs "0xF0" -math.hex(240) +math.hex(240) // returns "0xF0" ``` diff --git a/docs/reference/functions/invmod.md b/docs/reference/functions/invmod.md index f6149a365..8d8496197 100644 --- a/docs/reference/functions/invmod.md +++ b/docs/reference/functions/invmod.md @@ -40,7 +40,7 @@ Type | Description ```js math.invmod(8, 12) // returns NaN -math.invmod(7, 13) // return 2 +math.invmod(7, 13) // returns 2 math.invmod(15151, 15122) // returns 10429 ``` diff --git a/docs/reference/functions/isInteger.md b/docs/reference/functions/isInteger.md index bf6ecc45d..5a6cffe58 100644 --- a/docs/reference/functions/isInteger.md +++ b/docs/reference/functions/isInteger.md @@ -47,7 +47,7 @@ math.isInteger(math.bignumber(500)) // returns true math.isInteger(math.fraction(4)) // returns true math.isInteger('3') // returns true math.isInteger([3, 0.5, -2]) // returns [true, false, true] -math.isInteger(math.complex('2-4i') // throws an error +math.isInteger(math.complex('2-4i')) // throws an error ``` diff --git a/docs/reference/functions/isNaN.md b/docs/reference/functions/isNaN.md index 37fdbe603..2f72a34ee 100644 --- a/docs/reference/functions/isNaN.md +++ b/docs/reference/functions/isNaN.md @@ -47,7 +47,7 @@ math.isNaN(math.bignumber(NaN)) // returns true math.isNaN(math.bignumber(0)) // returns false math.isNaN(math.fraction(-2, 5)) // returns false math.isNaN('-2') // returns false -math.isNaN([2, 0, -3, NaN]') // returns [false, false, false, true] +math.isNaN([2, 0, -3, NaN]) // returns [false, false, false, true] ``` diff --git a/docs/reference/functions/isNegative.md b/docs/reference/functions/isNegative.md index 81dc3168e..8720c9775 100644 --- a/docs/reference/functions/isNegative.md +++ b/docs/reference/functions/isNegative.md @@ -47,7 +47,7 @@ math.isNegative(-0) // returns false math.isNegative(math.bignumber(2)) // returns false math.isNegative(math.fraction(-2, 5)) // returns true math.isNegative('-2') // returns true -math.isNegative([2, 0, -3]') // returns [false, false, true] +math.isNegative([2, 0, -3]) // returns [false, false, true] ``` diff --git a/docs/reference/functions/isNumeric.md b/docs/reference/functions/isNumeric.md index e5ec0d08e..f6aeff27a 100644 --- a/docs/reference/functions/isNumeric.md +++ b/docs/reference/functions/isNumeric.md @@ -45,7 +45,7 @@ math.hasNumericValue('2') // returns true math.isNumeric(0) // returns true math.isNumeric(math.bignumber(500)) // returns true math.isNumeric(math.fraction(4)) // returns true -math.isNumeric(math.complex('2-4i') // returns false +math.isNumeric(math.complex('2-4i')) // returns false math.isNumeric([2.3, 'foo', false]) // returns [true, false, true] ``` diff --git a/docs/reference/functions/isPositive.md b/docs/reference/functions/isPositive.md index c40d3491b..92bc33f08 100644 --- a/docs/reference/functions/isPositive.md +++ b/docs/reference/functions/isPositive.md @@ -47,7 +47,7 @@ math.isPositive(-0) // returns false math.isPositive(0.5) // returns true math.isPositive(math.bignumber(2)) // returns true math.isPositive(math.fraction(-2, 5)) // returns false -math.isPositive(math.fraction(1,3)) // returns false +math.isPositive(math.fraction(1, 3)) // returns true math.isPositive('2') // returns true math.isPositive([2, 0, -3]) // returns [true, false, false] ``` diff --git a/docs/reference/functions/isZero.md b/docs/reference/functions/isZero.md index ae49df8f7..8ca917b8b 100644 --- a/docs/reference/functions/isZero.md +++ b/docs/reference/functions/isZero.md @@ -41,17 +41,17 @@ Type | Description

Examples #

```js -math.isZero(0) // returns true -math.isZero(2) // returns false -math.isZero(0.5) // returns false -math.isZero(math.bignumber(0)) // returns true -math.isZero(math.fraction(0)) // returns true -math.isZero(math.fraction(1,3)) // returns false -math.isZero(math.complex('2 - 4i') // returns false -math.isZero(math.complex('0i') // returns true -math.isZero('0') // returns true -math.isZero('2') // returns false -math.isZero([2, 0, -3]') // returns [false, true, false] +math.isZero(0) // returns true +math.isZero(2) // returns false +math.isZero(0.5) // returns false +math.isZero(math.bignumber(0)) // returns true +math.isZero(math.fraction(0)) // returns true +math.isZero(math.fraction(1,3)) // returns false +math.isZero(math.complex('2 - 4i')) // returns false +math.isZero(math.complex('0i')) // returns true +math.isZero('0') // returns true +math.isZero('2') // returns false +math.isZero([2, 0, -3]) // returns [false, true, false] ``` diff --git a/docs/reference/functions/leftShift.md b/docs/reference/functions/leftShift.md index 29b4f04f4..73b94d735 100644 --- a/docs/reference/functions/leftShift.md +++ b/docs/reference/functions/leftShift.md @@ -42,7 +42,7 @@ Type | Description ```js math.leftShift(1, 2) // returns number 4 -math.leftShift([1, 2, 3], 4) // returns Array [16, 32, 64] +math.leftShift([1, 2, 4], 4) // returns Array [16, 32, 64] ``` diff --git a/docs/reference/functions/nthRoot.md b/docs/reference/functions/nthRoot.md index b9d7c3456..968e0bc3e 100644 --- a/docs/reference/functions/nthRoot.md +++ b/docs/reference/functions/nthRoot.md @@ -45,9 +45,9 @@ Type | Description

Examples #

```js -math.nthRoot(9, 2) // returns 3, as 3^2 == 9 -math.sqrt(9) // returns 3, as 3^2 == 9 -math.nthRoot(64, 3) // returns 4, as 4^3 == 64 +math.nthRoot(9, 2) // returns 3 (since 3^2 == 9) +math.sqrt(9) // returns 3 (since 3^2 == 9) +math.nthRoot(64, 3) // returns 4 (since 4^3 == 64) ``` diff --git a/docs/reference/functions/nthRoots.md b/docs/reference/functions/nthRoots.md index bc5824708..d6c9a2b08 100644 --- a/docs/reference/functions/nthRoots.md +++ b/docs/reference/functions/nthRoots.md @@ -46,12 +46,12 @@ math.nthRoots(1) // {re: 1, im: 0}, // {re: -1, im: 0} // ] -nthRoots(1, 3) +math.nthRoots(1, 3) // returns [ // { re: 1, im: 0 }, // { re: -0.4999999999999998, im: 0.8660254037844387 }, // { re: -0.5000000000000004, im: -0.8660254037844385 } -] +// ] ``` diff --git a/docs/reference/functions/rightArithShift.md b/docs/reference/functions/rightArithShift.md index cd54575f0..580fd4073 100644 --- a/docs/reference/functions/rightArithShift.md +++ b/docs/reference/functions/rightArithShift.md @@ -42,7 +42,7 @@ Type | Description ```js math.rightArithShift(4, 2) // returns number 1 -math.rightArithShift([16, -32, 64], 4) // returns Array [1, -2, 3] +math.rightArithShift([16, -32, 64], 4) // returns Array [1, -2, 4] ``` diff --git a/docs/reference/functions/rightLogShift.md b/docs/reference/functions/rightLogShift.md index 61cf153ee..4d744b6ce 100644 --- a/docs/reference/functions/rightLogShift.md +++ b/docs/reference/functions/rightLogShift.md @@ -42,7 +42,7 @@ Type | Description ```js math.rightLogShift(4, 2) // returns number 1 -math.rightLogShift([16, -32, 64], 4) // returns Array [1, 2, 3] +math.rightLogShift([16, 32, 64], 4) // returns Array [1, 2, 4] ``` diff --git a/docs/reference/functions/rotate.md b/docs/reference/functions/rotate.md index d1a11acba..acbf0138b 100644 --- a/docs/reference/functions/rotate.md +++ b/docs/reference/functions/rotate.md @@ -41,13 +41,13 @@ Type | Description

Examples #

```js -math.rotate([11, 12], math.pi / 2) // returns matrix([-12, 11]) -math.rotate(matrix([11, 12]), math.pi / 2) // returns matrix([-12, 11]) +math.rotate([11, 12], math.pi / 2) // returns [-12, 11] +math.rotate(matrix([11, 12]), math.pi / 2) // returns [-12, 11] -math.rotate([1, 0, 0], unit('90deg'), [0, 0, 1]) // returns matrix([0, 1, 0]) -math.rotate(matrix([1, 0, 0]), unit('90deg'), [0, 0, 1]) // returns matrix([0, 1, 0]) +math.rotate([1, 0, 0], unit('90deg'), [0, 0, 1]) // returns [0, 1, 0] +math.rotate(matrix([1, 0, 0]), unit('90deg'), [0, 0, 1]) // returns Matrix [0, 1, 0] -math.rotate([1, 0], math.complex(1 + i)) // returns matrix([cos(1 + i) - sin(1 + i), sin(1 + i) + cos(1 + i)]) +math.rotate([1, 0], math.complex(1 + i)) // returns [cos(1 + i) - sin(1 + i), sin(1 + i) + cos(1 + i)] ``` diff --git a/docs/reference/functions/simplify.md b/docs/reference/functions/simplify.md index 6adccdd2a..cf894dd55 100644 --- a/docs/reference/functions/simplify.md +++ b/docs/reference/functions/simplify.md @@ -100,7 +100,9 @@ simplify(expr, scope, options) Parameter | Type | Description --------- | ---- | ----------- `expr` | Node | string | The expression to be simplified -`rules` | Array<{l:string, r: string} | string | function> | Optional list with custom rules +`rules` | SimplifyRule[] | Optional list with custom rules +`scope` | Object | Optional scope with variables +`options` | SimplifyOptions | Optional configuration settings

Returns #

diff --git a/docs/reference/functions/symbolicEqual.md b/docs/reference/functions/symbolicEqual.md index 9a463eaf2..7e8900667 100644 --- a/docs/reference/functions/symbolicEqual.md +++ b/docs/reference/functions/symbolicEqual.md @@ -51,12 +51,11 @@ Type | Description

Examples #

```js -symbolicEqual('x*y', 'y*x') // true -symbolicEqual('x*y', 'y*x', {context: {multiply: {commutative: false}}}) - //false -symbolicEqual('x/y', '(y*x^(-1))^(-1)') // true -symbolicEqual('abs(x)','x') // false -symbolicEqual('abs(x)','x', simplify.positiveContext) // true +symbolicEqual('x*y', 'y*x') // Returns true +symbolicEqual('x*y', 'y*x', {context: {multiply: {commutative: false}}}) // Returns false +symbolicEqual('x/y', '(y*x^(-1))^(-1)') // Returns true +symbolicEqual('abs(x)','x') // Returns false +symbolicEqual('abs(x)','x', simplify.positiveContext) // Returns true ``` diff --git a/download.md b/download.md index d33ad6d87..291aac2c0 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.0.0/ + https://unpkg.com/mathjs@11.0.1/ cdnjs @@ -47,8 +47,8 @@ Math.js can be downloaded or linked from various content delivery networks: Or download the full bundle directly from [unpkg](https://unpkg.com):

- - math.js (version 11.0.0, 191 kB, minified and gzipped) + + math.js (version 11.0.1, 191 kB, minified and gzipped)

diff --git a/examples/browser/angle_configuration.html b/examples/browser/angle_configuration.html index 09d8af86d..5a00d04f0 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 25d485cef..56a7899cd 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 69647d598..11c5f403c 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 8b6cfc103..fc7dac1ae 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 1f030af6d..b6def9cf5 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 661fbf374..25f63a666 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/plot.html b/examples/browser/plot.html index b1692a796..45ec4c53f 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 76d5af7d2..8db073c83 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 41a8e53c5..085187f66 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 747a054e0..35508a4d9 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 d8fa6a30a..5053f1621 100644 --- a/examples/browser/printing_html.html +++ b/examples/browser/printing_html.html @@ -4,7 +4,7 @@ math.js | printing HTML - +