/usr/include/hypgeom.h is in libflint-arb-dev 2.8.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | /*=============================================================================
This file is part of ARB.
ARB is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
ARB is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with ARB; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
=============================================================================*/
/******************************************************************************
Copyright (C) 2012 Fredrik Johansson
******************************************************************************/
#ifndef HYPGEOM_H
#define HYPGEOM_H
#include "fmprb.h"
#include "arb.h"
#include "mag.h"
#include "flint/fmpz_poly.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct
{
fmpz_poly_t A;
fmpz_poly_t B;
fmpz_poly_t P;
fmpz_poly_t Q;
/* precomputation data */
int have_precomputed;
slong r;
slong boundC;
slong boundD;
slong boundK;
mag_t MK;
}
hypgeom_struct;
typedef hypgeom_struct hypgeom_t[1];
void hypgeom_init(hypgeom_t hyp);
void hypgeom_clear(hypgeom_t hyp);
void hypgeom_precompute(hypgeom_t hyp);
slong hypgeom_estimate_terms(const mag_t z, int r, slong prec);
slong hypgeom_bound(mag_t error, int r,
slong C, slong D, slong K, const mag_t TK, const mag_t z, slong prec);
void fmprb_hypgeom_sum(fmprb_t P, fmprb_t Q, const hypgeom_t hyp, slong n, slong prec);
void fmprb_hypgeom_infsum(fmprb_t P, fmprb_t Q, hypgeom_t hyp, slong target_prec, slong prec);
void arb_hypgeom_sum(arb_t P, arb_t Q, const hypgeom_t hyp, slong n, slong prec);
void arb_hypgeom_infsum(arb_t P, arb_t Q, hypgeom_t hyp, slong target_prec, slong prec);
#ifdef __cplusplus
}
#endif
#endif
|