|
ROOT
ROOT project
|
Base (shared) configuration (data) class for root-finding methods. More...
#include <config.hpp>


Public Member Functions | |
| virtual | ~ConfigBase () |
| Virtual destructor required for downcasting objects to derived class types (using dynamic_cast). | |
Public Attributes | |
| Method | method |
| The root-finding method to be used. | |
| double | tolerance |
| The tolerance for convergence. | |
| int | max_iterations |
| The maximum number of iterations allowed. | |
| bool | aitken |
| Indicates whether Aitken acceleration is enabled. | |
| bool | verbose |
| Indicates whether verbose output is enabled. | |
| std::function< double(double)> | function |
| The function for which the root is to be found. | |
Base (shared) configuration (data) class for root-finding methods.
This class serves as the base for all specific root-finding method configurations, encapsulating common parameters such as tolerance, maximum iterations, and the function.
|
inlinevirtual |
Virtual destructor required for downcasting objects to derived class types (using dynamic_cast).
| bool ConfigBase::aitken |
Indicates whether Aitken acceleration is enabled.
| std::function<double(double)> ConfigBase::function |
The function for which the root is to be found.
| int ConfigBase::max_iterations |
The maximum number of iterations allowed.
| Method ConfigBase::method |
The root-finding method to be used.
| double ConfigBase::tolerance |
The tolerance for convergence.
| bool ConfigBase::verbose |
Indicates whether verbose output is enabled.