|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.aida.ref.pdf.Variable hep.aida.ref.pdf.Function hep.aida.ref.pdf.IFunctionWrapper
Wrapper of IFunction. The result is a Function.
Field Summary |
Fields inherited from class hep.aida.ref.pdf.Variable |
DEPENDENT, FUNCTION, PARAMETER |
Constructor Summary | |
IFunctionWrapper(String name,
hep.aida.IFunction f)
|
Method Summary | |
double |
evaluateAnalyticalNormalization(Dependent dep)
|
double |
functionValue()
|
double[] |
gradient()
|
boolean |
hasAnalyticalNormalization(Dependent dep)
To be overwritten if Function provides analytical normalization. |
boolean |
hasAnalyticalVariableGradient(Variable var)
To be overwritten by classes extending Function. |
boolean |
isNormalized()
|
void |
normalize(boolean normalize)
|
double[] |
parameterGradient()
|
protected void |
updateNormalization()
|
double |
value()
Get the current value. |
void |
variableChanged(Variable var)
This method is invoked when a variable in the function has changed its value. |
Methods inherited from class hep.aida.ref.pdf.Variable |
addVariableListener, name, removeVariableListener, setName, setUnits, type, units |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IFunctionWrapper(String name, hep.aida.IFunction f)
Method Detail |
public void variableChanged(Variable var)
Function
variableChanged
in class Function
public boolean hasAnalyticalVariableGradient(Variable var)
Function
hasAnalyticalVariableGradient
in class Function
public double functionValue()
functionValue
in class Function
public double value()
HasValue
value
in interface HasValue
value
in class Function
public double[] gradient()
gradient
in class Function
public double[] parameterGradient()
parameterGradient
in class Function
protected void updateNormalization()
updateNormalization
in class Function
public boolean isNormalized()
isNormalized
in interface hep.aida.IModelFunction
isNormalized
in class Function
public void normalize(boolean normalize)
normalize
in interface hep.aida.IModelFunction
normalize
in class Function
public boolean hasAnalyticalNormalization(Dependent dep)
Function
hasAnalyticalNormalization
in class Function
public double evaluateAnalyticalNormalization(Dependent dep)
evaluateAnalyticalNormalization
in class Function
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |