public class Statistics extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Statistics.Dimension
The dimension over which the statistic should be evaluated.
|
Constructor and Description |
---|
Statistics() |
Modifier and Type | Method and Description |
---|---|
static Matrix |
average(Matrix m,
Statistics.Dimension dim)
Return a matrix containing the averages for the dimension
specificed.
|
static Matrix |
average(Matrix m,
Statistics.Dimension dim,
int errorCode)
Return a matrix containing the averages for the dimension
specificed.
|
static Matrix |
std(Matrix m,
Matrix average,
Statistics.Dimension dim)
Return a matrix containing the standard deviation for the dimension
specificed.
|
static Matrix |
std(Matrix m,
Matrix average,
Statistics.Dimension dim,
int errorCode)
Return a matrix containing the standard deviation for the dimension
specificed.
|
public static Matrix std(Matrix m, Matrix average, Statistics.Dimension dim)
m
- The matrix containing values to evaluate.average
- The matrix of average values along dimdim
- The dimension across which analysis should take place.IllegalArgumentException
- if average
is not formatted such
that it matches the requested
dimension to compute over.public static Matrix average(Matrix m, Statistics.Dimension dim)
m
- The matrix containing values to evaluate.dim
- The dimension across which analysis should take place.public static Matrix std(Matrix m, Matrix average, Statistics.Dimension dim, int errorCode)
m
- The matrix containing values to evaluate.average
- The matrix of average values along dimdim
- The dimension across which analysis should take place.errorCode
- If values equal this value they will not be counted.public static Matrix average(Matrix m, Statistics.Dimension dim, int errorCode)
m
- The matrix containing values to evaluate.dim
- The dimension across which analysis should take place.errorCode
- If values equal this value they will not be counted.Copyright © 2012. All Rights Reserved.