public final class MinEnclose
extends java.lang.Object
Constructor and Description |
---|
MinEnclose(double a,
double b,
DatanVector x0,
DatanVector xdir,
int nstep,
DatanUserFunction muf) |
Modifier and Type | Method and Description |
---|---|
int |
getSteps() |
double[] |
getXValues() |
double[] |
getYValues() |
boolean |
hasConverged() |
public MinEnclose(double a, double b, DatanVector x0, DatanVector xdir, int nstep, 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.muf
- user function which must be an extension of the abstract class DatanUserFunction.public double[] getXValues()
public double[] getYValues()
public int getSteps()
public boolean hasConverged()