Click or drag to resize
Accord.NET (logo)

MatrixJaggedDiagonalT Method (Int32, T)

Note: This API is now obsolete.

Returns a square diagonal matrix of the given size.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use Jagged.Diagonal instead.")]
public static T[][] JaggedDiagonal<T>(
	int size,
	T value
)
Request Example View Source

Parameters

size
Type: SystemInt32
value
Type: T

Type Parameters

T

Return Value

Type: T
See Also