We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ac1f7 commit 537ee46Copy full SHA for 537ee46
src/dense.jl
@@ -399,8 +399,7 @@ Construct a matrix with elements of the vector as diagonal elements.
399
By default, the matrix is square and its size is given by
400
`length(v)`, but a non-square size `m`×`n` can be specified
401
by passing `m,n` as the first arguments.
402
-If the diagonal of the matrix contains more elements than `v`,
403
-the trailing elements will be zeros.
+The diagonal will be zero-padded if necessary.
404
405
# Examples
406
```jldoctest
0 commit comments