Class SparseMatrix<TDepth>
Create a sparse matrix
public class SparseMatrix<TDepth> : UnmanagedObject, IDisposable where TDepth : new()
Type Parameters
TDepth
The type of elements in this matrix
- Inheritance
-
SparseMatrix<TDepth>
- Implements
- Inherited Members
Constructors
SparseMatrix(int[])
Create a sparse matrix of the specific dimension
public SparseMatrix(int[] dimension)
Parameters
dimension
int[]The dimension of the sparse matrix
Properties
this[int, int]
Get or Set the value in the specific row
and col
public double this[int row, int col] { get; set; }
Parameters
Property Value
- double
The element on the specific
row
andcol
Methods
DisposeObject()
Release the unmanaged memory associated with this sparse matrix
protected override void DisposeObject()