|
OMDc
1.0.0
created from c01aff8 on deploy-documentation
|
15 #ifndef __INC_OMD_FUNCTOR__
16 #define __INC_OMD_FUNCTOR__
18 #include "DataStore.hpp"
33 inline const Eigen::Index
costDim() {
return 1;};
41 int cost(Eigen::VectorXd &fvec,
const Eigen::MatrixXd &L)
const;
46 double derivative( Eigen::MatrixXd &dF,
const Eigen::MatrixXd &L)
const;
interface to internal representation of OMD data
Definition: DataStore.hpp:25
LineSearchFunctor(DataStore &DS)
standard constructor
Optimal Mode Decomposition.
Definition: DataStore.hpp:21
Functor for linesearch along geodesic.
Definition: Functor.hpp:26
const Eigen::Index costDim()
dimension of the cost function vector
Definition: Functor.hpp:33
int cost(Eigen::VectorXd &fvec, const Eigen::MatrixXd &L) const
efficient computation of cost at bases
double derivative(Eigen::MatrixXd &dF, const Eigen::MatrixXd &L) const
componentwise derivative w.r.t. bases representation