|
JMSLTM Numerical Library 6.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProbabilityDistribution
Public interface for the user-supplied distribution function.
Method Summary | |
---|---|
double[] |
eval(double[] xData,
Object[] parameters)
Evaluation method for the user-supplied distribution function and parameters. |
double |
eval(double xData,
Object[] parameters)
Evaluation method for the user-supplied distribution function and parameters. |
Object[] |
getParameters()
Returns the parameters used to evaluate the distribution |
Methods inherited from interface com.imsl.stat.Distribution |
---|
eval |
Method Detail |
---|
double[] eval(double[] xData, Object[] parameters)
xData
- a double
array containing the points the
distribution function is to evaluate.parameters
- an Object
array containing the probability
distribution parameters to be used in evaluating
xData
. See method
getParameters
to obtain the distribution
function parameters.
double
array representing the distribution of
xData
double eval(double xData, Object[] parameters)
xData
- a double
scalar value containing the point the
distribution function is to evaluate.parameters
- an Object
array containing the probability
distribution parameters to be used in evaluating
xData
. See method
getParameters
to obtain the distribution
function parameters.
double
scalar value representing the distribution of
xData
Object[] getParameters()
Object
array representing the parameters used to
evaluate the distribution. This Object
array can be
retrieved after invoking the eval
method with the
following signature, double[] eval(double[] xData)
.
This Object
array can be used as input later with
another set of data to the eval
methods that
require an Object
array of distribution parameters
as input.
|
JMSLTM Numerical Library 6.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |