public class FProxy extends Object implements Serializable
| Constructor and Description |
|---|
FProxy(int type,
String title,
String name,
hep.aida.IFunction iname,
double[] limits,
int points,
boolean isParsed)
Create a proxy for all functions of DMelt.
|
| Modifier and Type | Method and Description |
|---|---|
hep.aida.IFunction |
getIFunction()
Get Jaida function
|
double[] |
getLimits()
Get limits if any.
|
String |
getName()
Get the name of the function used for evaluation
|
int |
getPoints()
Get the number of points used for plotting, integration and
differentiation.
|
String |
getTitle()
Get the title of the function.
|
int |
getType()
Get type of this function.
|
String |
getVariables()
Get variables
|
boolean |
isParsed()
If the function is parsed correctly, return true.
|
void |
setIFunction(hep.aida.IFunction iname) |
void |
setLimit(int index,
double value)
Set limit entry
|
void |
setLimits(double[] limits)
Limits if function is ranged.
|
void |
setName(String name)
Set actual function definition.
|
void |
setParsed(boolean parse) |
void |
setPoints(int points)
Numbers of points for evaluation.
|
void |
setTitle(String title)
Set title.
|
void |
setType(int type)
Set type.
|
void |
setVariables(String variables)
Set variable using commas
|
public FProxy(int type,
String title,
String name,
hep.aida.IFunction iname,
double[] limits,
int points,
boolean isParsed)
type - type (1=F1D, 2=F2D, 3=F3D, 4=FND, 5=FPR)title - titlename - definitioniname - IFunctionlimits - limits if rangedpoints - number of points for plotsisParsed - if parsed or not.public void setParsed(boolean parse)
public int getType()
public double[] getLimits()
public void setLimit(int index,
double value)
index - index of the limitvalue - valuepublic hep.aida.IFunction getIFunction()
public int getPoints()
public String getName()
public String getTitle()
public boolean isParsed()
public void setName(String name)
name - public void setTitle(String title)
title - public void setLimits(double[] limits)
limits - public void setPoints(int points)
points - public void setType(int type)
type - public void setIFunction(hep.aida.IFunction iname)
public void setVariables(String variables)
variables - public String getVariables()
DMelt 2.0 © DataMelt by jWork.ORG