On Mon, Dec 16, 2013 at 4:42 PM, Dan Bron <j...@bron.us> wrote: > I know there are subtle and beautiful connections between the trigonometric > and exponential functions, and the e hidden in r. is one expression of > that. But I'm still not seeing the fundamental physical interpretation. > In other words, I wasn't surprised with the -@^. disappeared in Raul's use > case; I might've been more surprised if it'd persisted. > > Anyone want to help me see it? Maybe the best illustration would be a > concrete use case where the -@^. isn't superfluous - one where where it is > not only necessary, but inevitable?
In this case all I was doing with those numbers was comparing them and finding the largest (or smallest). If the numbers themselves had been relevant - instead of simply their ordering - then -@^. might have meant something. On a related note, I was using a "step at a time" algorithm. Given the small number of values it might have been simpler to use a shortest path algorithm and start by finding all distances between pairs? (Unclear...) Thanks, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm