P is for Practical | |
PerlMonks |
Re^2: how to get average of matrices' elements?by etj (Deacon) |
on May 19, 2022 at 16:07 UTC ( [id://11144012]=note: print w/replies, xml ) | Need Help?? |
Tiny note: an easier way to get the dimension you want to average over to the 0 position than reorder is mv. That also can take negative numbers which count backwards from end, leading to this very common idiom:
In Section
Seekers of Perl Wisdom
|
|