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 13 #ifndef TEST4_H 14 #define TEST4_H 15 16 #include <iostream> 17 18 #include <boost/numeric/ublas/vector.hpp> 19 #include <boost/numeric/ublas/matrix.hpp> 20 #include <boost/numeric/ublas/matrix_proxy.hpp> 21 #include <boost/numeric/ublas/banded.hpp> 22 #include <boost/numeric/ublas/io.hpp> 23 24 namespace ublas = boost::numeric::ublas; 25 26 #include "common/init.hpp" 27 28 //#define USE_BANDED 29 #define USE_DIAGONAL 30 31 32 void test_matrix_vector (); 33 void test_matrix (); 34 35 36 // FIXME slice are failing in assignment to zero elements 37 #undef USE_SLICE 38 39 #endif 40