Pete, I'm not quite clear on your answer. Especially what is y and what is its shape for edges?
Thanks, On Mon, Dec 10, 2018 at 6:16 PM Pete <[email protected]> wrote: > Maybe I oversimplified, but I found the nodes with infinite area by > appending the top, right, bottom, and left edges of the tightly bounded > grid, and nubbing the result: > > rot =. [: |. |: > > edges =. 3 : 0 > top =. 0 { y > right =. 0 { rot^:1 y > bottom =. 0 { rot^:2 y > left =. 0 { rot^:3 y > ~. top , right , bottom , left > ) > > My intuition was that, because of how Manhattan distance works, every node > that extends to the edge of my tightly bound rectangle will have at least > one infinite line of closest points either to the North, East, South, or > West of it. > > It worked for my input, but it's a very hand-wavy solution. > > > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
