Latin Hypercube Samples (lhs)
1.0
R, C++, and Rcpp code to generate Latin hypercube samples
|
Go to the documentation of this file.
25 #ifndef CORTHOGONALARRAY_H
26 #define CORTHOGONALARRAY_H
41 #define SOMEMESSAGES 1
193 void addelkempn(
int akn,
int q,
int k,
int* n);
211 void bose(
int q,
int k,
int* n);
236 void bosebush(
int q,
int k,
int *n);
271 void bosebushl(
int lambda,
int q,
int k,
int* n);
292 void bush(
int q,
int k,
int* n);
311 void busht(
int str,
int q,
int k,
int* n);
428 void oarand(
int is,
int js,
int ks,
int ls);
463 int oastr(
bool verbose);
489 bool oastr1(
bool verbose);
520 bool oastr2(
bool verbose);
526 bool oastr3(
bool verbose);
532 bool oastr4(
bool verbose);
539 bool oastrt(
int t,
bool verbose);
560 const bclib::matrix<int> &
getoa();
574 bclib::matrix<int> m_A;
580 std::string m_warning_msg;
587 void createGaloisField(
int q);
592 void checkDesignMemory();
600 int checkMaxColumns(
int k,
int maxColumns);
609 void checkResult(
int result,
int nvalue,
int * n);
615 PRINT_OUTPUT <<
"\nThe array has " << m_nrow <<
" rows, " << m_ncol <<
" columns and appears\n";
616 PRINT_OUTPUT <<
"to have " << m_q <<
" symbols, since the largest symbol is " << m_q - 1 <<
".\n";
642 return m_return_code;
647 return m_warning_msg;
#define PRINT_OUTPUT
Definition: OACommonDefines.h:54
bool oastr2(bool verbose)
Definition: COrthogonalArray.cpp:423
int getq()
Definition: COrthogonalArray.h:630
void addelkemp3(int q, int k, int *n)
Definition: COrthogonalArray.cpp:113
Definition: COrthogonalArray.h:55
void addelkempn(int akn, int q, int k, int *n)
Definition: COrthogonalArray.cpp:129
Definition: GaloisField.h:27
int oaagree(bool verbose)
Definition: COrthogonalArray.cpp:297
int getReturnCode()
Definition: COrthogonalArray.h:640
int getncols()
Definition: COrthogonalArray.h:625
void bosebushl(int lambda, int q, int k, int *n)
Definition: COrthogonalArray.cpp:196
const std::string getMessage()
Definition: COrthogonalArray.h:645
const bclib::matrix< int > & getoa()
Definition: COrthogonalArray.h:635
bool oastr3(bool verbose)
Definition: COrthogonalArray.cpp:429
void bush(int q, int k, int *n)
Definition: COrthogonalArray.cpp:246
void bosebush(int q, int k, int *n)
Definition: COrthogonalArray.cpp:161
int oastr(bool verbose)
Definition: COrthogonalArray.cpp:396
~COrthogonalArray()
Definition: COrthogonalArray.h:64
int getnrows()
Definition: COrthogonalArray.h:620
void busht(int str, int q, int k, int *n)
Definition: COrthogonalArray.cpp:277
void bose(int q, int k, int *n)
Definition: COrthogonalArray.cpp:145
void oadimen()
Definition: COrthogonalArray.h:613
bool oastr4(bool verbose)
Definition: COrthogonalArray.cpp:435
bool oastrt(int t, bool verbose)
Definition: COrthogonalArray.cpp:441
bool oastr1(bool verbose)
Definition: COrthogonalArray.cpp:417
void addelkemp(int q, int k, int *n)
Definition: COrthogonalArray.cpp:81
int oatriple(bool verbose)
Definition: COrthogonalArray.cpp:343
COrthogonalArray()
Definition: COrthogonalArray.cpp:29
void oarand(int is, int js, int ks, int ls)
Definition: COrthogonalArray.cpp:382