in reply to
Re: PDL encore
in thread
PDL encore
Setting "bad" values to 0 is mathematically valid for this situation. A more PDL-ish approach however is to use "bad values"; doing
$pdl->badvalue(999)
would achieve the aim here.
Comment on
Re^2: PDL encore
Download
Code
In Section
Seekers of Perl Wisdom