You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`spzeros(m,n)`](@ref)|[`zeros(m,n)`](@ref)| Creates a *m*-by-*n* matrix of zeros. ([`spzeros(m,n)`](@ref) is empty.) |
897
891
|[`spones(S)`](@ref)|[`ones(m,n)`](@ref)| Creates a matrix filled with ones. Unlike the dense version, [`spones`](@ref) has the same sparsity pattern as *S*. |
898
-
|[`speye(n)`](@ref)|[`eye(n)`](@ref)| Creates a *n*-by-*n* identity matrix. |
892
+
|[`speye(n)`](@ref)|[`Matrix(I, n)`](@ref)| Creates a *n*-by-*n* identity matrix. |
899
893
|[`Array(S)`](@ref)|[`sparse(A)`](@ref)| Interconverts between dense and sparse formats. |
900
894
|[`sprand(m,n,d)`](@ref)|[`rand(m,n)`](@ref)| Creates a *m*-by-*n* random matrix (of density *d*) with iid non-zero elements distributed uniformly on the half-open interval ``[0, 1)``. |
901
895
|[`sprandn(m,n,d)`](@ref)|[`randn(m,n)`](@ref)| Creates a *m*-by-*n* random matrix (of density *d*) with iid non-zero elements distributed according to the standard normal (Gaussian) distribution. |
0 commit comments