class
SushiDSP::WdfResistor
An adapted (reflection-free) linear resistor one-port.
- Declared in
include/SushiDSP/math/Wdf.hpp
Public member functions
explicit WdfResistor(float resistance_ohms)Parameters
resistance_ohmsThe resistor's value; also its WDF port resistance.
float port_resistance() constThe port resistance this element presents (equals its resistance).
Returns
The port resistance in ohms.
float reflect(float incident_wave)Computes the reflected wave for a given incident wave.
Parameters
incident_waveThe incident wave a.
Returns
The reflected wave b, always 0 for a matched resistor.

