#include <Dekker.hpp>
Inherits nc::roots::Iteration.
Dekker root finding method
◆ Dekker() [1/2]
Constructor
- Parameters
-
epsilon | the epsilon value |
f | the function |
◆ Dekker() [2/2]
Constructor
- Parameters
-
epsilon | the epsilon value |
maxNumIterations | the maximum number of iterations to perform |
f | the function |
◆ ~Dekker()
nc::roots::Dekker::~Dekker |
( |
| ) |
|
|
overridedefault |
◆ incrementNumberOfIterations()
void nc::roots::Iteration::incrementNumberOfIterations |
( |
| ) |
|
|
inlineprotectedinherited |
Incraments the number of iterations
◆ numIterations()
uint32 nc::roots::Iteration::numIterations |
( |
| ) |
const |
|
inlinenoexceptinherited |
Returns the number of iterations
- Returns
- : number of iterations
◆ resetNumberOfIterations()
void nc::roots::Iteration::resetNumberOfIterations |
( |
| ) |
|
|
inlineprotectednoexceptinherited |
Resets the number of iterations
◆ solve()
Solves for the root in the range [a, b]
- Parameters
-
a | the lower bound |
b | the upper bound |
- Returns
- root between the bound
◆ epsilon_
◆ maxNumIterations_
uint32 nc::roots::Iteration::maxNumIterations_ { 1000 } |
|
protectedinherited |
◆ numIterations_
uint32 nc::roots::Iteration::numIterations_ { 0 } |
|
protectedinherited |
The documentation for this class was generated from the following file: