| 831 | /// |
| 832 | template<int N> |
| 833 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE |
| 834 | typename NColsBlockXpr<N>::Type leftCols(Index n = N) |
| 835 | { |
| 836 | return typename NColsBlockXpr<N>::Type(derived(), 0, 0, rows(), n); |
| 837 | } |
| 838 | |
| 839 | /// This is the const version of leftCols<int>(). |
| 840 | template<int N> |