|
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
vgp.volume.mc.PjPassedFunction
This class convertes an instance of PuFunction to PnFunction.
| 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 | |
PjPassedFunction(PuFunction function)
Construct a new PjPassedFunction. |
|
| Method Summary | |
double |
eval(PdVector x)
Evaluate the function at a specified position x. |
PdVector |
evalGradient(PdVector x,
PdVector aGradient)
At position x evaluate the gradient of the functional, aGradient may be null. |
PdMatrix |
evalHessian(PdMatrix aHessian)
At position x evaluate the hessian of the functional, aHessian may be null. |
int |
getNumOfVariables()
Get the number of variables. |
| Methods inherited from class jvx.numeric.PnFunction |
enableEvaluation, isEvaluable |
| 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 PjPassedFunction(PuFunction function)
function - the function to evaluate, number of functions must be equal to 1.| Method Detail |
public int getNumOfVariables()
getNumOfVariables in class PnFunctionpublic double eval(PdVector x)
eval in class PnFunction
public PdVector evalGradient(PdVector x,
PdVector aGradient)
PnFunction
evalGradient in class PnFunctionpublic PdMatrix evalHessian(PdMatrix aHessian)
PnFunction
evalHessian in class PnFunction
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||