Matrix.opCast

Returns a copy of Matrix, adjusting dimensions as necessary. Non-overlapping indices will stay initialized to 0.

struct Matrix(T, uint numColumns, uint numRows = numColumns)
const
U
opCast
(
U : Matrix!(T, C, R)
uint C
uint R
)
()
if (
numColumns > 0 &&
numRows > 0
)

Meta