MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / tail

Function tail

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

Source from the content-addressed store, hash-verified

1253typename FixedSegmentReturnType<internal::get_fixed_value<NType>::value>::Type
1254#else
1255typename FixedSegmentReturnType<...>::Type
1256#endif
1257tail(NType n)
1258{
1259 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived)
1260 return typename FixedSegmentReturnType<internal::get_fixed_value<NType>::value>::Type
1261 (derived(), this->size() - internal::get_runtime_value(n), internal::get_runtime_value(n));
1262}
1263
1264/// This is the const version of tail(Index).
1265template<typename NType>

Callers

nothing calls this directly

Calls 3

TypeEnum · 0.85
get_runtime_valueFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected