Re: [Jprogramming] basic rank question

2019-07-15 Thread Leonardo Sandoval
Thanks Don for the explanation. it is clear now to me. On Sun, Jul 14, 2019 at 1:29 PM Don Guinn wrote: > # means "count", not rank. It returns "3" because there are 3 items in the > list. > > $$1 2 3 > > 1 > > > Gives "1". $ produces a list of the dimensions of its argument which is the > numb

Re: [Jprogramming] basic rank question

2019-07-14 Thread Don Guinn
# means "count", not rank. It returns "3" because there are 3 items in the list. $$1 2 3 1 Gives "1". $ produces a list of the dimensions of its argument which is the number "3". There is only one number in the list giving the rank of the argument. On Sun, Jul 14, 2019 at 12:22 PM Leonardo San

[Jprogramming] basic rank question

2019-07-14 Thread Leonardo Sandoval
I am just new to J, although this is the second attempt to learn the language. As a introductory book, I started with 'the primer book', really nice book and quite easy to follow. I am on page p66, where the rank term is explained "the rank of a noun is the count of its axes". SO it is basica