|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mymedialite.datatype.SparseMatrixExtensions
public class SparseMatrixExtensions
Utilities to work with matrices.
Method Summary | |
---|---|
static double |
frobeniusNorm(SparseMatrix<java.lang.Double> matrix)
Compute the Frobenius norm (square root of the sum of squared entries) of a matrix. |
static double |
maxDouble(SparseMatrix<java.lang.Double> m)
Return the maximum value contained in a matrix. |
static float |
maxFloat(SparseMatrix<java.lang.Float> m)
Return the maximum value contained in a matrix. |
static int |
maxInteger(SparseMatrix<java.lang.Integer> m)
Return the maximum value contained in a matrix. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int maxInteger(SparseMatrix<java.lang.Integer> m)
m
- the matrixpublic static double maxDouble(SparseMatrix<java.lang.Double> m)
m
- the matrixpublic static float maxFloat(SparseMatrix<java.lang.Float> m)
m
- the matrixpublic static double frobeniusNorm(SparseMatrix<java.lang.Double> matrix)
matrix
- the matrix
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |