flintlib / calcium

Calcium has been merged into FLINT -- use https://github.com/flintlib/flint/ instead
http://fredrikj.net/calcium/
GNU Lesser General Public License v2.1
79 stars 11 forks source link

qqbar: public and improved qqbar_set_fmpz_poly_root_nearest #17

Open fredrik-johansson opened 3 years ago

fredrik-johansson commented 3 years ago

The function qqbar_set_fmpz_poly_root_nearest should have a fast path that tries to compute a nearby root instead of computing all roots.

It also needs to be made public.

There could also be a version that takes an acb_t input.