Skip to content
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

Document what issparse(A) guarantees or requires #419

Open
jishnub opened this issue Jul 28, 2023 · 0 comments
Open

Document what issparse(A) guarantees or requires #419

jishnub opened this issue Jul 28, 2023 · 0 comments

Comments

@jishnub
Copy link
Contributor

jishnub commented Jul 28, 2023

The doumentation states that it's possible to query if an array is sparse using issparse, but it's unclear what more this implies. Does issparse(A) imply that the array extends SparseArrays functions such as nnz? Or does it imply that it's reasonable to use sparse(A) instead of A, as in the concatenation methods defined in this package? The latter would presumably also require the array to define sparse(A) to avoid slow fallbacks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant