hep.aida.ref.function
Class SumOfFunctions
java.lang.Object
hep.aida.ref.event.AIDAObservable
hep.aida.ref.ManagedObject
hep.aida.ref.function.SumOfFunctions
- All Implemented Interfaces:
- Connectable, hep.aida.dev.IDevManagedObject, hep.aida.IFunction, hep.aida.IManagedObject
- public class SumOfFunctions
- extends ManagedObject
- implements hep.aida.IFunction
- Author:
- The FreeHEP team @ SLAC
- Source Code:
- SumOfFunctions.java
| Methods inherited from class hep.aida.ref.event.AIDAObservable |
addListener, createEvent, fireStateChanged, fireStateChanged, fireStateChanged, isConnected, removeAllListeners, removeListener, setConnected, setIsValidAfterNotify, setValid, setValidForAll |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SumOfFunctions
public SumOfFunctions(String name,
ArrayList functions)
annotation
public hep.aida.IAnnotation annotation()
- Specified by:
annotation in interface hep.aida.IFunction
normalizationParameter
public String normalizationParameter()
- Specified by:
normalizationParameter in interface hep.aida.IFunction
codeletString
public String codeletString()
- Specified by:
codeletString in interface hep.aida.IFunction
dimension
public int dimension()
- Specified by:
dimension in interface hep.aida.IFunction
gradient
public double[] gradient(double[] values)
- Specified by:
gradient in interface hep.aida.IFunction
indexOfParameter
public int indexOfParameter(String str)
- Specified by:
indexOfParameter in interface hep.aida.IFunction
isEqual
public boolean isEqual(hep.aida.IFunction iFunction)
- Specified by:
isEqual in interface hep.aida.IFunction
numberOfParameters
public int numberOfParameters()
- Specified by:
numberOfParameters in interface hep.aida.IFunction
parameter
public double parameter(String str)
- Specified by:
parameter in interface hep.aida.IFunction
parameterNames
public String[] parameterNames()
- Specified by:
parameterNames in interface hep.aida.IFunction
parameters
public double[] parameters()
- Specified by:
parameters in interface hep.aida.IFunction
providesGradient
public boolean providesGradient()
- Specified by:
providesGradient in interface hep.aida.IFunction
setParameter
public void setParameter(String str,
double param)
throws IllegalArgumentException
- Specified by:
setParameter in interface hep.aida.IFunction
- Throws:
IllegalArgumentException
setParameters
public void setParameters(double[] values)
throws IllegalArgumentException
- Specified by:
setParameters in interface hep.aida.IFunction
- Throws:
IllegalArgumentException
setTitle
public void setTitle(String str)
throws IllegalArgumentException
- Specified by:
setTitle in interface hep.aida.IFunction
- Throws:
IllegalArgumentException
title
public String title()
- Specified by:
title in interface hep.aida.IFunction
value
public double value(double[] values)
- Specified by:
value in interface hep.aida.IFunction
variableName
public String variableName(int param)
- Specified by:
variableName in interface hep.aida.IFunction
variableNames
public String[] variableNames()
- Specified by:
variableNames in interface hep.aida.IFunction
addFunction
public void addFunction(hep.aida.IFunction func)
removeFunction
public void removeFunction(hep.aida.IFunction func)
removeAllFunctions
public void removeAllFunctions()
function
public hep.aida.IFunction function(int index)
indexOfFunction
public int indexOfFunction(hep.aida.IFunction function)
nFunctions
public int nFunctions()
containsFunction
public boolean containsFunction(hep.aida.IFunction function)
Copyright © 2000-2004 FreeHEP, All Rights Reserved.