| 1 | /* specfunc/gsl_sf_mathieu.h |
| 2 | * |
| 3 | * Copyright (C) 2002 Lowell Johnson |
| 4 | * |
| 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. |
| 9 | * |
| 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. |
| 14 | * |
| 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 18 | */ |
| 19 | |
| 20 | /* Author: L. Johnson */ |
| 21 | |
| 22 | #ifndef __GSL_SF_MATHIEU_H__ |
| 23 | #define __GSL_SF_MATHIEU_H__cxx . . $ `external/gsl/gsl_sf_mathieu.h:23:9`! |
| 24 | |
| 25 | #include "gsl_sf_result.h"cxx . . $ `<file>/external/gsl/gsl_sf_result.h`/ |
| 26 | #include "gsl_eigen.h"cxx . . $ `<file>/external/gsl/gsl_eigen.h`/ |
| 27 | |
| 28 | #undef __BEGIN_DECLScxx . . $ `external/gsl/gsl_eigen.h:32:10`! |
| 29 | #undef __END_DECLScxx . . $ `external/gsl/gsl_sf_result.h:32:10`! |
| 30 | #ifdef __cplusplus |
| 31 | # define __BEGIN_DECLS extern "C" { |
| 32 | # define __END_DECLS } |
| 33 | #else |
| 34 | # define __BEGIN_DECLScxx . . $ `external/gsl/gsl_sf_mathieu.h:34:10`! /* empty */ |
| 35 | # define __END_DECLScxx . . $ `external/gsl/gsl_sf_mathieu.h:35:10`! /* empty */ |
| 36 | #endif |
| 37 | |
| 38 | __BEGIN_DECLScxx . . $ `external/gsl/gsl_sf_mathieu.h:34:10`! |
| 39 | |
| 40 | #define GSL_SF_MATHIEU_COEFFcxx . . $ `external/gsl/gsl_sf_mathieu.h:40:9`! 100 |
| 41 | |
| 42 | typedef structcxx . . $ $anonymous_type_66fcc21cdcd56cb3_0# |
| 43 | { |
| 44 | size_tcxx . . $ size_t# sizecxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#size.; |
| 45 | size_tcxx . . $ size_t# even_ordercxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#even_order.; |
| 46 | size_tcxx . . $ size_t# odd_ordercxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#odd_order.; |
| 47 | int extra_valuescxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#extra_values.; |
| 48 | double qacxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#qa.; /* allow for caching of results: not implemented yet */ |
| 49 | double qbcxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#qb.; /* allow for caching of results: not implemented yet */ |
| 50 | double *aacxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#aa.; |
| 51 | double *bbcxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#bb.; |
| 52 | double *ddcxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#dd.; |
| 53 | double *eecxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#ee.; |
| 54 | double *ttcxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#tt.; |
| 55 | double *e2cxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#e2.; |
| 56 | double *zzcxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#zz.; |
| 57 | gsl_vectorcxx . . $ gsl_vector# *evalcxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#eval.; |
| 58 | gsl_matrixcxx . . $ gsl_matrix# *eveccxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#evec.; |
| 59 | gsl_eigen_symmv_workspacecxx . . $ gsl_eigen_symmv_workspace# *wmatcxx . . $ $anonymous_type_66fcc21cdcd56cb3_0#wmat.; |
| 60 | } gsl_sf_mathieu_workspacecxx . . $ gsl_sf_mathieu_workspace#; |
| 61 | |
| 62 | |
| 63 | /* Compute an array of characteristic (eigen) values from the recurrence |
| 64 | matrices for the Mathieu equations. */ |
| 65 | int gsl_sf_mathieu_a_arraycxx . . $ gsl_sf_mathieu_a_array(c8f5ac09ca3f4b20).(int order_min, int order_max, double qq, gsl_sf_mathieu_workspacecxx . . $ gsl_sf_mathieu_workspace# *work, double result_array[]); |
| 66 | int gsl_sf_mathieu_b_arraycxx . . $ gsl_sf_mathieu_b_array(c8f5ac09ca3f4b20).(int order_min, int order_max, double qq, gsl_sf_mathieu_workspacecxx . . $ gsl_sf_mathieu_workspace# *work, double result_array[]); |
| 67 | |
| 68 | /* Compute the characteristic value for a Mathieu function of order n and |
| 69 | type ntype. */ |
| 70 | int gsl_sf_mathieu_acxx . . $ gsl_sf_mathieu_a(6e0db8bf56396db2).(int order, double qq, gsl_sf_resultcxx . . $ gsl_sf_result# *result); |
| 71 | int gsl_sf_mathieu_bcxx . . $ gsl_sf_mathieu_b(6e0db8bf56396db2).(int order, double qq, gsl_sf_resultcxx . . $ gsl_sf_result# *result); |
| 72 | |
| 73 | /* Compute the Fourier coefficients for a Mathieu function. */ |
| 74 | int gsl_sf_mathieu_a_coeffcxx . . $ gsl_sf_mathieu_a_coeff(65b1feca1ff070b9).(int order, double qq, double aa, double coeff[]); |
| 75 | int gsl_sf_mathieu_b_coeffcxx . . $ gsl_sf_mathieu_b_coeff(65b1feca1ff070b9).(int order, double qq, double aa, double coeff[]); |
| 76 | |
| 77 | /* Allocate computational storage space for eigenvalue solution. */ |
| 78 | gsl_sf_mathieu_workspacecxx . . $ gsl_sf_mathieu_workspace# *gsl_sf_mathieu_alloccxx . . $ gsl_sf_mathieu_alloc(53f09d5e7c470cd).(const size_tcxx . . $ size_t# nn, |
| 79 | const double qq); |
| 80 | void gsl_sf_mathieu_freecxx . . $ gsl_sf_mathieu_free(f5b085d8c6ef2116).(gsl_sf_mathieu_workspacecxx . . $ gsl_sf_mathieu_workspace# *workspace); |
| 81 | |
| 82 | /* Compute an angular Mathieu function. */ |
| 83 | int gsl_sf_mathieu_cecxx . . $ gsl_sf_mathieu_ce(6ef401e75d6523ba).(int order, double qq, double zz, gsl_sf_resultcxx . . $ gsl_sf_result# *result); |
| 84 | int gsl_sf_mathieu_secxx . . $ gsl_sf_mathieu_se(6ef401e75d6523ba).(int order, double qq, double zz, gsl_sf_resultcxx . . $ gsl_sf_result# *result); |
| 85 | int gsl_sf_mathieu_ce_arraycxx . . $ gsl_sf_mathieu_ce_array(5584c3ba7093410f).(int nmin, int nmax, double qq, double zz, |
| 86 | gsl_sf_mathieu_workspacecxx . . $ gsl_sf_mathieu_workspace# *work, |
| 87 | double result_array[]); |
| 88 | int gsl_sf_mathieu_se_arraycxx . . $ gsl_sf_mathieu_se_array(5584c3ba7093410f).(int nmin, int nmax, double qq, double zz, |
| 89 | gsl_sf_mathieu_workspacecxx . . $ gsl_sf_mathieu_workspace# *work, |
| 90 | double result_array[]); |
| 91 | |
| 92 | /* Compute a radial Mathieu function. */ |
| 93 | int gsl_sf_mathieu_Mccxx . . $ gsl_sf_mathieu_Mc(2b90baf6a985faa0).(int kind, int order, double qq, double zz, |
| 94 | gsl_sf_resultcxx . . $ gsl_sf_result# *result); |
| 95 | int gsl_sf_mathieu_Mscxx . . $ gsl_sf_mathieu_Ms(2b90baf6a985faa0).(int kind, int order, double qq, double zz, |
| 96 | gsl_sf_resultcxx . . $ gsl_sf_result# *result); |
| 97 | int gsl_sf_mathieu_Mc_arraycxx . . $ gsl_sf_mathieu_Mc_array(545a012dffc2bb20).(int kind, int nmin, int nmax, double qq, |
| 98 | double zz, gsl_sf_mathieu_workspacecxx . . $ gsl_sf_mathieu_workspace# *work, |
| 99 | double result_array[]); |
| 100 | int gsl_sf_mathieu_Ms_arraycxx . . $ gsl_sf_mathieu_Ms_array(545a012dffc2bb20).(int kind, int nmin, int nmax, double qq, |
| 101 | double zz, gsl_sf_mathieu_workspacecxx . . $ gsl_sf_mathieu_workspace# *work, |
| 102 | double result_array[]); |
| 103 | |
| 104 | |
| 105 | __END_DECLScxx . . $ `external/gsl/gsl_sf_mathieu.h:35:10`! |
| 106 | |
| 107 | #endif /* !__GSL_SF_MATHIEU_H__ */ |