flint-sys 0.9.0

Bindings to the FLINT C library
Documentation
/*
    Copyright (C) 2024 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 "arb.h"
#include "acb.h"
#include "acb_theta.h"

void
acb_theta_ctx_z_clear(acb_theta_ctx_z_t ctx)
{
    slong g = ctx->g;

    _acb_vec_clear(ctx->exp_z, g);
    _acb_vec_clear(ctx->exp_2z, g);
    _acb_vec_clear(ctx->exp_z_inv, g);
    _acb_vec_clear(ctx->exp_2z_inv, g);
    _arb_vec_clear(ctx->v, g);
    arb_clear(&ctx->u);
    arb_clear(&ctx->uinv);
}