Functions | |
| void | fmpq_poly_neg (fmpq_poly_ptr rop, const fmpq_poly_ptr op) |
| void | fmpq_poly_inv (fmpq_poly_ptr rop, const fmpq_poly_ptr op) |
| static void | fmpq_poly_set (fmpq_poly_ptr rop, const fmpq_poly_ptr op) |
| static void | fmpq_poly_set_si (fmpq_poly_ptr rop, long op) |
| static void | fmpq_poly_set_fmpz (fmpq_poly_ptr rop, const fmpz_t x) |
| static void | fmpq_poly_set_mpz (fmpq_poly_ptr rop, const mpz_t x) |
| static void | fmpq_poly_set_mpq (fmpq_poly_ptr rop, const mpq_t x) |
| static void | fmpq_poly_swap (fmpq_poly_ptr op1, fmpq_poly_ptr op2) |
| static void | fmpq_poly_zero (fmpq_poly_ptr rop) |
| static void | fmpq_poly_one (fmpq_poly_ptr rop) |
| void fmpq_poly_inv | ( | fmpq_poly_ptr | rop, | |
| const fmpq_poly_ptr | op | |||
| ) |
Sets the element rop to the multiplicative inverse of op.
Assumes that the element op is a unit. Otherwise, an exception is raised in the form of an abort statement.
| void fmpq_poly_neg | ( | fmpq_poly_ptr | rop, | |
| const fmpq_poly_ptr | op | |||
| ) |
Sets the element rop to the additive inverse of op.
| static void fmpq_poly_one | ( | fmpq_poly_ptr | rop | ) | [inline, static] |
Sets the element rop to one.
| static void fmpq_poly_set | ( | fmpq_poly_ptr | rop, | |
| const fmpq_poly_ptr | op | |||
| ) | [inline, static] |
Sets the element rop to the same value as the element op.
| static void fmpq_poly_set_fmpz | ( | fmpq_poly_ptr | rop, | |
| const fmpz_t | x | |||
| ) | [inline, static] |
Sets the element rop to the integer x.
| static void fmpq_poly_set_mpq | ( | fmpq_poly_ptr | rop, | |
| const mpq_t | x | |||
| ) | [inline, static] |
Sets the element rop to the rational x, assumed to be given in lowest terms.
| static void fmpq_poly_set_mpz | ( | fmpq_poly_ptr | rop, | |
| const mpz_t | x | |||
| ) | [inline, static] |
Sets the element rop to the integer x.
| static void fmpq_poly_set_si | ( | fmpq_poly_ptr | rop, | |
| long | op | |||
| ) | [inline, static] |
Sets the element rop to the value given by the int op.
| static void fmpq_poly_swap | ( | fmpq_poly_ptr | op1, | |
| fmpq_poly_ptr | op2 | |||
| ) | [inline, static] |
Swaps the elements op1 and op2.
This is done efficiently by swapping pointers.
| static void fmpq_poly_zero | ( | fmpq_poly_ptr | rop | ) | [inline, static] |
Sets the element rop to zero.
1.6.3