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: 24.2.419.0 (24.2.419.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.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when array is .
See Also