hep.aida.ref.pdf
Class Gaussian
- java.lang.Object
-
- hep.aida.ref.pdf.Variable
-
- hep.aida.ref.pdf.Function
-
- hep.aida.ref.pdf.Gaussian
-
- All Implemented Interfaces:
- IFunction, IModelFunction, FunctionDispatcher, HasName, HasUnits, HasValue, VariableListener
public class Gaussian extends Function
-
-
Constructor Summary
Constructors Constructor and Description Gaussian(java.lang.String name)Gaussian(java.lang.String name, Dependent x)Gaussian(java.lang.String name, Dependent x, Parameter mean, Parameter sigma)
-
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.doublefunctionMaxValue()This method is used to generate toy Mc data sets.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, 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
-
Gaussian
public Gaussian(java.lang.String name)
-
Gaussian
public Gaussian(java.lang.String name, Dependent x)
-
-
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
-
functionMaxValue
public double functionMaxValue()
Description copied from class:FunctionThis method is used to generate toy Mc data sets. It should be overwritten by functions whose maximum value can be provided. If it is not overwriten the maximum value will be evaluated with a mc set of data points.- Overrides:
functionMaxValuein classFunction
-
functionValue
public double functionValue()
- Overrides:
functionValuein 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
-
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
-
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) throws java.lang.RuntimeException
- Overrides:
evaluateAnalyticalNormalizationin classFunction- Throws:
java.lang.RuntimeException
-
-
DMelt 3.0 © DataMelt by jWork.ORG