Example usage for org.apache.commons.math3.analysis.solvers RiddersSolver RiddersSolver

List of usage examples for org.apache.commons.math3.analysis.solvers RiddersSolver RiddersSolver

Introduction

In this page you can find the example usage for org.apache.commons.math3.analysis.solvers RiddersSolver RiddersSolver.

Prototype

public RiddersSolver(double relativeAccuracy, double absoluteAccuracy) 

Source Link

Document

Construct a solver.

Usage

From source file:com.opengamma.strata.math.impl.rootfinding.RidderSingleRootFinder.java

/**
 * @param functionValueAccuracy The accuracy of the function evaluations.
 * @param absoluteAccurary The maximum absolute error of the variable.
 *//*from  w w  w.  j av  a2 s  .c om*/
public RidderSingleRootFinder(double functionValueAccuracy, double absoluteAccurary) {
    _ridder = new RiddersSolver(functionValueAccuracy, absoluteAccurary);
}