sparse and numba
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 668
- Forks
- 141
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 4
Description
Hi there,
I am using a homemade tensor class in my model code together with numba functions for tensor products. If I understand well, sparse also use numba to accelerate algorithms.
I'm very happy to have found sparse because I don't like to reinvent the wheel. So in the future I would rather use sparse than my homemade solution, but I'm concerned because I use numba in numerous places inside the code. So my question is: Can sparse be used inside njit decorated functions? Is there something like a tensor jitclass?
Thank you in advance.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the issue discussion about using sparse arrays inside Numba njit-decorated functions and tensor jitclasses. The issue names no files or tests; the scope and acceptance criteria would need to be established before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100