AAD
This crate provides tools for implementing adjoint(a.k.a. reverse-mode) automatic differentiation in Rust. It enables gradient computation for scalar values through a flexible and extensible API.
- User-Friendly Design: Equations can be manipulated as seamlessly as primitive floating-point types.
- This design draws heavy inspiration from the
rustogradandRustQuant_autodifflibrary.
- This design draws heavy inspiration from the
- High Performance: The library is designed to be both efficient and scalable, with minimal overhead.
- Benchmarks show it is as fast or faster compared to
RustQuant_autodiff. - Note:
RustQuant_autodiffincludes extra dependencies, which may require additional system setup when installing on Linux.
- Benchmarks show it is as fast or faster compared to
- No Dependencies: The library is self-contained and does not rely on any external dependencies.
Quick Start
Here's an example of how to use the library:
use Tape;
Benchmarks
Benchmark results can be viewed here.
License
This project is licensed under the MIT License.