Todo List

Global fmpz_poly_q_addmul (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op1, const fmpz_poly_q_ptr op2)
Implement this method more efficiently.

Global fmpz_poly_q_derivative (fmpz_poly_q_ptr rop, fmpz_poly_q_ptr op)
The second argument should be declared const, but as of FLINT 1.5.0 this generates a compile-time warning.

Global fmpz_poly_q_evaluate (mpq_t rop, fmpz_poly_q_ptr f, const mpq_t a)
The second argument should be declared const, but as of FLINT 1.5.0 this generates a compile-time warning.

Global fmpz_poly_q_scalar_div_mpq (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op, const mpq_t x)
The implementation of this method could be improved, rewriting it in a similar way to fmpz_poly_q_scalar_div_si().

Global fmpz_poly_q_scalar_div_mpz (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op, const mpz_t x)
The implementation of this method could be improved, rewriting it in a similar way to fmpz_poly_q_scalar_div_si().

Global fmpz_poly_q_scalar_mul_mpq (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op, const mpq_t x)
The implementation of this method could be improved, rewriting it in a similar way to fmpz_poly_q_scalar_mul_si().

Global fmpz_poly_q_scalar_mul_mpz (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op, const mpz_t x)
The implementation of this method could be improved, rewriting it in a similar way to fmpz_poly_q_scalar_mul_si().

Global fmpz_poly_q_submul (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op1, const fmpz_poly_q_ptr op2)
Implement this method more efficiently.

page Main Page

Implement some form of lazy evaluation. One strategy would be to change the representation of a rational function in the case of the zero function to NULL. This gives savings on initialization and checking whether a function is zero. Note that it is typically unlikely that an arithmetic operation on two functions yields zero, which is the only case in which this design choice yields extra work. Another approach would be to implement a delayed initialization of both the numerator and denominator. In either case, the methods providing direct access to the underlying polynomial objects would require more care.

Generated on Wed Dec 8 17:00:29 2010 for FMPZ_POLY_Q by  doxygen 1.6.3