Skip to content

Commit 537ee46

Browse files
committed
Zero padding
1 parent 14ac1f7 commit 537ee46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/dense.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,7 @@ Construct a matrix with elements of the vector as diagonal elements.
399399
By default, the matrix is square and its size is given by
400400
`length(v)`, but a non-square size `m`×`n` can be specified
401401
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.
402+
The diagonal will be zero-padded if necessary.
404403
405404
# Examples
406405
```jldoctest

0 commit comments

Comments
 (0)