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
oa.h File Reference
#include "OACommonDefines.h"
#include "primes.h"
#include "matrix.h"

Go to the source code of this file.

Namespaces

 oacpp
 Orthogonal Array Namespace.
 
 oacpp::oastrength
 Algorithms to check the strength of an orthogonal array.
 

Macros

#define BIGWORK   100000000
 If more than BIGWORK comparisons are required in an oacheck routine, then a warning is printed that a large job is underway. More...
 
#define MEDWORK   10000000
 One tenth of the comparisons of BIGWORK.
 

Functions

void oacpp::oastrength::OA_strworkcheck (double work, int str)
 warn about large work loads in strength checking programs More...
 
void oacpp::oastrength::OA_strength (int q, bclib::matrix< int > &A, int *str, int verbose)
 Calculate and return the strength of the array A. More...
 
int oacpp::oastrength::OA_str0 (int q, bclib::matrix< int > &A, int verbose)
 Check strength 0. More...
 
int oacpp::oastrength::OA_str1 (int q, bclib::matrix< int > &A, int verbose)
 Check strength 1. More...
 
int oacpp::oastrength::OA_str2 (int q, bclib::matrix< int > &A, int verbose)
 Check strength 2. More...
 
int oacpp::oastrength::OA_str3 (int q, bclib::matrix< int > &A, int verbose)
 Check strength 3. More...
 
int oacpp::oastrength::OA_str4 (int q, bclib::matrix< int > &A, int verbose)
 Check strength 4. More...
 
int oacpp::oastrength::OA_strt (int q, bclib::matrix< int > &A, int t, int verbose)
 Check an arbitrary strength. More...
 

Detailed Description

Author
Robert Carnell

License: This file may be freely used and shared according to the original license.

Reference:

Original Header:

These programs construct and manipulate orthogonal arrays. They were prepared by

  • Art Owen
  • Department of Statistics
  • Sequoia Hall
  • Stanford CA 94305

They may be freely used and shared. This code comes with no warranty of any kind. Use it at your own risk.

I thank the Semiconductor Research Corporation and the National Science Foundation for supporting this work.

Macro Definition Documentation

◆ BIGWORK

#define BIGWORK   100000000

If more than BIGWORK comparisons are required in an oacheck routine, then a warning is printed that a large job is underway.

If more than MEDWORK comparisons are required then intermediate results are printed. No strength checking beyond strength MAXSTR is done. Only change it if you implement the higher strength checks!