_qqbar_fast_detect_simple_principal_surd
Synopsis
#include <flint/qqbar.h>Returns 1 if x is cheaply recognised, from its minimal polynomial q t^d - p and its enclosure, as the principal root (p/q)^{1/d} of a positive rational number with d \ge 2, and 0 otherwise (0 does not prove the contrary). Used to speed up qqbar_root_ui.
Cite this page
The FLINT team, “_qqbar_fast_detect_simple_principal_surd (qqbar.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/qqbar/_qqbar_fast_detect_simple_principal_surd.html (generated 2026-10-20).
@misc{flint-doc-qqbar-qqbar-fast-detect-simple-principal-surd,
author = {{The FLINT team}},
title = {{\_qqbar\_fast\_detect\_simple\_principal\_surd (qqbar.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/qqbar/_qqbar_fast_detect_simple_principal_surd.html},
note = {Generated 2026-10-20}
}