41 Commits

Author SHA1 Message Date
jos
99ab11b234 Dropped constant uninitialized 2018-02-04 13:09:09 +01:00
jos
924299c42b Changed ConstantNode(valueStr, valueType) to ConstantNode(value) (breaking change) 2018-01-23 12:08:29 +01:00
jos
18f703beab Some refactoring in isCommutative and isAssociative (see #1013) 2018-01-13 20:56:59 +01:00
Joel Hoover
97098adad7 Added rule to simplify that allows for combining of like terms in embedded quantities 2018-01-02 01:02:19 -05:00
Eric Mansfield
b254bc1be4 Merge pull request #958 from IvanVergiliev/simplify-exponentiation
Simplify nested exponentiations
2017-10-21 19:10:43 -06: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
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
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
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
4fc0c4bb7b Updated docs of simplify, extended algebra examples 2017-08-06 12:56:20 +02:00
firepick1 (localhost)
709f1bc075 #907 simplify.resolve 2017-08-02 07:30:00 -07:00
firepick1 (localhost)
bd870d3545 simplifyCore() performance improvement 2017-08-01 11:45:06 -07:00
Jos de Jong
3f890c9a1a Merge pull request #848 from tetslee/simplifyTerminate
Fix terminate condition of simplify to avoid endless loops
2017-05-11 19:56:28 +02:00
Timothy Lee
4762493861 Typo 2017-05-10 10:24:47 +09:30
jos
de10818546 Merge branch 'redundantwildcard' of https://github.com/tetslee/mathjs into tetslee-redundantwildcard
# Conflicts:
#	lib/function/algebra/simplify.js
2017-05-09 20:24:04 +02:00
Jos de Jong
71221b75df Merge pull request #840 from tetslee/fix838
Fixed simplify to recognize named constants
2017-05-09 20:12:28 +02:00
Timothy Lee
aaeb2ebc28 Fix terminate condition of simplify to avoid endless loops 2017-05-09 17:59:58 +09:30
Timothy Lee
89c32b84bf Remove redundant rule wildcard variable 'C' from simplify 2017-05-09 16:01:28 +09:30
Timothy Lee
6792ab5974 Added some more documentation for simplify rules 2017-05-08 13:32:53 +09:30
Timothy Lee
158adc1861 Added support for more constants in simplify 2017-05-08 12:56:56 +09:30
Timothy Lee
9e2491e96f Fixed simplify to recognize named constants 2017-05-05 13:44:21 +09:30
tim
613e7012a1 simplify - remove addtion of zero 2017-04-13 19:06:39 +09:30
jos
20f3af05b3 Fixed markdown urls, updated an example 2017-01-23 21:56:14 +01:00
jos
db67f4cb84 Removed method Node.simplify() (use function simplify instead) 2017-01-22 13:42:19 +01:00
jos
08ed2b4160 Updated docs 2017-01-21 20:45:14 +01:00
jos
5c5b83988e Updaed docs of Node.simplify 2017-01-21 20:35:20 +01:00
jos
0ae4dce80b Updated docs of simplify and derivative 2017-01-21 20:29:10 +01:00
jos
71ae3ea076 Consistent API for both derivative and simplify (dropped transform) 2017-01-20 21:43:40 +01:00
tetslee
5a75a8c222 Simplify terms and factors seperated by inverse operators.
The simplify algorithm now applies rules one at a time.
2016-11-07 11:20:28 +10:30
tetslee
23bf1031eb Improved constant folding in simplify. 2016-11-04 18:02:42 +10:30
tetslee
67b69b49c5 Improvements to simplify(). Also changes to the way simplify and derivative are used. 2016-11-02 16:26:22 +10:30
Eric
6eb6498bf0 Fixed tabs 2015-08-26 04:53:50 +00:00
Eric
900ff31b62 Basic functionality of simplify function 2015-08-26 04:50:52 +00:00
Eric
2434ed3b90 _simplify, _ruleMatch, _exactMatch 2015-08-25 19:42:04 +00:00
Eric
3b8ad55fba Added new files 2015-08-25 00:59:42 +00:00