Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
MathSys::LMConfig Struct Reference

Configuration for Levenberg-Marquardt algorithm. Extends base Config with damping parameter settings. More...

#include <MathSys_LevenbergMarquardt.hxx>

Inheritance diagram for MathSys::LMConfig:
Inheritance graph
[legend]

Public Member Functions

 LMConfig ()=default
 Default constructor.
 
 LMConfig (double theTolerance, int theMaxIter=100)
 Constructor with custom tolerance.
 
- Public Member Functions inherited from MathUtils::Config
 Config ()=default
 Default constructor with standard tolerances.
 
 Config (double theTolerance, int theMaxIter=100)
 Constructor with custom tolerance (sets all tolerances to same value).
 

Data Fields

double LambdaInit = 1.0e-3
 Initial damping parameter.
 
double LambdaIncrease = 10.0
 Factor to increase lambda on rejected step.
 
double LambdaDecrease = 0.1
 Factor to decrease lambda on accepted step.
 
double LambdaMax = 1.0e10
 Maximum lambda value before failing.
 
double LambdaMin = 1.0e-12
 Minimum lambda value.
 
- Data Fields inherited from MathUtils::Config
int MaxIterations = 100
 Maximum number of iterations allowed.
 
double Tolerance = 1.0e-10
 General convergence tolerance.
 
double XTolerance = 1.0e-10
 Tolerance for solution change |x_{n+1} - x_n|.
 
double FTolerance = 1.0e-10
 Tolerance for function value |f(x)|.
 
double StepMin = std::numeric_limits<double>::epsilon()
 Minimum step size before declaring convergence or failure.
 

Detailed Description

Configuration for Levenberg-Marquardt algorithm. Extends base Config with damping parameter settings.

Constructor & Destructor Documentation

◆ LMConfig() [1/2]

MathSys::LMConfig::LMConfig ( )
default

Default constructor.

◆ LMConfig() [2/2]

MathSys::LMConfig::LMConfig ( double theTolerance,
int theMaxIter = 100 )
inlineexplicit

Constructor with custom tolerance.

Parameters
theToleranceconvergence tolerance
theMaxItermaximum iterations

Field Documentation

◆ LambdaDecrease

double MathSys::LMConfig::LambdaDecrease = 0.1

Factor to decrease lambda on accepted step.

◆ LambdaIncrease

double MathSys::LMConfig::LambdaIncrease = 10.0

Factor to increase lambda on rejected step.

◆ LambdaInit

double MathSys::LMConfig::LambdaInit = 1.0e-3

Initial damping parameter.

◆ LambdaMax

double MathSys::LMConfig::LambdaMax = 1.0e10

Maximum lambda value before failing.

◆ LambdaMin

double MathSys::LMConfig::LambdaMin = 1.0e-12

Minimum lambda value.


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