alun.util
Class GoldenSection
java.lang.Object
alun.util.GoldenSection
public class GoldenSection
- extends java.lang.Object
|
Field Summary |
static double |
gold
|
|
Method Summary |
static XYPair |
golden(Curve p,
double lo,
double mid,
double hi,
double tol)
|
static XYPair |
golden(Curve p,
XYPair r,
XYPair s,
XYPair t,
XYPair u,
double tol)
|
static void |
main(java.lang.String[] args)
|
static XYPair |
maximum(Curve p,
double lo,
double hi,
double tol)
|
static XYPair |
maximum(Curve p,
double lo,
double hi,
double tol,
boolean verb)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gold
public static double gold
GoldenSection
public GoldenSection()
maximum
public static XYPair maximum(Curve p,
double lo,
double hi,
double tol)
maximum
public static XYPair maximum(Curve p,
double lo,
double hi,
double tol,
boolean verb)
golden
public static XYPair golden(Curve p,
double lo,
double mid,
double hi,
double tol)
golden
public static XYPair golden(Curve p,
XYPair r,
XYPair s,
XYPair t,
XYPair u,
double tol)
main
public static void main(java.lang.String[] args)