sp2gz_decompose
Synopsis
#include <flint/acb_theta.h>fmpz_mat_struct * sp2gz_decompose(slong * nb, const fmpz_mat_t mat)sourceReturns a newly allocated vector of symplectic matrices whose product from left to right is mat, and stores its length in *nb. Each matrix is block-diagonal, trigonal, J, an embedded J from a lower dimension, or an embedded matrix from dimension 1. The caller frees the result by calling fmpz_mat_clear on each entry and then flint_free.
Cite this page
The FLINT team, “sp2gz_decompose (acb_theta.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_theta/sp2gz_decompose.html (generated 2026-10-20).
@misc{flint-doc-acb-theta-sp2gz-decompose,
author = {{The FLINT team}},
title = {{sp2gz\_decompose (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_decompose.html},
note = {Generated 2026-10-20}
}