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 doublef_to_minimize(double x)Defines a function f : double -> double to minimize.static voidmain(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_methodsDefines a function f : double -> double to minimize.- Specified by:
f_to_minimizein interfaceFmin_methods- Parameters:
x- the input x- Returns:
- the value f(x) of the function applied to x.
-
-