I have a similar question. Is there a way to OR all the bits in a column for an aggregate query? Thanks Ben
On Mon, Nov 29, 2010 at 6:04 PM, K. John Wu <[email protected]> wrote: > Hi, Teryl, > > There isn't a function that takes a set of bitvectors for bitwise AND > operations, but there is a function named ibis::index::sumBits that > performs bitwise OR on a std::vector of ibis::bitvectors. > > The class ibis::bitvector has two operators that performs bitwise OR > operations, they are |= and |. If you need a different form, let us > know, we might be able to accommodate. > > John > > > On 11/28/2010 1:10 PM, Teryl Taylor wrote: >> Hi everyone, >> >> Is there any API's to take a set of bitvectors and do a bitwise and >> with them? also is there another API which does a bitwise OR? >> >> >> Cheers, >> >> Teryl >> >> >> >> _______________________________________________ >> FastBit-users mailing list >> [email protected] >> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users > _______________________________________________ > FastBit-users mailing list > [email protected] > https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users > _______________________________________________ FastBit-users mailing list [email protected] https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
