1 | // |
---|
2 | // Copyright (c) 2000-2002 |
---|
3 | // Joerg Walter, Mathias Koch |
---|
4 | // |
---|
5 | // Permission to use, copy, modify, distribute and sell this software |
---|
6 | // and its documentation for any purpose is hereby granted without fee, |
---|
7 | // provided that the above copyright notice appear in all copies and |
---|
8 | // that both that copyright notice and this permission notice appear |
---|
9 | // in supporting documentation. The authors make no representations |
---|
10 | // about the suitability of this software for any purpose. |
---|
11 | // It is provided "as is" without express or implied warranty. |
---|
12 | // |
---|
13 | // The authors gratefully acknowledge the support of |
---|
14 | // GeNeSys mbH & Co. KG in producing this work. |
---|
15 | // |
---|
16 | |
---|
17 | #ifndef TEST2_H |
---|
18 | #define TEST2_H |
---|
19 | |
---|
20 | #include <iostream> |
---|
21 | |
---|
22 | #include <boost/numeric/ublas/vector.hpp> |
---|
23 | #include <boost/numeric/ublas/matrix.hpp> |
---|
24 | #include <boost/numeric/ublas/triangular.hpp> |
---|
25 | #include <boost/numeric/ublas/io.hpp> |
---|
26 | #include <boost/numeric/ublas/blas.hpp> |
---|
27 | |
---|
28 | namespace ublas = boost::numeric::ublas; |
---|
29 | |
---|
30 | #include "common/init.hpp" |
---|
31 | |
---|
32 | template<class V, int N> |
---|
33 | struct test_blas_1 { |
---|
34 | typedef typename V::value_type value_type; |
---|
35 | typedef typename ublas::type_traits<value_type>::real_type real_type; |
---|
36 | |
---|
37 | void test (); |
---|
38 | }; |
---|
39 | |
---|
40 | template<class V, class M, int N> |
---|
41 | struct test_blas_2 { |
---|
42 | typedef typename V::value_type value_type; |
---|
43 | |
---|
44 | void test (); |
---|
45 | }; |
---|
46 | |
---|
47 | template<class M, int N> |
---|
48 | struct test_blas_3 { |
---|
49 | typedef typename M::value_type value_type; |
---|
50 | |
---|
51 | void test (); |
---|
52 | }; |
---|
53 | |
---|
54 | |
---|
55 | #endif |
---|