Class RootFinding
java.lang.Object
org.episteme.core.mathematics.analysis.numerical.RootFinding
Root finding algorithms for single-variable functions.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Realbisection(RealFunction f, Real a, Real b) Finds a root using the bisection method.static Realbisection(RealFunction f, Real a, Real b, double tolerance) static Realbrent(RealFunction f, Real a, Real b) Finds a root using Brent's method.static Realbrent(RealFunction f, Real a, Real b, double tolerance) static RealnewtonRaphson(RealFunction f, RealFunction df, Real x0) Finds a root using Newton-Raphson method.static RealnewtonRaphson(RealFunction f, RealFunction df, Real x0, double tolerance) static Realsecant(RealFunction f, Real x0, Real x1) Finds a root using the secant method.static Realsecant(RealFunction f, Real x0, Real x1, double tolerance)
-
Constructor Details
-
RootFinding
public RootFinding()
-
-
Method Details
-
bisection
Finds a root using the bisection method. -
bisection
-
newtonRaphson
Finds a root using Newton-Raphson method. -
newtonRaphson
-
secant
Finds a root using the secant method. -
secant
-
brent
Finds a root using Brent's method. -
brent
-