Functor for linesearch along geodesic.
More...
#include <Functor.hpp>
|
| 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...
|
| |
Functor for linesearch along geodesic.
◆ LineSearchFunctor()
| OMD::LineSearchFunctor::LineSearchFunctor |
( |
DataStore & |
DS | ) |
|
standard constructor
- Parameters
-
| DS | reference to mutable OMD data |
◆ cost()
| int OMD::LineSearchFunctor::cost |
( |
Eigen::VectorXd & |
fvec, |
|
|
const Eigen::MatrixXd & |
L |
|
) |
| const |
efficient computation of cost at bases
- Parameters
-
| fvec | vector with single entry for the result |
| L | orthonormal 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
-
| dF | result matrix |
| L | bases representation, used for data update |
- Returns
- cost value for given bases
The documentation for this class was generated from the following file:
- /home/lre/Documents/REPO/omdc-pub-repo/libs/OMD/Functor.hpp