public class FProxy
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
FProxy(int type,
java.lang.String title,
java.lang.String name,
IFunction iname,
double[] limits,
int points,
boolean isParsed)
Create a proxy for all functions of DMelt.
|
Modifier and Type | Method and Description |
---|---|
IFunction |
getIFunction()
Get Jaida function
|
double[] |
getLimits()
Get limits if any.
|
java.lang.String |
getName()
Get the name of the function used for evaluation
|
int |
getPoints()
Get the number of points used for plotting, integration and
differentiation.
|
java.lang.String |
getTitle()
Get the title of the function.
|
int |
getType()
Get type of this function.
|
java.lang.String |
getVariables()
Get variables
|
boolean |
isParsed()
If the function is parsed correctly, return true.
|
void |
setIFunction(IFunction iname) |
void |
setLimit(int index,
double value)
Set limit entry
|
void |
setLimits(double[] limits)
Limits if function is ranged.
|
void |
setName(java.lang.String name)
Set actual function definition.
|
void |
setParsed(boolean parse) |
void |
setPoints(int points)
Numbers of points for evaluation.
|
void |
setTitle(java.lang.String title)
Set title.
|
void |
setType(int type)
Set type.
|
void |
setVariables(java.lang.String variables)
Set variable using commas
|
public FProxy(int type, java.lang.String title, java.lang.String name, 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 IFunction getIFunction()
public int getPoints()
public java.lang.String getName()
public java.lang.String getTitle()
public boolean isParsed()
public void setName(java.lang.String name)
name
- public void setTitle(java.lang.String title)
title
- public void setLimits(double[] limits)
limits
- public void setPoints(int points)
points
- public void setType(int type)
type
- public void setIFunction(IFunction iname)
public void setVariables(java.lang.String variables)
variables
- public java.lang.String getVariables()
JHepSim. A part of HSTOOLS. version-1.2