datan

## Class AuxDer

- java.lang.Object
- - datan.AuxDer

-     public class AuxDer
      extends java.lang.Object

  A class computing the derivative f'(x) of f(x) at x = X. Based on H. Rutishauser, Ausdehnung des Rombergschen Prinzips Extension of Romberg's Principle), Numer. Math. 5 (1963) 48-54.
  Author:
    Siegmund Brandt.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AuxDer(DatanUserFunction df)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `getDerivative(double x)`
    `boolean` | `hasConverged()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AuxDer

          public AuxDer(DatanUserFunction df)

      Parameters:
        `df` - user function which must be an extension of the abstract class DatanUserFunction.

  - ### Method Detail

    - #### getDerivative

          public double getDerivative(double x)

      Parameters:
        `x` - argument of the user function at which the derivative is computed.
      Returns:
        derivative.

    - #### hasConverged

          public boolean hasConverged()

      Returns:
        true if iteration successful, false otherwise. (To be called only after "getDerivative(x)".)