FLINT3.7.0-dev

ca_ext_hash

Synopsis#include <flint/ca_ext.h>
ulong ca_ext_hash(const ca_ext_t x, ca_ctx_t ctx)source

Returns the hash of the structural representation of x, computed at initialisation from the minimal polynomial (for an algebraic number, so that conjugates have equal hashes) or from the head and the hashes of the arguments.

Cite this page

The FLINT team, “ca_ext_hash (ca_ext.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca_ext/ca_ext_hash.html (generated 2026-10-20).