|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jmatrices.dbl.measure.MatrixMeasure
MatrixMeasure provides important measures associated with a matrix
Given a matrix M -yields-> value ,where value is a number. All operations on a matrix fitting this pattern can be found here! Author: purangp Date: 08.03.2004 Time: 00:09:12
Method Summary | |
static int |
breadth(Matrix m)
Gets the breadth of the matrix, which is treated to be the minimum dimension. |
static double |
getCondition(Matrix m)
Gets the ratio of largest to smallest singular value. |
static double |
getDeterminant(Matrix m)
Gets the getDeterminant of a non-singular square matrix. |
static double |
getMax(Matrix m)
Gets the maximum value occuring in the matrix |
static double |
getMean(Matrix m,
boolean adjustment)
Gets the mean or average of all the values adjustment- calculates the mean by dividing the sum of all values by (n-1) instead of n, which is the number of elements in the matrix |
static double |
getMin(Matrix m)
Gets the minimum value occuring in the matrix |
static double |
getNorm1(Matrix m)
Gets the maximum column sum |
static double |
getNorm2(Matrix m)
Gets the maximum singular value |
static double |
getNormFrobenius(Matrix m)
Gets the sqrt of sum of squares of all elements. |
static double |
getNormInfinity(Matrix m)
Gets the maximum row sum |
static double |
getProduct(Matrix m)
Gets the product of all values |
static int |
getRank(Matrix m)
Gets the rank of the matrix |
static double |
getSum(Matrix m)
Gets the sum of all values |
static double |
getTrace(Matrix m)
Gets the trace of the matrix |
static int |
length(Matrix m)
Gets the length of the matrix, which is treated to be the maximum dimension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static double getDeterminant(Matrix m)
m
- Matrix
public static double getTrace(Matrix m)
m
- Matrix
public static int getRank(Matrix m)
m
- Matrix
public static double getMax(Matrix m)
m
- Matrix
public static double getMin(Matrix m)
m
- Matrix
public static double getSum(Matrix m)
m
- Matrix
public static double getProduct(Matrix m)
m
- Matrix
public static double getMean(Matrix m, boolean adjustment)
adjustment- calculates the mean by dividing the sum of all values by (n-1) instead of n, which is the number of elements in the matrix
m
- Matrixadjustment
- true or false
public static double getNorm1(Matrix m)
m
- Matrix
public static double getNorm2(Matrix m)
m
- Matrix
public static double getNormInfinity(Matrix m)
m
- Matrix
public static double getNormFrobenius(Matrix m)
m
- Matrix
public static double getCondition(Matrix m)
m
- Matrix
public static int length(Matrix m)
m
-
public static int breadth(Matrix m)
m
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |