Matrix.identity

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

Return Value

Type: Matrix

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

Meta