Matrix.scaling

Make a scaling matrix.

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

Meta