org.apache.commons.math4.fitting.leastsquares

## Class DifferentiatorVectorMultivariateJacobianFunction

• java.lang.Object
• org.apache.commons.math4.fitting.leastsquares.DifferentiatorVectorMultivariateJacobianFunction
• All Implemented Interfaces:
MultivariateJacobianFunction

public class DifferentiatorVectorMultivariateJacobianFunction
extends Object
implements MultivariateJacobianFunction
A MultivariateJacobianFunction (a thing that requires a derivative) combined with the thing that can find derivatives. Can be used with a LeastSquaresProblem, a LeastSquaresFactory, or a LeastSquaresBuilder.
• ### Constructor Summary

Constructors
Constructor and Description
DifferentiatorVectorMultivariateJacobianFunction(MultivariateVectorFunction function, UnivariateVectorFunctionDifferentiator differentiator)
Build the jacobian function using a differentiator.
• ### Method Summary

All Methods
Modifier and Type Method and Description
Pair<RealVector,RealMatrix> value(RealVector point)
Compute the function value and its Jacobian.
• ### Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
• ### Constructor Detail

• #### DifferentiatorVectorMultivariateJacobianFunction

public DifferentiatorVectorMultivariateJacobianFunction(MultivariateVectorFunction function,
UnivariateVectorFunctionDifferentiator differentiator)
Build the jacobian function using a differentiator.
Parameters:
function - the function to turn into a jacobian
differentiator - the differentiator to find the derivative
• ### Method Detail

• #### value

public Pair<RealVector,RealMatrix> value(RealVector point)
Compute the function value and its Jacobian.
Specified by:
value in interface MultivariateJacobianFunction
Parameters:
point - the abscissae
Returns:
the values and their Jacobian of this vector valued function.