mcabbott / mcabbott/TensorCast.jl
Support for AxisKeys
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 142
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
I would like to keep track of dimensions with AxisKeys through my tensorcast. Would that be possible?
let a = KeyedArray(reshape(1:6, 2, 3); time=1:2, place=1:3)
# The ticks are \prime not single-quote.
@cast b[time=i, time′=i′, place=j, place′=j′] := a[time=i, place=j] + a[time=i′, place=j′]
end
Contributor guide
No contributing guide indexed for this repository
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 locating the @cast macro and the handling of KeyedArray inputs in TensorCast.jl. Use the AxisKeys example in the issue to determine how dimension names and ticks should propagate through the tensorcast expression. Done means the example preserves the requested time, time′, place, and place′ axes with their associated keys.
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
- 35/100