double array in GMP

yugyo yugyo at yahoo.fr
Mon Apr 9 18:53:26 CEST 2007


YO!
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: http://www.nabble.com/double-array-in-GMP-tf3548305.html#a9905550
Sent from the Gnu - GMP - Discuss mailing list archive at Nabble.com.



More information about the gmp-discuss mailing list