mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Correct the comment of Mat::diag(const Mat& d).
This commit is contained in:
parent
ecb8fb964d
commit
6f3483ade3
@ -1046,9 +1046,8 @@ public:
|
||||
|
||||
/** @brief creates a diagonal matrix
|
||||
|
||||
The method makes a new header for the specified matrix diagonal. The new matrix is represented as a
|
||||
single-column matrix. Similarly to Mat::row and Mat::col, this is an O(1) operation.
|
||||
@param d Single-column matrix that forms a diagonal matrix
|
||||
The method creates a square diagonal matrix from specified main diagonal.
|
||||
@param d One-dimensional matrix that represents the main diagonal.
|
||||
*/
|
||||
static Mat diag(const Mat& d);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user