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

Method viewPtr

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

Source from the content-addressed store, hash-verified

246 Eigen::MatrixXd *getPtr() { return &mat; }
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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected