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