note
syphilis
<I>My answer doesn't explain the observed speed comparison.</I><br><br>
Might it simply be that numpy is optimized to recognize that $X + $Y is $Y, and $X / $Y is $X ?
<br>(Whereas PDL goes to the trouble of doing the arithmetic.)
<br><br>Cheers,<br>Rob
11121959
11121970