datan

## Class AuxZero

- java.lang.Object
- - datan.AuxZero

-     public class AuxZero
      extends java.lang.Object

  A class with which a zero of a scalar monotonic function of a single variable is found
  Author:
    Siegmund Brandt.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AuxZero(DatanUserFunction uf, double x0, double x1)`

  - ### Method Summary

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

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

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

- - ### Constructor Detail

    - #### AuxZero

          public AuxZero(DatanUserFunction uf,
                 double x0,
                 double x1)

      Parameters:
        `uf` - user function which must be an extension of the abstract class DatanUserFunction.
        `x0` - one value of the function's argument.
        `x1` - a second value of the function's argument.

  - ### Method Detail

    - #### hasConverged

          public boolean hasConverged()

      Returns:
        true if method has converged, false otherwise.

    - #### getZero

          public double getZero()

      Returns:
        the argument value for which the function is zero.