MyMediaLite  3.11
Static Public Member Functions | List of all members
SparseMatrixExtensions Class Reference

Utilities to work with matrices More...

Static Public Member Functions

static float FrobeniusNorm (this SparseMatrix< float > matrix)
 Compute the Frobenius norm (square root of the sum of squared entries) of a matrix More...
 
static int Max (this SparseMatrix< int > m)
 return the maximum value contained in a matrix More...
 
static float Max (this SparseMatrix< float > m)
 return the maximum value contained in a matrix More...
 

Detailed Description

Utilities to work with matrices

Member Function Documentation

static float FrobeniusNorm ( this SparseMatrix< float >  matrix)
inlinestatic

Compute the Frobenius norm (square root of the sum of squared entries) of a matrix

See http://en.wikipedia.org/wiki/Matrix_norm

Parameters
matrixthe matrix
Returns
the Frobenius norm of the matrix
static int Max ( this SparseMatrix< int >  m)
inlinestatic

return the maximum value contained in a matrix

Parameters
mthe matrix
static float Max ( this SparseMatrix< float >  m)
inlinestatic

return the maximum value contained in a matrix

Parameters
mthe matrix

The documentation for this class was generated from the following file: