Orthogonal Array Library  1.0.0
Libray for generating orthogonal arrays based on Art Owen's oa library
All Classes Namespaces Files Functions Variables Typedefs Macros Pages
oacpp::oaaddelkemp Namespace Reference

Addelkemp class. More...

Functions

int addelkemp3check (int q, int p, int ncol)
 Check that the parameters of the addelkemp3 algorithm are consistent (ncol <= 2q^2+2q+1 More...
 
int akeven (GaloisField &gf, int *kay, std::vector< int > &b, std::vector< int > &c, std::vector< int > &k)
 Addelkemp algorithm for even p More...
 
int akodd (GaloisField &gf, int *kay, std::vector< int > &b, std::vector< int > &c, std::vector< int > &k)
 Addelkemp algorithm for odd p More...
 
int addelkempncheck (int q, int p, int akn, int ncol)
 Check that the parameters are consistent for the addelkempn algorithm. More...
 
int addelkempn (GaloisField &gf, int akn, bclib::matrix< int > &A, int ncol)
 The addelkemp algorithm for general n to produce OA(2q^n,ncol,q,2) More...
 
int addelkemp3 (GaloisField &gf, bclib::matrix< int > &A, int ncol)
 The addelkemp algorithm for n=3. More...
 

Detailed Description

Addelkemp class.

Function Documentation

◆ addelkemp3()

int oacpp::oaaddelkemp::addelkemp3 ( GaloisField gf,
bclib::matrix< int > &  A,
int  ncol 
)

The addelkemp algorithm for n=3.

Parameters
gfgalois field
Athe orthogonal array
ncolthe number of columns
Returns
an indicator of success

◆ addelkemp3check()

int oacpp::oaaddelkemp::addelkemp3check ( int  q,
int  p,
int  ncol 
)

Check that the parameters of the addelkemp3 algorithm are consistent (ncol <= 2q^2+2q+1

Parameters
qthe order of the Galois field or the number of symbols
pthe prime basis of the Galois field
ncolthe number of columns
Returns
an indicator of success

◆ addelkempn()

int oacpp::oaaddelkemp::addelkempn ( GaloisField gf,
int  akn,
bclib::matrix< int > &  A,
int  ncol 
)

The addelkemp algorithm for general n to produce OA(2q^n,ncol,q,2)

Parameters
gfa Galois Field
aknthe akn algorithm produces OA(2q^n,ncol,q,2)
Athe orthogonal array
ncolthe number of columns
Returns
an indicator of success

◆ addelkempncheck()

int oacpp::oaaddelkemp::addelkempncheck ( int  q,
int  p,
int  akn,
int  ncol 
)

Check that the parameters are consistent for the addelkempn algorithm.

Parameters
qthe order of Galois field or the number of symbols
pthe prime basis of the Galois field
aknthe akn algorithm produces OA(2q^n,ncol,q,2)
ncolthe number of columns
Returns
an indicator of success

◆ akeven()

int oacpp::oaaddelkemp::akeven ( GaloisField gf,
int *  kay,
std::vector< int > &  b,
std::vector< int > &  c,
std::vector< int > &  k 
)

Addelkemp algorithm for even p

Parameters
gfa Galois field
kaythe number of columns
boriginal Addelkemp variable
coriginal Addelkemp variable
koriginal Addelkemp variable
Returns
an indicator of success

◆ akodd()

int oacpp::oaaddelkemp::akodd ( GaloisField gf,
int *  kay,
std::vector< int > &  b,
std::vector< int > &  c,
std::vector< int > &  k 
)

Addelkemp algorithm for odd p

Parameters
gfa Galois field object
kaythe number of columns
boriginal Addelkemp variable
coriginal Addelkemp variable
koriginal Addelkemp variable
Returns
an indicator of success