DenseMatrix.Identity Method |
Generates an identity matrix.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static DenseMatrix Identity(
int rowDimension,
int columnDimension
)
Public Shared Function Identity (
rowDimension As Integer,
columnDimension As Integer
) As DenseMatrix
public:
static DenseMatrix^ Identity(
int rowDimension,
int columnDimension
)
static member Identity :
rowDimension : int *
columnDimension : int -> DenseMatrix
Parameters
- rowDimension
- Type: System.Int32
Number of rows. - columnDimension
- Type: System.Int32
Number of columns.
Return Value
Type:
DenseMatrix
An m-by-n matrix with ones on the diagonal and zeros elsewhere.
See Also