Array.PolynomialRoots Method

Top 

Description

Treats the array of numbers as the coefficients of a polynomial wherein the coefficients are arranged from highest to lowest degree. The degree of the polynomial must be between 1 and 100. Returns the real roots of the polynomial.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

Array.PolynomialRoots()

Matrix

Treats the array of numbers as the coefficients of a polynomial wherein the coefficients are arranged from highest to lowest degree. The degree of the polynomial must be between 1 and 100. Returns the real roots of the polynomial.

Array.PolynomialRoots(Matrix roots)

Variable

Treats the array of numbers as the coefficients of a polynomial wherein the coefficients are arranged from highest to lowest degree. The degree of the polynomial must be between 1 and 100. Returns the real roots of the polynomial.

Array.PolynomialRoots(Variable rootsType)

Matrix

Returns the roots of the polynomial. The user can specify whether or not to return imaginary roots.

Array.PolynomialRoots(Variable rootsType, Matrix roots)

Variable

Returns the number of roots of the polynomial. The user can specify whether or not to return imaginary roots.

 

 

See also

Array Object

Matrix, Array, and Variable Math Guide