Skip to content

Commit

Permalink
refer to diagm in doc for diag. closes #6676
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Apr 28, 2014
1 parent 3a34060 commit dd573cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/stdlib/linalg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit dd573cf

Please sign in to comment.