5 template <
typename Derived>
8 std::cout <<
"size (rows, cols): " << b.
size() <<
" (" << b.
rows()
9 <<
", " << b.
cols() <<
")" << std::endl;
Namespace containing all symbols from the Eigen library.
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index size() const EIGEN_NOEXCEPT
void print_size(const EigenBase< Derived > &b)
Array< int, Dynamic, 1 > v
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT