28 #include <boost/version.hpp> 29 #if !(BOOST_VERSION >= 103200) 30 #error Requires Boost 1.32.0 or later 33 #include <boost/numeric/ublas/vector.hpp> 34 #include <boost/numeric/ublas/vector_proxy.hpp> 35 #include <boost/numeric/ublas/matrix.hpp> 36 #include <boost/numeric/ublas/matrix_proxy.hpp> 37 #include <boost/numeric/ublas/symmetric.hpp> 38 #include <boost/numeric/ublas/triangular.hpp> 39 #include <boost/numeric/ublas/banded.hpp> 40 #if defined(BAYES_FILTER_MAPPED) || defined(BAYES_FILTER_COMPRESSED) || defined(BAYES_FILTER_COORDINATE) 42 #include <boost/numeric/ublas/vector_sparse.hpp> 43 #include <boost/numeric/ublas/matrix_sparse.hpp> 44 #define BAYES_FILTER_GAPPY 53 namespace ublas = boost::numeric::ublas;
74 #if defined(BAYES_FILTER_MAPPED) 75 typedef ublas::mapped_vector<Float, std::map<std::size_t,Float> > BaseSparseVector;
76 typedef ublas::mapped_matrix<Float, ublas::row_major, std::map<std::size_t,Float> > BaseSparseRowMatrix;
77 typedef ublas::mapped_matrix<Float, ublas::column_major, std::map<std::size_t,Float> > BaseSparseColMatrix;
79 #elif defined(BAYES_FILTER_COMPRESSED) 80 typedef ublas::compressed_vector<Float> BaseSparseVector;
81 typedef ublas::compressed_matrix<Float, ublas::row_major> BaseSparseRowMatrix;
82 typedef ublas::compressed_matrix<Float, ublas::column_major> BaseSparseColMatrix;
84 #elif defined(BAYES_FILTER_COORDINATE) 85 typedef ublas::coordinate_vector<Float> BaseSparseVector;
86 typedef ublas::coordinate_matrix<Float, ublas::row_major> BaseSparseRowMatrix;
87 typedef ublas::coordinate_matrix<Float, ublas::column_major> BaseSparseColMatrix;
91 #ifndef BAYES_FILTER_GAPPY BaseDenseRowMatrix BaseRowMatrix
Definition: matSupSub.hpp:93
ublas::triangular_matrix< Float, ublas::lower, ublas::row_major > BaseDenseLowerTriMatrix
Definition: matSupSub.hpp:71
ublas::triangular_matrix< Float, ublas::upper, ublas::row_major > BaseDenseUpperTriMatrix
Definition: matSupSub.hpp:70
double Float
Definition: matSupSub.hpp:59
ublas::matrix< Float, ublas::row_major > BaseDenseRowMatrix
Definition: matSupSub.hpp:68
BaseDenseUpperTriMatrix BaseUpperTriMatrix
Definition: matSupSub.hpp:95
BaseDenseDiagMatrix BaseDiagMatrix
Definition: matSupSub.hpp:97
ublas::matrix< Float, ublas::column_major > BaseDenseColMatrix
Definition: matSupSub.hpp:69
BaseDenseColMatrix BaseColMatrix
Definition: matSupSub.hpp:94
BaseDenseVector BaseVector
Definition: matSupSub.hpp:92
BaseDenseLowerTriMatrix BaseLowerTriMatrix
Definition: matSupSub.hpp:96
Definition: matSup.cpp:33
ublas::vector< Float > BaseDenseVector
Definition: matSupSub.hpp:67
ublas::banded_matrix< Float > BaseDenseDiagMatrix
Definition: matSupSub.hpp:72