math_fwd.hpp 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. // Boost math_fwd.hpp header file ------------------------------------------//
  2. // (C) Copyright Hubert Holin and Daryle Walker 2001-2002. Distributed under the Boost
  3. // Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/math for documentation.
  6. #ifndef BOOST_MATH_FWD_HPP
  7. #define BOOST_MATH_FWD_HPP
  8. #include <boost/cstdint.hpp>
  9. namespace boost
  10. {
  11. namespace math
  12. {
  13. // From <boost/math/quaternion.hpp> ----------------------------------------//
  14. template < typename T >
  15. class quaternion;
  16. template < >
  17. class quaternion< float >;
  18. template < >
  19. class quaternion< double >;
  20. template < >
  21. class quaternion< long double >;
  22. // Also has many function templates (including operators)
  23. // From <boost/math/octonion.hpp> ------------------------------------------//
  24. template < typename T >
  25. class octonion;
  26. template < >
  27. class octonion< float >;
  28. template < >
  29. class octonion< double >;
  30. template < >
  31. class octonion< long double >;
  32. // Also has many function templates (including operators)
  33. // From <boost/math/special_functions/acosh.hpp> ---------------------------//
  34. // Only has function template
  35. // From <boost/math/special_functions/asinh.hpp> ---------------------------//
  36. // Only has function template
  37. // From <boost/math/special_functions/atanh.hpp> ---------------------------//
  38. // Only has function template
  39. // From <boost/math/special_functions/sinc.hpp> ----------------------------//
  40. // Only has function templates
  41. // From <boost/math/special_functions/sinhc.hpp> ---------------------------//
  42. // Only has function templates
  43. // From <boost/math/common_factor.hpp> -------------------------------------//
  44. // Only #includes other headers
  45. // From <boost/math/common_factor_ct.hpp> ----------------------------------//
  46. #ifdef BOOST_NO_INTEGRAL_INT64_T
  47. typedef unsigned long static_gcd_type;
  48. #else
  49. typedef boost::uintmax_t static_gcd_type;
  50. #endif
  51. template < static_gcd_type Value1, static_gcd_type Value2 >
  52. struct static_gcd;
  53. template < static_gcd_type Value1, static_gcd_type Value2 >
  54. struct static_lcm;
  55. // From <boost/math/common_factor_rt.hpp> ----------------------------------//
  56. template < typename IntegerType >
  57. class gcd_evaluator;
  58. template < typename IntegerType >
  59. class lcm_evaluator;
  60. // Also has a couple of function templates
  61. } // namespace math
  62. } // namespace boost
  63. #endif // BOOST_MATH_FWD_HPP