20 Commits

Author SHA1 Message Date
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
Timothy Lee
8c92deb1c3 Added derivative of abs 2017-05-10 17:24:15 +09:30
jos
20f3af05b3 Fixed markdown urls, updated an example 2017-01-23 21:56:14 +01:00
Jos de Jong
c879acf9d3 Merge pull request #780 from ericman314/differentiation_consistent_api
Fixed derivative of exp(x)
2017-01-22 15:44:57 +01:00
ericman314
aab56c8094 Fixed derivative of exp(x) 2017-01-22 07:35:22 -07:00
jos
f4b7855a84 Docs, examples, some fixes 2017-01-22 15:30:18 +01:00
jos
08ed2b4160 Updated docs 2017-01-21 20:45:14 +01:00
jos
91dc47c763 Made ES5 complient again 2017-01-21 20:38:36 +01:00
jos
0ae4dce80b Updated docs of simplify and derivative 2017-01-21 20:29:10 +01:00
jos
6a61dd6d3c Implemented option {simplify: boolean} for function derivative 2017-01-21 20:10:10 +01:00
jos
71ae3ea076 Consistent API for both derivative and simplify (dropped transform) 2017-01-20 21:43:40 +01:00
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
Favian Contreras
4b929d772a Added cbrt. Added a small test case and comment as well. 2015-09-21 02:48:30 -07:00
Favian Contreras
48bb64af4e Added some comments to the derivative file. Added some test cases as well (explicitly test partial derivatives and pure JS usage). 2015-09-19 21:24:56 -07:00
jos
a39d726a18 Merged algebraic_differentiation, fixed issues with function transforms attached to factory functions 2015-07-29 21:24:34 +02:00
Favian Contreras
98040be7e1 Shortened up some of the more verbose test cases for which simplifications are possible. Used config.number on ConstantNodes that I missed on my original commits. 2015-07-25 07:29:17 -07:00
Favian Contreras
6fbe2238cd Added a test case for nthRoot where the root is variable. Now handles a variable base log, and added a test case. Adjusted the chain rule to be after the switch statement (saves ~1640 bytes and is more modular). 2015-07-21 04:34:06 -07:00
Favian Contreras
2ca8176f1e Added trigonometric functions, and refactored argument sanity checks. Added 'C^x' and FunctionAssignmentNodes. 2015-06-13 09:40:50 -07:00
Favian Contreras
6feb46ba31 Complete structure of derivitive function. Most operators are complete, with a few functions as well. Still does not handle argument errors well, even though it returns the same it received. 2015-05-31 02:49:36 -07:00