Matrix.identity

Construct an identity matrix

struct Matrix(T, int R, int C)
@nogc static pure nothrow
identity
()

Return Value

Type: Matrix

an identity matrix. Note: the identity matrix, while only meaningful for square matrices, is also defined for non-square ones.

Meta