Configuration for bounded 1D optimization and root finding. Extends Config with interval bounds.
More...
#include <MathUtils_Config.hxx>
|
| | BoundedConfig ()=default |
| | Default constructor.
|
| | BoundedConfig (double theLower, double theUpper, double theTolerance=1.0e-10, int theMaxIter=100) |
| | Constructor with bounds.
|
| | Config ()=default |
| | Default constructor with standard tolerances.
|
| | Config (double theTolerance, int theMaxIter=100) |
| | Constructor with custom tolerance (sets all tolerances to same value).
|
|
| double | LowerBound = -std::numeric_limits<double>::max() |
| | Lower bound of search interval.
|
| double | UpperBound = std::numeric_limits<double>::max() |
| | Upper bound of search interval.
|
| 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.
|
Configuration for bounded 1D optimization and root finding. Extends Config with interval bounds.
◆ BoundedConfig() [1/2]
| MathUtils::BoundedConfig::BoundedConfig |
( |
| ) |
|
|
default |
◆ BoundedConfig() [2/2]
| MathUtils::BoundedConfig::BoundedConfig |
( |
double | theLower, |
|
|
double | theUpper, |
|
|
double | theTolerance = 1.0e-10, |
|
|
int | theMaxIter = 100 ) |
|
inline |
Constructor with bounds.
- Parameters
-
| theLower | lower bound |
| theUpper | upper bound |
| theTolerance | convergence tolerance |
| theMaxIter | maximum iterations |
◆ LowerBound
| double MathUtils::BoundedConfig::LowerBound = -std::numeric_limits<double>::max() |
Lower bound of search interval.
◆ UpperBound
| double MathUtils::BoundedConfig::UpperBound = std::numeric_limits<double>::max() |
Upper bound of search interval.
The documentation for this struct was generated from the following file: