RT-WDF
0.0.1
Real-time Wave Digital Filter Framework
|
#include <rt-wdf_nlModels.h>
Public Member Functions | |
diodeModel () | |
void | calculate (vec *fNL, mat *JNL, vec *x, int *currentPort) |
int | getNumPorts () |
diodeModel::diodeModel | ( | ) |
Single diode model class.
Single Diode Model according to Kurt Werner et al ("An Improved and Generalized Diode Clipper Model for Wave Digital Filters")
|
virtual |
Calculate the non-linear current and it's Jacobian according to an input voltage.
*fNL | is a pointer to store result of fNL(x). This is a current. |
*JNL | is a pointer to store the result of the Jacobian of fNL(x). |
*x | is a pointer to read the input value x. This is a voltage. |
*currentPort | is a pointer to the first reading / writing position in fNL, JNL and x. |
Implements nlModel.
|
inherited |
Function which returns the number of ports on an NL model for memory house- keeping