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.
In Section
Seekers of Perl Wisdom