Message-ID: <BF221DC4.C45A%sdavis2@mail.nih.gov>
Date: 2005-08-12T13:35:00Z
From: Sean Davis
Subject: Finding regions of overlap
In-Reply-To: <39B6DDB9048D0F4DAD42CB26AAFF0AFA64EBC0@usctmx1106.Merck.com>
On 8/12/05 9:30 AM, "Liaw, Andy" <andy_liaw at merck.com> wrote:
> Am I missing something? It seems quite easy to me:
>
> Suppose the intervals are (l1, u1), (l2, u2), ..., (ln, un). The
> intersection, if non-empty, would be (max(l1, ..., ln), min(u1, ..., un)),
> and the union (min(l1, ..., ln), max(u1, ..., un)).
Another coffee for me?
Thanks, Andy.
Sean