Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Maybe allow broadcasting across ragged-sized entities

Open
#418 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
perl
Domain
data

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PDLPorters/pdl

All issues in PDLPorters/pdl

Similar issues

More Perl issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.