On Dec 27, 2007, at 8:18 AM, Raul Miller wrote:
My routine finds the sequence which contains the maximum
subsequence, but does not necessarily terminate that
subsequence soon enough.
To fix this problem, use ({.~1+[:(i.>./)+/\) on the result of
my mss.
You may want to look at my "Maximum Infix Sums" in Vector 15.2 (October 1998). This is online,
Eugene ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
