/src/main/java/net/finmath/rootfinder/SecantMethod.java
derivative = value / ( value - currentPoint) ;
derivative = value / ( secondGuess - currentPoint ) ;
return currentPoint; } @Override public void setValue(final double value) { double derivative; if (getNumberOfIterations() == 0) { <extra_id_0> } else { derivative = (value - lastValue) / (currentPoint - lastPoint); } lastPoint = currentPoint; lastValue = value; super.setValueAndDerivative(value, derivative);