Dense Round-2 matrix facade. More...
#include <mod_matrix.hpp>
Public Member Functions | |
| bool | add_route (std::size_t source, std::size_t destination, SampleType depth) |
| void | clear () |
| std::size_t | route_count () const |
| void | set_source (std::size_t source, SampleType value) |
| SampleType | source (std::size_t index) const |
| void | reset () |
| void | process () |
| SampleType | get (std::size_t destination) const |
| SampleType | worst_case_for (std::size_t destination) const |
Static Public Attributes | |
| static constexpr std::size_t | kMaxRoutes = NumSources * NumDestinations |
| static constexpr std::size_t | num_sources = NumSources |
| static constexpr std::size_t | num_destinations = NumDestinations |
Dense Round-2 matrix facade.
Unlike the slot-oriented ModMatrixT, this owns its source and destination arrays and reserves the complete N x M route cross-product. Keeping the two names distinct is necessary: their template signatures and reset/evaluation semantics are both public and cannot be represented by one C++ class template without making one call form invalid.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |