jhplot.fit
Class Gauss

java.lang.Object
  extended by hep.aida.ref.function.AbstractIFunction
      extended by jhplot.fit.Gauss
All Implemented Interfaces:
hep.aida.IFunction, hep.aida.IModelFunction, FunctionDispatcher, java.lang.Cloneable

public class Gauss
extends AbstractIFunction

Gaussian distribution.


Constructor Summary
Gauss()
           
Gauss(java.lang.String title)
           
Gauss(java.lang.String[] variableNames, java.lang.String[] parameterNames)
           
 
Method Summary
 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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gauss

public Gauss()

Gauss

public Gauss(java.lang.String title)

Gauss

public Gauss(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]*v[0]*v[0]+p[1]*v[0]+p[3];

Specified by:
value in interface hep.aida.IFunction
Specified by:
value in class AbstractIFunction


jHepWork 1.1 (C) Chekanov