hep.aida.ref.function
Class NonParametricFunction
- java.lang.Object
-
- hep.aida.ref.event.AIDAObservable
-
- hep.aida.ref.ManagedObject
-
- hep.aida.ref.function.AbstractIFunction
-
- hep.aida.ref.function.NonParametricFunction
-
- All Implemented Interfaces:
- IDevManagedObject, IFunction, IManagedObject, IModelFunction, Connectable, FunctionDispatcher, java.lang.Cloneable
public class NonParametricFunction extends AbstractIFunction
-
-
Field Summary
-
Fields inherited from class hep.aida.ref.function.AbstractIFunction
gradient, p
-
-
Constructor Summary
Constructors Constructor and Description NonParametricFunction(java.lang.String title, IFitData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringnormalizationParameter()Returns the name of the normalization parameter if the function has one.doublevalue(double[] v)Provide value for your function here.-
Methods inherited from class hep.aida.ref.function.AbstractIFunction
addFunctionListener, annotation, clone, codeletString, dimension, excludeNormalizationAll, gradient, includeNormalizationAll, indexOfParameter, isEqual, isNormalized, normalizationRange, normalize, numberOfParameters, parameter, parameterGradient, parameterNames, parameters, providesGradient, providesNormalization, providesParameterGradient, removeFunctionListener, setCodeletString, setParameter, setParameters, setTitle, title, variableName, 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
-
NonParametricFunction
public NonParametricFunction(java.lang.String title, IFitData data)
-
-
Method Detail
-
normalizationParameter
public java.lang.String normalizationParameter()
Description copied from interface:IFunctionReturns the name of the normalization parameter if the function has one.- Specified by:
normalizationParameterin interfaceIFunction- Overrides:
normalizationParameterin classAbstractIFunction- Returns:
- The name of the normalization parameter.null if no such parameter is available
-
value
public double value(double[] v)
Description copied from class:AbstractIFunctionProvide value for your function here. Something like: return p[0]+p[1]*v[0]+p[2]*v[0]*v[0];- Specified by:
valuein interfaceIFunction- Specified by:
valuein classAbstractIFunction
-
-
DMelt 3.0 © DataMelt by jWork.ORG