FreeHEP API
Version current

hep.aida.ref.function
Class PolynomialCoreNorm

java.lang.Object
  extended byhep.aida.ref.function.FunctionCore
      extended byhep.aida.ref.function.PolynomialCoreNotNorm
          extended byhep.aida.ref.function.PolynomialCoreNorm

public class PolynomialCoreNorm
extends PolynomialCoreNotNorm

Normalised Polynomial (Pn) distribution in the form: f = (1 + p1*x + p2*x*x + ... )/N , has n-1 paremeters Normalization N is calculated by the "normalizationAmplitude" method

Source Code:
PolynomialCoreNorm.java

Field Summary
 
Fields inherited from class hep.aida.ref.function.PolynomialCoreNotNorm
providesNormalization
 
Fields inherited from class hep.aida.ref.function.FunctionCore
dimension, numberOfParameters, p, parNames, title
 
Constructor Summary
PolynomialCoreNorm(String str)
           
PolynomialCoreNorm(String str, double[] pVal)
           
 
Method Summary
 double functionValue(double[] var)
           
 double[] gradient(double[] var)
           
static void main(String[] args)
           
 double normalizationAmplitude(double[] xMin, double[] xMax)
           
 double[] parameterGradient(double[] var)
           
 
Methods inherited from class hep.aida.ref.function.PolynomialCoreNotNorm
getDimension, getHandles, providesGradient, providesNormalization, 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
 

Constructor Detail

PolynomialCoreNorm

public PolynomialCoreNorm(String str)

PolynomialCoreNorm

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

functionValue

public double functionValue(double[] var)
Overrides:
functionValue in class PolynomialCoreNotNorm

gradient

public double[] gradient(double[] var)
Overrides:
gradient in class PolynomialCoreNotNorm

parameterGradient

public double[] parameterGradient(double[] var)
Overrides:
parameterGradient in class PolynomialCoreNotNorm

normalizationAmplitude

public double normalizationAmplitude(double[] xMin,
                                     double[] xMax)
Overrides:
normalizationAmplitude in class PolynomialCoreNotNorm

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.