#include <algorithm>
#include <cmath>
#include <Eigen/Dense>
#include <unsupported/Eigen/AutoDiff>
|
| template<int MaxChunkSize = 10, class F, class Arg> |
| decltype(auto) | jacobian (F &&f, Arg &&x) |
| | Computes a matrix of AutoDiffScalars from which both the value and the Jacobian of a function.
|
| template<int MaxChunkSizeOuter = 10, int MaxChunkSizeInner = 10, class F, class Arg> |
| decltype(auto) | hessian (F &&f, Arg &&x) |
| | Computes a matrix of AutoDiffScalars from which the value, Jacobian, and Hessian of a function.
|