hep.aida.ref.function
Class ExponentialCoreNorm
- java.lang.Object
-
- hep.aida.ref.function.FunctionCore
-
- hep.aida.ref.function.ExponentialCoreNorm
-
public class ExponentialCoreNorm extends FunctionCore
Normalised Exponential (E) distribution in the form: f = (1/N)*exp((x-origin)/exponent)) has 2 parameters, Normalization Amplitude N is calculated by the "normalizationAmplitude" method
-
-
Constructor Summary
Constructors Constructor and Description ExponentialCoreNorm(java.lang.String str)ExponentialCoreNorm(java.lang.String str, double[] pVal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublefunctionValue(double[] var)double[]gradient(double[] var)doublenormalizationAmplitude(double[] xMin, double[] xMax)double[]parameterGradient(double[] var)booleanprovidesGradient()booleanprovidesNormalization()booleanprovidesParameterGradient()-
Methods inherited from class hep.aida.ref.function.FunctionCore
addCoreListener, dimension, getHandles, indexOfParameter, numberOfParameters, parameter, parameterNames, parameters, setParameter, setParameterNames, setParameters, setTitle, title
-
-
-
-
Constructor Detail
-
ExponentialCoreNorm
public ExponentialCoreNorm(java.lang.String str)
-
ExponentialCoreNorm
public ExponentialCoreNorm(java.lang.String str, double[] pVal)
-
-
Method Detail
-
functionValue
public double functionValue(double[] var)
- Specified by:
functionValuein classFunctionCore
-
providesGradient
public boolean providesGradient()
- Specified by:
providesGradientin classFunctionCore
-
gradient
public double[] gradient(double[] var)
- Specified by:
gradientin classFunctionCore
-
providesParameterGradient
public boolean providesParameterGradient()
- Specified by:
providesParameterGradientin classFunctionCore
-
parameterGradient
public double[] parameterGradient(double[] var)
- Specified by:
parameterGradientin classFunctionCore
-
providesNormalization
public boolean providesNormalization()
- Specified by:
providesNormalizationin classFunctionCore
-
normalizationAmplitude
public double normalizationAmplitude(double[] xMin, double[] xMax)- Specified by:
normalizationAmplitudein classFunctionCore
-
-
DMelt 3.0 © DataMelt by jWork.ORG