<div dir="ltr"><div><div><div><div>Folks,<br><br></div>Looking at the MatDuplicate documentation, I think we could use some clarification. For the second argument, what this currently says is<br><br>"<b>op </b>- either MAT_DO_NOT_COPY_VALUES or MAT_COPY_VALUES, cause it to copy the numerical values in the matrix
MAT_SHARE_NONZERO_PATTERN to share the nonzero patterns with the previous matrix and not copy them."<br><br></div>What? Either A or B -- but C is also a possibility? That is not normal English usage. Should it say something instead like<br><br></div>"<b>op</b> - If MAT_DO_NOT_COPY_VALUES, create an empty matrix using the same nonzero pattern as the original matrix; if MAT_COPY_VALUES, copy the numerical values in the matrix as well. If MAT_SHARE_NONZERO_PATTERN, then both parent and child matrices will have the same nonzero pattern and share the same index (I and J) arrays"<br><br></div>--Richard<br></div>