Skip to content

re Vector Vol.12 No.3, January 1996, pp 133 - 142

Vector 13:2, page 9

implementations

Transcribed from the printed issue; not yet reviewed. Read it in the PDF of the issue, page 9

I reproduce a J session which I hope is self-explanatory:

   NB. E. McDonnell, Vector Vol 12, No 3, pp 133-142.
   NB. I find I cannot reproduce these results.
   NB. Is it because I am still using an old version of J?

   gf =. 1 _2&p. % 1 _4 1&p.
   gf t. i.12
1 0.5 0 0 0 0 0 0 0 0 0 0

   NB. I think the division is element by element, as in:

   2 4 6 % 1 2 3
2 2 2

   ]'ab'=. , > }. p. 1 _4 1
|nonce error
|   ]'ab'=.,>}. p.1 _4 1

   NB. Whatever that might mean!

This is indeed a limitation on your version of J. The answer is to obtain the latest version of J (freeware) from the JSoftware web site, or a UK source such as I-APL Ltd. [ed]