hep.aida.ref.function
Class NonParametricFunction
java.lang.Object
hep.aida.ref.function.AbstractIFunction
hep.aida.ref.function.NonParametricFunction
- All Implemented Interfaces:
- FunctionDispatcher, hep.aida.IFunction, hep.aida.IModelFunction
- public class NonParametricFunction
- extends AbstractIFunction
- Author:
- The FreeHEP team @ SLAC
- Source Code:
- NonParametricFunction.java
Methods inherited from class hep.aida.ref.function.AbstractIFunction |
addFunctionListener, annotation, codeletString, dimension, excludeNormalizationAll, gradient, includeNormalizationAll, indexOfParameter, init, isEqual, isNormalized, main, normalizationRange, normalize, numberOfParameters, parameter, parameterGradient, parameterNames, parameters, providesGradient, providesNormalization, providesParameterGradient, removeFunctionListener, setCodeletString, setParameter, setParameters, setTitle, title, variableName, variableNames |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonParametricFunction
public NonParametricFunction(String title,
hep.aida.IFitData data)
normalizationParameter
public String normalizationParameter()
- Specified by:
normalizationParameter
in interface hep.aida.IFunction
- Overrides:
normalizationParameter
in class AbstractIFunction
value
public double value(double[] v)
- Description copied from class:
AbstractIFunction
- Provide value for your function here. Something like:
return p[0]*v[0]*v[0]+p[1]*v[0]+p[3];
- Specified by:
value
in interface hep.aida.IFunction
- Specified by:
value
in class AbstractIFunction
Copyright © 2000-2004 FreeHEP, All Rights Reserved.