Class UnivariateRealSolverFactory

  • Direct Known Subclasses:
    UnivariateRealSolverFactoryImpl

    public abstract class UnivariateRealSolverFactory
    extends java.lang.Object
    Abstract factory class used to create UnivariateRealSolver instances.

    Solvers implementing the following algorithms are supported:

    • Bisection
    • Brent's method
    • Secant method
    Concrete factories extending this class also specify a default solver, instances of which are returned by newDefaultSolver().

    Common usage:

     SolverFactory factory = UnivariateRealSolverFactory.newInstance();

    // create a Brent solver to use BrentSolver solver = factory.newBrentSolver();