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_r.h
Go to the documentation of this file.
1 
21 #ifndef OA_R_H
22 #define OA_R_H
23 
24 #include <sstream>
25 #include <algorithm>
26 #include <Rcpp.h>
27 #include "COrthogonalArray.h"
28 #include "matrix.h"
29 #include "oa_r_utils.h"
30 
49 RcppExport SEXP /*int matrix*/ oa_type1(SEXP /*char*/ type, SEXP /*int*/ q, SEXP /*int*/ ncol, SEXP /*bool*/ bRandom);
62 RcppExport SEXP /*int matrix*/ oa_type2(SEXP /*char*/ type, SEXP /*int*/ int1, SEXP /*int*/ q, SEXP /*int*/ ncol, SEXP /*bool*/ bRandom);
68 RcppExport SEXP /*List*/ create_galois_field(SEXP /*int*/ q);
79 RcppExport SEXP /*IntegerVector*/ poly_prod(SEXP /*int*/ p, SEXP /*int*/ n,
80  SEXP /*int vector*/ xton,
81  SEXP /*int vector*/ p1,
82  SEXP /*int vector*/ p2);
83 
93 RcppExport SEXP /*IntegerVector*/ poly_sum(SEXP /*int*/ p, SEXP /*int*/ n,
94  SEXP /*int vector*/ p1,
95  SEXP /*int vector*/ p2);
96 
105 RcppExport SEXP /*IntegerVector*/ poly2int(SEXP /*int*/ p, SEXP /*int*/ n,
106  SEXP /*int vector*/ poly);
107 
108 namespace typeConstants
109 {
111  const char * BUSH = "bush";
113  const char * BOSE = "bose";
115  const char * BOSEBUSH = "bosebush";
117  const char * BUSHT = "busht";
119  const char * BOSEBUSHL = "bosebushl";
121  const char * ADDELKEMP = "addelkemp";
123  const char * ADDELKEMP3 = "addelkemp3";
125  const char * ADDELKEMPN = "addelkempn";
126 } // end namespace
127 
128 #endif /* OA_R_H */
129 
poly_sum
RcppExport SEXP poly_sum(SEXP p, SEXP n, SEXP p1, SEXP p2)
Definition: oa_r.cpp:276
typeConstants::ADDELKEMP3
const char * ADDELKEMP3
Definition: oa_r.h:123
typeConstants::BOSE
const char * BOSE
Definition: oa_r.h:113
oa_r_utils.h
typeConstants::BOSEBUSH
const char * BOSEBUSH
Definition: oa_r.h:115
typeConstants::ADDELKEMPN
const char * ADDELKEMPN
Definition: oa_r.h:125
typeConstants::BUSH
const char * BUSH
Definition: oa_r.h:111
oa_type2
RcppExport SEXP oa_type2(SEXP type, SEXP int1, SEXP q, SEXP ncol, SEXP bRandom)
Definition: oa_r.cpp:101
typeConstants::BOSEBUSHL
const char * BOSEBUSHL
Definition: oa_r.h:119
typeConstants::ADDELKEMP
const char * ADDELKEMP
Definition: oa_r.h:121
COrthogonalArray.h
typeConstants::BUSHT
const char * BUSHT
Definition: oa_r.h:117
poly_prod
RcppExport SEXP poly_prod(SEXP p, SEXP n, SEXP xton, SEXP p1, SEXP p2)
Definition: oa_r.cpp:245
oa_type1
RcppExport SEXP oa_type1(SEXP type, SEXP q, SEXP ncol, SEXP bRandom)
Definition: oa_r.cpp:23
create_galois_field
RcppExport SEXP create_galois_field(SEXP q)
Definition: oa_r.cpp:197
poly2int
RcppExport SEXP poly2int(SEXP p, SEXP n, SEXP poly)
Definition: oa_r.cpp:304