Syntactic Confectionery Delight | |
PerlMonks |
Re^3: Kronecker Productby etj (Deacon) |
on Jun 21, 2022 at 17:26 UTC ( [id://11144908]=note: print w/replies, xml ) | Need Help?? |
A nice intro to the concepts of array programming is https://en.wikipedia.org/wiki/Array_programming.
Don't feel bad about trial and error; my first go at this (and I have the dubious privilege of being current PDL maintainer) assumed (wrongly) that dupN would be suitable for both sides of the multiplication; furthermore, it took me a little while to figure out inflateN, even though, annoyingly, it is nearly identical to dupN except for swapping the two parts of the slice argument.
In Section
Seekers of Perl Wisdom
|
|