sub

部分行列を返します

sub
(
alias rArray
alias cArray
A
)
(
A mat
)
if (
isArray!(typeof(rArray)) &&
isArray!(typeof(cArray))
&&
isNarrowMatrix!A
&&
&&
(
hasDynamicRows!A ||
)
&&
(
hasDynamicColumns!A ||
)
)
in { static if (hasDynamicRows!A) assert (rArray.find!"a>=b"(mat.rows).empty); static if (hasDynamicColumns!A) assert (cArray.find!"a>=b"(mat.cols).empty); }

Meta