public final class MinDir
extends java.lang.Object
| Constructor and Description |
|---|
MinDir(DatanVector x0,
DatanVector xdir,
int nstep,
double epsilon,
DatanUserFunction muf) |
| Modifier and Type | Method and Description |
|---|---|
double |
getMinimum() |
DatanVector |
getMinPosition() |
boolean |
hasConverged() |
public MinDir(DatanVector x0, DatanVector xdir, int nstep, double epsilon, DatanUserFunction muf)
x0 - point in n-spacexdir - direction in n-space. Straight line is given by x = x0 + a * xdir, where a is a running scalar variable.nstep - maximal step number; if a value <= 0 is used, then 1000 is taken instead.epsilon - accuracy; if a value <= 0. is used, then 1,E-8 is taken instead.muf - user function which must be an extension of the abstract class DatanUserFunction.public DatanVector getMinPosition()
public double getMinimum()
public boolean hasConverged()