|
MatrixIdentity 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 double[,] Identity(
int size
)
Public Shared Function Identity (
size As Integer
) As Double(,)
Request Example
View SourceParameters
- size
- Type: SystemInt32
Return Value
Type:
DoubleSee Also