David Ward Lambert wrote:
> 
> How do I write this in a single line train please?
> 
>   m=: (>`+. #~ 1 , #)data    NB. m=: >`+.`+.`+.`+. ...
>   m/data                     NB. or m`:3 data
> 
> My efforts are syntactically invalid or of bad domain.
> Thank you, Dave.
> 
Maybe this will do:

({. > +./@}.)data

-- 
View this message in context: 
http://old.nabble.com/tacitly-construct-and-use-gerund-tp32321675s24193p32322167.html
Sent from the J Programming mailing list archive at Nabble.com.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to