version 0.4.1
autodiffhelper.hh File Reference

Helper for the autodiff library. More...

#include <autodiff/forward/dual.hpp>
#include <autodiff/forward/dual/eigen.hpp>

Go to the source code of this file.

Namespaces

namespace  Ikarus
 
namespace  Ikarus::utils
 

Functions

template<typename Fun , typename... Vars, typename... Args, typename U , typename G , typename H >
void Ikarus::utils::hessianN (const Fun &f, const autodiff::Wrt< Vars... > &wrt, const autodiff::At< Args... > &at, U &u, std::array< G, U::RowsAtCompileTime > &g, std::array< H, U::RowsAtCompileTime > &h)
 Computes the Hessian matrix for each parameter of a given function.The Hessian matrix represents the second-order partial derivatives of the function with respect to the specified variables. More...