hep.aida.ref.function
Class JELFunctionCore

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

public class JELFunctionCore
extends FunctionCore


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

Constructor Detail

JELFunctionCore

public JELFunctionCore(int dim,
                       int nPar,
                       java.lang.String expr,
                       java.lang.String[] pNames,
                       java.lang.String[] gradient)
Method Detail

functionValue

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

setParameterNames

public boolean setParameterNames(java.lang.String[] params)
Overrides:
setParameterNames in class FunctionCore

providesGradient

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

gradient

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

providesParameterGradient

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

parameterGradient

public double[] parameterGradient(double[] x)
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 2.8 (©) S.Chekanov