17 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
20 typedef Eigen::Matrix<double, 3, 1>
X_TYPE;
37 HES_TYPE
hessian(
const Eigen::VectorXd& x_in,
const Eigen::VectorXd& w_in)
override;
41 std::array<double, 0> v_;
HES_TYPE hessian(const Eigen::VectorXd &x_in, const Eigen::VectorXd &w_in) override
Evaluates the hessian (2nd order derivatives with respect to input) of the method. In case of a vector valued function, the method returns the weighted sum of the hessians with weights w.
Definition: TestHessian.cpp:15
Definition: TestHessian.h:14
virtual ~TestHessian()
Definition: TestHessian.h:34
TestHessian()
Definition: TestHessian.h:22
Eigen::Matrix< double, 3, 1 > X_TYPE
Definition: TestHessian.h:20
General interface class for a Derivatives.
Definition: Derivatives.h:24
TestHessian * clone() const override
deep copy for derived classes
Definition: TestHessian.h:36
TestHessian(const TestHessian &other)
Definition: TestHessian.h:28
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef Eigen::Matrix< double, 3, 3 > HES_TYPE
Definition: TestHessian.h:19