Hi, Can we use the original Mat in Matconvert to store the converted matrix? E.g. MatConvert(A, MATDENSE, MAT_INITIAL_MATRIX, &A); Or do I need MAT_REUSE_MATRIX flag instead of MAT_INITIAL_MATRIX? A is initially MATAIJ. Thanks, Harshad