Mat.slice

Assign a slice of this matrix e.g:

mat.slice!(0, 2) = otherMat;

  1. Mat!(T, RE - RS, CE - CS) slice [@property getter]
  2. Mat!(U, UR, UC) slice [@property setter]
    struct Mat(T, size_t R, size_t C)
    @property
    void
    slice
    (
    size_t RS
    size_t CS
    U
    size_t UR
    size_t UC
    )
    (
    in Mat!(U, UR, UC) mat
    )
    if (
    RS + UR <= rowLength &&
    CS + UC <= columnLength
    &&
    isImplicitlyConvertible!(U, T)
    )

Meta