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

Method ref

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

Source from the content-addressed store, hash-verified

247 const Eigen::MatrixXd &view() { return mat; }
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);

Callers 2

test_eigen_keepaliveFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected