Boost Users :
From: Jeremy Graham Siek (jsiek_at_[hidden])
Date: 2005-07-05 13:27:55
Hmm, that sounds like a bug. Perhaps Gennaro can look into it?
On Jul 5, 2005, at 3:45 PM, Fujinobu Takahashi wrote:
> // cout << "bit26 ";
> cout << bit26 << endl<<endl;
> // cout << "bit34 ";
> cout << bit34 << endl<<endl;
> Using this code my integration works very well and fast but
> cout << bit26 or
> cout << bit32
> do not work, they are empty!
> If possible, would you please show me any concrete hint or a very
> introductory sample of the copy of binary file?
> Using them I can challenge again to explore a mystery of dynamic
> Very thanks,
> On Thu, 30 Jun 2005 13:46:00 -0500
> Jeremy Siek <jsiek_at_[hidden]> wrote:
>> Hi Fuji,
>> The dynamic_bitset construtor that takes a input iterator over blocks
>> was meant
>> for this kind of construction. It would be up to you to obtain/create
>> the iterator.
>> template <typename BlockInputIterator>
>> dynamic_bitset(BlockInputIterator first, BlockInputIterator last,
>> const Allocator& alloc = Allocator());
>> Effects: Constructs a bitset based on a range of blocks. Let *first be
>> block number 0, *++first block number 1, etc. Block number b is used
>> initialize the bits of the dynamic_bitset in the position range
>> [b*bits_per_block, (b+1)*bits_per_block). For each block number b with
>> value bval, the bit (bval >> i) & 1 corresponds to the bit at position
>> (b * bits_per_block + i) in the bitset (where i goes through the range
>> [0, bits_per_block)).
>> Requires: The type BlockInputIterator must be a model of Input
>> and its value_type must be the same type as Block.
>> Throws: An allocation error if memory is exhausted (std::bad_alloc if
>> On Jun 30, 2005, at 10:16 AM, Fujinobu Takahashi wrote:
>>> I would like to try one-bit correlation between two one-bit sampling
>>> VLBI data files using powerful dynamic bitset library.
>>> (VLBI:Very Long Baseline Interferometer)
>>> A binary file japan.dat includes one-bit sampling data of a quasar
>>> received at a Japanese antenna and another binary file usa.dat
>>> includes one-bit sampling data of a same quasar received
>>> simultaneously at a US antenna. The bitset block size should be more
>>> than 10Mbits
>>> What kind of constructor codes should I write to copy the
>>> bit-pattern of each data file to each very long dynamic bitset? I
>>> am sorry but I could not find any good answer from Google search.
>>> I am looking forward to helpful answer in this mail-list.
>>> Very Thanks
>>> Boost-users mailing list
>> Jeremy Siek <jsiek_at_[hidden]>
>> Ph.D. Student, Indiana University Bloomington
>> C++ Booster (http://www.boost.org)
>> Boost-users mailing list
> Boost-users mailing list
Jeremy Siek <jsiek_at_[hidden]>
Ph.D. Candidate, Indiana University Bloomington
C++ Booster (http://www.boost.org)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net