Click or drag to resize

UnitMatrixOfDimension Method

Returns a unit matrix of the given dimension.

Namespace:  Meta.Numerics.Matrices
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static UnitMatrix OfDimension(
	int n
)

Parameters

n
Type: SystemInt32
The dimension of the matrix.

Return Value

Type: UnitMatrix
A read-only unit matrix of dimension n.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionn is non-positive.
See Also