#include <mix.h>
Hadamard: high mixing levels, N log(N) operations.
Static Methods | |
template<class Data > | |
static void | inPlace (Data &&data) |
Applies the matrix, scaled so it's orthogonal. More... | |
static Sample | scalingFactor () |
Scaling factor applied to make it orthogonal. More... | |
template<class Data , int startIndex = 0> | |
static void | unscaledInPlace (Data &&data) |
Skips the scaling, so it's a matrix full of 1 s. More... | |
|
inlinestatic |
Applies the matrix, scaled so it's orthogonal.
|
inlinestatic |
Scaling factor applied to make it orthogonal.
TODO: test for C++20, or whatever makes this constexpr. Maybe a #define
in common.h
?
|
inlinestatic |
Skips the scaling, so it's a matrix full of 1
s.