org.apache.commons.math3.analysis

## Interface DifferentiableMultivariateFunction

- All Superinterfaces:
    MultivariateFunction

      public interface DifferentiableMultivariateFunction
      extends MultivariateFunction

  Extension of `MultivariateFunction` representing a differentiable multivariate real function.
  Since:
    2.0
  Version:
    $Id: DifferentiableMultivariateFunction.java 1244107 2012-02-14 16:17:55Z erans $

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MultivariateVectorFunction` | `gradient()` Returns the gradient function.
    `MultivariateFunction` | `partialDerivative(int k)` Returns the partial derivative of the function with respect to a point coordinate.

    - ### Methods inherited from interface org.apache.commons.math3.analysis.MultivariateFunction

      `value`

- - ### Method Detail

    - #### partialDerivative

          MultivariateFunction partialDerivative(int k)

      Returns the partial derivative of the function with respect to a point coordinate.

      The partial derivative is defined with respect to point coordinate xk. If the partial derivatives with respect to all coordinates are needed, it may be more efficient to use the `gradient()` method which will compute them all at once.

      Parameters:
        `k` - index of the coordinate with respect to which the partial derivative is computed
      Returns:
        the partial derivative function with respect to kth point coordinate

    - #### gradient

          MultivariateVectorFunction gradient()

      Returns the gradient function.

      If only one partial derivative with respect to a specific coordinate is needed, it may be more efficient to use the `partialDerivative(int)` method which will compute only the specified component.

      Returns:
        the gradient function

Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.