From dd573cf7252cf0e1045cb29a6862267bb042f01e Mon Sep 17 00:00:00 2001 From: Jeff Bezanson Date: Mon, 28 Apr 2014 12:46:32 -0400 Subject: [PATCH] refer to diagm in doc for diag. closes #6676 --- doc/stdlib/linalg.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/stdlib/linalg.rst b/doc/stdlib/linalg.rst index 8ac94cf8c839f..36e0e45774d66 100644 --- a/doc/stdlib/linalg.rst +++ b/doc/stdlib/linalg.rst @@ -302,7 +302,7 @@ Linear algebra functions in Julia are largely implemented by calling functions f .. function:: diag(M[, k]) - The ``k``-th diagonal of a matrix, as a vector. + The ``k``-th diagonal of a matrix, as a vector. Use ``diagm`` to construct a diagonal matrix. .. function:: diagm(v[, k])