On Wed, Feb 9, 2011 at 11:25 AM, Zachary Pincus <zachary.pin...@yale.edu> wrote: >>> This assumes monotonicity. Is that allowed? >> >> The twice-stated problem was: > > [Note to avert email-miscommunications] BTW, I wasn't trying to snipe > at you with that comment, Josef... > > I just meant to say that this solution solves the problem as Neal > posed it, though that might not be the exact problem he has.
>> In a 1-d array, find the first point where all subsequent points have values >> less than a threshold. This doesn't imply monotonicity. Suppose with have a sin curve, and I want to find the last trough. Or a business cycle and I want to find the last recession. Unless my english deteriorated recently. :) Josef > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion