Optimo  0.1.0
A C++ header library for optimization
 All Classes Functions Variables Pages
optimo::GradientFunctor< Scalar, n > Struct Template Referenceabstract

Gradient functor. More...

#include <objects.h>

Inheritance diagram for optimo::GradientFunctor< Scalar, n >:
optimo::SecantGradientFunctor< Scalar, n >

Public Member Functions

virtual void operator() (const Eigen::Matrix< Scalar, n, 1 > &x, Eigen::Matrix< Scalar, n, 1 > *g) const =0
 Computes the gradient.

Detailed Description

template<typename Scalar, uint n>
struct optimo::GradientFunctor< Scalar, n >

Gradient functor.

This functor evaluates the gradient of the objective function \( \nabla f_0 (\mathbf{x})\) Assumes the form: \( \nabla f_0 (\mathbf{x}): \mathbb{R}^n \rightarrow \mathbb{R}^n \)

The documentation for this struct was generated from the following file: