Matrix.scaling

Make a scaling matrix.

struct Matrix(T, size_t R, size_t C)
static pure nothrow
static if(isSquare && R > 1)
scaling
(
Vector!(T, R - 1) v
)

Meta