public class FloatArrayStatsUtils extends Object
| Constructor and Description | 
|---|
| FloatArrayStatsUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static float | mean(float[] arr)Find the mean of a single dimensional float array. | 
| static float | mean(float[][] arr)Calculate the mean of a two dimensional float array. | 
| static float | median(float[] arr)Calculate the median of the given array. | 
| static float | median(float[] arr,
      int start,
      int stop)Calculate the median of the given sub-array. | 
| static float | std(float[] arr)Calculate the standard deviation of a 1D array. | 
| static float | std(float[][] arr)Calculate the standard deviation of a 2D array. | 
| static float | sum(float[] arr)Calculate the sum of a 1D array. | 
| static float | sum(float[][] arr)Calculate the sum of a 2D array. | 
| static float | sumAbs(float[] arr)Calculate the sum the absolute values of a 1D array. | 
| static float | sumAbs(float[][] arr)Calculate the sum of the absolute values of a 2D array. | 
| static float | sumSq(float[] arr)Calculate the sum the squared values of a 1D array. | 
| static float | sumSq(float[][] arr)Calculate the sum of the squared values of a 2D array. | 
| static float | var(float[] arr)Calculate the variance of a one dimensional float array. | 
| static float | var(float[][] arr)Calculate the variance of a one dimensional float array. | 
public FloatArrayStatsUtils()
public static float mean(float[] arr)
arr - public static float mean(float[][] arr)
arr - public static float var(float[] arr)
arr - public static float var(float[][] arr)
arr - public static float std(float[][] arr)
var(float[][]) and does a Math.sqrt.arr - public static float std(float[] arr)
var(float[]) and does a Math.sqrt.arr - public static float sum(float[][] arr)
arr - public static float sum(float[] arr)
arr - public static float sumSq(float[][] arr)
arr - public static float sumSq(float[] arr)
arr - public static float sumAbs(float[][] arr)
arr - public static float sumAbs(float[] arr)
arr - public static float median(float[] arr)
ArrayUtils.quickSelect(float[], int)).arr - the arraypublic static float median(float[] arr, int start, int stop)
ArrayUtils.quickSelect(float[], int, int, int)).arr - the arraystart - starting point in the array (inclusive)stop - stopping point in the array (exclusive)