Help / Release / J 5.01 / +. on Rational Arguments Improved

From J Wiki
Jump to navigation Jump to search


>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release



+. on Rational Arguments Improved

initial writing: 2002-05-11
last updated: 2004-10-26


The dyad +. on rational arguments is now more efficient in time and space. For example:

   ts=: 6!:2 , 7!:2@]   NB. time and space
   ] p=: (+%)/70$1x
308061521170129r190392490709135
   ] q=: (+%)/90$1x
4660046610375530309r2880067194370816120

   ts 'p+.q'            NB. J 4.06
0.00538085 33792

   ts 'p+.q'            NB. J 5.01
0.000368203 5056



>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release