Signalsmith Audio's DSP Library  1.6.0
Useful C++ classes/templates for audio effects
Static Methods
signalsmith::mix::Householder< Sample, size > Class Template Reference

#include <mix.h>

Detailed Description

template<typename Sample, int size = -1>
class signalsmith::mix::Householder< Sample, size >

Householder: moderate mixing, 2N operations.

Static Methods

template<class Data >
static void inPlace (Data &&data)
 
constexpr static Sample scalingFactor ()
 

Method Details

◆ inPlace()

template<typename Sample , int size = -1>
template<class Data >
static void signalsmith::mix::Householder< Sample, size >::inPlace ( Data &&  data)
inlinestatic

TODO: test for C++20, which makes std::complex::operator/ constexpr

◆ scalingFactor()

template<typename Sample , int size = -1>
constexpr static Sample signalsmith::mix::Householder< Sample, size >::scalingFactor ( )
inlinestaticconstexpr
Deprecated:
The matrix is already orthogonal, but this is here for compatibility with Hadamard