Functions | |
void | fmpq_poly_content (mpq_t rop, const fmpq_poly_ptr op) |
void | fmpq_poly_primitive_part (fmpq_poly_ptr rop, const fmpq_poly_ptr op) |
int | fmpq_poly_is_monic (const fmpq_poly_ptr op) |
Returns whether op is monic.Returns whether op is monic. |
void fmpq_poly_content | ( | mpq_t | rop, | |
const fmpq_poly_ptr | op | |||
) |
Returns the non-negative content of op
.
The content of is defined to be .
int fmpq_poly_is_monic | ( | const fmpq_poly_ptr | op | ) |
Returns whether op
is monic.Returns whether op
is monic.
By definition, the zero polynomial is not monic.
void fmpq_poly_primitive_part | ( | fmpq_poly_ptr | rop, | |
const fmpq_poly_ptr | op | |||
) |
Returns the primitive part (with non-negative leading coefficient) of op
as an element of type fmpq_poly_t.