VirtualArray.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 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

VirtualArray.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 = {1,2,3,4}.PolynomialRoots(myMatrix1);

 

 

See also

VirtualArray Object

VirtualArray.PolynomialRoots