hep.aida.ref.pdf
Class Exponential
- java.lang.Object
-
- hep.aida.ref.pdf.Variable
-
- hep.aida.ref.pdf.Function
-
- hep.aida.ref.pdf.Exponential
-
- All Implemented Interfaces:
- IFunction, IModelFunction, FunctionDispatcher, HasName, HasUnits, HasValue, VariableListener
public class Exponential extends Function
-
-
Constructor Summary
Constructors Constructor and Description Exponential(java.lang.String name)Exponential(java.lang.String name, Dependent x)Exponential(java.lang.String name, Dependent x, int type)Exponential(java.lang.String name, Dependent x, Parameter alpha)Exponential(java.lang.String name, Dependent x, Parameter alpha, int type)Exponential(java.lang.String name, int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleevaluateAnalyticalNormalization(Dependent dep)doubleevaluateAnalyticalVariableGradient(Variable var)To be overwritten by classes extending Function.doublefunctionValue()booleanhasAnalyticalNormalization(Dependent dep)To be overwritten if Function provides analytical normalization.booleanhasAnalyticalVariableGradient(Variable var)To be overwritten by classes extending Function.voidvariableChanged(Variable var)This method is invoked when a variable in the function has changed its value.-
Methods inherited from class hep.aida.ref.pdf.Function
addFunctionListener, addVariable, addVariables, annotation, codeletString, dimension, excludeNormalizationAll, functionMaxValue, functionValue, getDependent, getDependent, getNormalizationParameter, getParameter, getParameter, gradient, gradient, includeNormalizationAll, indexOfParameter, isComposite, isEqual, isNormalized, normalizationParameter, normalizationRange, normalizationRangeChanged, normalize, numberOfDependents, numberOfParameters, parameter, parameterGradient, parameterGradient, parameterNames, parameters, providesGradient, providesGradientWithRespectToVariable, providesNormalization, providesParameterGradient, removeFunctionListener, setCodeletString, setNormalizationParamter, setParameter, setParameters, setTitle, setValue, title, value, value, variableChangedName, variableChangedRange, variableChangedUnits, variableChangedValue, variableChangingName, variableChangingUnits, variableChangingValue, variableName, variableNames
-
Methods inherited from class hep.aida.ref.pdf.Variable
addVariableListener, name, removeVariableListener, setName, setUnits, type, units
-
-
-
-
Constructor Detail
-
Exponential
public Exponential(java.lang.String name)
-
Exponential
public Exponential(java.lang.String name, int type)
-
Exponential
public Exponential(java.lang.String name, Dependent x)
-
Exponential
public Exponential(java.lang.String name, Dependent x, int type)
-
-
Method Detail
-
variableChanged
public void variableChanged(Variable var)
Description copied from class:FunctionThis method is invoked when a variable in the function has changed its value.- Overrides:
variableChangedin classFunction
-
functionValue
public double functionValue()
- Overrides:
functionValuein classFunction
-
hasAnalyticalVariableGradient
public boolean hasAnalyticalVariableGradient(Variable var)
Description copied from class:FunctionTo be overwritten by classes extending Function. This method is used internally by this class to determine if a function has can provide an analytical gradient with respect to a given Variable.- Overrides:
hasAnalyticalVariableGradientin classFunction
-
evaluateAnalyticalVariableGradient
public double evaluateAnalyticalVariableGradient(Variable var)
Description copied from class:FunctionTo be overwritten by classes extending Function. This method is used internally by this class to evaluate the derivative with respect to a given Variable.- Overrides:
evaluateAnalyticalVariableGradientin classFunction
-
hasAnalyticalNormalization
public boolean hasAnalyticalNormalization(Dependent dep)
Description copied from class:FunctionTo be overwritten if Function provides analytical normalization.- Overrides:
hasAnalyticalNormalizationin classFunction
-
evaluateAnalyticalNormalization
public double evaluateAnalyticalNormalization(Dependent dep)
- Overrides:
evaluateAnalyticalNormalizationin classFunction
-
-
DMelt 3.0 © DataMelt by jWork.ORG