Maybe allow broadcasting across ragged-sized entities
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by examining how loop() and $SIZE(n) currently handle rectangular entities, then review PDL::Graphics::PLplot and its use of plAlloc2dGrid. Define the additional structure needed to retain each sub-entry's length and specify how broadcasting and iteration should behave for ragged data; completion requires an agreed design and corresponding behavior for both ragged and rectangular inputs.
Written by the indexing model from the issue text.
Description
It might be of interest to allow this (see https://en.wikipedia.org/wiki/Jagged_array) generally, since non-rectangular data can be a "thing". Also it might simplify PDL::Graphics::PLplot since that now uses Iliffe vectors internally with its plAlloc2dGrid et al. That would mean loop() would need to be aware, and $SIZE(n) would vary.
There would need to be some additional structure to store the length of each sub-entry, since the point of this is to allow that to vary (though it wouldn't for the rectangular data used by PLplot).
- Dominant language
- Perl
- Stars
- 105
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from PDLPorters/pdl
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
PDLPorters/pdl#561 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
PDLPorters/pdl#560 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
PDLPorters/pdl#557 · 5 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
PDLPorters/pdl#530 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
PDLPorters/pdl#506 · 2 comments ·
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
radius_audit_logs/search returns 500 when the body has no query (nil SearchOp in Vars2.Sql)Possibly taken @fdurand claimed this 1 day ago. OpenType: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
inverse-inc/packetfence#9564 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
LMS-Community/slimserver#1692 · 4 comments ·
Maintainers usually reply within 1 day
-
fix(api): API v3 Product Read ignores request language (lc) for sample products and image URLsPossibly taken @muntasir-396 claimed this 2 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openfoodfacts/openfoodfacts-server#15042 · 1 comment ·
Maintainers usually reply within 1 day