Dynamically create an array of mpz_t's
Mon, 11 Aug 2003 10:45:37 +1000
Assuming it's possible, how does one (in a C program) dynamically create an
array of mpz_t's ?
ie what declaration is made, and what do the malloc() and free() calls look
In a recreational project, I would like to be able to do something like:
if(mpz_tstbit(aompz_t[index], i)) /* do something */
Can it be done (by someone who has only just now learnt how to dynamically
create a 2D array) ?