Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It should be possible to create two submatrices within the parent matrix. submatrix Window0 could stay fixed at the start of the Parent matrix. Window1 could me the moving window. When Window1 bumps into the end of the Parent matrix, copy its contents into window0.

Window1.copyTo(Window0);

This should do the trick, since the dimensions and type match, create() should just copy headers.