ILNumerics Ultimate VS

ILMatheyeT Method (Int32, Int32)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Create unity matrix, arbitrary numeric type.

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetArray<T> eye<T>(
	int rows,
	int columns
)
where T : struct, new(), IConvertible

Parameters

rows
Type: SystemInt32
Number of rows.
columns
Type: SystemInt32
Number of columns.

Type Parameters

T
Element type, must derive from ValueType and IConvertible.

Return Value

Type: RetArrayT
Unity matrix (diagonal matrix) of element type T.
Exceptions

ExceptionCondition
ArgumentExceptionIf the type specified is not supported. Supported types are: double, float, complex, fcomplex, int, long, short, byte
Remarks

[ILNumerics Computing Engine]

See Also

Reference