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: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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: System.Int32
The row and column dimension of the matrix. - value
- Type: System.Double
The value that all diagonal elements will take.
See Also