SparseCompressedColumnMatrix<T>.CreateIdentity Method

Returns an identity matrix as a sparse matrix.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static SparseCompressedColumnMatrix<T> CreateIdentity(
	int dimension
)

Parameters

dimension  Int32
The size of the matrix.

Return Value

SparseCompressedColumnMatrix<T>
A SparseCompressedColumnMatrix<T>.

See Also