868 Commits

Author SHA1 Message Date
jos
3af55ededa Merge branch 'simplify2' into develop 2018-01-17 12:16:05 +01:00
Karl Lew
c4b555c36f #1018 simplifyCore ParenthesisNode 2018-01-16 09:06:24 -08:00
jos
8724ae0ae5 Fixed #1013: simplify wrongly simplifing some expressions containing unary minus, like 0 - -x 2018-01-13 14:37:27 +01:00
Jos de Jong
4504c3cc2a
Merge pull request #1003 from HarrySarson/3-arg-derivative
Improves derivative for 3 argument nodes. Closes #1002
2018-01-13 12:32:56 +01:00
Joel Hoover
6e6d0e37b1 Handle error in simplifyConstants when a function has all numeric arguments but is not itself defined 2018-01-08 01:13:14 -05:00
Joel Hoover
77dcd5abe9 Do not let simplifyConstants binarize functions with more than two arguments 2018-01-08 00:42:26 -05:00
Jos de Jong
9002e3b6eb
Merge pull request #1001 from joelhoover/simplify-improvement
Added rule to simplify that allows for combining of like terms in embedded quantities
2018-01-06 20:07:01 +01:00
Harry Sarson
05e6de2fd9 adds constant node checking with 3+ args 2018-01-04 14:25:05 +00:00
Harry Sarson
59e4c4ca97 derivative correctly handles '+' and '*' with three args 2018-01-04 13:42:00 +00: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
Jos de Jong
817ed3e6be
Merge pull request #996 from ovk/bignum-geometry
Added BigNumber support for distance() and intersect() functions
2017-12-29 09:46:53 +01:00
jos
67eeaea740 Merge branch 'simplify2' into develop 2017-12-28 17:08:46 +01:00
Karl Lew
f1d0beb252 fix for #998 unary minus bug 2017-12-26 15:34:11 -08:00
alik
4c842de7c6 Added BigNumber support for distance() and intersect() functions 2017-12-24 18:28:21 -05:00
jos
7df52c1d1a Fixed #983: pickRandom returning an array instead of single value when input was an array with just one value. Clarified docs. 2017-12-09 20:42:08 +01:00
Jos de Jong
e4ea1eb2aa
Merge pull request #981 from jeffreyshen19/master
Added a test for ln(x) derivative
2017-12-05 20:49:23 +01:00
jeffreyshen19
8bbed26a2b added a test for ln(x) derivative 2017-12-05 00:06:10 -05:00
paulobuchsbaum
6a63afb52b Small fix and and a new test
I've included one more expression in the test batch
2017-12-03 12:50:39 -02:00
paulobuchsbaum
d0a13eaaa9 Rationalize Package
Rationalize.js, Rationalize.test.js and index.js changed.
2017-11-27 17:16:21 -02:00
Eric Mansfield
b254bc1be4 Merge pull request #958 from IvanVergiliev/simplify-exponentiation
Simplify nested exponentiations
2017-10-21 19:10:43 -06:00
firepick1 (localhost)
c765f3dcca #958 exponent power rule 2017-10-21 19:23:21 -04: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
jos
e033697001 Add unit tests against infinite recursive loops in simplify 2017-10-01 20:26:30 +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)
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
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
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
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
6bbff5f54f Improved natural sorting for numeric types, matrix types, and objects 2017-06-30 11:16:42 +02:00
jos
96674094d6 Compare numeric types first by value, then by type 2017-06-30 10:02:26 +02:00
jos
0557e7ae1f Back to compareNatural WIP (see #837) 2017-06-25 21:02:59 +02:00
jos
ae7728a1d4 Renamed compareNatural to deepStrictCompare 2017-06-23 13:50:27 +02:00
jos
033735c5e2 Implemented support for all types in compareNatural 2017-06-23 13:40:38 +02:00
jos
d85f54cf77 Reverted ordering of complex numbers in relational functions. Use natural sort in set functions (See #837) 2017-06-18 21:42:55 +02:00
jos
151bc655d6 Implemented a first version of math.compareNatural 2017-06-18 21:13:31 +02:00
Jos de Jong
e98a810aef Merge pull request #869 from Nekomajin42/setopsv4
setops v4
2017-06-18 14:53:04 +02:00
Nekomajin42
fc9018457f setops v4
- using sort() again
- update the tests with unsorted input
2017-06-06 11:50:50 +02:00
Jos de Jong
777b347178 Merge pull request #852 from gulfaraz/complex_comparision
support to compare complex numbers #837
2017-06-05 17:01:39 +02:00