gmp の関数一覧を生成してみた

ここでは、「gmp の関数一覧を生成してみた」 に関する記事を紹介しています。
上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。
多倍長ライブラリ GMP(GNU MP)の関数一覧を作ってみたくなった.
正確にはプロトタイプ宣言の一覧が欲しい:

void mpz_add (mpz t rop, mpz t op1, mpz t op2) [Function]
void mpz_add_ui (mpz t rop, mpz t op1, unsigned long int op2) [Function]


結論的には

$ wget --accept=html --no-parent --limit-rate=10k -r --level=0 --relative http://gmplib.org/manual/
$ find ./ -name '*.html' | xargs sed -e 's/<[^>]*>//g' | sed -e 's/&nbsp;/ /g'|grep '&mdash; Function:' | sort | sed -e 's/&mdash; Function: //g' | less

でおk.




考えたことは次のとおり:

最初はマニュアル PDF からコピペしてみたが,明らかにめんどい.

そこで,HTML版のマニュアルから作ることにした.環境は Ubuntu 10.04.



まずマニュアルをもらってくる.適当なディレクトリで

$ wget --accept=html --no-parent --limit-rate=10k -r --level=0 --relative http://gmplib.org/manual/

とすれよい.やってることは,マニュアルのディレクトリから相対リンクされているhtmlファイルを(親ディレクトリを除いて)再帰的にダウンロード,ということ.ただし,回線に負担をかけないよう,スピードを 10k に制限.

もらってきたHTMLを見てみると,

― Function: void mpz_add (mpz_t rop, mpz_t op1, mpz_t op2)
― Function: void mpz_add_ui (mpz_t rop, mpz_t op1, unsigned long int op2)

の中身は,

&mdash; Function: void <b>mpz_add</b> (<var>mpz_t rop, mpz_t op1, mpz_t op2</var>)<var><a name="index-mpz_005fadd-283"></a></var><br>
&mdash; Function: void <b>mpz_add_ui</b> (<var>mpz_t rop, mpz_t op1, unsigned long int op2</var>)<var><a name="index-mpz_005fadd_005fui-284"></a></var><br>

こんな感じになってた.htmlタグが邪魔な気がするので除去したい.調べてみると,
サラトガIT日記さんのところのsedでhtmlのタグを除去する
IBM developerWorks Japan共通テーマ: 実例でわかるsed: 第2回
という記事が見つかった.HTMLタグの除去は

$ sed -e 's/<[^>]*>//g' hoge.html

で実現できる.<.*> でうまくいかない理由も書いてある.感謝.


あとは関数の行だけを出力すればよいが,「&mdash; Function: 」を目印に探すことにした.というわけで,単純にソートすると

find ./ -name '*.html' | xargs sed -e 's/<[^>]*>//g' | sed -e 's/&nbsp;/ /g'|grep '&mdash; Function:' | sort | sed -e 's/&mdash; Function: //g' | less

で,ファイルごとに表示するなら

$ find ./ -name '*.html' | xargs grep --with-filename .* | sed -e 's/&nbsp;/ /g'| sed -e 's/<[^>]*>//g'|grep '&mdash; Function:' | sed -e 's/&mdash; Function: //g' | sed -e 's/.*\///g'

そこからファイル名を除去すると

$ find ./ -name '*.html' | xargs grep --with-filename .* | sed -e 's/&nbsp;/ /g'| sed -e 's/<[^>]*>//g'|grep '&mdash; Function:' | sed -e 's/&mdash; Function: //g' | sed -e 's/.*://g' | less

こんな感じか.



せっかくなので,得られた一覧を貼ってみる:
[大量注意]


単純に名前でソートした版:

