Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.math.optimization.fitting
Class CurveFitter.TheoreticalValuesFunction

    java.lang.Object
      org.apache.commons.math.optimization.fitting.CurveFitter.TheoreticalValuesFunction

All Implemented Interfaces:
  DifferentiableMultivariateVectorialFunction, MultivariateVectorialFunction

Enclosing class:
  CurveFitter

    private class CurveFitter.TheoreticalValuesFunction

extends java.lang.Object
implements DifferentiableMultivariateVectorialFunction

Vectorial function computing function theoretical values.

Field Summary
`private ParametricRealFunction` | `f` Function to fit.

Constructor Summary
`CurveFitter.TheoreticalValuesFunction(ParametricRealFunction 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 ParametricRealFunction f

  Function to fit.

Constructor Detail

### CurveFitter.TheoreticalValuesFunction

    public CurveFitter.TheoreticalValuesFunction(ParametricRealFunction f)

  Simple constructor.

  Parameters:
    `f` - function to fit.

Method Detail

### jacobian

    public MultivariateMatrixFunction jacobian()

  Returns the jacobian function.

  Specified by:
    `jacobian` in interface `DifferentiableMultivariateVectorialFunction`
  Returns:
    the jacobian function

### value

    public double[] value(double[] point)
                   throws FunctionEvaluationException,
                          java.lang.IllegalArgumentException

  Compute the value for the function at the given point.

  Specified by:
    `value` in interface `MultivariateVectorialFunction`
  Parameters:
    `point` - point at which the function must be evaluated
  Returns:
    function value for the given point
  Throws:
    `FunctionEvaluationException` - if the function evaluation fails
    `java.lang.IllegalArgumentException` - if points dimension is wrong

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2003-2011 Apache Software Foundation