MCPcopy Create free account
hub / github.com/pybind/pybind11 / operator()

Method operator()

tests/test_buffers.cpp:239–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237 }
238
239 float operator()(py::ssize_t i, py::ssize_t j) const {
240 return Matrix::operator()(i * m_row_factor, j * m_col_factor);
241 }
242
243 float &operator()(py::ssize_t i, py::ssize_t j) {
244 return Matrix::operator()(i * m_row_factor, j * m_col_factor);

Callers

nothing calls this directly

Calls 1

operator()Function · 0.50

Tested by

no test coverage detected