Package 'UnitCircle'

Title: Check if Roots of a Polynomial Lie Outside the Unit Circle
Description: The uc.check() function checks whether the roots of a given polynomial lie outside the Unit circle. You can also easily draw an unit circle.
Authors: Jonathan Berrisch
Maintainer: Jonathan Berrisch <[email protected]>
License: GPL-3
Version: 0.1.3
Built: 2024-10-31 22:10:28 UTC
Source: https://github.com/berrij/unitcircle

Help Index


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)