MyMediaLite  3.11
Public Member Functions | Properties | List of all members
SkewSymmetricSparseMatrix Class Reference

a skew symmetric (anti-symmetric) sparse matrix; consumes less memory More...

Inheritance diagram for SkewSymmetricSparseMatrix:
SymmetricSparseMatrix< float >

Public Member Functions

override IMatrix< float > CreateMatrix (int num_rows, int num_columns)
 
virtual void Resize (int size)
 Resize to the given size More...
 
 SkewSymmetricSparseMatrix (int dimension)
 Create a skew symmetric sparse matrix with a given dimension More...
 

Properties

override bool IsSymmetric [get]
 Only true if all entries are zero, except for the diagonal More...
 
override IList< Tuple< int, int > > NonEmptyEntryIDs [get]
 
override int NumberOfNonEmptyEntries [get]
 
override float this[int x, int y] [get, set]
 Access the elements of the sparse matrix More...
 

Detailed Description

a skew symmetric (anti-symmetric) sparse matrix; consumes less memory

Constructor & Destructor Documentation

SkewSymmetricSparseMatrix ( int  dimension)
inline

Create a skew symmetric sparse matrix with a given dimension

Parameters
dimensionthe dimension (number of rows/columns)

Member Function Documentation

virtual void Resize ( int  size)
inlinevirtualinherited

Resize to the given size

Parameters
sizethe size

Reimplemented in SymmetricCorrelationMatrix.

Property Documentation

override bool IsSymmetric
get

Only true if all entries are zero, except for the diagonal

override float this[int x, int y]
getset

Access the elements of the sparse matrix

Parameters
xthe row ID
ythe column ID

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