| DoubleMatrixIdentity Method |
Returns an identity matrix of the specified size.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleMatrix Identity(
int order
)
Public Shared Function Identity (
order As Integer
) As DoubleMatrix
public:
static DoubleMatrix^ Identity(
int order
)
static member Identity :
order : int -> DoubleMatrix
Parameters
- order Int32
- The order of the matrix.
Return Value
DoubleMatrix
A square
order x order matrix with ones on the main
diagonal and zeros elsewhere.
See Also