org.apache.commons.math3.optimization.fitting
Class CurveFitter.TheoreticalValuesFunction

java.lang.Object
  extended by org.apache.commons.math3.optimization.fitting.CurveFitter.TheoreticalValuesFunction
All Implemented Interfaces:
DifferentiableMultivariateVectorFunction, MultivariateVectorFunction
Enclosing class:
CurveFitter

private class CurveFitter.TheoreticalValuesFunction
extends Object
implements DifferentiableMultivariateVectorFunction

Vectorial function computing function theoretical values.


Field Summary
private  ParametricUnivariateFunction f
          Function to fit.
 
Constructor Summary
CurveFitter.TheoreticalValuesFunction(ParametricUnivariateFunction f)
          Simple constructor.
 
Method Summary
 MultivariateMatrixFunction jacobian()
          Returns the jacobian function.
 double[] value(double[] point)
          Compute the value for the function at the given point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

f

private final ParametricUnivariateFunction f
Function to fit.

Constructor Detail

CurveFitter.TheoreticalValuesFunction

public CurveFitter.TheoreticalValuesFunction(ParametricUnivariateFunction f)
Simple constructor.

Parameters:
f - function to fit.
Method Detail

jacobian

public MultivariateMatrixFunction jacobian()
Returns the jacobian function.

Specified by:
jacobian in interface DifferentiableMultivariateVectorFunction
Returns:
the jacobian function

value

public double[] value(double[] point)
Compute the value for the function at the given point.

Specified by:
value in interface MultivariateVectorFunction
Parameters:
point - point at which the function must be evaluated
Returns:
function value for the given point


Copyright (c) 2003-2013 Apache Software Foundation