Setting and retrieving individual coefficients

Functions

void fmpq_poly_get_coeff_mpq (mpq_t rop, const fmpq_poly_ptr op, ulong i)
void fmpq_poly_set_coeff_fmpz (fmpq_poly_ptr rop, ulong i, const fmpz_t x)
void fmpq_poly_set_coeff_mpz (fmpq_poly_ptr rop, ulong i, const mpz_t x)
void fmpq_poly_set_coeff_mpq (fmpq_poly_ptr rop, ulong i, const mpq_t x)
void fmpq_poly_set_coeff_si (fmpq_poly_ptr rop, ulong i, long x)

Function Documentation

void fmpq_poly_get_coeff_mpq ( mpq_t  rop,
const fmpq_poly_ptr  op,
ulong  i 
)

Obtains the ith coefficient from the polynomial op.

void fmpq_poly_set_coeff_fmpz ( fmpq_poly_ptr  rop,
ulong  i,
const fmpz_t  x 
)

Sets the ith coefficient of the polynomial op to x.

void fmpq_poly_set_coeff_mpq ( fmpq_poly_ptr  rop,
ulong  i,
const mpq_t  x 
)

Sets the ith coefficient of the polynomial op to x.

void fmpq_poly_set_coeff_mpz ( fmpq_poly_ptr  rop,
ulong  i,
const mpz_t  x 
)

Sets the ith coefficient of the polynomial op to x.

void fmpq_poly_set_coeff_si ( fmpq_poly_ptr  rop,
ulong  i,
long  x 
)

Sets the ith coefficient of the polynomial op to x.

Generated on Wed Dec 8 21:13:35 2010 for FMPQ_POLY by  doxygen 1.6.3