voidacb_modular_theta_transform(int * R, int * S, int * C, constpsl2z_tg)source
Computes the data of the transformation formula expressing theta functions at τ through theta functions at τ′=gτ: integers Ri, Si (arrays of length 4) and C∈{0,1} such that for i=0,1,2,3
θ1+i(z,τ)=eπiRi/4⋅A⋅B⋅θ1+Si(z′,τ′),
where z′=z and A=B=1 if C=0, and if C=1
z′=cτ+d−z,A=cτ+di,B=exp(−πiccτ+dz2).
A is well defined with the principal square root since A2=i/(cτ+d) lies in the right half-plane.
If c=0, then C=0: θi(z,τ)=e−πib/4θi(z,τ+b) for i=1,2, while θ3 and θ4 are unchanged when b is even and swap places when b is odd.
For c>0, C=1 and the general transformations are given by Rademacher [Rad1973] (whose formulas contain typos and have the transformed and untransformed variables exchanged). With θm,n defined for m,n∈Z by
[Rad1973] H. Rademacher, Topics in analytic number theory, Springer, 1973.
Cite this page
The FLINT team, “acb_modular_theta_transform (acb_modular.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_modular/acb_modular_theta_transform.html (generated 2026-11-02).
@misc{flint-doc-acb-modular-acb-modular-theta-transform,
author = {{The FLINT team}},
title = {{acb\_modular\_theta\_transform (acb\_modular.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_modular/acb_modular_theta_transform.html},
note = {Generated 2026-11-02}
}