开发者

Arrays(initialization) in gmp

开发者 https://www.devze.com 2023-04-02 19:48 出处:网络
How could one initialize and set an array at the same time? I\'m looking for something equivalent to this:

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

精彩评论

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

关注公众号