Functor for linesearch along geodesic.
More...
#include <Functor.hpp>
Functor for linesearch along geodesic.
◆ LineSearchFunctor()
OMDc::LineSearchFunctor::LineSearchFunctor |
( |
DataStore & |
DS | ) |
|
standard constructor
- Parameters
-
DS | reference to data holder |
◆ cost()
int OMDc::LineSearchFunctor::cost |
( |
Eigen::VectorXd & |
fvec, |
|
|
const Eigen::MatrixXd & |
L |
|
) |
| const |
evaluates cost function at bases
- Parameters
-
fvec | cost function value (scalar-valued) |
L | bases where geodesic is evaluated |
- Returns
- 0 for success
◆ costDim()
const Eigen::Index OMDc::LineSearchFunctor::costDim |
( |
| ) |
|
|
inline |
dimension of the cost function vector
- Returns
- dim == 1
◆ derivative()
double OMDc::LineSearchFunctor::derivative |
( |
Eigen::MatrixXd & |
dF, |
|
|
const Eigen::MatrixXd & |
L |
|
) |
| const |
componentwise derivative w.r.t. given modes
- Parameters
-
dF | reference to derivative (n x r) |
L | given modes (n x r) |
- Returns
- value of the cost function
The documentation for this class was generated from the following file:
- /home/lre/Documents/REPO/omdc-pub-repo/libs/OMDc/Functor.hpp