Click or drag to resize

DiagonalMatrix Constructor (Double)

Initializes a new instance which has the dimension of the length of the given array, and whose diagonal elements take on the values of the contents of the array.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public DiagonalMatrix(
	double[] array
)

Parameters

array
Type: SystemDouble
The created matrix will have a row and column dimension equal to the length of this array, and the diagonal elements of the matrix will be equal to the elements of this array.
See Also