|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The interface to define a point estimate for a numerical model.
An implementing class has to provide numeric parameters implementing interface NumericArray,
a <>double> value, a NumericArray gradient and a NumericMatrix hessian.
The hessian can be left null if the method does not use second derivatives,
and similarly for the gradient if first derivatives are not used.
The String[] vector of parameter names likewise can be returned as null if names have not been defined.
The implementing class will have to choose a particular implementation of the FONT CLASS=JavaClass>NumericArray and FONT CLASS=JavaClass>NumericMatrix interfaces, for example by choosing a matrix package through the LinearAlgebra module.
| Method Summary | |
ModelPoint |
copy()
Copy the model point and its numeric properties (parameters, gradient, hessian). |
void |
copyData(ModelPoint theta)
copy in the data from theta. |
void |
show()
|
void |
show(java.lang.String header)
|
| Method Detail |
public void show(java.lang.String header)
public void show()
public ModelPoint copy()
public void copyData(ModelPoint theta)
theta.
The parameters will be those in theta, as will the
value, gradient, and hessian (either of the latter two can be null).
If allocate is true, the fields will be newly allocated;
otherwise, data will be copied into them if they match in structure the
corresponding fields in theta.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||