Arrays(initialization) in gmp
How could one initialize and set an array at the same time? I'm looking for something equivalent to this:
int mat[2][2]={{1,1开发者_运维知识库},{1,0}};
in mpz_t. Cheers.
mpz_t is more or less opaque to you, and it requires function calls to initialize.
So you can't initialize it with a C initializer.
精彩评论