~ubuntu-branches/ubuntu/quantal/commons-math/quantal

« back to all changes in this revision

Viewing changes to src/main/java/org/apache/commons/math/optimization/fitting/ParametricRealFunction.java

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2010-04-05 23:33:02 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100405233302-gpqlceked76nw28a
Tags: 2.1-1
* New upstream release.
* Bump Standards-Version to 3.8.4: no changes needed
* Bump debhelper to >= 7
* Switch to 3.0 (quilt) source format:
  - Remove B-D on quilt
  - Add d/source/format
  - Remove d/README.source

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
/**
23
23
 * An interface representing a real function that depends on one independent
24
24
 * variable plus some extra parameters.
25
 
 *  
26
 
 * @version $Revision: 786479 $ $Date: 2009-06-19 08:36:16 -0400 (Fri, 19 Jun 2009) $
 
25
 *
 
26
 * @version $Revision: 811786 $ $Date: 2009-09-06 05:36:08 -0400 (Sun, 06 Sep 2009) $
27
27
 */
28
28
public interface ParametricRealFunction {
29
29
 
34
34
     * @return the value
35
35
     * @throws FunctionEvaluationException if the function evaluation fails
36
36
     */
37
 
    public double value(double x, double[] parameters)
 
37
    double value(double x, double[] parameters)
38
38
        throws FunctionEvaluationException;
39
39
 
40
40
    /**
44
44
     * @return the value
45
45
     * @throws FunctionEvaluationException if the function evaluation fails
46
46
     */
47
 
    public double[] gradient(double x, double[] parameters)
 
47
    double[] gradient(double x, double[] parameters)
48
48
        throws FunctionEvaluationException;
49
49
 
50
50
}