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 java.lang.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()
           
 java.lang.String codeletString()
           
 int dimension()
           
 double[] gradient(double[] x)
           
 int indexOfParameter(java.lang.String name)
           
 boolean isEqual(hep.aida.IFunction f)
           
 java.lang.String normalizationParameter()
           
 int numberOfParameters()
           
 double parameter(java.lang.String name)
           
 java.lang.String[] parameterNames()
           
 double[] parameters()
           
 boolean providesGradient()
           
 void setParameter(java.lang.String name, double x)
           
 void setParameters(double[] params)
           
 void setTitle(java.lang.String str)
           
 java.lang.String title()
           
 double value(double[] x)
           
 java.lang.String variableName(int i)
           
 java.lang.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 java.lang.String variableName(int i)
Specified by:
variableName in interface hep.aida.IFunction

variableNames

public java.lang.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 java.lang.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(java.lang.String name)
Specified by:
indexOfParameter in interface hep.aida.IFunction

parameterNames

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

setParameter

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

parameter

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

setTitle

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

title

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

normalizationParameter

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


jHepWork 2.8 (©) S.Chekanov