2016-04-26 17:20:05 +02:00
|
|
|
/*
|
2015-01-21 17:28:16 +01:00
|
|
|
Copyright (C) 2015 Fredrik Johansson
|
|
|
|
|
2016-04-26 17:20:05 +02:00
|
|
|
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/>.
|
|
|
|
*/
|
2015-01-21 17:28:16 +01:00
|
|
|
|
|
|
|
#include "acb_hypgeom.h"
|
|
|
|
|
|
|
|
void
|
2015-11-05 17:46:43 +00:00
|
|
|
acb_hypgeom_expint(acb_t res, const acb_t s, const acb_t z, slong prec)
|
2015-01-21 17:28:16 +01:00
|
|
|
{
|
|
|
|
acb_t t;
|
|
|
|
acb_init(t);
|
|
|
|
acb_sub_ui(t, s, 1, prec);
|
|
|
|
acb_neg(t, t);
|
2016-03-10 01:35:18 +01:00
|
|
|
acb_hypgeom_gamma_upper(res, t, z, 2, prec);
|
2015-01-21 17:28:16 +01:00
|
|
|
acb_clear(t);
|
|
|
|
}
|
|
|
|
|