in reply to Re^3: How to create and save an image from RGB values
in thread How to create and save an image from RGB values
This looks a lot like an application of "Einstein-inspired notation operations" (aka einops) would have helped here. I've been toying with the idea of making a translator from einops notation to PDL slice syntax, but haven't done so yet. I am 100% sure that a pull-request with a PDL::Slices::einops function (with suitable tests, even if incomplete) would be gratefully received :-D
EDIT The future-design of PDL is being explored on this GitHub issue, including a mention of einops, and anyone with ideas would be extremely welcome to contribute!
|
---|
Replies are listed 'Best First'. | |
---|---|
[OT][Re:PDL] So... No more piddles now? (was: Re^5: How to create and save an image from RGB values)
by vr (Curate) on Jan 02, 2022 at 11:41 UTC | |
by syphilis (Archbishop) on Jan 02, 2022 at 13:06 UTC | |
by bliako (Monsignor) on Jan 03, 2022 at 08:01 UTC | |
by hippo (Bishop) on Jan 03, 2022 at 14:12 UTC | |
by Anonymous Monk on Jan 03, 2022 at 11:33 UTC |
In Section
Seekers of Perl Wisdom