Last tweak (I promise) Because the rank of | is 0 0 0 we don't need to specify the rank in the definition of la.
la =: [`]@.(<&|)
(la +@|:) A
1 2j3
2j_3 4
Though we do need the parenthesis to separate < from the @. conjunction.
Cheers, bob
On 2013-01-17, at 12:29 PM, bob therriault wrote:
> la =: [`]@.(<&|)"0
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
