sp2gz_is_embedded
Synopsis
#include <flint/acb_theta.h>int sp2gz_is_embedded(fmpz_mat_t res, const fmpz_mat_t mat)sourceGiven a 2g \times 2g symplectic matrix mat and a square matrix res of size 2r with r \le g, returns whether mat is the result of sp2gz_embed on a 2r \times 2r symplectic matrix, and if so stores that matrix in res (otherwise res is undefined).
Cite this page
The FLINT team, “sp2gz_is_embedded (acb_theta.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_theta/sp2gz_is_embedded.html (generated 2026-10-20).
@misc{flint-doc-acb-theta-sp2gz-is-embedded,
author = {{The FLINT team}},
title = {{sp2gz\_is\_embedded (acb\_theta.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_theta/sp2gz_is_embedded.html},
note = {Generated 2026-10-20}
}