Orthogonal Array Library  1.0.0
Libray for generating orthogonal arrays based on Art Owen's oa library
construct.h
Go to the documentation of this file.
1 
31 #ifndef CONSTRUCT_H
32 #define CONSTRUCT_H
33 
34 /* Constructions for designs using Galois fields */
35 
36 #include "OACommonDefines.h"
37 #include "GaloisField.h"
38 #include "ak.h"
39 
40 namespace oacpp {
44  namespace oaconstruct
45  {
57  int bose(GaloisField & gf, bclib::matrix<int> & A, int ncol );
58 
67  int bush(GaloisField & gf, bclib::matrix<int> & A, int str, int ncol );
68 
77  int addelkemp(GaloisField & gf, bclib::matrix<int> & A, int ncol );
78 
90  int bosebush(GaloisField & gf, bclib::matrix<int> & B, int ncol );
91 
101  int bosebushl(GaloisField & gf, int lam, bclib::matrix<int> & B, int ncol );
102 
110  int bosecheck(int q, int ncol );
111 
120  int itopoly(int n, int q, int d, std::vector<int> & coef );
121 
131  int polyeval(GaloisField & gf, int d, std::vector<int> & poly, int arg, int* value );
132 
141  int bushcheck(int q, int str, int ncol);
142 
151  int bosebushcheck(int q, int p, int ncol);
152 
162  int bosebushlcheck(int s, int p, int lam, int ncol);
163 
171  int addelkempcheck(int q, int p, int ncol);
172  }
173 }// end namespace
174 
175 #endif
oacpp::oaconstruct::addelkempcheck
int addelkempcheck(int q, int p, int ncol)
Test the inputs to the Addel-Kemp algorithm.
Definition: construct.cpp:167
oacpp::oaconstruct::bushcheck
int bushcheck(int q, int str, int ncol)
Test the inputs to the Bush algorithm (ncol <= q + 1, str <= ncol, str < q + 1)
Definition: construct.cpp:120
GaloisField.h
oacpp::oaconstruct::polyeval
int polyeval(GaloisField &gf, int d, std::vector< int > &poly, int arg, int *value)
Evaluate a polynomial with coefficients, argument and result in a Galois field.
Definition: construct.cpp:94
oacpp
Orthogonal Array Namespace.
Definition: ak.h:39
ak.h
oacpp::oaconstruct::bosebushl
int bosebushl(GaloisField &gf, int lam, bclib::matrix< int > &B, int ncol)
Construct an orthogonal array using the bose-bush algorithm.
Definition: construct.cpp:382
oacpp::oaconstruct::bosebushcheck
int bosebushcheck(int q, int p, int ncol)
Test the inputs to the Bose-Bush algorithm (p == 2, ncol <= 2q + 1)
Definition: construct.cpp:286
OACommonDefines.h
oacpp::oaconstruct::bose
int bose(GaloisField &gf, bclib::matrix< int > &A, int ncol)
Construct an orthogonal array using the bose algorithm.
Definition: construct.cpp:53
oacpp::oaconstruct::itopoly
int itopoly(int n, int q, int d, std::vector< int > &coef)
Integer to polynomial.
Definition: construct.cpp:82
oacpp::oaconstruct::bosecheck
int bosecheck(int q, int ncol)
Check the input to the bose algorithm (ncol <= q + 1) where q = p^n.
Definition: construct.cpp:37
oacpp::oaconstruct::bush
int bush(GaloisField &gf, bclib::matrix< int > &A, int str, int ncol)
Construct an orthogonal array using the bush algorithm.
Definition: construct.cpp:146
oacpp::oaconstruct::bosebush
int bosebush(GaloisField &gf, bclib::matrix< int > &B, int ncol)
Construct an orthogonal array using the bosebush algorithm.
Definition: construct.cpp:313
oacpp::oaconstruct::bosebushlcheck
int bosebushlcheck(int s, int p, int lam, int ncol)
Test the inputs to the Bose-Bush algorithm with lambda parameter (ncol <= lambda*q + 1)
Definition: construct.cpp:353
oacpp::oaconstruct::addelkemp
int addelkemp(GaloisField &gf, bclib::matrix< int > &A, int ncol)
Implement Addelman and Kempthorne's 1961 A.M.S.
Definition: construct.cpp:199