Returns an identity matrix of the specified dimension.
Namespace: Extreme.Mathematics.LinearAlgebra.ComplexAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static ComplexDenseMatrix GetIdentity(
int dimension
)
Public Shared Function GetIdentity (
dimension As Integer
) As ComplexDenseMatrix
public:
static ComplexDenseMatrix^ GetIdentity(
int dimension
)
static member GetIdentity :
dimension : int -> ComplexDenseMatrix
Parameters
- dimension
- Type: SystemInt32
An integer greater than 0.
Return Value
Type:
ComplexDenseMatrixA
ComplexDenseMatrix of the specified
dimension that has ones on the main diagonal and is zero everywhere
else.
Numerical Libraries
Supported in: 5.x, 4.x
Reference