test2.hpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // Copyright (c) 2000-2002
  3. // Joerg Walter, Mathias Koch
  4. //
  5. // Distributed under the Boost Software License, Version 1.0. (See
  6. // accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. //
  9. // The authors gratefully acknowledge the support of
  10. // GeNeSys mbH & Co. KG in producing this work.
  11. //
  12. #ifndef TEST2_H
  13. #define TEST2_H
  14. #include <iostream>
  15. #include <boost/numeric/ublas/vector.hpp>
  16. #include <boost/numeric/ublas/matrix.hpp>
  17. #include <boost/numeric/ublas/triangular.hpp>
  18. #include <boost/numeric/ublas/io.hpp>
  19. #include <boost/numeric/ublas/blas.hpp>
  20. namespace ublas = boost::numeric::ublas;
  21. #include "common/init.hpp"
  22. template<class V, std::size_t N>
  23. struct test_blas_1 {
  24. typedef typename V::value_type value_type;
  25. typedef typename ublas::type_traits<value_type>::real_type real_type;
  26. void test ();
  27. };
  28. template<class V, class M, std::size_t N>
  29. struct test_blas_2 {
  30. typedef typename V::value_type value_type;
  31. void test ();
  32. };
  33. template<class M, std::size_t N>
  34. struct test_blas_3 {
  35. typedef typename M::value_type value_type;
  36. void test ();
  37. };
  38. #endif