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

[ENHANCEMENT] Define SparseArraysBase.OneElement/SparseArraysBase.oneelement #24

Closed
mtfishman opened this issue Jan 28, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@mtfishman
Copy link
Member

Define a sparse array type with only one nonzero value, analogous to ITensors.onehot and FillArrays.OneElement.

The plan plan will be for ITensors.onehot to get deprecated in favor of SparseArraysBase.oneelement, which will be a named dims array wrapping a sparse SparseArraysBase.OneElement.

@mtfishman
Copy link
Member Author

Closed by #26.

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

No branches or pull requests

1 participant