|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecthydroScalingAPI.util.statistics.Stats
public class Stats
An object that calculates the principal statistics of an array or matrix of doubles or floats
| Field Summary | |
|---|---|
int |
dataCount
The total number of elements |
float |
kurtosis
Kurtosis parameter |
float |
maxValue
The maximum value |
float |
meanValue
The average |
float |
minValue
The minimum |
float |
skewness
The skewness |
float |
standardDeviation
The standard deviation |
float |
total
The sum of the elements |
| Constructor Summary | |
|---|---|
Stats()
Creates a new Stats. |
|
Stats(double[] data)
Creates new Stats |
|
Stats(double[][] data)
Creates new Stats |
|
Stats(double[][] data,
double missing)
Creates new Stats |
|
Stats(double[] data,
float missing)
Creates new Stats |
|
Stats(float[] data)
Creates new Stats |
|
Stats(float[][] data)
Creates new Stats |
|
Stats(float[][] data,
float missing)
Creates new Stats |
|
Stats(float[] data,
float missing)
Creates new Stats |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Tests for the class |
java.lang.String |
toString()
Composes a String with the statistics for the data |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public float meanValue
public float standardDeviation
public float skewness
public float kurtosis
public float maxValue
public float minValue
public float total
public int dataCount
| Constructor Detail |
|---|
public Stats(float[][] data)
data - The data arraypublic Stats(float[] data)
data - The data array
public Stats(float[][] data,
float missing)
missing - The missing valuedata - The data arraypublic Stats()
public Stats(float[] data,
float missing)
missing - The missing valuedata - The data arraypublic Stats(double[][] data)
data - The data arraypublic Stats(double[] data)
data - The data array
public Stats(double[][] data,
double missing)
missing - The missing valuedata - The data array
public Stats(double[] data,
float missing)
missing - The missing valuedata - The data array| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic static void main(java.lang.String[] args)
args - The command line parameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.