a
CDiscreteTransferFucntion< T, NNum, NDen > Class Template Reference
Discrete transfer function. More...
#include <systemmodels.hpp>
Public Member Functions | |
CDiscreteTransferFucntion () | |
CDiscreteTransferFucntion class constructor. | |
void | clearMemmory () |
Clear memory. | |
template<uint32_t N> | |
void | shiftMemory (linalg::CMatrix< T, 1, N > &f_mem) |
Shift memory. | |
T | operator() (const T &f_input) |
Clear memory. | |
void | setNum (const CNumType &f_num) |
Set num. | |
void | setDen (const CDenType &f_den) |
Set den. | |
const CNumType & | getNum () |
Getter numitor. | |
const CDenModType & | getDen () |
Getter denomitor Return the denomitor without the first coefficeint. | |
float | getDenCurrent () |
Getter denomitor first coefficeint. | |
T | getOutput () |
Get output. |
Detailed Description
template<class T, uint32_t NNum, uint32_t NDen>
class systemmodels::lti::siso::CDiscreteTransferFucntion< T, NNum, NDen >
Discrete transfer function.
- Template Parameters:
-
T The type of the variable NNum The order of the polynomial NDen The order of the polynomial
Definition at line 30 of file systemmodels.hpp.
Constructor & Destructor Documentation
CDiscreteTransferFucntion class constructor.
Constructor method
Definition at line 7 of file systemmodels.inl.
Member Function Documentation
void clearMemmory | ( | ) |
Clear memory.
Definition at line 36 of file systemmodels.inl.
const systemmodels::lti::siso::CDiscreteTransferFucntion< T, NNum, NDen >::CDenModType & getDen | ( | ) |
Getter denomitor Return the denomitor without the first coefficeint.
- Returns:
- const reference to denomitor
Definition at line 160 of file systemmodels.inl.
float getDenCurrent | ( | ) |
Getter denomitor first coefficeint.
- Returns:
- value of the denomitor first coefficeint
Definition at line 169 of file systemmodels.inl.
const systemmodels::lti::siso::CDiscreteTransferFucntion< T, NNum, NDen >::CNumType & getNum | ( | ) |
T getOutput | ( | ) |
T operator() | ( | const T & | f_input ) |
Clear memory.
- Parameters:
-
f_input reference to input
- Returns:
- l_output
Definition at line 48 of file systemmodels.inl.
void setDen | ( | const CDenType & | f_den ) |
void setNum | ( | const CNumType & | f_num ) |
void shiftMemory | ( | linalg::CMatrix< T, 1, N > & | f_mem ) |
Shift memory.
- Parameters:
-
f_mem reference to memory matrix
- Returns:
- none
Definition at line 105 of file systemmodels.inl.
Generated on Tue Jul 12 2022 22:40:51 by 1.7.2