-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
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
map lacks specializations for sparse matrices/vectors #19363
Comments
It would be easy to add |
The semantics do not agree if some but not all sparse vectors have only a single element. But it seems like we could handle this by first checking dimensions and then calling |
Do any existing map methods assume purity? |
I would probably go the other direction --- implement special cases of |
#19438 provided |
assuming the rest was closed by #19690 |
map
lacks specializations for sparse matrices/vectors (in contrast tobroadcast
):This lack results in poor performance (see jump-dev/JuMP.jl#889). Ref. discussion in #7010. Best!
The text was updated successfully, but these errors were encountered: