uc.check {UnitCircle}R Documentation

Check if Roots of a Polynomial Lie Outside the Unit Circle

Description

This function outputs the roots of a given polynomial. It also checks whether they lie outside the unit circle and creates a plot to illustrate the results in an intuitive way.

Usage

uc.check(pol_, plot_output = T, print_output = T)

Arguments

pol_

the vector of polynomial coefficients in increasing order.

plot_output

Logical that defines whether to create a plot.

print_output

Logical that defines whether to print the results.

Examples

uc.check(pol_ = c(1,0,0.999999999), plot_output = FALSE)

uc.check(pol_ = c(2,0,2.2,-3), plot_output = TRUE)

[Package UnitCircle version 0.1.3 Index]