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

Function topLeftCorner

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

Source from the content-addressed store, hash-verified

247typename FixedBlockXpr<...,...>::Type
248#endif
249topLeftCorner(NRowsType cRows, NColsType cCols)
250{
251 return typename FixedBlockXpr<internal::get_fixed_value<NRowsType>::value,internal::get_fixed_value<NColsType>::value>::Type
252 (derived(), 0, 0, internal::get_runtime_value(cRows), internal::get_runtime_value(cCols));
253}
254
255/// This is the const version of topLeftCorner(Index, Index).
256template<typename NRowsType, typename NColsType>

Callers

nothing calls this directly

Calls 2

TypeEnum · 0.85
get_runtime_valueFunction · 0.85

Tested by

no test coverage detected