gsl_sort__subsetind.c 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /* sort/subsetind.c
  2. *
  3. * Copyright (C) 2001, 2007 Brian Gough
  4. *
  5. * This is free software; you can redistribute it and/or modify it
  6. * under the terms of the GNU General Public License as published by the
  7. * Free Software Foundation; either version 3, or (at your option) any
  8. * later version.
  9. *
  10. * This source is distributed in the hope that it will be useful, but WITHOUT
  11. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  13. * for more details.
  14. */
  15. #include "gsl__config.h"
  16. #include "gsl_errno.h"
  17. #include "gsl_vector.h"
  18. #include "gsl_sort.h"
  19. #include "gsl_sort_vector.h"
  20. #define BASE_LONG_DOUBLE
  21. #include "templates_on.h"
  22. #include "gsl_sort__subsetind_source.c"
  23. #include "templates_off.h"
  24. #undef BASE_LONG_DOUBLE
  25. #define BASE_DOUBLE
  26. #include "templates_on.h"
  27. #include "gsl_sort__subsetind_source.c"
  28. #include "templates_off.h"
  29. #undef BASE_DOUBLE
  30. #define BASE_FLOAT
  31. #include "templates_on.h"
  32. #include "gsl_sort__subsetind_source.c"
  33. #include "templates_off.h"
  34. #undef BASE_FLOAT
  35. #define BASE_ULONG
  36. #include "templates_on.h"
  37. #include "gsl_sort__subsetind_source.c"
  38. #include "templates_off.h"
  39. #undef BASE_ULONG
  40. #define BASE_LONG
  41. #include "templates_on.h"
  42. #include "gsl_sort__subsetind_source.c"
  43. #include "templates_off.h"
  44. #undef BASE_LONG
  45. #define BASE_UINT
  46. #include "templates_on.h"
  47. #include "gsl_sort__subsetind_source.c"
  48. #include "templates_off.h"
  49. #undef BASE_UINT
  50. #define BASE_INT
  51. #include "templates_on.h"
  52. #include "gsl_sort__subsetind_source.c"
  53. #include "templates_off.h"
  54. #undef BASE_INT
  55. #define BASE_USHORT
  56. #include "templates_on.h"
  57. #include "gsl_sort__subsetind_source.c"
  58. #include "templates_off.h"
  59. #undef BASE_USHORT
  60. #define BASE_SHORT
  61. #include "templates_on.h"
  62. #include "gsl_sort__subsetind_source.c"
  63. #include "templates_off.h"
  64. #undef BASE_SHORT
  65. #define BASE_UCHAR
  66. #include "templates_on.h"
  67. #include "gsl_sort__subsetind_source.c"
  68. #include "templates_off.h"
  69. #undef BASE_UCHAR
  70. #define BASE_CHAR
  71. #include "templates_on.h"
  72. #include "gsl_sort__subsetind_source.c"
  73. #include "templates_off.h"
  74. #undef BASE_CHAR