Documentation of 'org.apache.commons.math3.analysis.solvers.BaseSecantSolver' Java class
BaseSecantSolver
org.apache.commons.math3.analysis.solvers

Class BaseSecantSolver

    • Method Detail

      • solve

        public double solve(int maxEval,
                            UnivariateFunction f,
                            double min,
                            double max,
                            AllowedSolution allowedSolution)
        Solve for a zero in the given interval. A solver may require that the interval brackets a single zero root. Solvers that do require bracketing should be able to handle the case where one of the endpoints is itself a root.
        Specified by:
        solve in interface BracketedUnivariateSolver<UnivariateFunction>
        Parameters:
        maxEval - Maximum number of evaluations.
        f - Function to solve.
        min - Lower bound for the interval.
        max - Upper bound for the interval.
        allowedSolution - The kind of solutions that the root-finding algorithm may accept as solutions.
        Returns:
        A value where the function is zero.
      • solve

        public double solve(int maxEval,
                            UnivariateFunction f,
                            double min,
                            double max,
                            double startValue,
                            AllowedSolution allowedSolution)
        Solve for a zero in the given interval, start at startValue. A solver may require that the interval brackets a single zero root. Solvers that do require bracketing should be able to handle the case where one of the endpoints is itself a root.
        Specified by:
        solve in interface BracketedUnivariateSolver<UnivariateFunction>
        Parameters:
        maxEval - Maximum number of evaluations.
        f - Function to solve.
        min - Lower bound for the interval.
        max - Upper bound for the interval.
        startValue - Start value to use.
        allowedSolution - The kind of solutions that the root-finding algorithm may accept as solutions.
        Returns:
        A value where the function is zero.
      • solve

        public double solve(int maxEval,
                            UnivariateFunction f,
                            double min,
                            double max,
                            double startValue)
        Solve for a zero in the given interval, start at startValue. A solver may require that the interval brackets a single zero root. Solvers that do require bracketing should be able to handle the case where one of the endpoints is itself a root.
        Specified by:
        solve in interface BaseUnivariateSolver<UnivariateFunction>
        Overrides:
        solve in class BaseAbstractUnivariateSolver<UnivariateFunction>
        Parameters:
        maxEval - Maximum number of evaluations.
        f - Function to solve.
        min - Lower bound for the interval.
        max - Upper bound for the interval.
        startValue - Start value to use.
        Returns:
        a value where the function is zero.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.