![]() |
Boost.uBlas 1.49
Linear Algebra in C++: matrices, vectors and numeric algorithms
|
00001 00017 #ifndef BOOST_NUMERIC_UBLAS_OPERATION_NUM_ROWS_HPP 00018 #define BOOST_NUMERIC_UBLAS_OPERATION_NUM_ROWS_HPP 00019 00020 00021 #include <boost/numeric/ublas/detail/config.hpp> 00022 00023 00024 namespace boost { namespace numeric { namespace ublas { 00025 00032 template <typename MatrixExprT> 00033 BOOST_UBLAS_INLINE 00034 typename MatrixExprT::size_type num_rows(MatrixExprT const& m) 00035 { 00036 return m.size1(); 00037 } 00038 00039 }}} // Namespace boost::numeric::ublas 00040 00041 00042 #endif // BOOST_NUMERIC_UBLAS_OPERATION_NUM_ROWS_HPP