We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ref. #17660. Concatenations involving special matrices yield dense matrices, e.g.
julia> hcat(Diagonal(1:4), Diagonal(1:4)) 4×8 Array{Int64,2}: 1 0 0 0 1 0 0 0 0 2 0 0 0 2 0 0 0 0 3 0 0 0 3 0 0 0 0 4 0 0 0 4 julia> hcat(sprand(4, 4, 0.5), Diagonal(1:4)) 4×8 Array{Float64,2}: 0.638976 0.0 0.0 0.46798 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0 0.906125 0.172851 0.0 0.0 3.0 0.0 0.0 0.0 0.508749 0.484722 0.0 0.0 0.0 4.0
whereas they should yield sparse matrices. Best!
The text was updated successfully, but these errors were encountered:
42c1b95
full
similar(full(X), T, dims)
No branches or pull requests
Ref. #17660. Concatenations involving special matrices yield dense matrices, e.g.
whereas they should yield sparse matrices. Best!
The text was updated successfully, but these errors were encountered: