MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / Type head

Method Type head

include/Eigen/Eigen/src/plugins/BlockMethods.h:1328–1333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1326///
1327template<int N>
1328EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1329typename 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>().
1336template<int N>

Callers

nothing calls this directly

Calls 1

TypeEnum · 0.85

Tested by

no test coverage detected