DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::wdf::Inverter< T, Child > Class Template Reference

Two-port polarity inverter (flips the connected subtree's polarity). More...

#include <WDF.h>

Public Member Functions

 Inverter (Child &c) noexcept
 
void prepare (double sampleRate) noexcept
 
void updatePorts () noexcept
 
void reset () noexcept
 
double portResistance () const noexcept
 
T reflected () noexcept
 
void incident (T a) noexcept
 

Detailed Description

template<FloatType T, typename Child>
class dspark::wdf::Inverter< T, Child >

Two-port polarity inverter (flips the connected subtree's polarity).

Definition at line 342 of file WDF.h.

Constructor & Destructor Documentation

◆ Inverter()

template<FloatType T, typename Child >
dspark::wdf::Inverter< T, Child >::Inverter ( Child &  c)
inlineexplicitnoexcept

Definition at line 345 of file WDF.h.

Member Function Documentation

◆ incident()

template<FloatType T, typename Child >
void dspark::wdf::Inverter< T, Child >::incident ( T  a)
inlinenoexcept

Definition at line 353 of file WDF.h.

◆ portResistance()

template<FloatType T, typename Child >
double dspark::wdf::Inverter< T, Child >::portResistance ( ) const
inlinenoexcept

Definition at line 351 of file WDF.h.

◆ prepare()

template<FloatType T, typename Child >
void dspark::wdf::Inverter< T, Child >::prepare ( double  sampleRate)
inlinenoexcept

Definition at line 347 of file WDF.h.

◆ reflected()

template<FloatType T, typename Child >
T dspark::wdf::Inverter< T, Child >::reflected ( )
inlinenoexcept

Definition at line 352 of file WDF.h.

◆ reset()

template<FloatType T, typename Child >
void dspark::wdf::Inverter< T, Child >::reset ( )
inlinenoexcept

Definition at line 349 of file WDF.h.

◆ updatePorts()

template<FloatType T, typename Child >
void dspark::wdf::Inverter< T, Child >::updatePorts ( )
inlinenoexcept

Definition at line 348 of file WDF.h.


The documentation for this class was generated from the following file: