At Wed, 21 May 2008 11:13:14 +0200, Alxneit-Kamber Ivo wrote: > attached please find an implementation of 'bit_vectors' (maybe bit > fields would be a better name) that might be an interesting addition to > GSL. 'bit_vectors' can be used similarly like a C bit field, only that > they grow and shrink dynamically depending on the number of bits in use. > Currently the user is limited to 'maximum(size_t)' bits (the bit number > is passed as size_t) or by the amount of memory available. Note, > however, that memory for all bits does not necessarily need to be > allocated because high bits that are either all 1 or 0 are stored as a > single implied bit.
Hello, Did you have a specific use in mind? This is probably more suited to a general C library rather than scientific library. -- Brian Gough
