Deriv_cpp() and Simplify_cpp() functions for speed on simple formulas. This can be critical when there hundreds of formulas to differentiate by tens of variables.with() construct%*%-) call2009-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