Array.PolynomialRoots(Matrix) 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 nanosecond timing precision mode.

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

 

Method Signature

Array.PolynomialRoots(

Matrix roots)

 

 

Arguments

roots


Description:

A matrix containing the roots of the polynomial.

 

 

 

Return Value

Type:

number

 

 

Returns the number of real roots of the polynomial. Returns -1 if an error was encountered in the calculation.

 

Syntax

myVariable1 = myArray1.PolynomialRoots(myMatrix1);

 

 

See also

Array Object

Array.PolynomialRoots

Matrix, Array, and Variable Math Guide