|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjv.object.PsObject
jvx.numeric.PnFunction
Abstract class for functions to be used numerical methods, e.g. in minimization classes.
| Field Summary |
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_LABEL_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, HAS_VECTOR_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_FOCUSSED, IS_PICKED, IS_SELECTED, IS_USED, NUM_TAGS |
| Constructor Summary | |
PnFunction()
|
|
| Method Summary | |
void |
enableEvaluation(boolean flag)
Enable evaluation of function. |
abstract double |
eval(PdVector x)
At position x evaluate the functional. |
abstract PdVector |
evalGradient(PdVector x,
PdVector aGradient)
At position x evaluate the gradient of the functional, aGradient may be null. |
abstract PdMatrix |
evalHessian(PdMatrix aHessian)
At position x evaluate the hessian of the functional, aHessian may be null. |
abstract int |
getNumOfVariables()
Get number of free argument variables. |
boolean |
isEvaluable()
Check whether function allows evaluation. |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, init, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, toString, update, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PnFunction()
| Method Detail |
public boolean isEvaluable()
public void enableEvaluation(boolean flag)
public abstract int getNumOfVariables()
public abstract double eval(PdVector x)
public abstract PdVector evalGradient(PdVector x,
PdVector aGradient)
public abstract PdMatrix evalHessian(PdMatrix aHessian)
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||