开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