# Mat and int are incompatible? [closed]

anybody knows what this is?

Mat mat = (Mat_<double>(3, 4) << 0, 0, width, width, 0, height, height, 0, 1, 1, 1, 1);


I dont know what mat would be in this case.. furthermore i got no idea how to fix this error for the above declaration:

Error: Mat and int are incompatible


I know that Mat_ will call

template<typename _Tp> inline Mat_<_Tp>::Mat_(int _rows, int _cols)
: Mat(_rows, _cols, DataType<_Tp>::type) {}


But i do not understand the purpose of this:

<< 0, 0, width, width, 0, height, height, 0, 1, 1, 1, 1);


Kindly Tape

• This question is more appropriate for Stack Overflow. – Jason R Jul 23 '15 at 16:50
• Good to know! I ll remember that.. – Alex Tape Jul 24 '15 at 9:43