|
MatrixIdentityT Method (Int32)
|
Creates a square matrix with ones across its diagonal.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static T[,] Identity<T>(
int size
)
Public Shared Function Identity(Of T) (
size As Integer
) As T(,)
Request Example
View SourceParameters
- size
- Type: SystemInt32
Type Parameters
- T
Return Value
Type:
TSee Also