template<FloatType T, typename... Children>
class dspark::wdf::RType< T, Children >
N-port R-type adaptor for non-series/parallel interconnections.
Port 0 faces up (toward the root) and is adapted: its resistance is set to the Thévenin resistance seen into the network, making S(0,0) = 0. Ports 1..N-1 connect the children, in declaration order. The topology is a list of (node+, node-) pairs over a small node graph (-1 = ground reference).
On every updatePorts() the scattering matrix is rebuilt from Modified Nodal Analysis with the children's current port resistances – O(nodes^3), a few microseconds for typical circuits, fine for pot automation.
- Template Parameters
-
| T | Sample type of the wave interface. |
| Children | Child node types, one per port 1..N-1. |
Definition at line 562 of file WDF.h.