gsl_fft__c_pass.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /* fft/c_pass.h
  2. *
  3. * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough
  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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  18. */
  19. static int
  20. FUNCTION(fft_complex,pass_2) (const BASE in[],
  21. const size_t istride,
  22. BASE out[],
  23. const size_t ostride,
  24. const gsl_fft_direction sign,
  25. const size_t product,
  26. const size_t n,
  27. const TYPE(gsl_complex) twiddle[]);
  28. static int
  29. FUNCTION(fft_complex,pass_3) (const BASE in[],
  30. const size_t istride,
  31. BASE out[],
  32. const size_t ostride,
  33. const gsl_fft_direction sign,
  34. const size_t product,
  35. const size_t n,
  36. const TYPE(gsl_complex) twiddle1[],
  37. const TYPE(gsl_complex) twiddle2[]);
  38. static int
  39. FUNCTION(fft_complex,pass_4) (const BASE in[],
  40. const size_t istride,
  41. BASE out[],
  42. const size_t ostride,
  43. const gsl_fft_direction sign,
  44. const size_t product,
  45. const size_t n,
  46. const TYPE(gsl_complex) twiddle1[],
  47. const TYPE(gsl_complex) twiddle2[],
  48. const TYPE(gsl_complex) twiddle3[]);
  49. static int
  50. FUNCTION(fft_complex,pass_5) (const BASE in[],
  51. const size_t istride,
  52. BASE out[],
  53. const size_t ostride,
  54. const gsl_fft_direction sign,
  55. const size_t product,
  56. const size_t n,
  57. const TYPE(gsl_complex) twiddle1[],
  58. const TYPE(gsl_complex) twiddle2[],
  59. const TYPE(gsl_complex) twiddle3[],
  60. const TYPE(gsl_complex) twiddle4[]);
  61. static int
  62. FUNCTION(fft_complex,pass_6) (const BASE in[],
  63. const size_t istride,
  64. BASE out[],
  65. const size_t ostride,
  66. const gsl_fft_direction sign,
  67. const size_t product,
  68. const size_t n,
  69. const TYPE(gsl_complex) twiddle1[],
  70. const TYPE(gsl_complex) twiddle2[],
  71. const TYPE(gsl_complex) twiddle3[],
  72. const TYPE(gsl_complex) twiddle4[],
  73. const TYPE(gsl_complex) twiddle5[]);
  74. static int
  75. FUNCTION(fft_complex,pass_7) (const BASE in[],
  76. const size_t istride,
  77. BASE out[],
  78. const size_t ostride,
  79. const gsl_fft_direction sign,
  80. const size_t product,
  81. const size_t n,
  82. const TYPE(gsl_complex) twiddle1[],
  83. const TYPE(gsl_complex) twiddle2[],
  84. const TYPE(gsl_complex) twiddle3[],
  85. const TYPE(gsl_complex) twiddle4[],
  86. const TYPE(gsl_complex) twiddle5[],
  87. const TYPE(gsl_complex) twiddle6[]);
  88. static int
  89. FUNCTION(fft_complex,pass_n) (BASE in[],
  90. const size_t istride,
  91. BASE out[],
  92. const size_t ostride,
  93. const gsl_fft_direction sign,
  94. const size_t factor,
  95. const size_t product,
  96. const size_t n,
  97. const TYPE(gsl_complex) twiddle[]);