Skip to content

differential programming in R

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

fangzhou-xie/differential

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

differential

The goal of differential is to provide Automatic Differentiation for arbitrary R code.

Installation

You can install the development version of differential from GitHub with:

# install.packages("pak")
pak::pkg_install("fangzhou-xie/differential")

Example

Automatic differentiation

library(differential)

e <- quote(3*x^2)
gradient(e, wrt(e))
#> 6 * x

(Simple) Algebraic Simplification

e <- quote(3*x^2+a*x^2)
simplify(e)
#> x^2 * (3 + a)

About

differential programming in R

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages