Dear Fraser, Dan and Roger,
My apologies for not following up your e-mails from the mid. of Feb. till now
and many thanks for your replies.
I ran some timings on a subset of the data I had been using and results were:
myself 21.75 secs
Roger 21.88 secs
Dan 21.93 secs.
Fraser 21.93 secs.
I'll probably therefore stick with my own. I was very interested in the use of
^: iterated 0 or 1 time.
One bit of news that will probably not make Roger's day - his coding:
map =:('-',a.) {~('_',a.) i.]
caused a domain error in J504 with the break to the left of the From primitive.
There were no problems with explicit definition:
map=:3 : 0
r=.('-',a.){~('_',a.)i.y.
r
)
Many thanks again for your help
Kit Teather
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm