Functions | |
| int | fmpq_poly_equal (const fmpq_poly_ptr op1, const fmpq_poly_ptr op2) |
Returns whether op1 and op2 are equal.Returns whether the two elements op1 and op2 are equal. | |
| int | fmpq_poly_cmp (const fmpq_poly_ptr left, const fmpq_poly_ptr right) |
Compares the two polynomials left and right.Compares the two polnomials left and right, returning -1, 0, or 1 as left is less than, equal to, or greater than right. | |
| static int | fmpq_poly_is_zero (const fmpq_poly_ptr op) |
Returns whether op is zero.Returns whether the element op is zero. | |
| static int | fmpq_poly_is_one (const fmpq_poly_ptr op) |
Returns whether op is equal to .Returns whether the element op is equal to the constant polynomial . | |
| int fmpq_poly_cmp | ( | const fmpq_poly_ptr | left, | |
| const fmpq_poly_ptr | right | |||
| ) |
Compares the two polynomials left and right.Compares the two polnomials left and right, returning -1, 0, or 1 as left is less than, equal to, or greater than right.
The comparison is first done by degree and then, in case of a tie, by the individual coefficients, beginning with the highest.
| int fmpq_poly_equal | ( | const fmpq_poly_ptr | op1, | |
| const fmpq_poly_ptr | op2 | |||
| ) |
Returns whether op1 and op2 are equal.Returns whether the two elements op1 and op2 are equal.
| static int fmpq_poly_is_one | ( | const fmpq_poly_ptr | op | ) | [inline, static] |
Returns whether op is equal to
.Returns whether the element op is equal to the constant polynomial
.
| static int fmpq_poly_is_zero | ( | const fmpq_poly_ptr | op | ) | [inline, static] |
Returns whether op is zero.Returns whether the element op is zero.
1.6.3