R/GenPolyMod.R

Defines functions GenPolyMod

Documented in GenPolyMod

#' @name GenPolyMod
#' @title Generate Polynomial Modulo
#' @param n the order
#' @return polynomial of the form x^^n + 1
#' @export
#' @examples
#' n = 5
#' GenPolyMod(5)
GenPolyMod <- function(n)
  polynomial( coef=c(1, rep(0, n-1), 1 ) )

Try the HEtools package in your browser

Any scripts or data that you put into this service are public.

HEtools documentation built on June 22, 2024, 11:19 a.m.