Commit 7fe0fb6b authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #7580 from seanlis:wrong_diag_comment

parents 7b532cea 6f3483ad
...@@ -1046,9 +1046,8 @@ public: ...@@ -1046,9 +1046,8 @@ public:
/** @brief creates a diagonal matrix /** @brief creates a diagonal matrix
The method makes a new header for the specified matrix diagonal. The new matrix is represented as a The method creates a square diagonal matrix from specified main diagonal.
single-column matrix. Similarly to Mat::row and Mat::col, this is an O(1) operation. @param d One-dimensional matrix that represents the main diagonal.
@param d Single-column matrix that forms a diagonal matrix
*/ */
static Mat diag(const Mat& d); static Mat diag(const Mat& d);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment