Latin Hypercube Samples (lhs)  1.0
R, C++, and Rcpp code to generate Latin hypercube samples
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
 
 oacpp::oastrength
 

Macros

#define BIGWORK   100000000
 
#define MEDWORK   10000000
 

Functions

void oacpp::oastrength::OA_strworkcheck (double work, int str)
 
void oacpp::oastrength::OA_strength (int q, const bclib::matrix< int > &A, int *str, int verbose)
 
int oacpp::oastrength::OA_str0 (int q, const bclib::matrix< int > &A, int verbose)
 
int oacpp::oastrength::OA_str1 (int q, const bclib::matrix< int > &A, int verbose)
 
int oacpp::oastrength::OA_str2 (int q, const bclib::matrix< int > &A, int verbose)
 
int oacpp::oastrength::OA_str3 (int q, const bclib::matrix< int > &A, int verbose)
 
int oacpp::oastrength::OA_str4 (int q, const bclib::matrix< int > &A, int verbose)
 
int oacpp::oastrength::OA_strt (int q, const bclib::matrix< int > &A, int t, int verbose)
 

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!

◆ MEDWORK

#define MEDWORK   10000000

One tenth of the comparisons of BIGWORK