MCPcopy Create free account
hub / github.com/Derious/cuMPC / topLeftCorner

Function topLeftCorner

dependence/eigen-3.4.0/doc/examples/class_Block.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

mainFunction · 0.70
cornersFunction · 0.50

Calls

no outgoing calls

Tested by 1

cornersFunction · 0.40