Package optimization
Class FminTest
- java.lang.Object
-
- optimization.FminTest
-
- All Implemented Interfaces:
Fmin_methods
public class FminTest extends Object implements Fmin_methods
This class tests the Fmin class.Modified by Eric Eaton to use a new Console class as a substitute for corejava.Console.
- Version:
- .5 --- March 25, 1998
- Author:
- Steve Verrill
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
f_to_minimize(double x)
Defines a function f : double -> double to minimize.static void
main(String[] args)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
f_to_minimize
public double f_to_minimize(double x)
Description copied from interface:Fmin_methods
Defines a function f : double -> double to minimize.- Specified by:
f_to_minimize
in interfaceFmin_methods
- Parameters:
x
- the input x- Returns:
- the value f(x) of the function applied to x.
-
-