|
DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
|
Voltage source with series resistance (Thevenin leaf): b = Vs. More...
#include <WDF.h>
Public Member Functions | |
| ResistiveVoltageSource (T seriesResistanceOhms) noexcept | |
| void | setResistance (T ohms) noexcept |
| void | setVoltage (T volts) noexcept |
| void | prepare (double) noexcept |
| void | updatePorts () noexcept |
| void | reset () noexcept |
| double | portResistance () const noexcept |
| T | reflected () noexcept |
| void | incident (T a) noexcept |
| T | getVoltage () const noexcept |
| Voltage at the source terminals (after the series resistance). | |
Voltage source with series resistance (Thevenin leaf): b = Vs.
The series resistance doubles as the port resistance, which is what makes the source usable anywhere in the tree (an ideal source can only be a root).
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |