SciML / SciML/ComponentArrays.jl
Dispatchable ComponentArrays
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 375
- Forks
- 42
- Avg merge
- 7h 25m
- Merged PRs (30d)
- 17
Description
It would be nice to dispatch on ComponentArrays. Unfortunately, the type of the ComponentArray is pretty coupled with the size of its components. For example, it's reasonable to want these two to have the same dispatchable type:
x1 = ComponentArray(a=rand(1))
x2 = ComponentArray(a=rand(4))
This will require some reconfiguring of the AbstractAxis stuff. I think some metadata is going to have to be stored in the AbstractAxis types rather than the ComponentArray type. I'll have to give this some thought.
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 examining how ComponentArray and AbstractAxis encode component sizes and types. Compare the example ComponentArray(a=rand(1)) and ComponentArray(a=rand(4)); the work is done when both can share a dispatchable type while preserving the necessary component metadata.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100