hep.aida.ref.function
Class SumOfFunctions

java.lang.Object
  extended by hep.aida.ref.event.AIDAObservable
      extended by hep.aida.ref.ManagedObject
          extended by hep.aida.ref.function.SumOfFunctions
All Implemented Interfaces:
hep.aida.dev.IDevManagedObject, hep.aida.IFunction, hep.aida.IManagedObject, Connectable

public class SumOfFunctions
extends ManagedObject
implements hep.aida.IFunction


Constructor Summary
SumOfFunctions(java.lang.String name, java.util.ArrayList functions)
           
 
Method Summary
 void addFunction(hep.aida.IFunction func)
           
 hep.aida.IAnnotation annotation()
           
 java.lang.String codeletString()
           
 boolean containsFunction(hep.aida.IFunction function)
           
 int dimension()
           
 hep.aida.IFunction function(int index)
           
 double[] gradient(double[] values)
           
 int indexOfFunction(hep.aida.IFunction function)
           
 int indexOfParameter(java.lang.String str)
           
 boolean isEqual(hep.aida.IFunction iFunction)
           
 int nFunctions()
           
 java.lang.String normalizationParameter()
           
 int numberOfParameters()
           
 double parameter(java.lang.String str)
           
 java.lang.String[] parameterNames()
           
 double[] parameters()
           
 boolean providesGradient()
           
 void removeAllFunctions()
           
 void removeFunction(hep.aida.IFunction func)
           
 void setParameter(java.lang.String str, double param)
           
 void setParameters(double[] values)
           
 void setTitle(java.lang.String str)
           
 java.lang.String title()
           
 double value(double[] values)
           
 java.lang.String variableName(int param)
           
 java.lang.String[] variableNames()
           
 
Methods inherited from class hep.aida.ref.ManagedObject
isFillable, name, setFillable, setName, type, typeForClass
 
Methods inherited from class hep.aida.ref.event.AIDAObservable
addListener, isConnected, removeAllListeners, removeListener, setConnected, setValid, setValidForAll
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.aida.ref.event.Connectable
isConnected, setConnected
 

Constructor Detail

SumOfFunctions

public SumOfFunctions(java.lang.String name,
                      java.util.ArrayList functions)
Method Detail

annotation

public hep.aida.IAnnotation annotation()
Specified by:
annotation in interface hep.aida.IFunction

normalizationParameter

public java.lang.String normalizationParameter()
Specified by:
normalizationParameter in interface hep.aida.IFunction

codeletString

public java.lang.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(java.lang.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(java.lang.String str)
Specified by:
parameter in interface hep.aida.IFunction

parameterNames

public java.lang.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(java.lang.String str,
                         double param)
                  throws java.lang.IllegalArgumentException
Specified by:
setParameter in interface hep.aida.IFunction
Throws:
java.lang.IllegalArgumentException

setParameters

public void setParameters(double[] values)
                   throws java.lang.IllegalArgumentException
Specified by:
setParameters in interface hep.aida.IFunction
Throws:
java.lang.IllegalArgumentException

setTitle

public void setTitle(java.lang.String str)
              throws java.lang.IllegalArgumentException
Specified by:
setTitle in interface hep.aida.IFunction
Throws:
java.lang.IllegalArgumentException

title

public java.lang.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 java.lang.String variableName(int param)
Specified by:
variableName in interface hep.aida.IFunction

variableNames

public java.lang.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)


jHepWork 2.8 (©) S.Chekanov