Go to the documentation of this file.
30 #include "autodiff/forward/dual.hpp"
31 #include "autodiff/forward/dual/eigen.hpp"
32 #include <autodiff/forward/dual/dual.hpp>
37 namespace AutomaticDifferentiation {
39 using namespace autodiff;
40 using namespace Eigen;
MatrixXd forwardMode(const vector_to_vector_function_type &F, const VectorXd &X)
Definition: MarmotAutomaticDifferentiation.cpp:44
std::function< VectorXdual(const VectorXdual &X) > vector_to_vector_function_type_dual
Definition: MarmotAutomaticDifferentiation.h:53
std::function< dual(const dual &) > scalar_to_scalar_function_type
Definition: MarmotAutomaticDifferentiation.h:44
std::function< dual2nd(const dual2nd &) > scalar_to_scalar_function_type_2nd
Definition: MarmotAutomaticDifferentiation.h:47
This file includes functions needed for calculations with stress and strain tensors written in voigt ...
Definition: MarmotTesting.h:30
dual2nd shiftTo2ndOrderDual(const dual &x)
Definition: MarmotAutomaticDifferentiation.cpp:12
std::pair< VectorXd, MatrixXd > jacobian(const vector_to_vector_function_type_dual &F, const VectorXd &X)
Definition: MarmotAutomaticDifferentiation.cpp:52
std::function< VectorXdual(const VectorXdual &X) > vector_to_vector_function_type
Definition: MarmotAutomaticDifferentiation.h:50
double df_dx(const scalar_to_scalar_function_type &f, const double &x)
Definition: MarmotAutomaticDifferentiation.cpp:20
Eigen::MatrixXd F(const Eigen::MatrixXd &J)