|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbb.science.DistributionFit
public class DistributionFit
Stores all information related to fitting of data samples to some statistical distribution.
Warning on all accessors: the field is directly returned, not a copy, so mutating the result invalidates this instance. So, only mutate the result if this instance will no longer be used.
This class is not multithread safe: while its immediate state is immutable, the deep state of its fields is not.
Field Summary | |
---|---|
private double[] |
bounds
|
private String[] |
fitMeasureLabels
|
private double[] |
fitMeasures
|
private String[] |
paramLabels
|
private double[] |
params
|
private double[] |
pdfObserved
|
private double[] |
pdfTheory
|
Constructor Summary | |
---|---|
DistributionFit(String[] paramLabels,
double[] params,
String[] fitMeasureLabels,
double[] fitMeasures,
double[] bounds,
double[] pdfObserved,
double[] pdfTheory)
|
Method Summary | |
---|---|
private void |
append(String[] labels,
double[] values,
StringBuilder sb)
|
double[] |
getBounds()
Accessor for bounds . |
String[] |
getFitMeasureLabels()
Accessor for fitMeasureLabels . |
double[] |
getFitMeasures()
Accessor for fitMeasures . |
String[] |
getParamLabels()
Accessor for paramLabels . |
double[] |
getParams()
Accessor for params . |
double[] |
getPdfObserved()
Accessor for pdfObserved . |
double[] |
getPdfTheory()
Accessor for pdfTheory . |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final String[] paramLabels
private final double[] params
private final String[] fitMeasureLabels
private final double[] fitMeasures
private final double[] bounds
private final double[] pdfObserved
private final double[] pdfTheory
Constructor Detail |
---|
public DistributionFit(String[] paramLabels, double[] params, String[] fitMeasureLabels, double[] fitMeasures, double[] bounds, double[] pdfObserved, double[] pdfTheory) throws IllegalArgumentException
IllegalArgumentException
Method Detail |
---|
public String[] getParamLabels()
paramLabels
.
public double[] getParams()
params
.
public String[] getFitMeasureLabels()
fitMeasureLabels
.
public double[] getFitMeasures()
fitMeasures
.
public double[] getBounds()
bounds
.
public double[] getPdfObserved()
pdfObserved
.
public double[] getPdfTheory()
pdfTheory
.
public String toString()
toString
in class Object
private void append(String[] labels, double[] values, StringBuilder sb)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |