Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe allow broadcasting across ragged-sized entities #418

Open
mohawk2 opened this issue Feb 18, 2023 · 0 comments
Open

Maybe allow broadcasting across ragged-sized entities #418

mohawk2 opened this issue Feb 18, 2023 · 0 comments

Comments

@mohawk2
Copy link
Member

mohawk2 commented Feb 18, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant