FreeHEP API
Version current

hep.aida.ref.function
Class ExponentialCoreNotNorm

java.lang.Object
  extended byhep.aida.ref.function.FunctionCore
      extended byhep.aida.ref.function.ExponentialCoreNotNorm

public class ExponentialCoreNotNorm
extends FunctionCore

Not normalised Exponential (E) distribution in the form: f = amplitude*exp((x-origin)/exponent) has 3 parameters

Source Code:
ExponentialCoreNotNorm.java

Field Summary
protected  boolean providesNormalization
           
 
Fields inherited from class hep.aida.ref.function.FunctionCore
dimension, numberOfParameters, p, parNames, title
 
Constructor Summary
ExponentialCoreNotNorm(String str)
           
ExponentialCoreNotNorm(String str, double[] pVal)
           
 
Method Summary
 double functionValue(double[] var)
           
 jas.hist.Handle[] getHandles(double xLow, double xHigh, double yLow, double yHigh)
           
 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, indexOfParameter, init, numberOfParameters, parameter, parameterNames, parameters, setParameter, setParameterNames, setParameters, setTitle, title
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

providesNormalization

protected boolean providesNormalization
Constructor Detail

ExponentialCoreNotNorm

public ExponentialCoreNotNorm(String str)

ExponentialCoreNotNorm

public ExponentialCoreNotNorm(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

getHandles

public jas.hist.Handle[] getHandles(double xLow,
                                    double xHigh,
                                    double yLow,
                                    double yHigh)
Overrides:
getHandles in class FunctionCore

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.