FLINT3.7.0-dev

sp2gz_is_embedded

Synopsis#include <flint/acb_theta.h>
int sp2gz_is_embedded(fmpz_mat_t res, const fmpz_mat_t mat)source

Given 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).