sp2gz_embed, sp2gz_restrict
Synopsis
#include <flint/acb_theta.h>void sp2gz_embed(fmpz_mat_t res, const fmpz_mat_t mat)sourcevoid sp2gz_restrict(fmpz_mat_t res, const fmpz_mat_t mat)sourcesp2gz_embed sets the matrix res to the embedding of the symplectic matrix mat () acting on the first coordinates: . sp2gz_restrict sets the matrix res to the matrix whose blocks are the upper left corners of the blocks of mat; the result need not be symplectic.
Cite this page
The FLINT team, “sp2gz_embed, sp2gz_restrict (acb_theta.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_theta/sp2gz_embed.html (generated 2026-11-02).
@misc{flint-doc-acb-theta-sp2gz-embed,
author = {{The FLINT team}},
title = {{sp2gz\_embed, sp2gz\_restrict (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_embed.html},
note = {Generated 2026-11-02}
}