Permutation Matrix.Create Identity Method
Returns an identity matrix as a diagonal matrix.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A DiagonalMatrix<T>.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static PermutationMatrix CreateIdentity(
int dimension
)
Parameters
- dimension Int32
- The size of the matrix.
Return Value
PermutationMatrixA DiagonalMatrix<T>.
Remarks
The elements of the matrix are read-only.