3 * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or (at
8 * your option) any later version.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 /* Author: G. Jungman */
22 /* Declare private but non-local support functions
23 * used in various Legendre function evaluations.
26 #include <gsl/gsl_sf_result.h>
29 /* Large negative mu asymptotic
30 * P^{-mu}_{-1/2 + I tau}, mu -> Inf
34 gsl_sf_conicalP_xlt1_large_neg_mu_e(double mu, double tau, double x,
35 gsl_sf_result * result, double * ln_multiplier);
38 /* Large tau uniform asymptotics
39 * P^{-mu}_{-1/2 + I tau}, tau -> Inf
43 gsl_sf_conicalP_xgt1_neg_mu_largetau_e(const double mu, const double tau,
44 const double x, double acosh_x,
45 gsl_sf_result * result, double * ln_multiplier);
48 /* Large tau uniform asymptotics
49 * P^{-mu}_{-1/2 + I tau}, tau -> Inf
53 gsl_sf_conicalP_xlt1_neg_mu_largetau_e(const double mu, const double tau,
54 const double x, const double acos_x,
55 gsl_sf_result * result, double * ln_multiplier);
58 /* P^{mu}_{-1/2 + I tau}
61 * * This is effective to precision EPS for
63 * (mu^2 + tau^2)/((1 + tau^2)^(1/2) x^2) < EPS^{1/3}
65 * since it goes only to a fixed order, based on the
66 * representation in terms of hypegeometric functions
68 * [Zhurina+Karmazina, (3.8)]
71 gsl_sf_conicalP_large_x_e(const double mu, const double tau, const double x,
72 gsl_sf_result * result, double * ln_multiplier);