32 std::optional<float> arg = std::nullopt);
45 std::span<float> input_gains = std::span<float>(),
46 std::span<float> output_gains = std::span<float>());
ScalarMatrixType
Represents the type of a scalar matrix.
Definition types.h:50
std::vector< float > GenerateMatrix(uint32_t mat_size, ScalarMatrixType type, uint32_t seed=0, std::optional< float > arg=std::nullopt)
Generates a square matrix of size mat_size x mat_size based on the specified type.
std::vector< float > NestedAllpassMatrix(uint32_t mat_size, uint32_t seed=0, std::span< float > input_gains=std::span< float >(), std::span< float > output_gains=std::span< float >())
Generates a nested allpass matrix of size mat_size x mat_size as described in [1].