public final class StudyDistribution extends StudyFormula
This class is specifically used to control attributes of studies that represent distributions. The supported members allow developers to configure how the study analyzes the data.
The class constructor allows the developer to specify a Distribution Formula.
Modifier and Type | Class and Description |
---|---|
static class |
StudyDistribution.GetRangeArgs
Description goes here
|
Constructor and Description |
---|
StudyDistribution(DistributionFormula distribution)
Constructs a newly allocated StudyDistribution object
|
Modifier and Type | Method and Description |
---|---|
double |
evaluateDistribution(double x)
Returns the calculated distribution value based on the parameter.
|
double[] |
getCustomParams()
Get or set a custom array of parameters.
|
double |
getFrom()
Get or set the value where the distribution study begins.
|
void |
getRange(StudyDistribution.GetRangeArgs _p_)
Returns the range via the output parameters.
|
double |
getTo()
Gets or sets the value where the distribution study ends.
|
void |
setCustomParams(double[] value)
Get or set a custom array of parameters.
|
void |
setFrom(double value)
Get or set the value where the distribution study begins.
|
void |
setTo(double value)
Gets or sets the value where the distribution study ends.
|
getCurveMax, getCurveMin, getFormula, getSteps, getXMax, getXMin, isFillArea, isSpline, resetFillArea, resetSpline, resetSteps, setFillArea, setFormula, setSpline, setSteps
getColor, getLine, getValue, isBehind, resetBehind, setBehind
getAxis, isInteractive, isVisible, resetInteractive, resetVisible, setAxis, setInteractive, setVisible
createAnalysisMultiStudy, createAnalysisStudy, createDistributionFormulaStudy, createTestMultiStudy, createTestStudy, getDecimals, getID, getText, getValue, isBold, isIndented, resetBold, resetDecimals, resetIndented, resetText, setBold, setDecimals, setIndented, setText, setValue
public StudyDistribution(DistributionFormula distribution)
distribution
- public double[] getCustomParams()
public void setCustomParams(double[] value)
value
- public double getFrom()
public void setFrom(double value)
value
- public double getTo()
public void setTo(double value)
value
- public double evaluateDistribution(double x)
x
- Modifies the distribution calculation.public void getRange(StudyDistribution.GetRangeArgs _p_)
This method will return the same values as referenced by the methods.
Acquire the range of the distribution.
_p_
- 2014 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.