Expand description
Forward-mode automatic differentiation
Forward-mode AD is efficient for computing derivatives when the number of input variables is small. It computes derivatives by propagating dual numbers through the computation graph.
Structs§
- ForwardAD
Options - Options for forward-mode automatic differentiation
- Second
Order Dual - Second-order dual number for computing exact second derivatives
Functions§
- forward_
gradient - Compute gradient using forward-mode automatic differentiation
- forward_
gradient_ multi - Multi-variable forward-mode gradient computation using MultiDual
- forward_
hessian_ diagonal - Compute Hessian diagonal using forward-mode automatic differentiation
- forward_
hessian_ diagonal_ exact - Compute exact Hessian diagonal using second-order dual numbers
- forward_
jacobian - Forward-mode Jacobian computation for vector-valued functions
- is_
forward_ mode_ efficient - Check if forward mode is preferred for the given problem dimensions