2 // Copyright (c) 2000-2002
3 // Joerg Walter, Mathias Koch
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)
9 // The authors gratefully acknowledge the support of
10 // GeNeSys mbH & Co. KG in producing this work.
17 # pragma warning(disable:4800 4996 4127 4100)
20 #include <boost/multiprecision/cpp_dec_float.hpp>
23 typedef boost::multiprecision::number<boost::multiprecision::cpp_dec_float<50>, boost::multiprecision::et_on> mp_test_type;
25 typedef boost::multiprecision::number<boost::multiprecision::cpp_dec_float<50>, boost::multiprecision::et_off> mp_test_type;
27 //typedef double mp_test_type;
32 #define USE_UNBOUNDED_ARRAY
33 #define USE_STD_VECTOR
34 #define USE_BOUNDED_VECTOR USE_MATRIX
35 #define USE_UNBOUNDED_ARRAY
38 #define USE_MAPPED_VECTOR
39 #define USE_COMPRESSED_VECTOR
40 #define USE_COORDINATE_VECTOR
41 #define USE_MAPPED_MATRIX
42 #define USE_COMPRESSED_MATRIX
43 #define USE_COORDINATE_MATRIX
47 #include <boost/numeric/ublas/vector.hpp>
48 #include <boost/numeric/ublas/matrix.hpp>
49 #include <boost/numeric/ublas/matrix_proxy.hpp>
50 #include <boost/numeric/ublas/banded.hpp>
51 #include <boost/numeric/ublas/io.hpp>
53 namespace ublas = boost::numeric::ublas;
55 #include "common/init.hpp"
61 void test_matrix_vector ();
65 // FIXME slice are failing in assignment to zero elements