GFELEM {HadamardR} | R Documentation |
GFELEM
Description
Elements of Galois Field, GF(P^r)
Usage
GFELEM(p, r, MF)
Arguments
p |
integer (a prime number) |
r |
integer (a positive integer) |
MF |
Integer Array containing Minimum function |
Details
This function returns Elements of Galois field of order p^r. To use this function, Minimum function is required. Minimum functions are available in internal dataset. To use the Minimum function from the internal, use HadamardR:::
Value
A vector of size p^r
Examples
library(HadamardR)
p<-3
r<-2
cardin=9
mf<-subset(HadamardR:::minimumfunction,HadamardR:::minimumfunction$s==cardin)
MF<-mf$coeff
GFElem<-GFELEM(p,r,MF)
GFElem
[Package HadamardR version 1.0.0 Index]