/*
Copyright (C) 2023 Jean Kieffer
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. See <https://www.gnu.org/licenses/>.
*/
#include "acb_mat.h"
#include "acb_theta.h"
void
acb_siegel_transform(acb_mat_t w, const fmpz_mat_t mat, const acb_mat_t tau, slong prec)
{
slong g = sp2gz_dim(mat);
acb_mat_t c, cinv;
acb_mat_init(c, g, g);
acb_mat_init(cinv, g, g);
acb_siegel_transform_cocycle_inv(w, c, cinv, mat, tau, prec);
acb_mat_clear(c);
acb_mat_clear(cinv);
}