in reply to Re: PDL, applying function
in thread PDL, applying function
Note from the future: to most accurately reflect the original requirement, one would need to clip first, since anything less than 0 would be set to 0, then any 0s (including the new ones) get set to a randomised 1/0.