32 template <
typename entry_t>
37 using entry_type = entry_t;
42 row_wise_matrix() =
default;
43 row_wise_matrix(row_wise_matrix
const &) =
default;
44 row_wise_matrix(row_wise_matrix &&) =
default;
45 row_wise_matrix & operator=(row_wise_matrix
const &) =
default;
46 row_wise_matrix & operator=(row_wise_matrix &&) =
default;
47 ~row_wise_matrix() =
default;
55 : _entries{std::move(entries)}, _rows{rows}, _cols{cols}
60 size_t rows() const noexcept
66 size_t cols() const noexcept
72 entry_type at(
size_t const row,
size_t const col)
const noexcept
74 assert(row < rows() && col < cols());
75 return _entries[row * cols() + col];
Definition: aligned_sequence_concept.hpp:35