A little more information is provided below.
By looking at the atomic representation, perhaps what looks like
an N is not an N in the nub. Is it a singleton array element
instead of a scalar? If so is there a way to search with i. for
it as is or is there a way to create it as a scalar?
Am I on the right track?

   ~.;:test
┌──┬─┬──┐
│NE│N│SE│
└──┴─┴──┘
   nub =: ~.;:test
   5!:1 <'nub'
┌─────────────┐
│┌─┬─────────┐│
││0│┌──┬─┬──┐││
││ ││NE│N│SE│││
││ │└──┴─┴──┘││
│└─┴─────────┘│
└─────────────┘
   $ L:(0) 5!:1 <'nub'
┌───────────┐
│┌─┬───────┐│
││1│┌─┬─┬─┐││
││ ││2│1│2│││
││ │└─┴─┴─┘││
│└─┴───────┘│
└───────────┘
   'N'&-: L:(0) 5!:1 <'nub'
┌───────────┐
│┌─┬───────┐│
││0│┌─┬─┬─┐││
││ ││0│0│0│││
││ │└─┴─┴─┘││
│└─┴───────┘│
└───────────┘
   'SE'&-: L:(0) 5!:1 <'nub'
┌───────────┐
│┌─┬───────┐│
││0│┌─┬─┬─┐││
││ ││0│0│1│││
││ │└─┴─┴─┘││
│└─┴───────┘│
└───────────┘


On Sat, Dec 16, 2017 at 3:32 PM, Brian Schott <[email protected]>
wrote:

> Did you notice my comment about an anomaly using i. to find the first
> <'N' ? If that is really a bug, then maybe it is producing some of the
> peculiarity.
>
> When AoC offers the ability to share a question, does it mean that the
> identical data set would be shared, too? If so, that might be an easy
> way to share my data. Otherwise, I could post it somewhere like dpaste.com
> .
>
> Thanks for your help,
>
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to