Class NelderMead.Result
java.lang.Object
com.quantfinlib.optimization.NelderMead.Result
- Enclosing class:
NelderMead
Result: argmin, minimum, objective evaluations used.
-
Constructor Summary
ConstructorsConstructorDescriptionResult(double[] x, double value, int evaluations) Creates the value; array and collection arguments are copied. -
Method Summary
-
Constructor Details
-
Result
public Result(double[] x, double value, int evaluations) Creates the value; array and collection arguments are copied.
-
-
Method Details
-
x
public double x(int i) Elementiofx. -
xLength
public int xLength()Length ofx. -
xCopy
public double[] xCopy()A fresh copy ofx. -
value
public double value()value. -
evaluations
public int evaluations()evaluations. -
equals
-
hashCode
-
toString
-