|
DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
|
Voltage source with series resistance (Thévenin 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 (Thévenin 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 |