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

Method refConst

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

Source from the content-addressed store, hash-verified

248 const Eigen::MatrixXd *viewPtr() { return &mat; }
249 Eigen::Ref<Eigen::MatrixXd> ref() { return mat; }
250 Eigen::Ref<const Eigen::MatrixXd> refConst() { return mat; }
251 Eigen::Block<Eigen::MatrixXd> block(int r, int c, int nrow, int ncol) {
252 return mat.block(r, c, nrow, ncol);
253 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected