Polynomial VIs

Owning Palette: Mathematics VIs

Requires: Full Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Polynomial VIs to perform calculations and evaluations with polynomials.

The VIs on this palette can return mathematics error codes.

Palette ObjectDescription
Add PolynomialsAdds two polynomials P(x) and Q(x). The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use.
Create Polynomial From PFEUses partial fraction expansion to reconstruct a rational polynomial.
Create Polynomial From RootsCreates polynomial P(x) from its roots. Wire data to the Roots input to determine the polymorphic instance to use or manually select the instance.

Divide PolynomialsDivides polynomial P(x) by polynomial Q(x). The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use.
Evaluate Polynomial with MatrixEvaluates the polynomial P(x) with matrix A. The data types you wire to the P(x) and A inputs determine the polymorphic instance to use.
GCD of P(x) and Q(x)Computes the greatest common divisor for two polynomials P(x) and Q(x) with the tolerance you specify. The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use.
Indefinite Integral of PolynomialCalculates the indefinite integral of P(x). Wire data to the P(x) input to determine the polymorphic instance to use or manually select the instance.

Integral of Polynomial over [a,b]Integrates the real polynomial P(x) over the interval a and b define. Integrating a polynomial over an interval [a,b] is the same as calculating the definite integral of the polynomial.
LCM of P(x) and Q(x)Computes the least common multiple of two polynomials P(x) and Q(x) with the tolerance you specify. The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use.
Linear EvaluationPerforms a linear evaluation on every element of X using the scale a and the offset b. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.
Multiply PolynomialsMultiplies polynomial P(x) by polynomial Q(x). The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use.
nth Derivative of PolynomialCalculates the nth order derivative of P(x). Wire data to the P(x) input to determine the polymorphic instance to use or manually select the instance.
Order of PolynomialFinds the order, or polynomial degree, of polynomial P(x). Wire data to the P(x) input to determine the polymorphic instance to use or manually select the instance.

Partial Fraction ExpansionCalculates the partial fraction expansion of a polynomial using the Heaviside cover-up method.
Polynomial Eigenvalues and VectorsSolves the polynomial eigenvalue problem. Wire data to the Input Matrices input to determine the polymorphic instance to use or manually select the instance.
Polynomial EvaluationEvaluates the polynomial P(x) with a single value or multiple values. The data types you wire to the a and P(x) inputs determine the polymorphic instance to use.
Polynomial PlotPlots the evaluations of polynomial P(x). Wire data to the X input to determine the polymorphic instance to use or manually select the instance.
Polynomial Real Zeros CounterCalculates the number of zeros of the real polynomial P(x) in a real interval defined by start and end without determining the values of the zeros.
Polynomial RootsFinds the roots of polynomial P(x). This VI removes leading coefficients of the polynomial that are equal to zero. Wire data to the P(x) input to determine the polymorphic instance to use or manually select the instance.
Polynomials CompositionComputes the composition of polynomials P(x) and Q(x). The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use.
Remove Zero CoefficientsRemoves from P(x) In the trailing coefficients near zero whose absolute values are less than threshold. Wire data to the P(x) In input to determine the polymorphic instance to use or manually select the instance.

Roots ClassificationClassifies Roots into real, complex conjugate pair, and pure complex roots.
Sort Complex NumbersSorts an array of complex numbers in ascending or descending order with respect to real and imaginary parts or magnitude.
Subtract PolynomialsSubtracts polynomial Q(x) from polynomial P(x). The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use.
Unique Numbers and MultiplicityObtains all the unique numbers from the input array and determines the multiplicity of each unique number. Wire data to the Numbers input to determine the polymorphic instance to use or manually select the instance.


SubpaletteDescription
Orthogonal & Non-orthogonal Polynomials VIsUse this class of polynomial functions to perform calculations and evaluations with orthogonal or non-orthogonal polynomials.
Rational Polynomial VIsUse the Rational Polynomial VIs to perform calculations and evaluations with rational polynomials.