|
JaggedDiagonalT Method (Int32, Int32, T, T)
|
Returns a matrix of the given size with value on its diagonal.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static T[][] Diagonal<T>(
int rows,
int cols,
T value,
T[][] result
)
Public Shared Function Diagonal(Of T) (
rows As Integer,
cols As Integer,
value As T,
result As T()()
) As T()()
Request Example
View SourceParameters
- rows
- Type: SystemInt32
- cols
- Type: SystemInt32
- value
- Type: T
- result
- Type: T
Type Parameters
- T
Return Value
Type:
TSee Also