Matrix.identity

Returns indentity matrix instead of zero.

struct Matrix(size_t Lines, size_t Cols, Type = float)
@trusted @trusted static @property pure nothrow
static if(Lines == Cols && isNumeric!Type)
Self
identity
()
if (
Lines > 0 &&
Cols > 0
)

Meta