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
)
Public Sub New (
array As Double()
)
public:
DiagonalMatrix(
array<double>^ array
)
new :
array : float[] -> DiagonalMatrix
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 See Also