DiagonalMatrix Constructor (Int32, Double) |
Initializes a new instance with the given dimension.
All diagonal elements are set to the given value.
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(
int dimension,
double value
)
Public Sub New (
dimension As Integer,
value As Double
)
public:
DiagonalMatrix(
int dimension,
double value
)
new :
dimension : int *
value : float -> DiagonalMatrix
Parameters
- dimension
- Type: SystemInt32
The row and column dimension of the matrix. - value
- Type: SystemDouble
The value that all diagonal elements will take.
See Also