Functions | |
static void | _fmpz_poly_evaluate_mpq_horner (mpq_t rop, const fmpz_poly_t f, const mpq_t a) |
void | fmpq_poly_evaluate_mpz (mpq_t rop, fmpq_poly_ptr f, const mpz_t a) |
void | fmpq_poly_evaluate_mpq (mpq_t rop, fmpq_poly_ptr f, const mpq_t a) |
static void _fmpz_poly_evaluate_mpq_horner | ( | mpq_t | rop, | |
const fmpz_poly_t | f, | |||
const mpq_t | a | |||
) | [static] |
Evaluates the integer polynomial f
at the rational a
using Horner's method.
void fmpq_poly_evaluate_mpq | ( | mpq_t | rop, | |
fmpq_poly_ptr | f, | |||
const mpq_t | a | |||
) |
Evaluates the rational polynomial f
at the rational a
.
void fmpq_poly_evaluate_mpz | ( | mpq_t | rop, | |
fmpq_poly_ptr | f, | |||
const mpz_t | a | |||
) |
Evaluates the rational polynomial f
at the integer a
.
Assumes that the numerator and denominator of the mpq_t
rop
are distinct (as objects in memory) from the mpz_t
a
.