Matrix.opCast

Cast to other matrix types. If the size are different, the resulting matrix is truncated and/or filled with identity coefficients.

struct Matrix(T, int R, int C)
public @nogc pure const nothrow
U
opCast
(
U
)
()

Meta