poly2int | R Documentation |
Convert polynomial to integer in <code>0..q-1</code>
poly2int(p, n, poly)
p |
modulus |
n |
the length of poly |
poly |
the polynomial vector |
an integer
gf <- create_galois_field(4)
stopifnot(poly2int(gf$p, gf$n, c(0, 0)) == 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.