Matrix.identity

struct Matrix(T, size_t R, size_t C)
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