Learn R Programming

HEtools (version 1.0.0)

GenUnif: Generate Polynomial with Uniform Distribution Coefficients

Description

Generate Polynomial with Uniform Distribution Coefficients

Usage

GenUnif(n, q)

Value

polynomial of order x^^n with coefficients 0,..,q

Arguments

n

the order

q

the ciphermod of coefficients

Examples

Run this code
n = 5
q = 7
GenUnif(n, q)

Run the code above in your browser using DataLab