Controlpp
Loading...
Searching...
No Matches
Continuous Transfer Function

Utilities to work with continuous transfer functions. More...

Functions

template<class T , int NumOrder, int DenOrder>
Bode< T > controlpp::operator+ (const Bode< T > &l, const ContinuousTransferFunction< T, NumOrder, DenOrder > &r)
 Adds a bode plot and a continuous transfer function together.
 
template<class T , int NumOrder, int DenOrder>
Bode< T > controlpp::operator+ (const ContinuousTransferFunction< T, NumOrder, DenOrder > &l, const Bode< T > &r)
 Adds a continuous transfer function and a bode plot together.
 

Detailed Description

Utilities to work with continuous transfer functions.

Function Documentation

◆ operator+() [1/2]

template<class T , int NumOrder, int DenOrder>
Bode< T > controlpp::operator+ ( const Bode< T > &  l,
const ContinuousTransferFunction< T, NumOrder, DenOrder > &  r 
)

Adds a bode plot and a continuous transfer function together.

Template Parameters
TThe value type used to represent numbers. Usually float, double or a custom fixpoint type
NumOrderThe order of the numerator polynomial of the continuous transfer function
DenOrderThe order of the denominator polynomial of the continuous transfer function
Parameters
lBode data on the left side of the addition operator
rA continuous transfer function on the right side of the addition operator
Returns
Bode data containing the sum of the bode plot and the continuous transfer function

◆ operator+() [2/2]

template<class T , int NumOrder, int DenOrder>
Bode< T > controlpp::operator+ ( const ContinuousTransferFunction< T, NumOrder, DenOrder > &  l,
const Bode< T > &  r 
)

Adds a continuous transfer function and a bode plot together.

Template Parameters
TThe value type used to represent numbers. Usually float, double or a custom fixpoint type
NumOrderThe order of the numerator polynomial of the continuous transfer function
DenOrderThe order of the denominator polynomial of the continuous transfer function
Parameters
lA continuous transfer function on the left side of the addition operator
rBode data on the right side of the addition operator
Returns
Bode data containing the sum of the continuous transfer function and the bode plot