title: How to concisely set every element in a cv::Mat to some scalar, like cvSet
body: <p>In the old C api, you could use <code>cvSet(matrix, cvScalar(500.0));</code> to set all values of <code>matrix</code> to 500.  What is the equivalent way to do this in the C++ api?</p>