01.11.2017, 05:12, "Raul Miller" <[email protected]>: > I am not sure that if there's a better approach, though obviously we > could rephrase your approach slightly. > > For example: > > nextrow=: [ ~: 3 ~:/\ 0,],0: > grow=: , _2&{ nextrow {: > paritypattern=: 1 }. [ grow@:]^:([-1:) 0 ,: ] > > I hope this helps...
I perhaps should have mentioned that this was my third attempt in sending an email to the forum; the earlier messages had a bit more context but never appeared on the mailing list, and I did not expect this one to make it through. In any case, I'm very new to J and these were my most complicated J definitions so far. I have been studying your obvious rephrasings for the past hour and have learned much. Thank you. - Ivan ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
