File indexing completed on 2025-12-16 09:58:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef BOOST_NUMERIC_UBLAS_OPERATION_NUM_COLUMNS_HPP
0019 #define BOOST_NUMERIC_UBLAS_OPERATION_NUM_COLUMNS_HPP
0020
0021
0022 #include <boost/numeric/ublas/detail/config.hpp>
0023 #include <boost/numeric/ublas/expression_types.hpp>
0024 #include <boost/numeric/ublas/traits.hpp>
0025
0026
0027 namespace boost { namespace numeric { namespace ublas {
0028
0029
0030
0031
0032
0033
0034
0035 template <typename MatrixExprT>
0036 BOOST_UBLAS_INLINE
0037 typename matrix_traits<MatrixExprT>::size_type num_columns(matrix_expression<MatrixExprT> const& me)
0038 {
0039 return me().size2();
0040 }
0041
0042 }}}
0043
0044
0045 #endif