int2poly | R Documentation |
Functions for Galois field calculations
int2poly(x, gf)
poly2int(poly, gf)
gf_sum(x, y, gf)
gf_prod(x, y, gf)
gf_sum_list(ll, gf, checks = TRUE)
gf_matmult(M1, M2, gf, checks = TRUE)
x |
a vector of e elements in |
gf |
Galois field object with characteristic |
poly |
takes an e x n matrix of polygon rows or a length n vector for a single polygon (e=1) |
y |
a second vector of e elements in |
ll |
a list of integer vectors in |
checks |
logical: should checks be performed |
M1 |
matrix 1 with elements in |
M2 |
matrix 2 with elements in |
int2poly
returns an e x n matrix or a length n vector (if x is scalar)
poly2int
returns an e element vector of integers in 0:(q-1)
gf_sum
returns the sum (e elements in 0:(q-1)
)
gf_prod
returns the product (e elements in 0:(q-1)
)
gf_sum_list
returns the sum (an integer vector in 0:(q-1)
)
gf_matmult
returns the matrix product with elements from 0:(q-1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.