# Scalar multiplication and division

## Functions

void fmpq_poly_scalar_mul_si (fmpq_poly_ptr rop, const fmpq_poly_ptr op, long x)
void fmpq_poly_scalar_mul_mpz (fmpq_poly_ptr rop, const fmpq_poly_ptr op, const mpz_t x)
void fmpq_poly_scalar_mul_mpq (fmpq_poly_ptr rop, const fmpq_poly_ptr op, const mpq_t x)
void fmpq_poly_scalar_div_si (fmpq_poly_ptr rop, const fmpq_poly_ptr op, long x)
static void _fmpq_poly_scalar_div_mpz_in_place (fmpq_poly_ptr rop, const mpz_t x)
void fmpq_poly_scalar_div_mpz (fmpq_poly_ptr rop, const fmpq_poly_ptr op, const mpz_t x)
void fmpq_poly_scalar_div_mpq (fmpq_poly_ptr rop, const fmpq_poly_ptr op, const mpq_t x)

## Function Documentation

 static void _fmpq_poly_scalar_div_mpz_in_place ( fmpq_poly_ptr rop, const mpz_t x ) ` [static]`

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

Assumes that `x` is non-zero. Otherwise, an exception is raised in the form of an `abort` statement.

 void fmpq_poly_scalar_div_mpq ( fmpq_poly_ptr rop, const fmpq_poly_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. If the rational is not in lowest terms, the resulting value of `rop` is undefined. If `x` is zero, an exception is raised in the form of an `abort` statement.

 void fmpq_poly_scalar_div_mpz ( fmpq_poly_ptr rop, const fmpq_poly_ptr op, const mpz_t x )

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

Assumes that `x` is non-zero. Otherwise, an exception is raised in the form of an `abort` statement.

 void fmpq_poly_scalar_div_si ( fmpq_poly_ptr rop, const fmpq_poly_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. Otherwise, an exception is raised in the form of an `abort` statement.

 void fmpq_poly_scalar_mul_mpq ( fmpq_poly_ptr rop, const fmpq_poly_ptr op, const mpq_t x )

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

 void fmpq_poly_scalar_mul_mpz ( fmpq_poly_ptr rop, const fmpq_poly_ptr op, const mpz_t x )

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

 void fmpq_poly_scalar_mul_si ( fmpq_poly_ptr rop, const fmpq_poly_ptr op, long x )

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

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