| 1326 | /// |
| 1327 | template<int N> |
| 1328 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE |
| 1329 | typename FixedSegmentReturnType<N>::Type head(Index n = N) |
| 1330 | { |
| 1331 | EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) |
| 1332 | return typename FixedSegmentReturnType<N>::Type(derived(), 0, n); |
| 1333 | } |
| 1334 | |
| 1335 | /// This is the const version of head<int>(). |
| 1336 | template<int N> |