OMDc  1.0.0
created from 0b26fa0 on deploy-documentation
OMD::LineSearchFunctor Class Reference

Functor for linesearch along geodesic. More...

#include <Functor.hpp>

Public Member Functions

const Eigen::Index costDim ()
 dimension of the cost function vector More...
 
 LineSearchFunctor (DataStore &DS)
 standard constructor More...
 
int cost (Eigen::VectorXd &fvec, const Eigen::MatrixXd &L) const
 efficient computation of cost at bases More...
 
double derivative (Eigen::MatrixXd &dF, const Eigen::MatrixXd &L) const
 componentwise derivative w.r.t. bases representation More...
 

Detailed Description

Functor for linesearch along geodesic.

Constructor & Destructor Documentation

◆ LineSearchFunctor()

OMD::LineSearchFunctor::LineSearchFunctor ( DataStore DS)

standard constructor

Parameters
DSreference to mutable OMD data

Member Function Documentation

◆ cost()

int OMD::LineSearchFunctor::cost ( Eigen::VectorXd &  fvec,
const Eigen::MatrixXd &  L 
) const

efficient computation of cost at bases

Parameters
fvecvector with single entry for the result
Lorthonormal bases, used for data update
Returns
0 on success

◆ costDim()

const Eigen::Index OMD::LineSearchFunctor::costDim ( )
inline

dimension of the cost function vector

Returns
dim == 1

◆ derivative()

double OMD::LineSearchFunctor::derivative ( Eigen::MatrixXd &  dF,
const Eigen::MatrixXd &  L 
) const

componentwise derivative w.r.t. bases representation

Parameters
dFresult matrix
Lbases representation, used for data update
Returns
cost value for given bases

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

Automatic Control and Systems Theory, Ruhr-Univeristy Bochum