class="resources" Polynomials Composition (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Polynomials Composition (Not in Base Package)

Computes the composition of polynomials P(x) and Q(x). You can use this polymorphic VI to compute the composition of real polynomials or complex polynomials. The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use. Details  

Polynomials Composition (DBL)

P(x) contains the real polynomial coefficients in ascending order of power.
Q(x) contains the real polynomial coefficients in ascending order of power.
P(Q(x)) returns the real polynomial coefficients, in ascending order of power, for the polynomial that results from computing the composition of P(x) and Q(x).
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Polynomials Composition (CDB)

P(x) contains the complex polynomial coefficients in ascending order of power.
Q(x) contains the complex polynomial coefficients in ascending order of power.
P(Q(x)) returns the complex polynomial coefficients, in ascending order of power, for the polynomial that results from computing the composition of P(x) and Q(x).
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Polynomials Composition Details

The following polynomial defines the nth order polynomial described by the (n + 1) element array P[0…n].

The following polynomial defines the mth order polynomial described by the (m + 1) element array Q[0…m].

The VI uses the following equation to compose P(x) and Q(x).

P(Q(x)) = P[n](Q[m]xm + Q[m – 1]xm – 1 + … + Q[1]x + Q[0])n + P[n – 1](Q[m]xm + Q[m – 1]xm – 1 + … + Q[1]x + Q[0])n – 1 + … + P[1](Q[m]xm + Q[m – 1]xm – 1 + … + Q[1]x + Q[0]) + P[0]


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit