Matrix.PolynomialRoots(Matrix) Method

Top 

Description

Treats the matrix 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.

 

Method Signature

Matrix.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 = myMatrix1.PolynomialRoots(myMatrix2);

 

 

See also

Matrix Object

Matrix.PolynomialRoots

Matrix, Array, and Variable Math Guide