1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #ifndef BOOST_NUMERIC_UBLAS_OPERATION_NUM_ROWS_HPP
- #define BOOST_NUMERIC_UBLAS_OPERATION_NUM_ROWS_HPP
- #include <boost/numeric/ublas/detail/config.hpp>
- #include <boost/numeric/ublas/expression_types.hpp>
- #include <boost/numeric/ublas/traits.hpp>
- namespace boost { namespace numeric { namespace ublas {
-
- template <typename MatrixExprT>
- BOOST_UBLAS_INLINE
- typename matrix_traits<MatrixExprT>::size_type num_rows(matrix_expression<MatrixExprT> const& me)
- {
- return me().size1();
- }
- }}}
- #endif
|