Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The 2nd variant is already good. Btw, you shouldnt really worry about performance on a 3x1 Mat with "at". Also, the those index checks on "at" are only done in Debug mode.