As of now this package only containts the uc.check
function wich checks whether the roots of a given polynomial lie outside the Unit circle.
The function uc.check
has the following Arguments:
library(UnitCircle)
uc.check(pol_ = c(1,0,0.99999), plot_output = FALSE)
#> real complex outside
#> 1 0 1.000005 TRUE
#> 2 0 -1.000005 TRUE
#> *Results are rounded to 6 digits.
uc.check(pol_ = c(2,0,2.2,-3), plot_output = TRUE)
#> real complex outside
#> 1 -0.232289 0.708919 FALSE
#> 2 -0.232289 -0.708919 FALSE
#> 3 1.197912 0.000000 TRUE
#> *Results are rounded to 6 digits.
You can install the official Version from CRAN:
install.packages("UnitCircle")
You can install the latest development version from github with
# install.packages("devtools")
devtools::install_github("BerriJ/UnitCircle")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.