SkewSymmetricSparseMatrix Class Reference

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

List of all members.

Public Member Functions

override IMatrix< float > CreateMatrix (int num_rows, int num_columns)
 SkewSymmetricSparseMatrix (int dimension)
 Create a skew symmetric sparse matrix with a given dimension.

Properties

override bool IsSymmetric [get]
 Only true if all entries are zero.
override float this [int x, int y] [get, set]
 Access the elements of the sparse matrix.

Detailed Description

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

Be careful when accessing the matrix via the NonEmptyEntryIDs and NonEmptyRows properties: these contain only the entries with x > y, but not their antisymmetric counterparts.


Constructor & Destructor Documentation

SkewSymmetricSparseMatrix ( int  dimension  )  [inline]

Create a skew symmetric sparse matrix with a given dimension.

Parameters:
dimension the dimension (number of rows/columns)

Property Documentation

override bool IsSymmetric [get]

Only true if all entries are zero.

Only true if all entries are zero

override float this[int x, int y] [get, set]

Access the elements of the sparse matrix.

Parameters:
x the row ID
y the column ID

The documentation for this class was generated from the following file:
Generated on Sat Oct 8 18:11:34 2011 for MyMediaLite by  doxygen 1.6.3