|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VecMinimizer
minimizes a function of a Vec. The constructor will likely take a
#nr.ScalarFunction
and the implementation will simply implement an algorithm, or the
implementation can specify both.
| Method Summary | |
|---|---|
double |
getEpsilon()
return the relative accuracy parameter |
double |
minimize(Vec v)
minimizes a function. |
int |
numFuncEvals()
the number of function evaluations it took to converge to the minimum. |
void |
setEpsilon(double epsilon)
set the desired relative accuracy parameter. |
| Method Detail |
|---|
double minimize(Vec v)
v - the initial guess for the function. On return, is set
to the local minimum.
DidNotConvergeException - if no minimum could be found.int numFuncEvals()
void setEpsilon(double epsilon)
double getEpsilon()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||