gmp_randclass::gmp_randclass (gmp_randalg_t alg, ...)
gmp_randclass::gmp_randclass (void (*randinit) (gmp_randstate_t, ...), ...)
mpf_class::mpf_class (type op)
mpf_class::mpf_class (type op, unsigned long prec)
MINT * itom (signed short int initial_value)
MINT * xtom (char *initial_value)
bool mpf_class::fits_sint_p (void)
bool mpf_class::fits_slong_p (void)
bool mpf_class::fits_sshort_p (void)
bool mpf_class::fits_uint_p (void)
bool mpf_class::fits_ulong_p (void)
bool mpf_class::fits_ushort_p (void)
bool mpz_class::fits_sint_p (void)
bool mpz_class::fits_slong_p (void)
bool mpz_class::fits_sshort_p (void)
bool mpz_class::fits_uint_p (void)
bool mpz_class::fits_ulong_p (void)
bool mpz_class::fits_ushort_p (void)
char * mpf_get_str (char *str, mp_exp_t *expptr, int base, size_t n_digits, mpf_t op)
char * mpq_get_str (char *str, int base, mpq_t op)
char * mpz_get_str (char *str, int base, mpz_t op)
char * mtox (MINT *op)
double mpf_class::get_d (void)
double mpf_get_d (mpf_t op)
double mpf_get_d_2exp (signed long int *exp, mpf_t op)
double mpq_class::get_d (void)
double mpq_get_d (mpq_t op)
double mpz_class::get_d (void)
double mpz_get_d (mpz_t op)
double mpz_get_d_2exp (signed long int *exp, mpz_t op)
int cmp (mpf_class op1, type op2)
int cmp (mpq_class op1, type op2)
int cmp (mpz_class op1, type op2)
int cmp (type op1, mpf_class op2)
int cmp (type op1, mpq_class op2)
int cmp (type op1, mpz_class op2)
int gmp_asprintf (char **pp, const char *fmt, ...)
int gmp_fprintf (FILE *fp, const char *fmt, ...)
int gmp_fscanf (FILE *fp, const char *fmt, ...)
int gmp_obstack_printf (struct obstack *ob, const char *fmt, ...)
int gmp_obstack_vprintf (struct obstack *ob, const char *fmt, va_list ap)
int gmp_printf (const char *fmt, ...)
int gmp_randinit_lc_2exp_size (gmp_randstate_t state, mp_bitcnt_t size)
int gmp_scanf (const char *fmt, ...)
int gmp_snprintf (char *buf, size_t size, const char *fmt, ...)
int gmp_sprintf (char *buf, const char *fmt, ...)
int gmp_sscanf (const char *s, const char *fmt, ...)
int gmp_vasprintf (char **pp, const char *fmt, va_list ap)
int gmp_vfprintf (FILE *fp, const char *fmt, va_list ap)
int gmp_vfscanf (FILE *fp, const char *fmt, va_list ap)
int gmp_vprintf (const char *fmt, va_list ap)
int gmp_vscanf (const char *fmt, va_list ap)
int gmp_vsnprintf (char *buf, size_t size, const char *fmt, va_list ap)
int gmp_vsprintf (char *buf, const char *fmt, va_list ap)
int gmp_vsscanf (const char *s, const char *fmt, va_list ap)
int mcmp (MINT *op1, MINT *op2)
int mpf_class::set_str (const char *str, int base)
int mpf_class::set_str (const string& str, int base)
int mpf_cmp (mpf_t op1, mpf_t op2)
int mpf_cmp_d (mpf_t op1, double op2)
int mpf_cmp_si (mpf_t op1, signed long int op2)
int mpf_cmp_ui (mpf_t op1, unsigned long int op2)
int mpf_eq (mpf_t op1, mpf_t op2, mp_bitcnt_t op3)
int mpf_fits_sint_p (mpf_t op)
int mpf_fits_slong_p (mpf_t op)
int mpf_fits_sshort_p (mpf_t op)
int mpf_fits_uint_p (mpf_t op)
int mpf_fits_ulong_p (mpf_t op)
int mpf_fits_ushort_p (mpf_t op)
int mpf_init_set_str (mpf_t rop, char *str, int base)
int mpf_integer_p (mpf_t op)
int mpf_set_str (mpf_t rop, char *str, int base)
int mpn_cmp (const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
int mpn_perfect_square_p (const mp_limb_t *s1p, mp_size_t n)
int mpq_class::set_str (const char *str, int base)
int mpq_class::set_str (const string& str, int base)
int mpq_cmp (mpq_t op1, mpq_t op2)
int mpq_equal (mpq_t op1, mpq_t op2)
int mpq_set_str (mpq_t rop, char *str, int base)
int mpz_class::set_str (const char *str, int base)
int mpz_class::set_str (const string& str, int base)
int mpz_cmp (mpz_t op1, mpz_t op2)
int mpz_cmp_d (mpz_t op1, double op2)
int mpz_cmpabs (mpz_t op1, mpz_t op2)
int mpz_cmpabs_d (mpz_t op1, double op2)
int mpz_cmpabs_ui (mpz_t op1, unsigned long int op2)
int mpz_congruent_2exp_p (mpz_t n, mpz_t c, mp_bitcnt_t b)
int mpz_congruent_p (mpz_t n, mpz_t c, mpz_t d)
int mpz_congruent_ui_p (mpz_t n, unsigned long int c, unsigned long int d)
int mpz_divisible_2exp_p (mpz_t n, mp_bitcnt_t b)
int mpz_divisible_p (mpz_t n, mpz_t d)
int mpz_divisible_ui_p (mpz_t n, unsigned long int d)
int mpz_fits_sint_p (mpz_t op)
int mpz_fits_slong_p (mpz_t op)
int mpz_fits_sshort_p (mpz_t op)
int mpz_fits_uint_p (mpz_t op)
int mpz_fits_ulong_p (mpz_t op)
int mpz_fits_ushort_p (mpz_t op)
int mpz_init_set_str (mpz_t rop, char *str, int base)
int mpz_invert (mpz_t rop, mpz_t op1, mpz_t op2)
int mpz_jacobi (mpz_t a, mpz_t b)
int mpz_kronecker (mpz_t a, mpz_t b)
int mpz_kronecker_si (mpz_t a, long b)
int mpz_kronecker_ui (mpz_t a, unsigned long b)
int mpz_legendre (mpz_t a, mpz_t p)
int mpz_perfect_power_p (mpz_t op)
int mpz_perfect_square_p (mpz_t op)
int mpz_probab_prime_p (mpz_t n, int reps)
int mpz_root (mpz_t rop, mpz_t op, unsigned long int n)
int mpz_set_str (mpz_t rop, char *str, int base)
int mpz_si_kronecker (long a, mpz_t b)
int mpz_tstbit (mpz_t op, mp_bitcnt_t bit_index)
int mpz_ui_kronecker (unsigned long a, mpz_t b)
int sgn (mpf_class op)
int sgn (mpq_class op)
int sgn (mpz_class op)
istream& operator>> (istream& stream, mpf_t rop)
istream& operator>> (istream& stream, mpq_class& rop);
istream& operator>> (istream& stream, mpq_t rop)
istream& operator>> (istream& stream, mpz_t rop)
long mpf_class::get_si (void)
long mpf_get_si (mpf_t op)
long mpz_class::get_si (void)
mp_bitcnt_t mpf_class::get_prec ()
mp_bitcnt_t mpf_get_default_prec (void)
mp_bitcnt_t mpf_get_prec (mpf_t op)
mp_bitcnt_t mpn_hamdist (const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
mp_bitcnt_t mpn_popcount (const mp_limb_t *s1p, mp_size_t n)
mp_bitcnt_t mpn_scan0 (const mp_limb_t *s1p, mp_bitcnt_t bit)
mp_bitcnt_t mpn_scan1 (const mp_limb_t *s1p, mp_bitcnt_t bit)
mp_bitcnt_t mpz_hamdist (mpz_t op1, mpz_t op2)
mp_bitcnt_t mpz_popcount (mpz_t op)
mp_bitcnt_t mpz_remove (mpz_t rop, mpz_t op, mpz_t f)
mp_bitcnt_t mpz_scan0 (mpz_t op, mp_bitcnt_t starting_bit)
mp_bitcnt_t mpz_scan1 (mpz_t op, mp_bitcnt_t starting_bit)
mp_limb_t mpn_add (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t s1n, const mp_limb_t *s2p, mp_size_t s2n)
mp_limb_t mpn_add_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
mp_limb_t mpn_add_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
mp_limb_t mpn_addmul_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
mp_limb_t mpn_divexact_by3c (mp_limb_t *rp, mp_limb_t *sp, mp_size_t n, mp_limb_t carry)
mp_limb_t mpn_divmod (mp_limb_t *r1p, mp_limb_t *rs2p, mp_size_t rs2n, const mp_limb_t *s3p, mp_size_t s3n)
mp_limb_t mpn_divrem (mp_limb_t *r1p, mp_size_t qxn, mp_limb_t *rs2p, mp_size_t rs2n, const mp_limb_t *s3p, mp_size_t s3n)
mp_limb_t mpn_divrem_1 (mp_limb_t *r1p, mp_size_t qxn, mp_limb_t *s2p, mp_size_t s2n, mp_limb_t s3limb)
mp_limb_t mpn_gcd_1 (const mp_limb_t *xp, mp_size_t xn, mp_limb_t ylimb)
mp_limb_t mpn_lshift (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n, unsigned int count)
mp_limb_t mpn_mod_1 (mp_limb_t *s1p, mp_size_t s1n, mp_limb_t s2limb)
mp_limb_t mpn_mul (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t s1n, const mp_limb_t *s2p, mp_size_t s2n)
mp_limb_t mpn_mul_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
mp_limb_t mpn_rshift (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n, unsigned int count)
mp_limb_t mpn_sub (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t s1n, const mp_limb_t *s2p, mp_size_t s2n)
mp_limb_t mpn_sub_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
mp_limb_t mpn_sub_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
mp_limb_t mpn_submul_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
mp_limb_t mpz_getlimbn (mpz_t op, mp_size_t n)
mp_size_t mpn_gcd (mp_limb_t *rp, mp_limb_t *xp, mp_size_t xn, mp_limb_t *yp, mp_size_t yn)
mp_size_t mpn_gcdext (mp_limb_t *gp, mp_limb_t *sp, mp_size_t *sn, mp_limb_t *xp, mp_size_t xn, mp_limb_t *yp, mp_size_t yn)
mp_size_t mpn_get_str (unsigned char *str, int base, mp_limb_t *s1p, mp_size_t s1n)
mp_size_t mpn_set_str (mp_limb_t *rp, const unsigned char *str, size_t strsize, int base)
mp_size_t mpn_sqrtrem (mp_limb_t *r1p, mp_limb_t *r2p, const mp_limb_t *sp, mp_size_t n)
mpf_class abs (mpf_class op)
mpf_class ceil (mpf_class op)
mpf_class floor (mpf_class op)
mpf_class gmp_randclass::get_f ()
mpf_class gmp_randclass::get_f (unsigned long prec)
mpf_class hypot (mpf_class op1, mpf_class op2)
mpf_class sqrt (mpf_class op)
mpf_class trunc (mpf_class op)
mpf_class& mpf_class::operator= (type op)
mpf_t mpf_class::get_mpf_t ()
mpq_class abs (mpq_class op)
mpq_t mpq_class::get_mpq_t ()
mpz_class abs (mpz_class op1)
mpz_class gmp_randclass::get_z_bits (mpz_class bits)
mpz_class gmp_randclass::get_z_bits (unsigned long bits)
mpz_class gmp_randclass::get_z_range (mpz_class n)
mpz_class operator% (mpz_class a, mpz_class d)
mpz_class operator/ (mpz_class a, mpz_class d)
mpz_class sqrt (mpz_class op)
mpz_class& mpq_class::get_den ()
mpz_class& mpq_class::get_num ()
mpz_t mpq_class::get_den_mpz_t ()
mpz_t mpq_class::get_num_mpz_t ()
mpz_t mpz_class::get_mpz_t ()
ostream& operator<< (ostream& stream, mpf_t op)
ostream& operator<< (ostream& stream, mpq_t op)
ostream& operator<< (ostream& stream, mpz_t op)
signed long int mpz_get_si (mpz_t op)
size_t mpf_inp_str (mpf_t rop, FILE *stream, int base)
size_t mpf_out_str (FILE *stream, int base, size_t n_digits, mpf_t op)
size_t mpq_inp_str (mpq_t rop, FILE *stream, int base)
size_t mpq_out_str (FILE *stream, int base, mpq_t op)
size_t mpz_inp_raw (mpz_t rop, FILE *stream)
size_t mpz_inp_str (mpz_t rop, FILE *stream, int base)
size_t mpz_out_raw (FILE *stream, mpz_t op)
size_t mpz_out_str (FILE *stream, int base, mpz_t op)
size_t mpz_size (mpz_t op)
size_t mpz_sizeinbase (mpz_t op, int base)
string mpf_class::get_str (mp_exp_t& exp, int base = 10, size_t digits = 0)
string mpq_class::get_str (int base = 10)
string mpz_class::get_str (int base = 10)
unsigned long gmp_urandomb_ui (gmp_randstate_t state, unsigned long n)
unsigned long gmp_urandomm_ui (gmp_randstate_t state, unsigned long n)
unsigned long int mpz_cdiv_q_ui (mpz_t q, mpz_t n, unsigned long int d)
unsigned long int mpz_cdiv_qr_ui (mpz_t q, mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_cdiv_r_ui (mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_cdiv_ui (mpz_t n, unsigned long int d)
unsigned long int mpz_fdiv_q_ui (mpz_t q, mpz_t n, unsigned long int d)
unsigned long int mpz_fdiv_qr_ui (mpz_t q, mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_fdiv_r_ui (mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_fdiv_ui (mpz_t n, unsigned long int d)
unsigned long int mpz_gcd_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
unsigned long int mpz_get_ui (mpz_t op)
unsigned long int mpz_mod_ui (mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_tdiv_q_ui (mpz_t q, mpz_t n, unsigned long int d)
unsigned long int mpz_tdiv_qr_ui (mpz_t q, mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_tdiv_r_ui (mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_tdiv_ui (mpz_t n, unsigned long int d)
unsigned long mpf_class::get_ui (void)
unsigned long mpf_get_ui (mpf_t op)
unsigned long mpz_class::get_ui (void)
void * _mpz_realloc (mpz_t integer, mp_size_t new_alloc)
void * allocate_function (size_t alloc_size)
void * mpz_export (void *rop, size_t *countp, int order, size_t size, int endian, size_t nails, mpz_t op)
void * reallocate_function (void *ptr, size_t old_size, size_t new_size)
void free_function (void *ptr, size_t size)
void gcd (MINT *op1, MINT *op2, MINT *res)
void gmp_randclass::seed (mpz_class s)
void gmp_randclass::seed (unsigned long int s)
void gmp_randclear (gmp_randstate_t state)
void gmp_randinit (gmp_randstate_t state, gmp_randalg_t alg, ...)
void gmp_randinit_default (gmp_randstate_t state)
void gmp_randinit_lc_2exp (gmp_randstate_t state, mpz_t a, unsigned long c, mp_bitcnt_t m2exp)
void gmp_randinit_mt (gmp_randstate_t state)
void gmp_randinit_set (gmp_randstate_t rop, gmp_randstate_t op)
void gmp_randseed (gmp_randstate_t state, mpz_t seed)
void gmp_randseed_ui (gmp_randstate_t state, unsigned long int seed)
void madd (MINT *src_1, MINT *src_2, MINT *destination)
void mdiv (MINT *dividend, MINT *divisor, MINT *quotient, MINT *remainder)
void mfree (MINT *op)
void min (MINT *dest)
void mout (MINT *src)
void move (MINT *src, MINT *dest)
void mp_get_memory_functions ( void *(**alloc_func_ptr) (size_t), void *(**realloc_func_ptr) (void *, size_t, size_t), void (**free_func_ptr) (void *, size_t))
void mp_set_memory_functions ( void *(*alloc_func_ptr) (size_t), void *(*realloc_func_ptr) (void *, size_t, size_t), void (*free_func_ptr) (void *, size_t))
void mpf_abs (mpf_t rop, mpf_t op)
void mpf_add (mpf_t rop, mpf_t op1, mpf_t op2)
void mpf_add_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
void mpf_ceil (mpf_t rop, mpf_t op)
void mpf_class::mpf_class (const char *s)
void mpf_class::mpf_class (const char *s, unsigned long prec, int base = 0)
void mpf_class::mpf_class (const string& s)
void mpf_class::mpf_class (const string& s, unsigned long prec, int base = 0)
void mpf_class::set_prec (mp_bitcnt_t prec)
void mpf_class::set_prec_raw (mp_bitcnt_t prec)
void mpf_clear (mpf_t x)
void mpf_clears (mpf_t x, ...)
void mpf_div (mpf_t rop, mpf_t op1, mpf_t op2)
void mpf_div_2exp (mpf_t rop, mpf_t op1, mp_bitcnt_t op2)
void mpf_div_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
void mpf_floor (mpf_t rop, mpf_t op)
void mpf_init (mpf_t x)
void mpf_init2 (mpf_t x, mp_bitcnt_t prec)
void mpf_init_set (mpf_t rop, mpf_t op)
void mpf_init_set_d (mpf_t rop, double op)
void mpf_init_set_si (mpf_t rop, signed long int op)
void mpf_init_set_ui (mpf_t rop, unsigned long int op)
void mpf_inits (mpf_t x, ...)
void mpf_mul (mpf_t rop, mpf_t op1, mpf_t op2)
void mpf_mul_2exp (mpf_t rop, mpf_t op1, mp_bitcnt_t op2)
void mpf_mul_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
void mpf_neg (mpf_t rop, mpf_t op)
void mpf_pow_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
void mpf_random2 (mpf_t rop, mp_size_t max_size, mp_exp_t exp)
void mpf_reldiff (mpf_t rop, mpf_t op1, mpf_t op2)
void mpf_set (mpf_t rop, mpf_t op)
void mpf_set_d (mpf_t rop, double op)
void mpf_set_default_prec (mp_bitcnt_t prec)
void mpf_set_prec (mpf_t rop, mp_bitcnt_t prec)
void mpf_set_prec_raw (mpf_t rop, mp_bitcnt_t prec)
void mpf_set_q (mpf_t rop, mpq_t op)
void mpf_set_si (mpf_t rop, signed long int op)
void mpf_set_ui (mpf_t rop, unsigned long int op)
void mpf_set_z (mpf_t rop, mpz_t op)
void mpf_sqrt (mpf_t rop, mpf_t op)
void mpf_sqrt_ui (mpf_t rop, unsigned long int op)
void mpf_sub (mpf_t rop, mpf_t op1, mpf_t op2)
void mpf_sub_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
void mpf_swap (mpf_t rop1, mpf_t rop2)
void mpf_trunc (mpf_t rop, mpf_t op)
void mpf_ui_div (mpf_t rop, unsigned long int op1, mpf_t op2)
void mpf_ui_sub (mpf_t rop, unsigned long int op1, mpf_t op2)
void mpf_urandomb (mpf_t rop, gmp_randstate_t state, mp_bitcnt_t nbits)
void mpn_and_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_andn_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_com (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n)
void mpn_copyd (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n)
void mpn_copyi (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n)
void mpn_ior_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_iorn_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_mul_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_nand_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_neg (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n)
void mpn_nior_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_random (mp_limb_t *r1p, mp_size_t r1n)
void mpn_random2 (mp_limb_t *r1p, mp_size_t r1n)
void mpn_sqr (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n)
void mpn_tdiv_qr (mp_limb_t *qp, mp_limb_t *rp, mp_size_t qxn, const mp_limb_t *np, mp_size_t nn, const mp_limb_t *dp, mp_size_t dn)
void mpn_xnor_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_xor_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_zero (mp_limb_t *rp, mp_size_t n)
void mpq_abs (mpq_t rop, mpq_t op)
void mpq_add (mpq_t sum, mpq_t addend1, mpq_t addend2)
void mpq_canonicalize (mpq_t op)
void mpq_class::canonicalize ()
void mpq_class::mpq_class (const char *s)
void mpq_class::mpq_class (const char *s, int base = 0)
void mpq_class::mpq_class (const string& s)
void mpq_class::mpq_class (const string& s, int base = 0)
void mpq_class::mpq_class (integer num, integer den)
void mpq_class::mpq_class (mpq_t q)
void mpq_class::mpq_class (type op)
void mpq_clear (mpq_t x)
void mpq_clears (mpq_t x, ...)
void mpq_div (mpq_t quotient, mpq_t dividend, mpq_t divisor)
void mpq_div_2exp (mpq_t rop, mpq_t op1, mp_bitcnt_t op2)
void mpq_get_den (mpz_t denominator, mpq_t rational)
void mpq_get_num (mpz_t numerator, mpq_t rational)
void mpq_init (mpq_t x)
void mpq_inits (mpq_t x, ...)
void mpq_inv (mpq_t inverted_number, mpq_t number)
void mpq_mul (mpq_t product, mpq_t multiplier, mpq_t multiplicand)
void mpq_mul_2exp (mpq_t rop, mpq_t op1, mp_bitcnt_t op2)
void mpq_neg (mpq_t negated_operand, mpq_t operand)
void mpq_set (mpq_t rop, mpq_t op)
void mpq_set_d (mpq_t rop, double op)
void mpq_set_den (mpq_t rational, mpz_t denominator)
void mpq_set_f (mpq_t rop, mpf_t op)
void mpq_set_num (mpq_t rational, mpz_t numerator)
void mpq_set_si (mpq_t rop, signed long int op1, unsigned long int op2)
void mpq_set_ui (mpq_t rop, unsigned long int op1, unsigned long int op2)
void mpq_set_z (mpq_t rop, mpz_t op)
void mpq_sub (mpq_t difference, mpq_t minuend, mpq_t subtrahend)
void mpq_swap (mpq_t rop1, mpq_t rop2)
void mpz_abs (mpz_t rop, mpz_t op)
void mpz_add (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_add_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
void mpz_addmul (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_addmul_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
void mpz_and (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_array_init (mpz_t integer_array, mp_size_t array_size, mp_size_t fixed_num_bits)
void mpz_bin_ui (mpz_t rop, mpz_t n, unsigned long int k)
void mpz_bin_uiui (mpz_t rop, unsigned long int n, unsigned long int k)
void mpz_cdiv_q (mpz_t q, mpz_t n, mpz_t d)
void mpz_cdiv_q_2exp (mpz_t q, mpz_t n, mp_bitcnt_t b)
void mpz_cdiv_qr (mpz_t q, mpz_t r, mpz_t n, mpz_t d)
void mpz_cdiv_r (mpz_t r, mpz_t n, mpz_t d)
void mpz_cdiv_r_2exp (mpz_t r, mpz_t n, mp_bitcnt_t b)
void mpz_class::mpz_class (const char *s)
void mpz_class::mpz_class (const char *s, int base = 0)
void mpz_class::mpz_class (const string& s)
void mpz_class::mpz_class (const string& s, int base = 0)
void mpz_class::mpz_class (mpz_t z)
void mpz_class::mpz_class (type n)
void mpz_clear (mpz_t x)
void mpz_clears (mpz_t x, ...)
void mpz_clrbit (mpz_t rop, mp_bitcnt_t bit_index)
void mpz_com (mpz_t rop, mpz_t op)
void mpz_combit (mpz_t rop, mp_bitcnt_t bit_index)
void mpz_divexact (mpz_t q, mpz_t n, mpz_t d)
void mpz_divexact_ui (mpz_t q, mpz_t n, unsigned long d)
void mpz_fac_ui (mpz_t rop, unsigned long int op)
void mpz_fdiv_q (mpz_t q, mpz_t n, mpz_t d)
void mpz_fdiv_q_2exp (mpz_t q, mpz_t n, mp_bitcnt_t b)
void mpz_fdiv_qr (mpz_t q, mpz_t r, mpz_t n, mpz_t d)
void mpz_fdiv_r (mpz_t r, mpz_t n, mpz_t d)
void mpz_fdiv_r_2exp (mpz_t r, mpz_t n, mp_bitcnt_t b)
void mpz_fib2_ui (mpz_t fn, mpz_t fnsub1, unsigned long int n)
void mpz_fib_ui (mpz_t fn, unsigned long int n)
void mpz_gcd (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_gcdext (mpz_t g, mpz_t s, mpz_t t, mpz_t a, mpz_t b)
void mpz_import (mpz_t rop, size_t count, int order, size_t size, int endian, size_t nails, const void *op)
void mpz_init (mpz_t x)
void mpz_init2 (mpz_t x, mp_bitcnt_t n)
void mpz_init_set (mpz_t rop, mpz_t op)
void mpz_init_set_d (mpz_t rop, double op)
void mpz_init_set_si (mpz_t rop, signed long int op)
void mpz_init_set_ui (mpz_t rop, unsigned long int op)
void mpz_inits (mpz_t x, ...)
void mpz_ior (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_lcm (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_lcm_ui (mpz_t rop, mpz_t op1, unsigned long op2)
void mpz_lucnum2_ui (mpz_t ln, mpz_t lnsub1, unsigned long int n)
void mpz_lucnum_ui (mpz_t ln, unsigned long int n)
void mpz_mod (mpz_t r, mpz_t n, mpz_t d)
void mpz_mul (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_mul_2exp (mpz_t rop, mpz_t op1, mp_bitcnt_t op2)
void mpz_mul_si (mpz_t rop, mpz_t op1, long int op2)
void mpz_mul_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
void mpz_neg (mpz_t rop, mpz_t op)
void mpz_nextprime (mpz_t rop, mpz_t op)
void mpz_pow_ui (mpz_t rop, mpz_t base, unsigned long int exp)
void mpz_powm (mpz_t rop, mpz_t base, mpz_t exp, mpz_t mod)
void mpz_powm_sec (mpz_t rop, mpz_t base, mpz_t exp, mpz_t mod)
void mpz_powm_ui (mpz_t rop, mpz_t base, unsigned long int exp, mpz_t mod)
void mpz_random (mpz_t rop, mp_size_t max_size)
void mpz_random2 (mpz_t rop, mp_size_t max_size)
void mpz_realloc2 (mpz_t x, mp_bitcnt_t n)
void mpz_rootrem (mpz_t root, mpz_t rem, mpz_t u, unsigned long int n)
void mpz_rrandomb (mpz_t rop, gmp_randstate_t state, mp_bitcnt_t n)
void mpz_set (mpz_t rop, mpz_t op)
void mpz_set_d (mpz_t rop, double op)
void mpz_set_f (mpz_t rop, mpf_t op)
void mpz_set_q (mpz_t rop, mpq_t op)
void mpz_set_si (mpz_t rop, signed long int op)
void mpz_set_ui (mpz_t rop, unsigned long int op)
void mpz_setbit (mpz_t rop, mp_bitcnt_t bit_index)
void mpz_sqrt (mpz_t rop, mpz_t op)
void mpz_sqrtrem (mpz_t rop1, mpz_t rop2, mpz_t op)
void mpz_sub (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_sub_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
void mpz_submul (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_submul_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
void mpz_swap (mpz_t rop1, mpz_t rop2)
void mpz_tdiv_q (mpz_t q, mpz_t n, mpz_t d)
void mpz_tdiv_q_2exp (mpz_t q, mpz_t n, mp_bitcnt_t b)
void mpz_tdiv_qr (mpz_t q, mpz_t r, mpz_t n, mpz_t d)
void mpz_tdiv_r (mpz_t r, mpz_t n, mpz_t d)
void mpz_tdiv_r_2exp (mpz_t r, mpz_t n, mp_bitcnt_t b)
void mpz_ui_pow_ui (mpz_t rop, unsigned long int base, unsigned long int exp)
void mpz_ui_sub (mpz_t rop, unsigned long int op1, mpz_t op2)
void mpz_urandomb (mpz_t rop, gmp_randstate_t state, mp_bitcnt_t n)
void mpz_urandomm (mpz_t rop, gmp_randstate_t state, mpz_t n)
void mpz_xor (mpz_t rop, mpz_t op1, mpz_t op2)
void msqrt (MINT *op, MINT *root, MINT *remainder)
void msub (MINT *src_1, MINT *src_2, MINT *destination)
void mult (MINT *src_1, MINT *src_2, MINT *destination)
void pow (MINT *base, MINT *exp, MINT *mod, MINT *dest)
void rpow (MINT *base, signed short int exp, MINT *dest)
void sdiv (MINT *dividend, signed short int divisor, MINT *quotient, signed short int *remainder)















ファイル名入り:
C_002b_002b-Interface-Rationals.html:void mpq_class::mpq_class (integer num, integer den)
C_002b_002b-Interface-Rationals.html:void mpq_class::mpq_class (mpq_t q)
C_002b_002b-Interface-Rationals.html:void mpq_class::mpq_class (const char *s)
C_002b_002b-Interface-Rationals.html:void mpq_class::mpq_class (const char *s, int base = 0)
C_002b_002b-Interface-Rationals.html:void mpq_class::mpq_class (const string& s)
C_002b_002b-Interface-Rationals.html:void mpq_class::mpq_class (const string& s, int base = 0)
C_002b_002b-Interface-Rationals.html:void mpq_class::canonicalize ()
C_002b_002b-Interface-Rationals.html:mpq_class abs (mpq_class op)
C_002b_002b-Interface-Rationals.html:int cmp (mpq_class op1, type op2)
C_002b_002b-Interface-Rationals.html:int cmp (type op1, mpq_class op2)
C_002b_002b-Interface-Rationals.html:double mpq_class::get_d (void)
C_002b_002b-Interface-Rationals.html:string mpq_class::get_str (int base = 10)
C_002b_002b-Interface-Rationals.html:int mpq_class::set_str (const char *str, int base)
C_002b_002b-Interface-Rationals.html:int mpq_class::set_str (const string& str, int base)
C_002b_002b-Interface-Rationals.html:int sgn (mpq_class op)
C_002b_002b-Interface-Rationals.html:mpz_class& mpq_class::get_num ()
C_002b_002b-Interface-Rationals.html:mpz_class& mpq_class::get_den ()
C_002b_002b-Interface-Rationals.html:mpz_t mpq_class::get_num_mpz_t ()
C_002b_002b-Interface-Rationals.html:mpz_t mpq_class::get_den_mpz_t ()
C_002b_002b-Interface-Rationals.html:istream& operator>> (istream& stream, mpq_class& rop);
Float-Comparison.html:int mpf_cmp (mpf_t op1, mpf_t op2)
Float-Comparison.html:int mpf_cmp_d (mpf_t op1, double op2)
Float-Comparison.html:int mpf_cmp_ui (mpf_t op1, unsigned long int op2)
Float-Comparison.html:int mpf_cmp_si (mpf_t op1, signed long int op2)
Float-Comparison.html:int mpf_eq (mpf_t op1, mpf_t op2, mp_bitcnt_t op3)
Float-Comparison.html:void mpf_reldiff (mpf_t rop, mpf_t op1, mpf_t op2)
Rational-Conversions.html:double mpq_get_d (mpq_t op)
Rational-Conversions.html:void mpq_set_d (mpq_t rop, double op)
Rational-Conversions.html:void mpq_set_f (mpq_t rop, mpf_t op)
Rational-Conversions.html:char * mpq_get_str (char *str, int base, mpq_t op)
Assigning-Floats.html:void mpf_set (mpf_t rop, mpf_t op)
Assigning-Floats.html:void mpf_set_ui (mpf_t rop, unsigned long int op)
Assigning-Floats.html:void mpf_set_si (mpf_t rop, signed long int op)
Assigning-Floats.html:void mpf_set_d (mpf_t rop, double op)
Assigning-Floats.html:void mpf_set_z (mpf_t rop, mpz_t op)
Assigning-Floats.html:void mpf_set_q (mpf_t rop, mpq_t op)
Assigning-Floats.html:int mpf_set_str (mpf_t rop, char *str, int base)
Assigning-Floats.html:void mpf_swap (mpf_t rop1, mpf_t rop2)
Simultaneous-Integer-Init-_0026-Assign.html:void mpz_init_set (mpz_t rop, mpz_t op)
Simultaneous-Integer-Init-_0026-Assign.html:void mpz_init_set_ui (mpz_t rop, unsigned long int op)
Simultaneous-Integer-Init-_0026-Assign.html:void mpz_init_set_si (mpz_t rop, signed long int op)
Simultaneous-Integer-Init-_0026-Assign.html:void mpz_init_set_d (mpz_t rop, double op)
Simultaneous-Integer-Init-_0026-Assign.html:int mpz_init_set_str (mpz_t rop, char *str, int base)
Random-State-Miscellaneous.html:unsigned long gmp_urandomb_ui (gmp_randstate_t state, unsigned long n)
Random-State-Miscellaneous.html:unsigned long gmp_urandomm_ui (gmp_randstate_t state, unsigned long n)
Initializing-Integers.html:void mpz_init (mpz_t x)
Initializing-Integers.html:void mpz_inits (mpz_t x, ...)
Initializing-Integers.html:void mpz_init2 (mpz_t x, mp_bitcnt_t n)
Initializing-Integers.html:void mpz_clear (mpz_t x)
Initializing-Integers.html:void mpz_clears (mpz_t x, ...)
Initializing-Integers.html:void mpz_realloc2 (mpz_t x, mp_bitcnt_t n)
Number-Theoretic-Functions.html:int mpz_probab_prime_p (mpz_t n, int reps)
Number-Theoretic-Functions.html:void mpz_nextprime (mpz_t rop, mpz_t op)
Number-Theoretic-Functions.html:void mpz_gcd (mpz_t rop, mpz_t op1, mpz_t op2)
Number-Theoretic-Functions.html:unsigned long int mpz_gcd_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
Number-Theoretic-Functions.html:void mpz_gcdext (mpz_t g, mpz_t s, mpz_t t, mpz_t a, mpz_t b)
Number-Theoretic-Functions.html:void mpz_lcm (mpz_t rop, mpz_t op1, mpz_t op2)
Number-Theoretic-Functions.html:void mpz_lcm_ui (mpz_t rop, mpz_t op1, unsigned long op2)
Number-Theoretic-Functions.html:int mpz_invert (mpz_t rop, mpz_t op1, mpz_t op2)
Number-Theoretic-Functions.html:int mpz_jacobi (mpz_t a, mpz_t b)
Number-Theoretic-Functions.html:int mpz_legendre (mpz_t a, mpz_t p)
Number-Theoretic-Functions.html:int mpz_kronecker (mpz_t a, mpz_t b)
Number-Theoretic-Functions.html:int mpz_kronecker_si (mpz_t a, long b)
Number-Theoretic-Functions.html:int mpz_kronecker_ui (mpz_t a, unsigned long b)
Number-Theoretic-Functions.html:int mpz_si_kronecker (long a, mpz_t b)
Number-Theoretic-Functions.html:int mpz_ui_kronecker (unsigned long a, mpz_t b)
Number-Theoretic-Functions.html:mp_bitcnt_t mpz_remove (mpz_t rop, mpz_t op, mpz_t f)
Number-Theoretic-Functions.html:void mpz_fac_ui (mpz_t rop, unsigned long int op)
Number-Theoretic-Functions.html:void mpz_bin_ui (mpz_t rop, mpz_t n, unsigned long int k)
Number-Theoretic-Functions.html:void mpz_bin_uiui (mpz_t rop, unsigned long int n, unsigned long int k)
Number-Theoretic-Functions.html:void mpz_fib_ui (mpz_t fn, unsigned long int n)
Number-Theoretic-Functions.html:void mpz_fib2_ui (mpz_t fn, mpz_t fnsub1, unsigned long int n)
Number-Theoretic-Functions.html:void mpz_lucnum_ui (mpz_t ln, unsigned long int n)
Number-Theoretic-Functions.html:void mpz_lucnum2_ui (mpz_t ln, mpz_t lnsub1, unsigned long int n)
Assigning-Integers.html:void mpz_set (mpz_t rop, mpz_t op)
Assigning-Integers.html:void mpz_set_ui (mpz_t rop, unsigned long int op)
Assigning-Integers.html:void mpz_set_si (mpz_t rop, signed long int op)
Assigning-Integers.html:void mpz_set_d (mpz_t rop, double op)
Assigning-Integers.html:void mpz_set_q (mpz_t rop, mpq_t op)
Assigning-Integers.html:void mpz_set_f (mpz_t rop, mpf_t op)
Assigning-Integers.html:int mpz_set_str (mpz_t rop, char *str, int base)
Assigning-Integers.html:void mpz_swap (mpz_t rop1, mpz_t rop2)
Integer-Roots.html:int mpz_root (mpz_t rop, mpz_t op, unsigned long int n)
Integer-Roots.html:void mpz_rootrem (mpz_t root, mpz_t rem, mpz_t u, unsigned long int n)
Integer-Roots.html:void mpz_sqrt (mpz_t rop, mpz_t op)
Integer-Roots.html:void mpz_sqrtrem (mpz_t rop1, mpz_t rop2, mpz_t op)
Integer-Roots.html:int mpz_perfect_power_p (mpz_t op)
Integer-Roots.html:int mpz_perfect_square_p (mpz_t op)
I_002fO-of-Floats.html:size_t mpf_out_str (FILE *stream, int base, size_t n_digits, mpf_t op)
I_002fO-of-Floats.html:size_t mpf_inp_str (mpf_t rop, FILE *stream, int base)
Comparing-Rationals.html:int mpq_cmp (mpq_t op1, mpq_t op2)
Comparing-Rationals.html:int mpq_equal (mpq_t op1, mpq_t op2)
Integer-Exponentiation.html:void mpz_powm (mpz_t rop, mpz_t base, mpz_t exp, mpz_t mod)
Integer-Exponentiation.html:void mpz_powm_ui (mpz_t rop, mpz_t base, unsigned long int exp, mpz_t mod)
Integer-Exponentiation.html:void mpz_powm_sec (mpz_t rop, mpz_t base, mpz_t exp, mpz_t mod)
Integer-Exponentiation.html:void mpz_pow_ui (mpz_t rop, mpz_t base, unsigned long int exp)
Integer-Exponentiation.html:void mpz_ui_pow_ui (mpz_t rop, unsigned long int base, unsigned long int exp)
Initializing-Rationals.html:void mpq_init (mpq_t x)
Initializing-Rationals.html:void mpq_inits (mpq_t x, ...)
Initializing-Rationals.html:void mpq_clear (mpq_t x)
Initializing-Rationals.html:void mpq_clears (mpq_t x, ...)
Initializing-Rationals.html:void mpq_set (mpq_t rop, mpq_t op)
Initializing-Rationals.html:void mpq_set_z (mpq_t rop, mpz_t op)
Initializing-Rationals.html:void mpq_set_ui (mpq_t rop, unsigned long int op1, unsigned long int op2)
Initializing-Rationals.html:void mpq_set_si (mpq_t rop, signed long int op1, unsigned long int op2)
Initializing-Rationals.html:int mpq_set_str (mpq_t rop, char *str, int base)
Initializing-Rationals.html:void mpq_swap (mpq_t rop1, mpq_t rop2)
Formatted-Input-Functions.html:int gmp_scanf (const char *fmt, ...)
Formatted-Input-Functions.html:int gmp_vscanf (const char *fmt, va_list ap)
Formatted-Input-Functions.html:int gmp_fscanf (FILE *fp, const char *fmt, ...)
Formatted-Input-Functions.html:int gmp_vfscanf (FILE *fp, const char *fmt, va_list ap)
Formatted-Input-Functions.html:int gmp_sscanf (const char *s, const char *fmt, ...)
Formatted-Input-Functions.html:int gmp_vsscanf (const char *s, const char *fmt, va_list ap)
Integer-Arithmetic.html:void mpz_add (mpz_t rop, mpz_t op1, mpz_t op2)
Integer-Arithmetic.html:void mpz_add_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
Integer-Arithmetic.html:void mpz_sub (mpz_t rop, mpz_t op1, mpz_t op2)
Integer-Arithmetic.html:void mpz_sub_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
Integer-Arithmetic.html:void mpz_ui_sub (mpz_t rop, unsigned long int op1, mpz_t op2)
Integer-Arithmetic.html:void mpz_mul (mpz_t rop, mpz_t op1, mpz_t op2)
Integer-Arithmetic.html:void mpz_mul_si (mpz_t rop, mpz_t op1, long int op2)
Integer-Arithmetic.html:void mpz_mul_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
Integer-Arithmetic.html:void mpz_addmul (mpz_t rop, mpz_t op1, mpz_t op2)
Integer-Arithmetic.html:void mpz_addmul_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
Integer-Arithmetic.html:void mpz_submul (mpz_t rop, mpz_t op1, mpz_t op2)
Integer-Arithmetic.html:void mpz_submul_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
Integer-Arithmetic.html:void mpz_mul_2exp (mpz_t rop, mpz_t op1, mp_bitcnt_t op2)
Integer-Arithmetic.html:void mpz_neg (mpz_t rop, mpz_t op)
Integer-Arithmetic.html:void mpz_abs (mpz_t rop, mpz_t op)
Rational-Number-Functions.html:void mpq_canonicalize (mpq_t op)
Float-Arithmetic.html:void mpf_add (mpf_t rop, mpf_t op1, mpf_t op2)
Float-Arithmetic.html:void mpf_add_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
Float-Arithmetic.html:void mpf_sub (mpf_t rop, mpf_t op1, mpf_t op2)
Float-Arithmetic.html:void mpf_ui_sub (mpf_t rop, unsigned long int op1, mpf_t op2)
Float-Arithmetic.html:void mpf_sub_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
Float-Arithmetic.html:void mpf_mul (mpf_t rop, mpf_t op1, mpf_t op2)
Float-Arithmetic.html:void mpf_mul_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
Float-Arithmetic.html:void mpf_div (mpf_t rop, mpf_t op1, mpf_t op2)
Float-Arithmetic.html:void mpf_ui_div (mpf_t rop, unsigned long int op1, mpf_t op2)
Float-Arithmetic.html:void mpf_div_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
Float-Arithmetic.html:void mpf_sqrt (mpf_t rop, mpf_t op)
Float-Arithmetic.html:void mpf_sqrt_ui (mpf_t rop, unsigned long int op)
Float-Arithmetic.html:void mpf_pow_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
Float-Arithmetic.html:void mpf_neg (mpf_t rop, mpf_t op)
Float-Arithmetic.html:void mpf_abs (mpf_t rop, mpf_t op)
Float-Arithmetic.html:void mpf_mul_2exp (mpf_t rop, mpf_t op1, mp_bitcnt_t op2)
Float-Arithmetic.html:void mpf_div_2exp (mpf_t rop, mpf_t op1, mp_bitcnt_t op2)
Integer-Random-Numbers.html:void mpz_urandomb (mpz_t rop, gmp_randstate_t state, mp_bitcnt_t n)
Integer-Random-Numbers.html:void mpz_urandomm (mpz_t rop, gmp_randstate_t state, mpz_t n)
Integer-Random-Numbers.html:void mpz_rrandomb (mpz_t rop, gmp_randstate_t state, mp_bitcnt_t n)
Integer-Random-Numbers.html:void mpz_random (mpz_t rop, mp_size_t max_size)
Integer-Random-Numbers.html:void mpz_random2 (mpz_t rop, mp_size_t max_size)
Random-State-Seeding.html:void gmp_randseed (gmp_randstate_t state, mpz_t seed)
Random-State-Seeding.html:void gmp_randseed_ui (gmp_randstate_t state, unsigned long int seed)
C_002b_002b-Formatted-Output.html:ostream& operator<< (ostream& stream, mpz_t op)
C_002b_002b-Formatted-Output.html:ostream& operator<< (ostream& stream, mpq_t op)
C_002b_002b-Formatted-Output.html:ostream& operator<< (ostream& stream, mpf_t op)
Low_002dlevel-Functions.html:mp_limb_t mpn_add_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:mp_limb_t mpn_add_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
Low_002dlevel-Functions.html:mp_limb_t mpn_add (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t s1n, const mp_limb_t *s2p, mp_size_t s2n)
Low_002dlevel-Functions.html:mp_limb_t mpn_sub_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:mp_limb_t mpn_sub_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
Low_002dlevel-Functions.html:mp_limb_t mpn_sub (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t s1n, const mp_limb_t *s2p, mp_size_t s2n)
Low_002dlevel-Functions.html:void mpn_neg (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_mul_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:mp_limb_t mpn_mul (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t s1n, const mp_limb_t *s2p, mp_size_t s2n)
Low_002dlevel-Functions.html:void mpn_sqr (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n)
Low_002dlevel-Functions.html:mp_limb_t mpn_mul_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
Low_002dlevel-Functions.html:mp_limb_t mpn_addmul_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
Low_002dlevel-Functions.html:mp_limb_t mpn_submul_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
Low_002dlevel-Functions.html:void mpn_tdiv_qr (mp_limb_t *qp, mp_limb_t *rp, mp_size_t qxn, const mp_limb_t *np, mp_size_t nn, const mp_limb_t *dp, mp_size_t dn)
Low_002dlevel-Functions.html:mp_limb_t mpn_divrem (mp_limb_t *r1p, mp_size_t qxn, mp_limb_t *rs2p, mp_size_t rs2n, const mp_limb_t *s3p, mp_size_t s3n)
Low_002dlevel-Functions.html:mp_limb_t mpn_divrem_1 (mp_limb_t *r1p, mp_size_t qxn, mp_limb_t *s2p, mp_size_t s2n, mp_limb_t s3limb)
Low_002dlevel-Functions.html:mp_limb_t mpn_divmod (mp_limb_t *r1p, mp_limb_t *rs2p, mp_size_t rs2n, const mp_limb_t *s3p, mp_size_t s3n)
Low_002dlevel-Functions.html:mp_limb_t mpn_divexact_by3c (mp_limb_t *rp, mp_limb_t *sp, mp_size_t n, mp_limb_t carry)
Low_002dlevel-Functions.html:mp_limb_t mpn_mod_1 (mp_limb_t *s1p, mp_size_t s1n, mp_limb_t s2limb)
Low_002dlevel-Functions.html:mp_limb_t mpn_lshift (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n, unsigned int count)
Low_002dlevel-Functions.html:mp_limb_t mpn_rshift (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n, unsigned int count)
Low_002dlevel-Functions.html:int mpn_cmp (const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:mp_size_t mpn_gcd (mp_limb_t *rp, mp_limb_t *xp, mp_size_t xn, mp_limb_t *yp, mp_size_t yn)
Low_002dlevel-Functions.html:mp_limb_t mpn_gcd_1 (const mp_limb_t *xp, mp_size_t xn, mp_limb_t ylimb)
Low_002dlevel-Functions.html:mp_size_t mpn_gcdext (mp_limb_t *gp, mp_limb_t *sp, mp_size_t *sn, mp_limb_t *xp, mp_size_t xn, mp_limb_t *yp, mp_size_t yn)
Low_002dlevel-Functions.html:mp_size_t mpn_sqrtrem (mp_limb_t *r1p, mp_limb_t *r2p, const mp_limb_t *sp, mp_size_t n)
Low_002dlevel-Functions.html:mp_size_t mpn_get_str (unsigned char *str, int base, mp_limb_t *s1p, mp_size_t s1n)
Low_002dlevel-Functions.html:mp_size_t mpn_set_str (mp_limb_t *rp, const unsigned char *str, size_t strsize, int base)
Low_002dlevel-Functions.html:mp_bitcnt_t mpn_scan0 (const mp_limb_t *s1p, mp_bitcnt_t bit)
Low_002dlevel-Functions.html:mp_bitcnt_t mpn_scan1 (const mp_limb_t *s1p, mp_bitcnt_t bit)
Low_002dlevel-Functions.html:void mpn_random (mp_limb_t *r1p, mp_size_t r1n)
Low_002dlevel-Functions.html:void mpn_random2 (mp_limb_t *r1p, mp_size_t r1n)
Low_002dlevel-Functions.html:mp_bitcnt_t mpn_popcount (const mp_limb_t *s1p, mp_size_t n)
Low_002dlevel-Functions.html:mp_bitcnt_t mpn_hamdist (const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:int mpn_perfect_square_p (const mp_limb_t *s1p, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_and_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_ior_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_xor_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_andn_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_iorn_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_nand_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_nior_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_xnor_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_com (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_copyi (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_copyd (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n)
Low_002dlevel-Functions.html:void mpn_zero (mp_limb_t *rp, mp_size_t n)
C_002b_002b-Interface-Floats.html: mpf_class::mpf_class (type op)
C_002b_002b-Interface-Floats.html: mpf_class::mpf_class (type op, unsigned long prec)
C_002b_002b-Interface-Floats.html:void mpf_class::mpf_class (const char *s)
C_002b_002b-Interface-Floats.html:void mpf_class::mpf_class (const char *s, unsigned long prec, int base = 0)
C_002b_002b-Interface-Floats.html:void mpf_class::mpf_class (const string& s)
C_002b_002b-Interface-Floats.html:void mpf_class::mpf_class (const string& s, unsigned long prec, int base = 0)
C_002b_002b-Interface-Floats.html:mpf_class& mpf_class::operator= (type op)
C_002b_002b-Interface-Floats.html:mpf_class abs (mpf_class op)
C_002b_002b-Interface-Floats.html:mpf_class ceil (mpf_class op)
C_002b_002b-Interface-Floats.html:int cmp (mpf_class op1, type op2)
C_002b_002b-Interface-Floats.html:int cmp (type op1, mpf_class op2)
C_002b_002b-Interface-Floats.html:bool mpf_class::fits_sint_p (void)
C_002b_002b-Interface-Floats.html:bool mpf_class::fits_slong_p (void)
C_002b_002b-Interface-Floats.html:bool mpf_class::fits_sshort_p (void)
C_002b_002b-Interface-Floats.html:bool mpf_class::fits_uint_p (void)
C_002b_002b-Interface-Floats.html:bool mpf_class::fits_ulong_p (void)
C_002b_002b-Interface-Floats.html:bool mpf_class::fits_ushort_p (void)
C_002b_002b-Interface-Floats.html:mpf_class floor (mpf_class op)
C_002b_002b-Interface-Floats.html:mpf_class hypot (mpf_class op1, mpf_class op2)
C_002b_002b-Interface-Floats.html:double mpf_class::get_d (void)
C_002b_002b-Interface-Floats.html:long mpf_class::get_si (void)
C_002b_002b-Interface-Floats.html:string mpf_class::get_str (mp_exp_t& exp, int base = 10, size_t digits = 0)
C_002b_002b-Interface-Floats.html:unsigned long mpf_class::get_ui (void)
C_002b_002b-Interface-Floats.html:int mpf_class::set_str (const char *str, int base)
C_002b_002b-Interface-Floats.html:int mpf_class::set_str (const string& str, int base)
C_002b_002b-Interface-Floats.html:int sgn (mpf_class op)
C_002b_002b-Interface-Floats.html:mpf_class sqrt (mpf_class op)
C_002b_002b-Interface-Floats.html:mpf_class trunc (mpf_class op)
C_002b_002b-Interface-Floats.html:mp_bitcnt_t mpf_class::get_prec ()
C_002b_002b-Interface-Floats.html:void mpf_class::set_prec (mp_bitcnt_t prec)
C_002b_002b-Interface-Floats.html:void mpf_class::set_prec_raw (mp_bitcnt_t prec)
Converting-Floats.html:double mpf_get_d (mpf_t op)
Converting-Floats.html:double mpf_get_d_2exp (signed long int *exp, mpf_t op)
Converting-Floats.html:long mpf_get_si (mpf_t op)
Converting-Floats.html:unsigned long mpf_get_ui (mpf_t op)
Converting-Floats.html:char * mpf_get_str (char *str, mp_exp_t *expptr, int base, size_t n_digits, mpf_t op)
Applying-Integer-Functions.html:void mpq_get_num (mpz_t numerator, mpq_t rational)
Applying-Integer-Functions.html:void mpq_get_den (mpz_t denominator, mpq_t rational)
Applying-Integer-Functions.html:void mpq_set_num (mpq_t rational, mpz_t numerator)
Applying-Integer-Functions.html:void mpq_set_den (mpq_t rational, mpz_t denominator)
Converting-Integers.html:unsigned long int mpz_get_ui (mpz_t op)
Converting-Integers.html:signed long int mpz_get_si (mpz_t op)
Converting-Integers.html:double mpz_get_d (mpz_t op)
Converting-Integers.html:double mpz_get_d_2exp (signed long int *exp, mpz_t op)
Converting-Integers.html:char * mpz_get_str (char *str, int base, mpz_t op)
Integer-Import-and-Export.html:void mpz_import (mpz_t rop, size_t count, int order, size_t size, int endian, size_t nails, const void *op)
Integer-Import-and-Export.html:void * mpz_export (void *rop, size_t *countp, int order, size_t size, int endian, size_t nails, mpz_t op)
C_002b_002b-Interface-Random-Numbers.html: gmp_randclass::gmp_randclass (void (*randinit) (gmp_randstate_t, ...), ...)
C_002b_002b-Interface-Random-Numbers.html: gmp_randclass::gmp_randclass (gmp_randalg_t alg, ...)
C_002b_002b-Interface-Random-Numbers.html:void gmp_randclass::seed (unsigned long int s)
C_002b_002b-Interface-Random-Numbers.html:void gmp_randclass::seed (mpz_class s)
C_002b_002b-Interface-Random-Numbers.html:mpz_class gmp_randclass::get_z_bits (unsigned long bits)
C_002b_002b-Interface-Random-Numbers.html:mpz_class gmp_randclass::get_z_bits (mpz_class bits)
C_002b_002b-Interface-Random-Numbers.html:mpz_class gmp_randclass::get_z_range (mpz_class n)
C_002b_002b-Interface-Random-Numbers.html:mpf_class gmp_randclass::get_f ()
C_002b_002b-Interface-Random-Numbers.html:mpf_class gmp_randclass::get_f (unsigned long prec)
Initializing-Floats.html:void mpf_set_default_prec (mp_bitcnt_t prec)
Initializing-Floats.html:mp_bitcnt_t mpf_get_default_prec (void)
Initializing-Floats.html:void mpf_init (mpf_t x)
Initializing-Floats.html:void mpf_init2 (mpf_t x, mp_bitcnt_t prec)
Initializing-Floats.html:void mpf_inits (mpf_t x, ...)
Initializing-Floats.html:void mpf_clear (mpf_t x)
Initializing-Floats.html:void mpf_clears (mpf_t x, ...)
Initializing-Floats.html:mp_bitcnt_t mpf_get_prec (mpf_t op)
Initializing-Floats.html:void mpf_set_prec (mpf_t rop, mp_bitcnt_t prec)
Initializing-Floats.html:void mpf_set_prec_raw (mpf_t rop, mp_bitcnt_t prec)
C_002b_002b-Interface-General.html:mpz_t mpz_class::get_mpz_t ()
C_002b_002b-Interface-General.html:mpq_t mpq_class::get_mpq_t ()
C_002b_002b-Interface-General.html:mpf_t mpf_class::get_mpf_t ()
Integer-Logic-and-Bit-Fiddling.html:void mpz_and (mpz_t rop, mpz_t op1, mpz_t op2)
Integer-Logic-and-Bit-Fiddling.html:void mpz_ior (mpz_t rop, mpz_t op1, mpz_t op2)
Integer-Logic-and-Bit-Fiddling.html:void mpz_xor (mpz_t rop, mpz_t op1, mpz_t op2)
Integer-Logic-and-Bit-Fiddling.html:void mpz_com (mpz_t rop, mpz_t op)
Integer-Logic-and-Bit-Fiddling.html:mp_bitcnt_t mpz_popcount (mpz_t op)
Integer-Logic-and-Bit-Fiddling.html:mp_bitcnt_t mpz_hamdist (mpz_t op1, mpz_t op2)
Integer-Logic-and-Bit-Fiddling.html:mp_bitcnt_t mpz_scan0 (mpz_t op, mp_bitcnt_t starting_bit)
Integer-Logic-and-Bit-Fiddling.html:mp_bitcnt_t mpz_scan1 (mpz_t op, mp_bitcnt_t starting_bit)
Integer-Logic-and-Bit-Fiddling.html:void mpz_setbit (mpz_t rop, mp_bitcnt_t bit_index)
Integer-Logic-and-Bit-Fiddling.html:void mpz_clrbit (mpz_t rop, mp_bitcnt_t bit_index)
Integer-Logic-and-Bit-Fiddling.html:void mpz_combit (mpz_t rop, mp_bitcnt_t bit_index)
Integer-Logic-and-Bit-Fiddling.html:int mpz_tstbit (mpz_t op, mp_bitcnt_t bit_index)
Miscellaneous-Integer-Functions.html:int mpz_fits_ulong_p (mpz_t op)
Miscellaneous-Integer-Functions.html:int mpz_fits_slong_p (mpz_t op)
Miscellaneous-Integer-Functions.html:int mpz_fits_uint_p (mpz_t op)
Miscellaneous-Integer-Functions.html:int mpz_fits_sint_p (mpz_t op)
Miscellaneous-Integer-Functions.html:int mpz_fits_ushort_p (mpz_t op)
Miscellaneous-Integer-Functions.html:int mpz_fits_sshort_p (mpz_t op)
Miscellaneous-Integer-Functions.html:size_t mpz_sizeinbase (mpz_t op, int base)
Simultaneous-Float-Init-_0026-Assign.html:void mpf_init_set (mpf_t rop, mpf_t op)
Simultaneous-Float-Init-_0026-Assign.html:void mpf_init_set_ui (mpf_t rop, unsigned long int op)
Simultaneous-Float-Init-_0026-Assign.html:void mpf_init_set_si (mpf_t rop, signed long int op)
Simultaneous-Float-Init-_0026-Assign.html:void mpf_init_set_d (mpf_t rop, double op)
Simultaneous-Float-Init-_0026-Assign.html:int mpf_init_set_str (mpf_t rop, char *str, int base)
I_002fO-of-Rationals.html:size_t mpq_out_str (FILE *stream, int base, mpq_t op)
I_002fO-of-Rationals.html:size_t mpq_inp_str (mpq_t rop, FILE *stream, int base)
Formatted-Output-Functions.html:int gmp_printf (const char *fmt, ...)
Formatted-Output-Functions.html:int gmp_vprintf (const char *fmt, va_list ap)
Formatted-Output-Functions.html:int gmp_fprintf (FILE *fp, const char *fmt, ...)
Formatted-Output-Functions.html:int gmp_vfprintf (FILE *fp, const char *fmt, va_list ap)
Formatted-Output-Functions.html:int gmp_sprintf (char *buf, const char *fmt, ...)
Formatted-Output-Functions.html:int gmp_vsprintf (char *buf, const char *fmt, va_list ap)
Formatted-Output-Functions.html:int gmp_snprintf (char *buf, size_t size, const char *fmt, ...)
Formatted-Output-Functions.html:int gmp_vsnprintf (char *buf, size_t size, const char *fmt, va_list ap)
Formatted-Output-Functions.html:int gmp_asprintf (char **pp, const char *fmt, ...)
Formatted-Output-Functions.html:int gmp_vasprintf (char **pp, const char *fmt, va_list ap)
Formatted-Output-Functions.html:int gmp_obstack_printf (struct obstack *ob, const char *fmt, ...)
Formatted-Output-Functions.html:int gmp_obstack_vprintf (struct obstack *ob, const char *fmt, va_list ap)
Integer-Comparisons.html:int mpz_cmp (mpz_t op1, mpz_t op2)
Integer-Comparisons.html:int mpz_cmp_d (mpz_t op1, double op2)
Integer-Comparisons.html:int mpz_cmpabs (mpz_t op1, mpz_t op2)
Integer-Comparisons.html:int mpz_cmpabs_d (mpz_t op1, double op2)
Integer-Comparisons.html:int mpz_cmpabs_ui (mpz_t op1, unsigned long int op2)
Rational-Arithmetic.html:void mpq_add (mpq_t sum, mpq_t addend1, mpq_t addend2)
Rational-Arithmetic.html:void mpq_sub (mpq_t difference, mpq_t minuend, mpq_t subtrahend)
Rational-Arithmetic.html:void mpq_mul (mpq_t product, mpq_t multiplier, mpq_t multiplicand)
Rational-Arithmetic.html:void mpq_mul_2exp (mpq_t rop, mpq_t op1, mp_bitcnt_t op2)
Rational-Arithmetic.html:void mpq_div (mpq_t quotient, mpq_t dividend, mpq_t divisor)
Rational-Arithmetic.html:void mpq_div_2exp (mpq_t rop, mpq_t op1, mp_bitcnt_t op2)
Rational-Arithmetic.html:void mpq_neg (mpq_t negated_operand, mpq_t operand)
Rational-Arithmetic.html:void mpq_abs (mpq_t rop, mpq_t op)
Rational-Arithmetic.html:void mpq_inv (mpq_t inverted_number, mpq_t number)
C_002b_002b-Interface-Integers.html:void mpz_class::mpz_class (type n)
C_002b_002b-Interface-Integers.html:void mpz_class::mpz_class (mpz_t z)
C_002b_002b-Interface-Integers.html:void mpz_class::mpz_class (const char *s)
C_002b_002b-Interface-Integers.html:void mpz_class::mpz_class (const char *s, int base = 0)
C_002b_002b-Interface-Integers.html:void mpz_class::mpz_class (const string& s)
C_002b_002b-Interface-Integers.html:void mpz_class::mpz_class (const string& s, int base = 0)
(mpz_class a, mpz_class d)
C_002b_002b-Interface-Integers.html:mpz_class operator% (mpz_class a, mpz_class d)
C_002b_002b-Interface-Integers.html:mpz_class abs (mpz_class op1)
C_002b_002b-Interface-Integers.html:int cmp (mpz_class op1, type op2)
C_002b_002b-Interface-Integers.html:int cmp (type op1, mpz_class op2)
C_002b_002b-Interface-Integers.html:bool mpz_class::fits_sint_p (void)
C_002b_002b-Interface-Integers.html:bool mpz_class::fits_slong_p (void)
C_002b_002b-Interface-Integers.html:bool mpz_class::fits_sshort_p (void)
C_002b_002b-Interface-Integers.html:bool mpz_class::fits_uint_p (void)
C_002b_002b-Interface-Integers.html:bool mpz_class::fits_ulong_p (void)
C_002b_002b-Interface-Integers.html:bool mpz_class::fits_ushort_p (void)
C_002b_002b-Interface-Integers.html:double mpz_class::get_d (void)
C_002b_002b-Interface-Integers.html:long mpz_class::get_si (void)
C_002b_002b-Interface-Integers.html:string mpz_class::get_str (int base = 10)
C_002b_002b-Interface-Integers.html:unsigned long mpz_class::get_ui (void)
C_002b_002b-Interface-Integers.html:int mpz_class::set_str (const char *str, int base)
C_002b_002b-Interface-Integers.html:int mpz_class::set_str (const string& str, int base)
C_002b_002b-Interface-Integers.html:int sgn (mpz_class op)
C_002b_002b-Interface-Integers.html:mpz_class sqrt (mpz_class op)
C_002b_002b-Formatted-Input.html:istream& operator>> (istream& stream, mpz_t rop)
C_002b_002b-Formatted-Input.html:istream& operator>> (istream& stream, mpq_t rop)
C_002b_002b-Formatted-Input.html:istream& operator>> (istream& stream, mpf_t rop)
Integer-Division.html:void mpz_cdiv_q (mpz_t q, mpz_t n, mpz_t d)
Integer-Division.html:void mpz_cdiv_r (mpz_t r, mpz_t n, mpz_t d)
Integer-Division.html:void mpz_cdiv_qr (mpz_t q, mpz_t r, mpz_t n, mpz_t d)
Integer-Division.html:unsigned long int mpz_cdiv_q_ui (mpz_t q, mpz_t n, unsigned long int d)
Integer-Division.html:unsigned long int mpz_cdiv_r_ui (mpz_t r, mpz_t n, unsigned long int d)
Integer-Division.html:unsigned long int mpz_cdiv_qr_ui (mpz_t q, mpz_t r, mpz_t n, unsigned long int d)
Integer-Division.html:unsigned long int mpz_cdiv_ui (mpz_t n, unsigned long int d)
Integer-Division.html:void mpz_cdiv_q_2exp (mpz_t q, mpz_t n, mp_bitcnt_t b)
Integer-Division.html:void mpz_cdiv_r_2exp (mpz_t r, mpz_t n, mp_bitcnt_t b)
Integer-Division.html:void mpz_fdiv_q (mpz_t q, mpz_t n, mpz_t d)
Integer-Division.html:void mpz_fdiv_r (mpz_t r, mpz_t n, mpz_t d)
Integer-Division.html:void mpz_fdiv_qr (mpz_t q, mpz_t r, mpz_t n, mpz_t d)
Integer-Division.html:unsigned long int mpz_fdiv_q_ui (mpz_t q, mpz_t n, unsigned long int d)
Integer-Division.html:unsigned long int mpz_fdiv_r_ui (mpz_t r, mpz_t n, unsigned long int d)
Integer-Division.html:unsigned long int mpz_fdiv_qr_ui (mpz_t q, mpz_t r, mpz_t n, unsigned long int d)
Integer-Division.html:unsigned long int mpz_fdiv_ui (mpz_t n, unsigned long int d)
Integer-Division.html:void mpz_fdiv_q_2exp (mpz_t q, mpz_t n, mp_bitcnt_t b)
Integer-Division.html:void mpz_fdiv_r_2exp (mpz_t r, mpz_t n, mp_bitcnt_t b)
Integer-Division.html:void mpz_tdiv_q (mpz_t q, mpz_t n, mpz_t d)
Integer-Division.html:void mpz_tdiv_r (mpz_t r, mpz_t n, mpz_t d)
Integer-Division.html:void mpz_tdiv_qr (mpz_t q, mpz_t r, mpz_t n, mpz_t d)
Integer-Division.html:unsigned long int mpz_tdiv_q_ui (mpz_t q, mpz_t n, unsigned long int d)
Integer-Division.html:unsigned long int mpz_tdiv_r_ui (mpz_t r, mpz_t n, unsigned long int d)
Integer-Division.html:unsigned long int mpz_tdiv_qr_ui (mpz_t q, mpz_t r, mpz_t n, unsigned long int d)
Integer-Division.html:unsigned long int mpz_tdiv_ui (mpz_t n, unsigned long int d)
Integer-Division.html:void mpz_tdiv_q_2exp (mpz_t q, mpz_t n, mp_bitcnt_t b)
Integer-Division.html:void mpz_tdiv_r_2exp (mpz_t r, mpz_t n, mp_bitcnt_t b)
Integer-Division.html:void mpz_mod (mpz_t r, mpz_t n, mpz_t d)
Integer-Division.html:unsigned long int mpz_mod_ui (mpz_t r, mpz_t n, unsigned long int d)
Integer-Division.html:void mpz_divexact (mpz_t q, mpz_t n, mpz_t d)
Integer-Division.html:void mpz_divexact_ui (mpz_t q, mpz_t n, unsigned long d)
Integer-Division.html:int mpz_divisible_p (mpz_t n, mpz_t d)
Integer-Division.html:int mpz_divisible_ui_p (mpz_t n, unsigned long int d)
Integer-Division.html:int mpz_divisible_2exp_p (mpz_t n, mp_bitcnt_t b)
Integer-Division.html:int mpz_congruent_p (mpz_t n, mpz_t c, mpz_t d)
Integer-Division.html:int mpz_congruent_ui_p (mpz_t n, unsigned long int c, unsigned long int d)
Integer-Division.html:int mpz_congruent_2exp_p (mpz_t n, mpz_t c, mp_bitcnt_t b)
I_002fO-of-Integers.html:size_t mpz_out_str (FILE *stream, int base, mpz_t op)
I_002fO-of-Integers.html:size_t mpz_inp_str (mpz_t rop, FILE *stream, int base)
I_002fO-of-Integers.html:size_t mpz_out_raw (FILE *stream, mpz_t op)
I_002fO-of-Integers.html:size_t mpz_inp_raw (mpz_t rop, FILE *stream)
Integer-Special-Functions.html:void mpz_array_init (mpz_t integer_array, mp_size_t array_size, mp_size_t fixed_num_bits)
Integer-Special-Functions.html:void * _mpz_realloc (mpz_t integer, mp_size_t new_alloc)
Integer-Special-Functions.html:mp_limb_t mpz_getlimbn (mpz_t op, mp_size_t n)
Integer-Special-Functions.html:size_t mpz_size (mpz_t op)
Random-State-Initialization.html:void gmp_randinit_default (gmp_randstate_t state)
Random-State-Initialization.html:void gmp_randinit_mt (gmp_randstate_t state)
Random-State-Initialization.html:void gmp_randinit_lc_2exp (gmp_randstate_t state, mpz_t a, unsigned long c, mp_bitcnt_t m2exp)
Random-State-Initialization.html:int gmp_randinit_lc_2exp_size (gmp_randstate_t state, mp_bitcnt_t size)
Random-State-Initialization.html:void gmp_randinit_set (gmp_randstate_t rop, gmp_randstate_t op)
Random-State-Initialization.html:void gmp_randinit (gmp_randstate_t state, gmp_randalg_t alg, ...)
Random-State-Initialization.html:void gmp_randclear (gmp_randstate_t state)
BSD-Compatible-Functions.html:MINT * itom (signed short int initial_value)
BSD-Compatible-Functions.html:MINT * xtom (char *initial_value)
BSD-Compatible-Functions.html:void move (MINT *src, MINT *dest)
BSD-Compatible-Functions.html:void madd (MINT *src_1, MINT *src_2, MINT *destination)
BSD-Compatible-Functions.html:void msub (MINT *src_1, MINT *src_2, MINT *destination)
BSD-Compatible-Functions.html:void mult (MINT *src_1, MINT *src_2, MINT *destination)
BSD-Compatible-Functions.html:void mdiv (MINT *dividend, MINT *divisor, MINT *quotient, MINT *remainder)
BSD-Compatible-Functions.html:void sdiv (MINT *dividend, signed short int divisor, MINT *quotient, signed short int *remainder)
BSD-Compatible-Functions.html:void msqrt (MINT *op, MINT *root, MINT *remainder)
BSD-Compatible-Functions.html:void pow (MINT *base, MINT *exp, MINT *mod, MINT *dest)
BSD-Compatible-Functions.html:void rpow (MINT *base, signed short int exp, MINT *dest)
BSD-Compatible-Functions.html:void gcd (MINT *op1, MINT *op2, MINT *res)
BSD-Compatible-Functions.html:int mcmp (MINT *op1, MINT *op2)
BSD-Compatible-Functions.html:void min (MINT *dest)
BSD-Compatible-Functions.html:void mout (MINT *src)
BSD-Compatible-Functions.html:char * mtox (MINT *op)
BSD-Compatible-Functions.html:void mfree (MINT *op)
Custom-Allocation.html:void mp_set_memory_functions ( void *(*alloc_func_ptr) (size_t), void *(*realloc_func_ptr) (void *, size_t, size_t), void (*free_func_ptr) (void *, size_t))
Custom-Allocation.html:void * allocate_function (size_t alloc_size)
Custom-Allocation.html:void * reallocate_function (void *ptr, size_t old_size, size_t new_size)
Custom-Allocation.html:void free_function (void *ptr, size_t size)
Custom-Allocation.html:void mp_get_memory_functions ( void *(**alloc_func_ptr) (size_t), void *(**realloc_func_ptr) (void *, size_t, size_t), void (**free_func_ptr) (void *, size_t))
Miscellaneous-Float-Functions.html:void mpf_ceil (mpf_t rop, mpf_t op)
Miscellaneous-Float-Functions.html:void mpf_floor (mpf_t rop, mpf_t op)
Miscellaneous-Float-Functions.html:void mpf_trunc (mpf_t rop, mpf_t op)
Miscellaneous-Float-Functions.html:int mpf_integer_p (mpf_t op)
Miscellaneous-Float-Functions.html:int mpf_fits_ulong_p (mpf_t op)
Miscellaneous-Float-Functions.html:int mpf_fits_slong_p (mpf_t op)
Miscellaneous-Float-Functions.html:int mpf_fits_uint_p (mpf_t op)
Miscellaneous-Float-Functions.html:int mpf_fits_sint_p (mpf_t op)
Miscellaneous-Float-Functions.html:int mpf_fits_ushort_p (mpf_t op)
Miscellaneous-Float-Functions.html:int mpf_fits_sshort_p (mpf_t op)
Miscellaneous-Float-Functions.html:void mpf_urandomb (mpf_t rop, gmp_randstate_t state, mp_bitcnt_t nbits)
Miscellaneous-Float-Functions.html:void mpf_random2 (mpf_t rop, mp_size_t max_size, mp_exp_t exp)>














ファイル名除去版

mpq_class (type op)
mpq_class (integer num, integer den)
mpq_class (mpq_t q)
mpq_class (const char *s)
mpq_class (const char *s, int base = 0)
mpq_class (const string& s)
mpq_class (const string& s, int base = 0)
canonicalize ()
mpq_class abs (mpq_class op)
int cmp (mpq_class op1, type op2)
int cmp (type op1, mpq_class op2)
get_d (void)
get_str (int base = 10)
set_str (const char *str, int base)
set_str (const string& str, int base)
int sgn (mpq_class op)
get_num ()
get_den ()
get_num_mpz_t ()
get_den_mpz_t ()
istream& operator>> (istream& stream, mpq_class& rop);
int mpf_cmp (mpf_t op1, mpf_t op2)
int mpf_cmp_d (mpf_t op1, double op2)
int mpf_cmp_ui (mpf_t op1, unsigned long int op2)
int mpf_cmp_si (mpf_t op1, signed long int op2)
int mpf_eq (mpf_t op1, mpf_t op2, mp_bitcnt_t op3)
void mpf_reldiff (mpf_t rop, mpf_t op1, mpf_t op2)
double mpq_get_d (mpq_t op)
void mpq_set_d (mpq_t rop, double op)
void mpq_set_f (mpq_t rop, mpf_t op)
char * mpq_get_str (char *str, int base, mpq_t op)
void mpf_set (mpf_t rop, mpf_t op)
void mpf_set_ui (mpf_t rop, unsigned long int op)
void mpf_set_si (mpf_t rop, signed long int op)
void mpf_set_d (mpf_t rop, double op)
void mpf_set_z (mpf_t rop, mpz_t op)
void mpf_set_q (mpf_t rop, mpq_t op)
int mpf_set_str (mpf_t rop, char *str, int base)
void mpf_swap (mpf_t rop1, mpf_t rop2)
void mpz_init_set (mpz_t rop, mpz_t op)
void mpz_init_set_ui (mpz_t rop, unsigned long int op)
void mpz_init_set_si (mpz_t rop, signed long int op)
void mpz_init_set_d (mpz_t rop, double op)
int mpz_init_set_str (mpz_t rop, char *str, int base)
unsigned long gmp_urandomb_ui (gmp_randstate_t state, unsigned long n)
unsigned long gmp_urandomm_ui (gmp_randstate_t state, unsigned long n)
void mpz_init (mpz_t x)
void mpz_inits (mpz_t x, ...)
void mpz_init2 (mpz_t x, mp_bitcnt_t n)
void mpz_clear (mpz_t x)
void mpz_clears (mpz_t x, ...)
void mpz_realloc2 (mpz_t x, mp_bitcnt_t n)
int mpz_probab_prime_p (mpz_t n, int reps)
void mpz_nextprime (mpz_t rop, mpz_t op)
void mpz_gcd (mpz_t rop, mpz_t op1, mpz_t op2)
unsigned long int mpz_gcd_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
void mpz_gcdext (mpz_t g, mpz_t s, mpz_t t, mpz_t a, mpz_t b)
void mpz_lcm (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_lcm_ui (mpz_t rop, mpz_t op1, unsigned long op2)
int mpz_invert (mpz_t rop, mpz_t op1, mpz_t op2)
int mpz_jacobi (mpz_t a, mpz_t b)
int mpz_legendre (mpz_t a, mpz_t p)
int mpz_kronecker (mpz_t a, mpz_t b)
int mpz_kronecker_si (mpz_t a, long b)
int mpz_kronecker_ui (mpz_t a, unsigned long b)
int mpz_si_kronecker (long a, mpz_t b)
int mpz_ui_kronecker (unsigned long a, mpz_t b)
mp_bitcnt_t mpz_remove (mpz_t rop, mpz_t op, mpz_t f)
void mpz_fac_ui (mpz_t rop, unsigned long int op)
void mpz_bin_ui (mpz_t rop, mpz_t n, unsigned long int k)
void mpz_bin_uiui (mpz_t rop, unsigned long int n, unsigned long int k)
void mpz_fib_ui (mpz_t fn, unsigned long int n)
void mpz_fib2_ui (mpz_t fn, mpz_t fnsub1, unsigned long int n)
void mpz_lucnum_ui (mpz_t ln, unsigned long int n)
void mpz_lucnum2_ui (mpz_t ln, mpz_t lnsub1, unsigned long int n)
void mpz_set (mpz_t rop, mpz_t op)
void mpz_set_ui (mpz_t rop, unsigned long int op)
void mpz_set_si (mpz_t rop, signed long int op)
void mpz_set_d (mpz_t rop, double op)
void mpz_set_q (mpz_t rop, mpq_t op)
void mpz_set_f (mpz_t rop, mpf_t op)
int mpz_set_str (mpz_t rop, char *str, int base)
void mpz_swap (mpz_t rop1, mpz_t rop2)
int mpz_root (mpz_t rop, mpz_t op, unsigned long int n)
void mpz_rootrem (mpz_t root, mpz_t rem, mpz_t u, unsigned long int n)
void mpz_sqrt (mpz_t rop, mpz_t op)
void mpz_sqrtrem (mpz_t rop1, mpz_t rop2, mpz_t op)
int mpz_perfect_power_p (mpz_t op)
int mpz_perfect_square_p (mpz_t op)
size_t mpf_out_str (FILE *stream, int base, size_t n_digits, mpf_t op)
size_t mpf_inp_str (mpf_t rop, FILE *stream, int base)
int mpq_cmp (mpq_t op1, mpq_t op2)
int mpq_equal (mpq_t op1, mpq_t op2)
void mpz_powm (mpz_t rop, mpz_t base, mpz_t exp, mpz_t mod)
void mpz_powm_ui (mpz_t rop, mpz_t base, unsigned long int exp, mpz_t mod)
void mpz_powm_sec (mpz_t rop, mpz_t base, mpz_t exp, mpz_t mod)
void mpz_pow_ui (mpz_t rop, mpz_t base, unsigned long int exp)
void mpz_ui_pow_ui (mpz_t rop, unsigned long int base, unsigned long int exp)
void mpq_init (mpq_t x)
void mpq_inits (mpq_t x, ...)
void mpq_clear (mpq_t x)
void mpq_clears (mpq_t x, ...)
void mpq_set (mpq_t rop, mpq_t op)
void mpq_set_z (mpq_t rop, mpz_t op)
void mpq_set_ui (mpq_t rop, unsigned long int op1, unsigned long int op2)
void mpq_set_si (mpq_t rop, signed long int op1, unsigned long int op2)
int mpq_set_str (mpq_t rop, char *str, int base)
void mpq_swap (mpq_t rop1, mpq_t rop2)
int gmp_scanf (const char *fmt, ...)
int gmp_vscanf (const char *fmt, va_list ap)
int gmp_fscanf (FILE *fp, const char *fmt, ...)
int gmp_vfscanf (FILE *fp, const char *fmt, va_list ap)
int gmp_sscanf (const char *s, const char *fmt, ...)
int gmp_vsscanf (const char *s, const char *fmt, va_list ap)
void mpz_add (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_add_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
void mpz_sub (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_sub_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
void mpz_ui_sub (mpz_t rop, unsigned long int op1, mpz_t op2)
void mpz_mul (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_mul_si (mpz_t rop, mpz_t op1, long int op2)
void mpz_mul_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
void mpz_addmul (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_addmul_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
void mpz_submul (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_submul_ui (mpz_t rop, mpz_t op1, unsigned long int op2)
void mpz_mul_2exp (mpz_t rop, mpz_t op1, mp_bitcnt_t op2)
void mpz_neg (mpz_t rop, mpz_t op)
void mpz_abs (mpz_t rop, mpz_t op)
void mpq_canonicalize (mpq_t op)
void mpf_add (mpf_t rop, mpf_t op1, mpf_t op2)
void mpf_add_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
void mpf_sub (mpf_t rop, mpf_t op1, mpf_t op2)
void mpf_ui_sub (mpf_t rop, unsigned long int op1, mpf_t op2)
void mpf_sub_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
void mpf_mul (mpf_t rop, mpf_t op1, mpf_t op2)
void mpf_mul_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
void mpf_div (mpf_t rop, mpf_t op1, mpf_t op2)
void mpf_ui_div (mpf_t rop, unsigned long int op1, mpf_t op2)
void mpf_div_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
void mpf_sqrt (mpf_t rop, mpf_t op)
void mpf_sqrt_ui (mpf_t rop, unsigned long int op)
void mpf_pow_ui (mpf_t rop, mpf_t op1, unsigned long int op2)
void mpf_neg (mpf_t rop, mpf_t op)
void mpf_abs (mpf_t rop, mpf_t op)
void mpf_mul_2exp (mpf_t rop, mpf_t op1, mp_bitcnt_t op2)
void mpf_div_2exp (mpf_t rop, mpf_t op1, mp_bitcnt_t op2)
void mpz_urandomb (mpz_t rop, gmp_randstate_t state, mp_bitcnt_t n)
void mpz_urandomm (mpz_t rop, gmp_randstate_t state, mpz_t n)
void mpz_rrandomb (mpz_t rop, gmp_randstate_t state, mp_bitcnt_t n)
void mpz_random (mpz_t rop, mp_size_t max_size)
void mpz_random2 (mpz_t rop, mp_size_t max_size)
void gmp_randseed (gmp_randstate_t state, mpz_t seed)
void gmp_randseed_ui (gmp_randstate_t state, unsigned long int seed)
ostream& operator<< (ostream& stream, mpz_t op)
ostream& operator<< (ostream& stream, mpq_t op)
ostream& operator<< (ostream& stream, mpf_t op)
mp_limb_t mpn_add_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
mp_limb_t mpn_add_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
mp_limb_t mpn_add (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t s1n, const mp_limb_t *s2p, mp_size_t s2n)
mp_limb_t mpn_sub_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
mp_limb_t mpn_sub_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
mp_limb_t mpn_sub (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t s1n, const mp_limb_t *s2p, mp_size_t s2n)
void mpn_neg (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n)
void mpn_mul_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
mp_limb_t mpn_mul (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t s1n, const mp_limb_t *s2p, mp_size_t s2n)
void mpn_sqr (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n)
mp_limb_t mpn_mul_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
mp_limb_t mpn_addmul_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
mp_limb_t mpn_submul_1 (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n, mp_limb_t s2limb)
void mpn_tdiv_qr (mp_limb_t *qp, mp_limb_t *rp, mp_size_t qxn, const mp_limb_t *np, mp_size_t nn, const mp_limb_t *dp, mp_size_t dn)
mp_limb_t mpn_divrem (mp_limb_t *r1p, mp_size_t qxn, mp_limb_t *rs2p, mp_size_t rs2n, const mp_limb_t *s3p, mp_size_t s3n)
mp_limb_t mpn_divrem_1 (mp_limb_t *r1p, mp_size_t qxn, mp_limb_t *s2p, mp_size_t s2n, mp_limb_t s3limb)
mp_limb_t mpn_divmod (mp_limb_t *r1p, mp_limb_t *rs2p, mp_size_t rs2n, const mp_limb_t *s3p, mp_size_t s3n)
mp_limb_t mpn_divexact_by3c (mp_limb_t *rp, mp_limb_t *sp, mp_size_t n, mp_limb_t carry)
mp_limb_t mpn_mod_1 (mp_limb_t *s1p, mp_size_t s1n, mp_limb_t s2limb)
mp_limb_t mpn_lshift (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n, unsigned int count)
mp_limb_t mpn_rshift (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n, unsigned int count)
int mpn_cmp (const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
mp_size_t mpn_gcd (mp_limb_t *rp, mp_limb_t *xp, mp_size_t xn, mp_limb_t *yp, mp_size_t yn)
mp_limb_t mpn_gcd_1 (const mp_limb_t *xp, mp_size_t xn, mp_limb_t ylimb)
mp_size_t mpn_gcdext (mp_limb_t *gp, mp_limb_t *sp, mp_size_t *sn, mp_limb_t *xp, mp_size_t xn, mp_limb_t *yp, mp_size_t yn)
mp_size_t mpn_sqrtrem (mp_limb_t *r1p, mp_limb_t *r2p, const mp_limb_t *sp, mp_size_t n)
mp_size_t mpn_get_str (unsigned char *str, int base, mp_limb_t *s1p, mp_size_t s1n)
mp_size_t mpn_set_str (mp_limb_t *rp, const unsigned char *str, size_t strsize, int base)
mp_bitcnt_t mpn_scan0 (const mp_limb_t *s1p, mp_bitcnt_t bit)
mp_bitcnt_t mpn_scan1 (const mp_limb_t *s1p, mp_bitcnt_t bit)
void mpn_random (mp_limb_t *r1p, mp_size_t r1n)
void mpn_random2 (mp_limb_t *r1p, mp_size_t r1n)
mp_bitcnt_t mpn_popcount (const mp_limb_t *s1p, mp_size_t n)
mp_bitcnt_t mpn_hamdist (const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
int mpn_perfect_square_p (const mp_limb_t *s1p, mp_size_t n)
void mpn_and_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_ior_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_xor_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_andn_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_iorn_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_nand_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_nior_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_xnor_n (mp_limb_t *rp, const mp_limb_t *s1p, const mp_limb_t *s2p, mp_size_t n)
void mpn_com (mp_limb_t *rp, const mp_limb_t *sp, mp_size_t n)
void mpn_copyi (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n)
void mpn_copyd (mp_limb_t *rp, const mp_limb_t *s1p, mp_size_t n)
void mpn_zero (mp_limb_t *rp, mp_size_t n)
mpf_class (type op)
mpf_class (type op, unsigned long prec)
mpf_class (const char *s)
mpf_class (const char *s, unsigned long prec, int base = 0)
mpf_class (const string& s)
mpf_class (const string& s, unsigned long prec, int base = 0)
operator= (type op)
mpf_class abs (mpf_class op)
mpf_class ceil (mpf_class op)
int cmp (mpf_class op1, type op2)
int cmp (type op1, mpf_class op2)
fits_sint_p (void)
fits_slong_p (void)
fits_sshort_p (void)
fits_uint_p (void)
fits_ulong_p (void)
fits_ushort_p (void)
mpf_class floor (mpf_class op)
mpf_class hypot (mpf_class op1, mpf_class op2)
get_d (void)
get_si (void)
get_str (mp_exp_t& exp, int base = 10, size_t digits = 0)
get_ui (void)
set_str (const char *str, int base)
set_str (const string& str, int base)
int sgn (mpf_class op)
mpf_class sqrt (mpf_class op)
mpf_class trunc (mpf_class op)
get_prec ()
set_prec (mp_bitcnt_t prec)
set_prec_raw (mp_bitcnt_t prec)
double mpf_get_d (mpf_t op)
double mpf_get_d_2exp (signed long int *exp, mpf_t op)
long mpf_get_si (mpf_t op)
unsigned long mpf_get_ui (mpf_t op)
char * mpf_get_str (char *str, mp_exp_t *expptr, int base, size_t n_digits, mpf_t op)
void mpq_get_num (mpz_t numerator, mpq_t rational)
void mpq_get_den (mpz_t denominator, mpq_t rational)
void mpq_set_num (mpq_t rational, mpz_t numerator)
void mpq_set_den (mpq_t rational, mpz_t denominator)
unsigned long int mpz_get_ui (mpz_t op)
signed long int mpz_get_si (mpz_t op)
double mpz_get_d (mpz_t op)
double mpz_get_d_2exp (signed long int *exp, mpz_t op)
char * mpz_get_str (char *str, int base, mpz_t op)
void mpz_import (mpz_t rop, size_t count, int order, size_t size, int endian, size_t nails, const void *op)
void * mpz_export (void *rop, size_t *countp, int order, size_t size, int endian, size_t nails, mpz_t op)
gmp_randclass (void (*randinit) (gmp_randstate_t, ...), ...)
gmp_randclass (gmp_randalg_t alg, ...)
seed (unsigned long int s)
seed (mpz_class s)
get_z_bits (unsigned long bits)
get_z_bits (mpz_class bits)
get_z_range (mpz_class n)
get_f ()
get_f (unsigned long prec)
void mpf_set_default_prec (mp_bitcnt_t prec)
mp_bitcnt_t mpf_get_default_prec (void)
void mpf_init (mpf_t x)
void mpf_init2 (mpf_t x, mp_bitcnt_t prec)
void mpf_inits (mpf_t x, ...)
void mpf_clear (mpf_t x)
void mpf_clears (mpf_t x, ...)
mp_bitcnt_t mpf_get_prec (mpf_t op)
void mpf_set_prec (mpf_t rop, mp_bitcnt_t prec)
void mpf_set_prec_raw (mpf_t rop, mp_bitcnt_t prec)
get_mpz_t ()
get_mpq_t ()
get_mpf_t ()
void mpz_and (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_ior (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_xor (mpz_t rop, mpz_t op1, mpz_t op2)
void mpz_com (mpz_t rop, mpz_t op)
mp_bitcnt_t mpz_popcount (mpz_t op)
mp_bitcnt_t mpz_hamdist (mpz_t op1, mpz_t op2)
mp_bitcnt_t mpz_scan0 (mpz_t op, mp_bitcnt_t starting_bit)
mp_bitcnt_t mpz_scan1 (mpz_t op, mp_bitcnt_t starting_bit)
void mpz_setbit (mpz_t rop, mp_bitcnt_t bit_index)
void mpz_clrbit (mpz_t rop, mp_bitcnt_t bit_index)
void mpz_combit (mpz_t rop, mp_bitcnt_t bit_index)
int mpz_tstbit (mpz_t op, mp_bitcnt_t bit_index)
int mpz_fits_ulong_p (mpz_t op)
int mpz_fits_slong_p (mpz_t op)
int mpz_fits_uint_p (mpz_t op)
int mpz_fits_sint_p (mpz_t op)
int mpz_fits_ushort_p (mpz_t op)
int mpz_fits_sshort_p (mpz_t op)
size_t mpz_sizeinbase (mpz_t op, int base)
void mpf_init_set (mpf_t rop, mpf_t op)
void mpf_init_set_ui (mpf_t rop, unsigned long int op)
void mpf_init_set_si (mpf_t rop, signed long int op)
void mpf_init_set_d (mpf_t rop, double op)
int mpf_init_set_str (mpf_t rop, char *str, int base)
size_t mpq_out_str (FILE *stream, int base, mpq_t op)
size_t mpq_inp_str (mpq_t rop, FILE *stream, int base)
int gmp_printf (const char *fmt, ...)
int gmp_vprintf (const char *fmt, va_list ap)
int gmp_fprintf (FILE *fp, const char *fmt, ...)
int gmp_vfprintf (FILE *fp, const char *fmt, va_list ap)
int gmp_sprintf (char *buf, const char *fmt, ...)
int gmp_vsprintf (char *buf, const char *fmt, va_list ap)
int gmp_snprintf (char *buf, size_t size, const char *fmt, ...)
int gmp_vsnprintf (char *buf, size_t size, const char *fmt, va_list ap)
int gmp_asprintf (char **pp, const char *fmt, ...)
int gmp_vasprintf (char **pp, const char *fmt, va_list ap)
int gmp_obstack_printf (struct obstack *ob, const char *fmt, ...)
int gmp_obstack_vprintf (struct obstack *ob, const char *fmt, va_list ap)
int mpz_cmp (mpz_t op1, mpz_t op2)
int mpz_cmp_d (mpz_t op1, double op2)
int mpz_cmpabs (mpz_t op1, mpz_t op2)
int mpz_cmpabs_d (mpz_t op1, double op2)
int mpz_cmpabs_ui (mpz_t op1, unsigned long int op2)
void mpq_add (mpq_t sum, mpq_t addend1, mpq_t addend2)
void mpq_sub (mpq_t difference, mpq_t minuend, mpq_t subtrahend)
void mpq_mul (mpq_t product, mpq_t multiplier, mpq_t multiplicand)
void mpq_mul_2exp (mpq_t rop, mpq_t op1, mp_bitcnt_t op2)
void mpq_div (mpq_t quotient, mpq_t dividend, mpq_t divisor)
void mpq_div_2exp (mpq_t rop, mpq_t op1, mp_bitcnt_t op2)
void mpq_neg (mpq_t negated_operand, mpq_t operand)
void mpq_abs (mpq_t rop, mpq_t op)
void mpq_inv (mpq_t inverted_number, mpq_t number)
mpz_class (type n)
mpz_class (mpz_t z)
mpz_class (const char *s)
mpz_class (const char *s, int base = 0)
mpz_class (const string& s)
mpz_class (const string& s, int base = 0)
mpz_class operator/ (mpz_class a, mpz_class d)
mpz_class operator% (mpz_class a, mpz_class d)
mpz_class abs (mpz_class op1)
int cmp (mpz_class op1, type op2)
int cmp (type op1, mpz_class op2)
fits_sint_p (void)
fits_slong_p (void)
fits_sshort_p (void)
fits_uint_p (void)
fits_ulong_p (void)
fits_ushort_p (void)
get_d (void)
get_si (void)
get_str (int base = 10)
get_ui (void)
set_str (const char *str, int base)
set_str (const string& str, int base)
int sgn (mpz_class op)
mpz_class sqrt (mpz_class op)
istream& operator>> (istream& stream, mpz_t rop)
istream& operator>> (istream& stream, mpq_t rop)
istream& operator>> (istream& stream, mpf_t rop)
void mpz_cdiv_q (mpz_t q, mpz_t n, mpz_t d)
void mpz_cdiv_r (mpz_t r, mpz_t n, mpz_t d)
void mpz_cdiv_qr (mpz_t q, mpz_t r, mpz_t n, mpz_t d)
unsigned long int mpz_cdiv_q_ui (mpz_t q, mpz_t n, unsigned long int d)
unsigned long int mpz_cdiv_r_ui (mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_cdiv_qr_ui (mpz_t q, mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_cdiv_ui (mpz_t n, unsigned long int d)
void mpz_cdiv_q_2exp (mpz_t q, mpz_t n, mp_bitcnt_t b)
void mpz_cdiv_r_2exp (mpz_t r, mpz_t n, mp_bitcnt_t b)
void mpz_fdiv_q (mpz_t q, mpz_t n, mpz_t d)
void mpz_fdiv_r (mpz_t r, mpz_t n, mpz_t d)
void mpz_fdiv_qr (mpz_t q, mpz_t r, mpz_t n, mpz_t d)
unsigned long int mpz_fdiv_q_ui (mpz_t q, mpz_t n, unsigned long int d)
unsigned long int mpz_fdiv_r_ui (mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_fdiv_qr_ui (mpz_t q, mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_fdiv_ui (mpz_t n, unsigned long int d)
void mpz_fdiv_q_2exp (mpz_t q, mpz_t n, mp_bitcnt_t b)
void mpz_fdiv_r_2exp (mpz_t r, mpz_t n, mp_bitcnt_t b)
void mpz_tdiv_q (mpz_t q, mpz_t n, mpz_t d)
void mpz_tdiv_r (mpz_t r, mpz_t n, mpz_t d)
void mpz_tdiv_qr (mpz_t q, mpz_t r, mpz_t n, mpz_t d)
unsigned long int mpz_tdiv_q_ui (mpz_t q, mpz_t n, unsigned long int d)
unsigned long int mpz_tdiv_r_ui (mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_tdiv_qr_ui (mpz_t q, mpz_t r, mpz_t n, unsigned long int d)
unsigned long int mpz_tdiv_ui (mpz_t n, unsigned long int d)
void mpz_tdiv_q_2exp (mpz_t q, mpz_t n, mp_bitcnt_t b)
void mpz_tdiv_r_2exp (mpz_t r, mpz_t n, mp_bitcnt_t b)
void mpz_mod (mpz_t r, mpz_t n, mpz_t d)
unsigned long int mpz_mod_ui (mpz_t r, mpz_t n, unsigned long int d)
void mpz_divexact (mpz_t q, mpz_t n, mpz_t d)
void mpz_divexact_ui (mpz_t q, mpz_t n, unsigned long d)
int mpz_divisible_p (mpz_t n, mpz_t d)
int mpz_divisible_ui_p (mpz_t n, unsigned long int d)
int mpz_divisible_2exp_p (mpz_t n, mp_bitcnt_t b)
int mpz_congruent_p (mpz_t n, mpz_t c, mpz_t d)
int mpz_congruent_ui_p (mpz_t n, unsigned long int c, unsigned long int d)
int mpz_congruent_2exp_p (mpz_t n, mpz_t c, mp_bitcnt_t b)
size_t mpz_out_str (FILE *stream, int base, mpz_t op)
size_t mpz_inp_str (mpz_t rop, FILE *stream, int base)
size_t mpz_out_raw (FILE *stream, mpz_t op)
size_t mpz_inp_raw (mpz_t rop, FILE *stream)
void mpz_array_init (mpz_t integer_array, mp_size_t array_size, mp_size_t fixed_num_bits)
void * _mpz_realloc (mpz_t integer, mp_size_t new_alloc)
mp_limb_t mpz_getlimbn (mpz_t op, mp_size_t n)
size_t mpz_size (mpz_t op)
void gmp_randinit_default (gmp_randstate_t state)
void gmp_randinit_mt (gmp_randstate_t state)
void gmp_randinit_lc_2exp (gmp_randstate_t state, mpz_t a, unsigned long c, mp_bitcnt_t m2exp)
int gmp_randinit_lc_2exp_size (gmp_randstate_t state, mp_bitcnt_t size)
void gmp_randinit_set (gmp_randstate_t rop, gmp_randstate_t op)
void gmp_randinit (gmp_randstate_t state, gmp_randalg_t alg, ...)
void gmp_randclear (gmp_randstate_t state)
MINT * itom (signed short int initial_value)
MINT * xtom (char *initial_value)
void move (MINT *src, MINT *dest)
void madd (MINT *src_1, MINT *src_2, MINT *destination)
void msub (MINT *src_1, MINT *src_2, MINT *destination)
void mult (MINT *src_1, MINT *src_2, MINT *destination)
void mdiv (MINT *dividend, MINT *divisor, MINT *quotient, MINT *remainder)
void sdiv (MINT *dividend, signed short int divisor, MINT *quotient, signed short int *remainder)
void msqrt (MINT *op, MINT *root, MINT *remainder)
void pow (MINT *base, MINT *exp, MINT *mod, MINT *dest)
void rpow (MINT *base, signed short int exp, MINT *dest)
void gcd (MINT *op1, MINT *op2, MINT *res)
int mcmp (MINT *op1, MINT *op2)
void min (MINT *dest)
void mout (MINT *src)
char * mtox (MINT *op)
void mfree (MINT *op)
void mp_set_memory_functions ( void *(*alloc_func_ptr) (size_t), void *(*realloc_func_ptr) (void *, size_t, size_t), void (*free_func_ptr) (void *, size_t))
void * allocate_function (size_t alloc_size)
void * reallocate_function (void *ptr, size_t old_size, size_t new_size)
void free_function (void *ptr, size_t size)
void mp_get_memory_functions ( void *(**alloc_func_ptr) (size_t), void *(**realloc_func_ptr) (void *, size_t, size_t), void (**free_func_ptr) (void *, size_t))
void mpf_ceil (mpf_t rop, mpf_t op)
void mpf_floor (mpf_t rop, mpf_t op)
void mpf_trunc (mpf_t rop, mpf_t op)
int mpf_integer_p (mpf_t op)
int mpf_fits_ulong_p (mpf_t op)
int mpf_fits_slong_p (mpf_t op)
int mpf_fits_uint_p (mpf_t op)
int mpf_fits_sint_p (mpf_t op)
int mpf_fits_ushort_p (mpf_t op)
int mpf_fits_sshort_p (mpf_t op)
void mpf_urandomb (mpf_t rop, gmp_randstate_t state, mp_bitcnt_t nbits)
void mpf_random2 (mpf_t rop, mp_size_t max_size, mp_exp_t exp)



スポンサーサイト
コメント
この記事へのコメント
コメントを投稿する
URL:
Comment:
Pass:
秘密: 管理者にだけ表示を許可する
 
トラックバック
この記事のトラックバックURL
http://tekitobibouroku.blog42.fc2.com/tb.php/296-237fdb5e
この記事にトラックバックする(FC2ブログユーザー)
この記事へのトラックバック
上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。