Latin Hypercube Samples (lhs)
1.0
R, C++, and Rcpp code to generate Latin hypercube samples
|
#include "OACommonDefines.h"
Go to the source code of this file.
Namespaces | |
oacpp | |
oacpp::primes | |
Macros | |
#define | ISPRIMETRUE 1 |
#define | ISPRIMEFALSE 0 |
Functions | |
int | oacpp::primes::isprime (unsigned int n) |
int | oacpp::primes::isprime_old (int p) |
void | oacpp::primes::primepow (int q, int *p, int *n, int *isit) |
int | oacpp::primes::isprimepow (int q) |
int | oacpp::primes::ipow (int a, int b) |
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.
#define ISPRIMEFALSE 0 |
Macro to indicate that a number is not prime
#define ISPRIMETRUE 1 |
Macro to indicate that a number is prime