JuliaArrays / JuliaArrays/PaddedViews.jl
support vectors?
Open
Nobody has claimed this yet.
help wanted
- Dominant language
- Julia
- Stars
- 51
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Why is it not possible to provide a PaddedView for a Vector?
a = collect(1:10)
PaddedView(1,a,(10,2),(1,2)) # doesn't work
PaddedView(1,hcat(a,a),(10,3),(1,2)) # works
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 reproducing the two PaddedView examples with a Vector and with hcat(a,a), then inspect the PaddedView entry points handling array dimensions and indexing. Done means the Vector form in the issue works consistently with the existing matrix form, with tests covering both examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100