|
|
| XP is just a number | |
| PerlMonks |
Re: PDL: efficient self-referencing math?by Corion (Pope) |
| on Sep 04, 2011 at 08:02 UTC ( #924048=note: print w/ replies, xml ) | Need Help?? |
|
I haven't used PDL at all, but maybe you have enough dimensions in your piddle to make the following approach efficient:
The matrix would be (or, would be)
Reading from the PDL documentation, basically the following code should work (while PDL is installing):
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||