| // |
| // Copyright (c) 2000-2002 |
| // Joerg Walter, Mathias Koch |
| // |
| // Distributed under the Boost Software License, Version 1.0. (See |
| // accompanying file LICENSE_1_0.txt or copy at |
| // http://www.boost.org/LICENSE_1_0.txt) |
| // |
| // The authors gratefully acknowledge the support of |
| // GeNeSys mbH & Co. KG in producing this work. |
| // |
| |
| #ifndef TEST4_H |
| #define TEST4_H |
| |
| #include <iostream> |
| |
| #include <boost/numeric/ublas/vector.hpp> |
| #include <boost/numeric/ublas/matrix.hpp> |
| #include <boost/numeric/ublas/matrix_proxy.hpp> |
| #include <boost/numeric/ublas/banded.hpp> |
| #include <boost/numeric/ublas/io.hpp> |
| |
| namespace ublas = boost::numeric::ublas; |
| |
| #include "common/init.hpp" |
| |
| //#define USE_BANDED |
| #define USE_DIAGONAL |
| |
| |
| void test_matrix_vector (); |
| void test_matrix (); |
| |
| |
| // FIXME slice are failing in assignment to zero elements |
| #undef USE_SLICE |
| |
| #endif |