MyMediaLite  3.01
Static Public Member Functions
SparseMatrixExtensions Class Reference

Utilities to work with matrices. More...

List of all members.

Static Public Member Functions

static double FrobeniusNorm (this SparseMatrix< double > matrix)
 Compute the Frobenius norm (square root of the sum of squared entries) of a matrix.
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 double Max (this SparseMatrix< double > 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 double FrobeniusNorm ( this SparseMatrix< double >  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 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 double Max ( this SparseMatrix< double >  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: