hep.aida
Interface IFunctionFactory
- public interface IFunctionFactory
- Version:
- $Id: IFunctionFactory.html,v 1.1 2002/10/08 00:51:17 tonyj Exp $
- Author:
- AIDA Team
- Source Code:
- IFunctionFactory.java
Method Summary |
IFunction |
create(String name,
String label,
String type,
double[] parameterValues)
|
IFunction |
create(String name,
String label,
String type,
double[] parameterValues,
String parameterNames)
|
IFitFunction |
createFit(String name,
String label,
String type,
String options)
|
IFunction |
createScripted(String name,
String label,
String script)
|
create
public IFunction create(String name,
String label,
String type,
double[] parameterValues,
String parameterNames)
- Parameters:
type
- A string to describe the type of the function: e.g.,
"G" or "Gaussian" for gaussian,
"E" or "Exponential" for exponential,
"P" or "Polynomial" for polynomial(n) (see below for specifying the degree),
"BW" or "BreitWigner" for Breit-Wigner functionparameters
- The parameters for the function.
For the Polynomial the size of the vector/array determines the degree of it.- Returns:
- the requested function.
create
public IFunction create(String name,
String label,
String type,
double[] parameterValues)
createScripted
public IFunction createScripted(String name,
String label,
String script)
createFit
public IFitFunction createFit(String name,
String label,
String type,
String options)
Copyright © 2000, 2001 AIDA Team, All Rights Reserved.