hep.aida.ref.fitter
Class InternalFitFunction

java.lang.Object
  extended by hep.aida.ref.fitter.InternalFitFunction
All Implemented Interfaces:
hep.aida.IFunction

public class InternalFitFunction
extends Object
implements hep.aida.IFunction


Constructor Summary
InternalFitFunction(hep.aida.dev.IDevFitDataIterator dataIterator, hep.aida.IModelFunction func, hep.aida.ext.IFitMethod fitMethod)
           
 
Method Summary
 hep.aida.IAnnotation annotation()
           
 String codeletString()
           
 int dimension()
           
 double[] gradient(double[] x)
           
 int indexOfParameter(String name)
           
 boolean isEqual(hep.aida.IFunction f)
           
 String normalizationParameter()
           
 int numberOfParameters()
           
 double parameter(String name)
           
 String[] parameterNames()
           
 double[] parameters()
           
 boolean providesGradient()
           
 void setParameter(String name, double x)
           
 void setParameters(double[] params)
           
 void setTitle(String str)
           
 String title()
           
 double value(double[] x)
           
 String variableName(int i)
           
 String[] variableNames()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalFitFunction

public InternalFitFunction(hep.aida.dev.IDevFitDataIterator dataIterator,
                           hep.aida.IModelFunction func,
                           hep.aida.ext.IFitMethod fitMethod)
Method Detail

dimension

public int dimension()
Specified by:
dimension in interface hep.aida.IFunction

value

public double value(double[] x)
Specified by:
value in interface hep.aida.IFunction

providesGradient

public boolean providesGradient()
Specified by:
providesGradient in interface hep.aida.IFunction

variableName

public String variableName(int i)
Specified by:
variableName in interface hep.aida.IFunction

variableNames

public String[] variableNames()
Specified by:
variableNames in interface hep.aida.IFunction

numberOfParameters

public int numberOfParameters()
Specified by:
numberOfParameters in interface hep.aida.IFunction

gradient

public double[] gradient(double[] x)
Specified by:
gradient in interface hep.aida.IFunction

isEqual

public boolean isEqual(hep.aida.IFunction f)
Specified by:
isEqual in interface hep.aida.IFunction

annotation

public hep.aida.IAnnotation annotation()
Specified by:
annotation in interface hep.aida.IFunction

codeletString

public String codeletString()
Specified by:
codeletString in interface hep.aida.IFunction

setParameters

public void setParameters(double[] params)
Specified by:
setParameters in interface hep.aida.IFunction

parameters

public double[] parameters()
Specified by:
parameters in interface hep.aida.IFunction

indexOfParameter

public int indexOfParameter(String name)
Specified by:
indexOfParameter in interface hep.aida.IFunction

parameterNames

public String[] parameterNames()
Specified by:
parameterNames in interface hep.aida.IFunction

setParameter

public void setParameter(String name,
                         double x)
Specified by:
setParameter in interface hep.aida.IFunction

parameter

public double parameter(String name)
Specified by:
parameter in interface hep.aida.IFunction

setTitle

public void setTitle(String str)
Specified by:
setTitle in interface hep.aida.IFunction

title

public String title()
Specified by:
title in interface hep.aida.IFunction

normalizationParameter

public String normalizationParameter()
Specified by:
normalizationParameter in interface hep.aida.IFunction


jHepWork 3.0 ©