FreeHEP API
Version current

hep.aida.ref.function
Class IFunctionCoreNotNorm

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

public class IFunctionCoreNotNorm
extends FunctionCore

Wrapper around ordinary IFunction

Source Code:
IFunctionCoreNotNorm.java

Field Summary
protected  boolean providesNormalization
           
 
Fields inherited from class hep.aida.ref.function.FunctionCore
dimension, numberOfParameters, p, parNames, title
 
Constructor Summary
IFunctionCoreNotNorm(hep.aida.IFunction func)
           
IFunctionCoreNotNorm(hep.aida.IFunction func, double[] pVal)
           
 
Method Summary
 double functionValue(double[] var)
           
 double[] gradient(double[] var)
           
static void main(String[] args)
           
 double normalizationAmplitude(double[] xMin, double[] xMax)
           
 double parameter(String name)
           
 double[] parameterGradient(double[] var)
           
 double[] parameters()
           
 boolean providesGradient()
           
 boolean providesNormalization()
           
 boolean providesParameterGradient()
           
 void setParameter(String name, double x)
           
 void setParameters(double[] params)
           
 
Methods inherited from class hep.aida.ref.function.FunctionCore
addCoreListener, dimension, getHandles, indexOfParameter, init, numberOfParameters, parameterNames, setParameterNames, 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

IFunctionCoreNotNorm

public IFunctionCoreNotNorm(hep.aida.IFunction func)

IFunctionCoreNotNorm

public IFunctionCoreNotNorm(hep.aida.IFunction func,
                            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

parameters

public double[] parameters()
Overrides:
parameters in class FunctionCore

parameter

public double parameter(String name)
Overrides:
parameter in class FunctionCore

setParameters

public void setParameters(double[] params)
Overrides:
setParameters in class FunctionCore

setParameter

public void setParameter(String name,
                         double x)
                  throws IllegalArgumentException
Overrides:
setParameter in class FunctionCore
Throws:
IllegalArgumentException

main

public static void main(String[] args)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.