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

Method cols

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

Source from the content-addressed store, hash-verified

248
249 py::ssize_t rows() const { return Matrix::rows() / m_row_factor; }
250 py::ssize_t cols() const { return Matrix::cols() / m_col_factor; }
251 py::ssize_t row_factor() const { return m_row_factor; }
252 py::ssize_t col_factor() const { return m_col_factor; }
253

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected