Jun 12, 2019, 8:19 PM by [email protected]: > JmageK, also try to experiment with the adverb / (“table”) when you supply > the verb “=“ as its argument. > > 12$i.5 > 0 1 2 3 4 0 1 2 3 4 0 1 > > 2 3 1 =/ 12$i.5 > 0 0 1 0 0 0 0 1 0 0 0 0 > 0 0 0 1 0 0 0 0 1 0 0 0 > 0 1 0 0 0 0 1 0 0 0 0 1 > > +/“1 ] 2 3 1 =/ 12$i.5 > 2 2 3 > The usage of bracket is neat, Without it parens would be required to seperate the two expressions to evaluate them correctly. (+/"1) 2 3 1=/ 12$i.5
> …/Rob > >> On 13 Jun 2019, at 12:40 am, 'Pascal Jasmin' via Programming >> <[email protected]> wrote: >> >> >> 6 15 10 +/@:="0 1 i.201 >> >> 1 1 1 >> >> 6 15 10 +/@:="0 _ i.201 1 1 >> Thanks Rob & Jasmine! JmageK ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
