|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.random.EmpiricalDistributionImpl.DataAdapter
org.apache.commons.math.random.EmpiricalDistributionImpl.ArrayDataAdapter
private class EmpiricalDistributionImpl.ArrayDataAdapter
DataAdapter
for data provided as array of doubles.
Field Summary | |
---|---|
private double[] |
inputArray
Array of input data values |
Constructor Summary | |
---|---|
EmpiricalDistributionImpl.ArrayDataAdapter(double[] in)
Construct an ArrayDataAdapter from a double[] array |
Method Summary | |
---|---|
void |
computeBinStats()
Compute bin stats. |
void |
computeStats()
Compute sample statistics. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double[] inputArray
Constructor Detail |
---|
public EmpiricalDistributionImpl.ArrayDataAdapter(double[] in)
in
- double[] array holding the dataMethod Detail |
---|
public void computeStats() throws IOException
computeStats
in class EmpiricalDistributionImpl.DataAdapter
IOException
- if an error occurs computing sample statspublic void computeBinStats() throws IOException
computeBinStats
in class EmpiricalDistributionImpl.DataAdapter
IOException
- if an error occurs computing bin stats
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |