org.apache.commons.math3.fitting.leastsquares

## Interface ValueAndJacobianFunction

- All Superinterfaces:
    MultivariateJacobianFunction

      public interface ValueAndJacobianFunction
      extends MultivariateJacobianFunction

  A interface for functions that compute a vector of values and can compute their derivatives (Jacobian).
  Since:
    3.4

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `RealMatrix` | `computeJacobian(double[] params)` Compute the Jacobian.
    `RealVector` | `computeValue(double[] params)` Compute the value.

    - ### Methods inherited from interface org.apache.commons.math3.fitting.leastsquares.MultivariateJacobianFunction

      `value`

- - ### Method Detail

    - #### computeValue

          RealVector computeValue(double[] params)

      Compute the value.
      Parameters:
        `params` - Point.
      Returns:
        the value at the given point.

    - #### computeJacobian

          RealMatrix computeJacobian(double[] params)

      Compute the Jacobian.
      Parameters:
        `params` - Point.
      Returns:
        the Jacobian at the given point.

Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.