1 | /*
|
---|
2 | * Interface RealRootDerivFunction
|
---|
3 | *
|
---|
4 | * The function whose root is to be determined by a class
|
---|
5 | * RealRoots method, and its first derivative, is supplied
|
---|
6 | * by means of this interface, RealRootDerivFunction
|
---|
7 | *
|
---|
8 | * WRITTEN BY: Dr Michael Thomas Flanagan
|
---|
9 | *
|
---|
10 | * DATE: 18 May 2003
|
---|
11 | * UPDATE: 22 June 2003
|
---|
12 | *
|
---|
13 | * DOCUMENTATION:
|
---|
14 | * See Michael Thomas Flanagan's Java library on-line web page:
|
---|
15 | * http://www.ee.ucl.ac.uk/~mflanaga/java/RealRoot.html
|
---|
16 | * http://www.ee.ucl.ac.uk/~mflanaga/java/
|
---|
17 | *
|
---|
18 | * Copyright (c) June 2003 Michael Thomas Flanagan
|
---|
19 | *
|
---|
20 | * PERMISSION TO COPY:
|
---|
21 | * Permission to use, copy and modify this software and its documentation for
|
---|
22 | * NON-COMMERCIAL purposes is granted, without fee, provided that an acknowledgement
|
---|
23 | * to the author, Michael Thomas Flanagan at www.ee.ucl.ac.uk/~mflanaga, appears in all copies.
|
---|
24 | *
|
---|
25 | * Dr Michael Thomas Flanagan makes no representations about the suitability
|
---|
26 | * or fitness of the software for any or for a particular purpose.
|
---|
27 | * Michael Thomas Flanagan shall not be liable for any damages suffered
|
---|
28 | * as a result of using, modifying or distributing this software or its derivatives.
|
---|
29 | *
|
---|
30 | ***************************************************************************************/
|
---|
31 |
|
---|
32 | package agents.anac.y2015.agentBuyogV2.flanagan.roots;
|
---|
33 |
|
---|
34 | import java.util.*;
|
---|
35 |
|
---|
36 | import agents.anac.y2015.agentBuyogV2.flanagan.math.Fmath;
|
---|
37 |
|
---|
38 | // Interface for RealRoot class
|
---|
39 | // returns value of function and of the first derivative of the function whose root is required
|
---|
40 | public interface RealRootDerivFunction{
|
---|
41 | double[] function(double x);
|
---|
42 | }
|
---|