1 | /*
|
---|
2 | * Interface RegressionFunction
|
---|
3 | *
|
---|
4 | * The sum of squares function needed by the
|
---|
5 | * non-linear regression methods in the class Regression
|
---|
6 | * is supplied by means of this interface, RegressionFunction
|
---|
7 | *
|
---|
8 | * WRITTEN BY: Dr Michael Thomas Flanagan
|
---|
9 | *
|
---|
10 | * DATE: February 2002
|
---|
11 | * MODIFIED: 14 April 2004
|
---|
12 | *
|
---|
13 | * DOCUMENTATION:
|
---|
14 | * See Michael Thomas Flanagan's Java library on-line web page:
|
---|
15 | * http://www.ee.ucl.ac.uk/~mflanaga/java/Regression.html
|
---|
16 | * http://www.ee.ucl.ac.uk/~mflanaga/java/
|
---|
17 | *
|
---|
18 | * Copyright (c) 2002 - 2008
|
---|
19 | *
|
---|
20 | * PERMISSION TO COPY:
|
---|
21 | *
|
---|
22 | * Redistributions of this source code, or parts of, must retain the above
|
---|
23 | * copyright notice, this list of conditions and the following disclaimer.
|
---|
24 | *
|
---|
25 | * Redistribution in binary form of all or parts of this class, must reproduce
|
---|
26 | * the above copyright, this list of conditions and the following disclaimer in
|
---|
27 | * the documentation and/or other materials provided with the distribution.
|
---|
28 | *
|
---|
29 | * Permission to use, copy and modify this software and its documentation for
|
---|
30 | * NON-COMMERCIAL purposes is granted, without fee, provided that an acknowledgement
|
---|
31 | * to the author, Michael Thomas Flanagan at www.ee.ucl.ac.uk/~mflanaga, appears in all
|
---|
32 | * copies and associated documentation or publications.
|
---|
33 | *
|
---|
34 | * Dr Michael Thomas Flanagan makes no representations about the suitability
|
---|
35 | * or fitness of the software for any or for a particular purpose.
|
---|
36 | * Michael Thomas Flanagan shall not be liable for any damages suffered
|
---|
37 | * as a result of using, modifying or distributing this software or its derivatives.
|
---|
38 | *
|
---|
39 | ***************************************************************************************/
|
---|
40 |
|
---|
41 |
|
---|
42 | package agents.anac.y2015.agentBuyogV2.flanagan.analysis;
|
---|
43 |
|
---|
44 | // Interface for Regression class
|
---|
45 | // Sum of squares function for non-linear regression methods
|
---|
46 | public interface RegressionFunction{
|
---|
47 | double function(double[] param, double[] x);
|
---|
48 | }
|
---|