2026-09-??
a*(-b), (-a)*b -> -(a*b) to Simplify_cpp()2026-07-23
Deriv_cpp() and Simplify_cpp() functions for speed on simple formulas. This can be critical when there are hundreds of formulas to differentiate by tens or hundreds variables.2025-06-20
with() construct2024-09-13
2023-01-18
2021-12-15
2021-02-24
2020-12-10
2020-10-26
2020-10-02
2020-08-20
2019-12-10
%*%2019-09-20
2018-06-11
2018-02-15
2017-11-21
2017-10-16
2017-06-13
2016-11-22
2016-04-05
2016-01-19
2015-11-04
2015-09-23
2015-06-11
2015-06-09
2015-06-03
2015-05-28
2015-05-27
2015-05-26
2015-05-05
2015-04-10
2015-04-07
2015-04-07
2015-03-06
-) call2015-02-05
New derivative engine suppresses a need for helper functions like neg.sin()
Derivative table of differetiable functions is completed by trigonometric fucntions and their inverse as well as hyperbolic functions and their inverse
Derivative table admits different rules for a function called with different number of arguments. E.g., log() can be differentiated when called with one or two arguments. In the latter case, the base which can be constant or variable, is different from exp(1))
New syntax in derivative table facilitates adding user defined functions to differentiate. The same function can have several rules of differentiation depending on the number of arguments at the call moment
Deriv() is now the only entry point for all expressions to derive. No more need for Deriv.function() which is suppressed
It is now possible to pass primitive function as first argument, e.g. Deriv(sin)
In addition to previously possible differentiation of functions and expressions, the argument to differentiate can be submitted as
Power expression can be differentiated with symbolic power, e.g. 'x**n' or 'x^n'
Simplifications are pushed further for rational expressions (i.e. having terms united by '*' and/or '/'), all numeric terms are explicitly calculated and identical terms in numerator and denominator are simplified, identical factors are regrouped in a power term.
Simplifications are pushed further for linear combinations where identical terms are grouped in one term and their numerical coefficients are summed.
Added some simplifications for log(), exp(), power function, sqrt() and abs()
Some unit tests are added for Deriv() and Simplfy() (based on testthat package)
2014-12-10
2009-2-21 Mark Reid's patch
2007 Andrew Clausen has written an original code Deriv.R and Simplify.R distributed on his site https://andrewclausen.net/computing/deriv.html