Contents

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_ohms

The resistor's value; also its WDF port resistance.

float port_resistance() const

The 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_wave

The incident wave a.

Returns

The reflected wave b, always 0 for a matched resistor.