Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

README.md

rust-ad

Automatic differentiation library for rust. Currently only supports first order forward AD.

Example

Calculate gradient of exp(x/y^2) at (1, 2):

let result = ad::grad(|x| { Float::exp(x[0] / Float::powi(x[1], 2)) }, vec![1.0, 2.0]);
println!("Out: {}", result);
// Out: [0.321006, -0.321006]

About

Automatic differentiation library for rust

Resources

License

Releases

No releases published

Packages

No packages published

Languages