a skew symmetric (anti-symmetric) sparse matrix; consumes less memory More...
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. |
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.
SkewSymmetricSparseMatrix | ( | int | dimension | ) | [inline] |
Create a skew symmetric sparse matrix with a given dimension.
dimension | the dimension (number of rows/columns) |
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.
x | the row ID | |
y | the column ID |