jhplot.fit
Class Pow
- java.lang.Object
-
- All Implemented Interfaces:
- IDevManagedObject, IFunction, IManagedObject, IModelFunction, Connectable, FunctionDispatcher, java.lang.Cloneable
public class Pow extends AbstractIFunction
Power-law distribution. p0*pow(p1-x,p2)
-
-
Field Summary
-
Fields inherited from class hep.aida.ref.function.AbstractIFunction
gradient, p
-
-
Constructor Summary
Constructors Constructor and Description Pow()
Pow(java.lang.String title)
Pow(java.lang.String[] variableNames, java.lang.String[] parameterNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double
value(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, normalizationParameter, 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
-
Pow
public Pow()
-
Pow
public Pow(java.lang.String title)
-
Pow
public Pow(java.lang.String[] variableNames, java.lang.String[] parameterNames)
-
-
Method Detail
-
value
public double value(double[] v)
Description copied from class:AbstractIFunction
Provide value for your function here. Something like: return p[0]+p[1]*v[0]+p[2]*v[0]*v[0];- Specified by:
value
in interfaceIFunction
- Specified by:
value
in classAbstractIFunction
-
-
DMelt 3.0 © DataMelt by jWork.ORG