Line | |
---|
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 TEST4_H |
---|
18 | #define TEST4_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/matrix_proxy.hpp> |
---|
25 | #include <boost/numeric/ublas/banded.hpp> |
---|
26 | #include <boost/numeric/ublas/io.hpp> |
---|
27 | |
---|
28 | namespace ublas = boost::numeric::ublas; |
---|
29 | |
---|
30 | #include "../common/init.hpp" |
---|
31 | |
---|
32 | //#define USE_BANDED |
---|
33 | #define USE_DIAGONAL |
---|
34 | |
---|
35 | |
---|
36 | void test_matrix_vector (); |
---|
37 | void test_matrix (); |
---|
38 | |
---|
39 | |
---|
40 | // FIXME slice are failing in assignment to zero elements |
---|
41 | #undef USE_SLICE |
---|
42 | |
---|
43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.