| 229 | } |
| 230 | DiscontiguousMatrix(const DiscontiguousMatrix &) = delete; |
| 231 | ~DiscontiguousMatrix() { |
| 232 | print_destroyed(this, |
| 233 | std::to_string(rows() / m_row_factor) + "(*" |
| 234 | + std::to_string(m_row_factor) + ")x" |
| 235 | + std::to_string(cols() / m_col_factor) + "(*" |
| 236 | + std::to_string(m_col_factor) + ") matrix"); |
| 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); |
nothing calls this directly
no test coverage detected