LinearSystems::RationalSubstitution Function

Overload List

#SignatureDescription
1void RationalSubstitution(TVec *Num, TVec *Den, TVec *nz, TVec *Dz);Replace the variable of a rational polynomial with another rational polyniomial.
2void RationalSubstitution(TVec *z, TVec *p, double &k, TVec *nz, TVec *Dz);Zeroes of the original polynomial are stored in z and poles in p vector.

Overload 1: void RationalSubstitution(TVec *Num, TVec *Den, TVec *nz, TVec *Dz);

Replace the variable of a rational polynomial with another rational polyniomial.

#NameTypeDescription
1NumTVec *
2DenTVec *
3nzTVec *
4DzTVec *
Remarks:

Num is the nominator and den is the denominator of the original polynomial. Nz is the nominator and Dz is the denominator of the polynom to substitude the variable with in the original polynomial. The function returns modified num and den. Num and den must have the same length. Nz and Dz must have the same length. The advantage of this method is that rooting of the polynomials is not required. The resulting polynomial is normalized to have the coefficient for the highest power in the polynomial equal to 1.

Declared in Dew::Signal::Units::LinearSystems · Dew.Signal/Units.LinearSystems.h · Cross-compiler

Overload 2: void RationalSubstitution(TVec *z, TVec *p, double &k, TVec *nz, TVec *Dz);

Zeroes of the original polynomial are stored in z and poles in p vector.

#NameTypeDescription
1zTVec *
2pTVec *
3kdouble &
4nzTVec *
5DzTVec *
Remarks:

Nz is the nominator and Dz is the denominator of the polynom to substitude the variable with in the original polynomial. The function returns modified z and p. Nz and Dz must have the same length. k is the gain factor (not modified).

Declared in Dew::Signal::Units::LinearSystems · Dew.Signal/Units.LinearSystems.h · Cross-compiler