| OpenCV 5.0.0alpha Open Source Computer Vision

Loading...
Searching...
No Matches
Public Member Functions | List of all members
cv::MinProblemSolver::Function Class Referenceabstract

Represents function being optimized. More...

`#include <opencv2/core/optim.hpp>`

Collaboration diagram for cv::MinProblemSolver::Function:

## 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 | ( |  | ) |
| inline virtual

## 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:

- opencv2/core/optim.hpp