drivers

High-level driver functions for derivative computation

High-level driver functions for derivative computation

Provides convenient functions for computing common derivative quantities:

These drivers wrap the lower-level forward/reverse interfaces and handle memory allocation and mode selection automatically. All functions require a pre-recorded tape (via trace_on/trace_off).

Algorithm

Reverse mode automatic differentiation

Complexity: $O(c·n)$ where c = cost of function evaluation (typically c ≈ 4-5)

See Also

Source

Header file: `ADOL-C/include/adolc/drivers/drivers.h`