Scalar multiplication and division

Functions

void fmpz_poly_q_scalar_mul_si (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op, long x)
void fmpz_poly_q_scalar_mul_mpz (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op, const mpz_t x)
void fmpz_poly_q_scalar_mul_mpq (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op, const mpq_t x)
void fmpz_poly_q_scalar_div_si (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op, long x)
void fmpz_poly_q_scalar_div_mpz (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op, const mpz_t x)
void fmpz_poly_q_scalar_div_mpq (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op, const mpq_t x)

Function Documentation

void fmpz_poly_q_scalar_div_mpq ( fmpz_poly_q_ptr  rop,
const fmpz_poly_q_ptr  op,
const mpq_t  x 
)

Sets rop to the scalar multiple of op with the multiplicative inverse of the rational x.

Assumes that the rational x is in lowest terms and non-zero.

Todo:
The implementation of this method could be improved, rewriting it in a similar way to fmpz_poly_q_scalar_div_si().
void fmpz_poly_q_scalar_div_mpz ( fmpz_poly_q_ptr  rop,
const fmpz_poly_q_ptr  op,
const mpz_t  x 
)

Sets rop to the scalar multiple of op with the multiplicative inverse of the integer x.

Assumes that the integer x is non-zero.

Todo:
The implementation of this method could be improved, rewriting it in a similar way to fmpz_poly_q_scalar_div_si().
void fmpz_poly_q_scalar_div_si ( fmpz_poly_q_ptr  rop,
const fmpz_poly_q_ptr  op,
long  x 
)

Sets rop to the scalar multiple of op with the multiplicative inverse of the integer x.

Assumes that x is non-zero.

void fmpz_poly_q_scalar_mul_mpq ( fmpz_poly_q_ptr  rop,
const fmpz_poly_q_ptr  op,
const mpq_t  x 
)

Sets rop to the scalar multiple of op with the mpq_t x.

Todo:
The implementation of this method could be improved, rewriting it in a similar way to fmpz_poly_q_scalar_mul_si().
void fmpz_poly_q_scalar_mul_mpz ( fmpz_poly_q_ptr  rop,
const fmpz_poly_q_ptr  op,
const mpz_t  x 
)

Sets rop to the scalar multiple of op with the mpz_t x.

Todo:
The implementation of this method could be improved, rewriting it in a similar way to fmpz_poly_q_scalar_mul_si().
void fmpz_poly_q_scalar_mul_si ( fmpz_poly_q_ptr  rop,
const fmpz_poly_q_ptr  op,
long  x 
)

Sets rop to the scalar product of op and the integer x.

Generated on Wed Dec 8 17:00:29 2010 for FMPZ_POLY_Q by  doxygen 1.6.3