📄️ Symbolic framework
We can define scalar symbolic variables as follows
📄️ Function
Scalar input arguments
📄️ Automatic differentiation
The current AD layer supports both forward-mode and reverse-mode symbolic differentiation.
📄️ Rust codegen
The library can generate Rust code for primal functions, derivative functions,
📄️ Rust-Python interface
Try it In Colab
📄️ Optimal control
For deterministic fixed-horizon optimal-control problems, SingleShootingProblem
📄️ High-order functions
Gradgen supports high-order functions such as map, zip, and reduce.
📄️ Custom function
Suppose you want to use a scalar-valued function,