|
OMDc
2.0.0
created from 2320578 on deploy-documentation
|
Functor for linesearch along geodesic. More...
#include <Functor.hpp>
Public Member Functions | |
| const Eigen::Index | costDim () const |
| dimension of the cost function vector More... | |
| LineSearchFunctor (const DataStore &DS) | |
| standard constructor More... | |
| int | cost (Eigen::VectorXd &fvec) const |
| computes cost by OMD::DataStore::getResidual() More... | |
| double | derivative (Eigen::MatrixXd &dF) const |
| componentwise derivative w.r.t. bases representation More... | |
Functor for linesearch along geodesic.
| OMD::LineSearchFunctor::LineSearchFunctor | ( | const DataStore & | DS | ) |
standard constructor
| DS | reference to mutable OMD data |
| int OMD::LineSearchFunctor::cost | ( | Eigen::VectorXd & | fvec | ) | const |
computes cost by OMD::DataStore::getResidual()
| fvec | vector with single entry for the result |
|
inline |
dimension of the cost function vector
| double OMD::LineSearchFunctor::derivative | ( | Eigen::MatrixXd & | dF | ) | const |
componentwise derivative w.r.t. bases representation
The derivative of the OMD cost is expressed by using the internal representation of OMD::DataStore
where
and
are obtained from OMD::DataStore::getProjector() and OMD::DataStore::getYstar(), respectively.
| dF | result matrix [n x r] |
{}