double array in GMP

yugyo yugyo at
Mon Apr 9 18:53:26 CEST 2007

I need someone to explain/show me how to create a double array in GMP.
I need something that is like       tab[ i ] [ j ]      in C language

I try a lot of thing whith "malloc" or:
mpz_t  ** tab;
mpz_array_init ( *tab[0], NB, 10);
for(int i=0; i < NB; i++)
            mpz_array_init (*tab[ i ], NB, 10);
But nothing works....
If someone can help me....

View this message in context:
Sent from the Gnu - GMP - Discuss mailing list archive at

More information about the gmp-discuss mailing list