[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A new module: bitset
From: |
Akim Demaille |
Subject: |
Re: A new module: bitset |
Date: |
Mon, 26 Nov 2018 08:45:25 +0100 |
Hi Bruno!
> Le 25 nov. 2018 à 21:01, Bruno Haible <address@hidden> a écrit :
>
> Hi Akim,
>
>> Or completely change: all the bitsets of a bitsetv have the same dimension,
>> so we could go to bitmatrix.
>
> On the other hand, the module does not implement matrix operations
> (matrix multiplication, transposition, determinant),
But it could :)
> only transitive
> closure (which maybe is not so suitable for gnulib and should stay in
> Bison?).
It's not that big and would hardly code-bloat users. I'd prefer it
to stay in gnulib, but it's your call.
> The definition 'typedef bitset * bitsetv;' is really an array of bitsets.
>
> This also means that bitsetv.h should probably be renamed to
> bitset-array.h, not bitset-vector.h.
Ok. But then what type name and prefix should we use? Currently
it's bitsetv. Would you want bitseta? (I like bitmat :)
Re: A new module: bitset, Akim Demaille, 2018/11/25
Re: A new module: bitset, Paul Eggert, 2018/11/25