R / ADR Server

Input


Output



R code differentiated in the forward mode of automatic differentiation. Here you can differentiate R functions interactively.

With the ADR package in R you can differentiate R functions automatically. Download the ADR package from the download section. Install the ADR package with install.package('~/Downloads/adr_0.5.0.tar.gz'). Then run, for example, adrDiffFor(function(x, c) x^c, list(x, c)), which will send the function definition to this server form using the HTTR package and then run the resulting differentiated function shown in the right textarea.