hep.aida.ref.function
Class FunctionCore
java.lang.Object
hep.aida.ref.function.FunctionCore
- Direct Known Subclasses:
- ExponentialCoreNorm, ExponentialCoreNotNorm, GaussianCore2DNorm, GaussianCore2DNotNorm, GaussianCoreNorm, GaussianCoreNotNorm, IFunctionCoreNotNorm, JELFunctionCore, PolynomialCoreNotNorm
- public abstract class FunctionCore
- extends Object
- Author:
- serbo
- Source Code:
- FunctionCore.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
title
protected String title
dimension
protected int dimension
numberOfParameters
protected int numberOfParameters
p
protected double[] p
parNames
protected String[] parNames
FunctionCore
public FunctionCore(int dim,
int nPar)
FunctionCore
public FunctionCore(int dim,
int nPar,
double[] parVal)
init
protected void init(int dim,
int nPar)
dimension
public int dimension()
title
public String title()
setTitle
public void setTitle(String t)
functionValue
public abstract double functionValue(double[] var)
providesGradient
public abstract boolean providesGradient()
gradient
public abstract double[] gradient(double[] x)
providesParameterGradient
public abstract boolean providesParameterGradient()
parameterGradient
public abstract double[] parameterGradient(double[] x)
providesNormalization
public abstract boolean providesNormalization()
normalizationAmplitude
public abstract double normalizationAmplitude(double[] xMin,
double[] xMax)
numberOfParameters
public int numberOfParameters()
parameterNames
public String[] parameterNames()
parameters
public double[] parameters()
parameter
public double parameter(String name)
setParameterNames
public boolean setParameterNames(String[] params)
indexOfParameter
public int indexOfParameter(String name)
setParameters
public void setParameters(double[] params)
setParameter
public void setParameter(String name,
double x)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getHandles
public jas.hist.Handle[] getHandles(double xLow,
double xHigh,
double yLow,
double yHigh)
addCoreListener
public void addCoreListener(FunctionCoreListener listener)
Copyright © 2000-2004 FreeHEP, All Rights Reserved.