OpenMS
TraceFitter::GenericFunctor Class Referenceabstract

#include <OpenMS/FEATUREFINDER/TraceFitter.h>

Inheritance diagram for TraceFitter::GenericFunctor:
[legend]
Collaboration diagram for TraceFitter::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)=0
 
virtual int df (const Eigen::VectorXd &x, Eigen::MatrixXd &J)=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 
)

◆ ~GenericFunctor()

virtual ~GenericFunctor ( )
virtual

Member Function Documentation

◆ df()

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

◆ inputs()

int inputs ( ) const

◆ operator()()

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

◆ values()

int values ( ) const

Member Data Documentation

◆ m_inputs

const int m_inputs
protected

◆ m_values

const int m_values
protected