24 Commits

Author SHA1 Message Date
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
firepick1 (localhost)
dccec26cb1 #916 simplifyCore loses custom functions 2017-08-08 20:48:24 -07:00
jos
1f2d4f3296 Replaced another occurrence of ES6 backtick 2017-08-06 12:00:51 +02:00
firepick1 (localhost)
53e64ee18d resolve scope Node values 2017-08-02 13:39:55 -07: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
71221b75df Merge pull request #840 from tetslee/fix838
Fixed simplify to recognize named constants
2017-05-09 20:12:28 +02:00
Timothy Lee
02f01adf3c Added support for BigNumbers to simplify 2017-05-09 13:20:32 +09:30
Timothy Lee
6f2b5efaac Disallow implicitly converting a number to a fraction that is not an exact representation 2017-05-08 15:58:06 +09:30
Timothy Lee
82095ebc19 Revert "Changed multiply to only output Fractions when both arguments can be exactly represented as Fractions"
This reverts commit f3cb41864582b2dc8b07c07d4c22d6c313bcc114.
2017-05-08 15:57:19 +09:30
Timothy Lee
158adc1861 Added support for more constants in simplify 2017-05-08 12:56:56 +09:30
Timothy Lee
f3cb418645 Changed multiply to only output Fractions when both arguments can be exactly represented as Fractions 2017-05-05 16:30:37 +09:30
Timothy Lee
c47dee1d01 Stopped simplify from explicitly converting numbers to Fractions when they can't be expressed exactly.
It still will implicitly convert to inexact Fractions because of the conversions to Fractions in the typed-functions of binary operators.
2017-05-05 14:54:04 +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
d722473b53 Fixed simplify not handling non-existing functions correctly 2017-01-22 15:44:14 +01:00
jos
f4b7855a84 Docs, examples, some fixes 2017-01-22 15:30:18 +01:00
jos
db67f4cb84 Removed method Node.simplify() (use function simplify instead) 2017-01-22 13:42:19 +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