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
Reintroduce nnz and nonzeros as discussed in #6769
Deprecate nfilled
Deprecate nonzeros for StridedArray and BitArray
find()/findnz() over sparse matrices no longer filters out stored zeros
Update documentation for structural nonzeros.
depwarn("nnz has been renamed to countnz and is no longer computed in constant time for sparse matrices. Instead, use nfilled() for the number of elements in a sparse matrix.", :nnz)
453
-
countnz(X)
454
-
end
455
-
export nnz
456
-
457
461
scale!{T<:Base.LinAlg.BlasReal}(X::Array{T}, s::Complex) =error("scale!: Cannot scale a real array by a complex value in-place. Use scale(X::Array{Real}, s::Complex) instead.")
0 commit comments