hep.aida.ref.function
Class GaussianCoreNorm

java.lang.Object
  extended by hep.aida.ref.function.FunctionCore
      extended by hep.aida.ref.function.GaussianCoreNorm

public class GaussianCoreNorm
extends FunctionCore

Not normalised Gaussian (G) distribution in the form: f = (1/N)*exp(-(x-mean)^2/(2*sigma^2)) has 2 parameters Normalization Amplitude is calculated by the "normalizationAmplitude" method


Constructor Summary
GaussianCoreNorm(String str)
           
GaussianCoreNorm(String str, double[] pVal)
           
 
Method Summary
 double functionValue(double[] var)
           
 double[] gradient(double[] var)
           
 double normalizationAmplitude(double[] xMin, double[] xMax)
           
 double[] parameterGradient(double[] var)
           
 boolean providesGradient()
           
 boolean providesNormalization()
           
 boolean providesParameterGradient()
           
 
Methods inherited from class hep.aida.ref.function.FunctionCore
addCoreListener, dimension, getHandles, indexOfParameter, numberOfParameters, parameter, parameterNames, parameters, setParameter, setParameterNames, setParameters, setTitle, title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaussianCoreNorm

public GaussianCoreNorm(String str)

GaussianCoreNorm

public GaussianCoreNorm(String str,
                        double[] pVal)
Method Detail

functionValue

public double functionValue(double[] var)
Specified by:
functionValue in class FunctionCore

providesGradient

public boolean providesGradient()
Specified by:
providesGradient in class FunctionCore

gradient

public double[] gradient(double[] var)
Specified by:
gradient in class FunctionCore

providesParameterGradient

public boolean providesParameterGradient()
Specified by:
providesParameterGradient in class FunctionCore

parameterGradient

public double[] parameterGradient(double[] var)
Specified by:
parameterGradient in class FunctionCore

providesNormalization

public boolean providesNormalization()
Specified by:
providesNormalization in class FunctionCore

normalizationAmplitude

public double normalizationAmplitude(double[] xMin,
                                     double[] xMax)
Specified by:
normalizationAmplitude in class FunctionCore


jHepWork 3.0 ©