Data type for a rational polynomial. More...
#include <fmpq_poly.h>
Data Fields | |
fmpz_poly_t | num |
Numerator. | |
fmpz_t | den |
Denominator. |
Data type for a rational polynomial.
We represent a rational polynomial as the quotient of an integer polynomial of type fmpz_poly_t
and a denominator of type fmpz_t
, enforcing coprimality and that the denominator is positive. The zero polynomial is represented as .
fmpz_t fmpq_poly_struct::den |
Denominator.
fmpz_poly_t fmpq_poly_struct::num |
Numerator.