OpenMS  2.7.0
Public Member Functions | Protected Attributes | List of all members
LevMarqFitter1D::GenericFunctor Class Referenceabstract

#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/LevMarqFitter1D.h>

Inheritance diagram for LevMarqFitter1D::GenericFunctor:
[legend]
Collaboration diagram for LevMarqFitter1D::GenericFunctor:
[legend]

Public Member Functions

int inputs () const
 
int values () const
 
 GenericFunctor (int dimensions, int num_data_points)
 
virtual ~GenericFunctor ()
 
virtual int operator() (const Eigen::VectorXd &x, Eigen::VectorXd &fvec) const =0
 
virtual int df (const Eigen::VectorXd &x, Eigen::MatrixXd &J) const =0
 

Protected Attributes

const int m_inputs
 
const int m_values
 

Detailed Description

Generic functor for LM-Optimization

Constructor & Destructor Documentation

◆ GenericFunctor()

GenericFunctor ( int  dimensions,
int  num_data_points 
)
inline

◆ ~GenericFunctor()

virtual ~GenericFunctor ( )
inlinevirtual

Member Function Documentation

◆ df()

virtual int df ( const Eigen::VectorXd &  x,
Eigen::MatrixXd &  J 
) const
pure virtual

◆ inputs()

int inputs ( ) const
inline

◆ operator()()

virtual int operator() ( const Eigen::VectorXd &  x,
Eigen::VectorXd &  fvec 
) const
pure virtual

◆ values()

int values ( ) const
inline

Member Data Documentation

◆ m_inputs

const int m_inputs
protected

◆ m_values

const int m_values
protected