mirror of
https://github.com/vale981/arb
synced 2025-03-05 09:21:38 -05:00
47 lines
1.1 KiB
C
47 lines
1.1 KiB
C
/*
|
|
Copyright (C) 2013 Fredrik Johansson
|
|
|
|
This file is part of Arb.
|
|
|
|
Arb 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 2.1 of the License, or
|
|
(at your option) any later version. See <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef ACB_CALC_H
|
|
#define ACB_CALC_H
|
|
|
|
#include "acb.h"
|
|
#include "acb_poly.h"
|
|
#include "acb_mat.h"
|
|
#include "arb_calc.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef int (*acb_calc_func_t)(acb_ptr out,
|
|
const acb_t inp, void * param, slong order, slong prec);
|
|
|
|
/* Bounds */
|
|
|
|
void acb_calc_cauchy_bound(arb_t bound, acb_calc_func_t func,
|
|
void * param, const acb_t x, const arb_t radius,
|
|
slong maxdepth, slong prec);
|
|
|
|
/* Integration */
|
|
|
|
int acb_calc_integrate_taylor(acb_t res,
|
|
acb_calc_func_t func, void * param,
|
|
const acb_t a, const acb_t b,
|
|
const arf_t inner_radius,
|
|
const arf_t outer_radius,
|
|
slong accuracy_goal, slong prec);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|