|
|||||||||
| 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 data| Method Detail |
|---|
public void computeStats()
throws java.io.IOException
computeStats in class EmpiricalDistributionImpl.DataAdapterjava.io.IOException - if an error occurs computing sample stats
public void computeBinStats()
throws java.io.IOException
computeBinStats in class EmpiricalDistributionImpl.DataAdapterjava.io.IOException - if an error occurs computing bin stats
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||