datan

## Class AuxGrad

- java.lang.Object
- - datan.AuxGrad

-     public class AuxGrad
      extends java.lang.Object

  A class computing the gradient vector of a function of n variables
  Author:
    Siegmund Brandt.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AuxGrad(DatanUserFunction muf, int[] list)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `DatanVector` | `getGradient(DatanVector xin)`

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

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

- - ### Constructor Detail

    - #### AuxGrad

          public AuxGrad(DatanUserFunction muf,
                 int[] list)

      Parameters:
        `muf` - user function which must be an extension of the abstract class DatanUserFunction.
        `list` - array containing the elements of a list specifying which of the n variables are fixed (list element = 0) and which are adjustable (list element = 1).

  - ### Method Detail

    - #### getGradient

          public DatanVector getGradient(DatanVector xin)

      Parameters:
        `xin` - position in n-space, where gradient is to be computed.
      Returns:
        gradient.