/** * Obtains an instance of the Broyden root finder specifying the tolerances. * * @param absoluteTol the absolute tolerance * @param relativeTol the relative tolerance * @param maxSteps the maximum steps * @param decomposition the decomposition function * @return the root finder */ public static NewtonVectorRootFinder broyden( double absoluteTol, double relativeTol, int maxSteps, Decomposition<?> decomposition) { return new BroydenVectorRootFinder(absoluteTol, relativeTol, maxSteps, decomposition); }
/** * Obtains an instance of the Broyden root finder. * <p> * This uses SV decomposition and standard tolerances. * * @return the root finder */ public static NewtonVectorRootFinder broyden() { return new BroydenVectorRootFinder(new SVDecompositionCommons()); }
/** * Obtains an instance of the Broyden root finder specifying the tolerances. * <p> * This uses SV decomposition. * * @param absoluteTol the absolute tolerance * @param relativeTol the relative tolerance * @param maxSteps the maximum steps * @return the root finder */ public static NewtonVectorRootFinder broyden(double absoluteTol, double relativeTol, int maxSteps) { return new BroydenVectorRootFinder(absoluteTol, relativeTol, maxSteps, new SVDecompositionCommons()); }