Re: union

From: Roger Mason <rmason_at_esd.mun.ca>
Date: Tue, 04 Jul 2006 07:18:00 -0230


Rene Brun <Rene.Brun_at_cern.ch> writes:

> From your description, it is not totally clear what you want.
> Did you look into std::multiset ?
>
>
> Roger Mason wrote:
>> Hello,
>>
>> Is there in Root an implementation of a function to find the union (as in set
>> theory) of a number of arrays? I grepped thro' the tutorials without
>> success.

I mean that I want to find the unique entries in a pair of arrays. For example, if I have arrays:

{16,8,9,9} and {1,16,7,6,6}

the unique entries are {16,8,9,1,7,6}

I'll look into the library you suggest.

Thanks,

Roger Received on Tue Jul 04 2006 - 11:48:08 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET