Tabnine Logo
RiddersSolver.solve
Code IndexAdd Tabnine to your IDE (free)

How to use
solve
method
in
org.apache.commons.math3.analysis.solvers.RiddersSolver

Best Java code snippets using org.apache.commons.math3.analysis.solvers.RiddersSolver.solve (Showing top 1 results out of 315)

origin: OpenGamma/Strata

/**
 * {@inheritDoc}
 * @throws MathException If the Commons method could not evaluate the function;
 *   if the Commons method could not converge.
 */
@Override
public Double getRoot(Function<Double, Double> function, Double xLow, Double xHigh) {
 checkInputs(function, xLow, xHigh);
 UnivariateFunction wrapped = CommonsMathWrapper.wrapUnivariate(function);
 try {
  return _ridder.solve(MAX_ITER, wrapped, xLow, xHigh);
 } catch (TooManyEvaluationsException | NoBracketingException e) {
  throw new MathException(e);
 }
}
org.apache.commons.math3.analysis.solversRiddersSolversolve

Popular methods of RiddersSolver

  • computeObjectiveValue
  • getAbsoluteAccuracy
  • getFunctionValueAccuracy
  • getMax
  • getMin
  • getRelativeAccuracy
  • verifyBracketing
  • <init>
    Construct a solver.

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • getExternalFilesDir (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now