MCPcopy Create free account
hub / github.com/pybind/pybind11 / blockConst

Method blockConst

tests/test_eigen_matrix.cpp:254–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 return mat.block(r, c, nrow, ncol);
253 }
254 Eigen::Block<const Eigen::MatrixXd> blockConst(int r, int c, int nrow, int ncol) const {
255 return mat.block(r, c, nrow, ncol);
256 }
257 py::EigenDMap<Eigen::Matrix2d> corners() {
258 return py::EigenDMap<Eigen::Matrix2d>(
259 mat.data(),

Callers

nothing calls this directly

Calls 1

blockMethod · 0.80

Tested by

no test coverage detected