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
In Julia v1.0, for sprand there is the definition
sprand
sprand(::Type{T}, m::Integer, n::Integer, density::AbstractFloat) where {T} = sprand(GLOBAL_RNG, T, m, n, density)
(and the same for rand and randn), so that I can obtain a sparse matrix of complex numbers with
rand
randn
sprand(Complex{Float64}, n, m, d)
Why is the same definition missing for sprandn?
sprandn
The text was updated successfully, but these errors were encountered:
Probably just not added yet.
Sorry, something went wrong.
I have a fix for this when needed #29074
Fixed in #30090
No branches or pull requests
In Julia v1.0, for
sprand
there is the definition(and the same for
rand
andrandn
), so that I can obtain a sparse matrix of complex numbers withsprand(Complex{Float64}, n, m, d)
Why is the same definition missing for
sprandn
?The text was updated successfully, but these errors were encountered: