OpenCV  4.5.5
Open Source Computer Vision
Public Member Functions | List of all members
cv::MinProblemSolver::Function Class Referenceabstract

Represents function being optimized. More...

#include <opencv2/core/optim.hpp>

Public Member Functions

virtual ~Function ()
 
virtual double calc (const double *x) const =0
 
virtual int getDims () const =0
 
virtual void getGradient (const double *x, double *grad)
 
virtual double getGradientEps () const
 

Detailed Description

Represents function being optimized.

Constructor & Destructor Documentation

◆ ~Function()

virtual cv::MinProblemSolver::Function::~Function ( )
inlinevirtual

Member Function Documentation

◆ calc()

virtual double cv::MinProblemSolver::Function::calc ( const double *  x) const
pure virtual

◆ getDims()

virtual int cv::MinProblemSolver::Function::getDims ( ) const
pure virtual

◆ getGradient()

virtual void cv::MinProblemSolver::Function::getGradient ( const double *  x,
double *  grad 
)
virtual

◆ getGradientEps()

virtual double cv::MinProblemSolver::Function::getGradientEps ( ) const
virtual

The documentation for this class was generated from the following file: