MyMediaLite  3.07
Static Public Member Functions
SparseMatrixExtensions Class Reference

Utilities to work with matrices. More...

List of all members.

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.
static int Max (this SparseMatrix< int > m)
 return the maximum value contained in a matrix
static float Max (this SparseMatrix< float > m)
 return the maximum value contained in a matrix

Detailed Description

Utilities to work with matrices.


Member Function Documentation

static float FrobeniusNorm ( this SparseMatrix< float >  matrix) [inline, static]

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) [inline, static]

return the maximum value contained in a matrix

Parameters:
mthe matrix
static float Max ( this SparseMatrix< float >  m) [inline, static]

return the maximum value contained in a matrix

Parameters:
mthe matrix

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