Geant4
10.03.p01
|
Classes | |
class | Solution |
Functions | |
Solution | solve (RootFunctor const *const f, const G4double x0) |
Numerically solve a one-dimensional equation. More... | |
Numerically solve a one-dimensional equation.
Numerically solves the equation f(x)==0. This implementation uses the false-position method.
If a root is found, it can be retrieved using the getSolution() method,
f | pointer to a RootFunctor |
x0 | initial value of the function argument |
Definition at line 118 of file G4INCLRootFinder.cc.