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

Method create

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

Source from the content-addressed store, hash-verified

240 ReturnTester(const ReturnTester &) = default;
241 ~ReturnTester() { print_destroyed(this); }
242 static Eigen::MatrixXd create() { return Eigen::MatrixXd::Ones(10, 10); }
243 // NOLINTNEXTLINE(readability-const-return-type)
244 static const Eigen::MatrixXd createConst() { return Eigen::MatrixXd::Ones(10, 10); }
245 Eigen::MatrixXd &get() { return mat; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected