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.
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.3.405.0 (20.3.405.0)
Public Sub New (
array As Double()
array : float -> DiagonalMatrix
- 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 See Also