Sparse Compressed Column Matrix<T>.Create Identity Method
Returns an identity matrix as a sparse matrix.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A SparseCompressedColumnMatrix<T>.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static SparseCompressedColumnMatrix<T> CreateIdentity(
int dimension
)
Parameters
- dimension Int32
- The size of the matrix.
Return Value
SparseCompressedColumnMatrix<T>A SparseCompressedColumnMatrix<T>.