1766 Commits

Author SHA1 Message Date
Eric Mansfield
b254bc1be4 Merge pull request #958 from IvanVergiliev/simplify-exponentiation
Simplify nested exponentiations
2017-10-21 19:10:43 -06:00
jos
311fffdf8c Released v3.16.5 2017-10-18 20:34:55 +02:00
jos
02b1478e6d Fixed #954: Functions add and multiply not working when passing three or more arrays or matrices 2017-10-18 19:58:31 +02:00
Ivan Vergiliev
9dde07ed11 Simplify nested exponentiations 2017-10-17 08:15:22 -07:00
ericman314
8786ad80c3 Corrected function declaration 2017-10-04 20:59:18 -06:00
Eric Mansfield
237e4b6c2d Merge branch 'develop' into simplify-traverse 2017-10-04 20:50:49 -06:00
ericman314
32793c6e0c Improved traversal for replacing nodes in simplify
Replaced the two-pass traversal with a single pass, which stops once it
replaces a node.
2017-10-04 20:48:17 -06:00
jos
d12d8f76d3 Released v3.16.4 2017-10-01 20:31:41 +02:00
jos
e033697001 Add unit tests against infinite recursive loops in simplify 2017-10-01 20:26:30 +02:00
Eric Mansfield
27c7ca660c Merge branch 'develop' into fix-simplify-transform 2017-09-30 22:04:42 -06:00
ericman314
b7321490bd Fixes over-eager transforming when simplifying
Fixes a problem when simplifying expressions where SymbolNodes in the
input expressions are incorrectly transformed, as if they were patterns
in the right-hand-side of the rule
2017-09-30 21:59:49 -06:00
jos
b1a2de0270 Update history, fixed a broken unit test for Help 2017-09-30 14:30:29 +02:00
Jos de Jong
8761379b23 Merge pull request #947 from Schnark/master
Fix several issues with internal help
2017-09-30 14:23:21 +02:00
mm151
0a3c48c077 Fix several issues with internal help 2017-09-27 08:59:52 +02:00
mocking
1df8620145 Update function.js 2017-08-29 11:54:30 +08:00
jos
b4a4cb36d3 Released v3.16.3 2017-08-28 21:13:35 +02:00
jos
18dd595b83 Merge branch 'simplify2' into develop 2017-08-28 20:21:35 +02:00
firepick1 (localhost)
5b175d56a5 #934 unaryMinus simplifyCore 2017-08-28 06:35:40 -07:00
firepick1 (localhost)
e9fa99983f #933 nargs 2017-08-24 20:34:41 -07:00
firepick1 (localhost)
4787237b31 #933 +unaryMinus to subtract 2017-08-24 20:18:06 -07:00
firepick1 (localhost)
827ab5dc28 Merge branch 'develop' into simplify2 2017-08-24 19:56:35 -07:00
jos
83e3591925 Fixed #930: function isNaN returning wrong result for complex numbers 2017-08-21 20:20:49 +02:00
jos
e45a00ce05 Fixed #929: FibonacciHeap.isEmpty returning wrong result 2017-08-21 20:17:07 +02:00
jos
922e43a8f2 Released v3.16.2 2017-08-20 20:26:15 +02:00
Jos de Jong
0b846a3726 Merge pull request #922 from josdejong/auto-implicit-fixes
Auto implicit fixes
2017-08-20 12:21:26 +02:00
jos
520d5f90c9 Merge branch 'simplify2' into develop 2017-08-19 14:18:41 +02:00
firepick1 (localhost)
52e29d6456 925 simplify(string, Array, Object) 2017-08-18 17:30:48 -07:00
Max Bruckner
b2857392bd OperatorNode: Fix implicit multiplication
Fixes implicit multiplication when parenthesis is 'auto' and operands
are ConstantNodes.

This is handled by detecting that case and printing parentheses for
ParenthesisNodes even though they normally wouldn't with parenthesis
set to 'auto'.
2017-08-13 20:57:41 +02:00
Max Bruckner
1f4909c625 OperatorNode: switch-case in calculate..Parentheses 2017-08-13 19:26:37 +02:00
jos
b8cccbd1aa Released v3.16.1 2017-08-12 19:56:46 +02:00
jos
967e65cceb Refactored usage of properties .isNode, .isSymbolNode, etc. into using functions like type.isNode(x) for security 2017-08-12 14:38:03 +02:00
jos
949261f92b Refactored usage of properties .isRange, .isIndex, .isResultSet, and .isHelp for their (safe) function equivalents 2017-08-12 13:31:09 +02:00
jos
fa01e993af Refactored x && x.isMatrix === true into type.isMatrix(x), same with isDenseMatrix and isSparseMatrix 2017-08-12 13:24:39 +02:00
jos
9e0cc3fb61 Refactored x && x.isUnit === true into type.isUnit(x) 2017-08-12 12:07:03 +02:00
jos
6d418b9b61 Refactored x && x.isFraction === true into type.isFraction(x) 2017-08-12 12:05:11 +02:00
jos
e10dd5bce5 Refactored x && x.isBigNumber === true into type.isBigNumber(x) 2017-08-12 11:54:53 +02:00
jos
26e70a4acd Refactored x.isComplex === true into type.isComplex(x) 2017-08-12 11:32:40 +02:00
jos
12918725f1 Merge branch 'develop' into moreStrictTypeChecks 2017-08-12 11:15:11 +02:00
jos
a18f2068f3 Fixed toString of a parsed expression tree containing an immediately invoked function assignment not being wrapped in parenthesis 2017-08-12 11:03:19 +02:00
jos
54230e8dc9 Fixed #916 handle dynamic function calls in simplify 2017-08-12 10:39:51 +02:00
jos
797d226f7b Merge branch 'master' into develop 2017-08-12 10:09:24 +02:00
Jos de Jong
a65420c0a5 Merge pull request #902 from AlexanderBeyn/simplify-units-in-toNumeric
Simplify units before returning numeric value
2017-08-12 10:01:17 +02:00
firepick1 (localhost)
dccec26cb1 #916 simplifyCore loses custom functions 2017-08-08 20:48:24 -07:00
jos
8c2f10a865 Fixed #915: No access to property "name" 2017-08-07 20:09:12 +02:00
jos
5092e982f9 Merge branch 'develop' into moreStrictTypeChecks 2017-08-06 14:13:11 +02:00
jos
6ffef7f0a3 Released v3.16.0 2017-08-06 13:46:55 +02:00
jos
05e80095dc Fixed #912: math.js didn't work on IE10 anymore 2017-08-06 12:59:40 +02:00
jos
4fc0c4bb7b Updated docs of simplify, extended algebra examples 2017-08-06 12:56:20 +02:00
jos
3bb5412466 Replace ES6 backtick 2017-08-06 11:58:22 +02:00
jos
601f1942c2 Replace ES6 functionality with ES5 2017-08-06 11:54:59 +02:00