MCPcopy Create free account
hub / github.com/avaxman/Directional / topLeftCorner

Function topLeftCorner

external/eigen/doc/examples/class_Block.cpp:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4template<typename Derived>
5Eigen::Block<Derived>
6topLeftCorner(Eigen::MatrixBase<Derived>& m, int rows, int cols)
7{
8 return Eigen::Block<Derived>(m.derived(), 0, 0, rows, cols);
9}
10
11template<typename Derived>
12const Eigen::Block<const Derived>

Callers 2

cornersFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

cornersFunction · 0.68