gfpoly.div | R Documentation |
Polynomial division defined on GF(s) with a prime s
gfpoly.div(f1, f2, s)
f1 |
a vector represents the coefficients of the dividend polynomial. For example, if the dividend is x^5+2x^3+1, then f1=c(1,0,2,0,0,1). |
f2 |
a vector represents the coefficients of the dividend polynomial. For example, if the divisor is x^4+2, then f2=c(1,0,0,0,2). |
s |
a prime, the order of the Galois filed (GF). |
a vector represents the coefficients of the resulting polynomial. For example, the result c(2,0,1,1) represents 2x^3+x+1.
gfpoly.div(c(1,0,2,0,0,1),c(1,0,0,0,2),3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.