hep.aida.ref.fitter.fitmethod
Class ChiSquaredFitMethod

java.lang.Object
  extended by hep.aida.ref.fitter.fitmethod.AbstractFitMethod
      extended by hep.aida.ref.fitter.fitmethod.ChiSquaredFitMethod
All Implemented Interfaces:
hep.aida.ext.IFitMethod

public class ChiSquaredFitMethod
extends AbstractFitMethod


Field Summary
 
Fields inherited from interface hep.aida.ext.IFitMethod
BINNED_FIT, UNBINNED_FIT
 
Constructor Summary
ChiSquaredFitMethod()
           
 
Method Summary
 double evaluate(hep.aida.dev.IDevFitDataIterator dataIter, hep.aida.IFunction function)
          Evaluate the Objective Function for a given data iterator and a given function.
 double[] evaluateGradient(int dimension, hep.aida.dev.IDevFitDataIterator dataIter, hep.aida.IFunction function)
          Evaluate the gradient of the Objective Function.
 double[] evaluateGradientSumElement(hep.aida.dev.IDevFitDataIterator dataIter, hep.aida.IFunction function)
          Evaluate the the sum contribution to the Objective Function gradient.
 double evaluateSumElement(hep.aida.dev.IDevFitDataIterator dataIter, hep.aida.IFunction function)
          Evaluate the the sum contribution to the Objective Function value.
 
Methods inherited from class hep.aida.ref.fitter.fitmethod.AbstractFitMethod
clear, correlationObject, fitMethodNames, fitType, setCorrelationObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChiSquaredFitMethod

public ChiSquaredFitMethod()
Method Detail

evaluate

public double evaluate(hep.aida.dev.IDevFitDataIterator dataIter,
                       hep.aida.IFunction function)
Description copied from interface: hep.aida.ext.IFitMethod
Evaluate the Objective Function for a given data iterator and a given function.

Specified by:
evaluate in interface hep.aida.ext.IFitMethod
Overrides:
evaluate in class AbstractFitMethod

evaluateSumElement

public double evaluateSumElement(hep.aida.dev.IDevFitDataIterator dataIter,
                                 hep.aida.IFunction function)
Description copied from interface: hep.aida.ext.IFitMethod
Evaluate the the sum contribution to the Objective Function value.


evaluateGradientSumElement

public double[] evaluateGradientSumElement(hep.aida.dev.IDevFitDataIterator dataIter,
                                           hep.aida.IFunction function)
Description copied from interface: hep.aida.ext.IFitMethod
Evaluate the the sum contribution to the Objective Function gradient.


evaluateGradient

public double[] evaluateGradient(int dimension,
                                 hep.aida.dev.IDevFitDataIterator dataIter,
                                 hep.aida.IFunction function)
Description copied from interface: hep.aida.ext.IFitMethod
Evaluate the gradient of the Objective Function.

Specified by:
evaluateGradient in interface hep.aida.ext.IFitMethod
Overrides:
evaluateGradient in class AbstractFitMethod


jHepWork 3.0 ©