hep.aida
Interface IFunction

All Known Subinterfaces:
IFitFunction

public interface IFunction

A function which can be dispayed on a plot or fitted to a hsitogram.

Version:
$Id: IFunction.html,v 1.1 2002/10/08 00:51:17 tonyj Exp $
Author:
Pavel Binko, Dino Ferrero Merlino, Wolfgang Hoschek, Tony Johnson, Andreas Pfeiffer, Mark Donszelmann, Guy Barrand
Source Code:
IFunction.java

Method Summary
 int dimension()
           
 String label()
           
 String[] parameterNames()
           
 double[] parameterValues()
           
 void setParameterValue(String name, double value)
           
 double value(double[] point)
           
 

Method Detail

label

public String label()
Returns:
label of the function

value

public double value(double[] point)
             throws IllegalArgumentException
Parameters:
point - of evaluation
Returns:
value at the given point or NaN if function is not defined at this point
Throws:
IllegalArgumentException - if the length of the array is incorrect

dimension

public int dimension()
Returns:
dimension of the function

parameterNames

public String[] parameterNames()
Returns:
the parameter names

parameterValues

public double[] parameterValues()
Returns:
the parameter vklues

setParameterValue

public void setParameterValue(String name,
                              double value)


Copyright © 2000, 2001 AIDA Team, All Rights Reserved.