Roots: Roots

Description Usage Arguments Value

Description

Calculates the roots of a polynomial with coefficients given in p. The values in the rank-1 array p are coefficients of a polynomial. If the length of p is n+1 then the polynomial is described by:

p[0] * x^n + p[1] * x^{n-1} + ... + p[n-1] * x + p[n]

Usage

1
Roots(p)

Arguments

p

KHIVA array with the polynomial coefficients.

Value

KHIVA array with the roots of the polynomial.


shapelets/khiva-r documentation built on June 10, 2019, 4:58 a.m.