Latin Hypercube Samples (lhs)
1.0
R, C++, and Rcpp code to generate Latin hypercube samples
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
i
l
m
o
p
r
s
v
Functions
a
b
c
d
f
g
i
l
m
o
p
r
s
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
g
i
j
k
l
m
n
o
p
q
r
s
t
u
x
~
Functions
a
b
c
g
m
o
p
r
s
~
Variables
Files
File List
File Members
All
a
b
c
e
f
g
i
m
n
o
p
r
s
u
w
Functions
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
Pages
primes.h
Go to the documentation of this file.
1
31
#ifndef PRIMES_H
32
#define PRIMES_H
33
34
#include "
OACommonDefines.h
"
35
39
#define ISPRIMETRUE 1
40
43
#define ISPRIMEFALSE 0
44
45
namespace
oacpp
{
49
namespace
primes
50
{
56
int
isprime
(
unsigned
int
n);
57
64
int
isprime_old
(
int
p);
65
73
void
primepow
(
int
q,
int
* p,
int
* n,
int
* isit);
74
80
int
isprimepow
(
int
q );
81
88
int
ipow
(
int
a,
int
b );
89
}
// end namespace
90
}
// end namespace
91
92
#endif
oacpp::primes::isprime
int isprime(unsigned int n)
Definition:
primes.cpp:59
oacpp
Definition:
ak.h:39
oacpp::primes::isprimepow
int isprimepow(int q)
Definition:
primes.cpp:143
oacpp::primes::isprime_old
int isprime_old(int p)
Definition:
primes.cpp:37
OACommonDefines.h
oacpp::primes::ipow
int ipow(int a, int b)
Definition:
primes.cpp:150
oacpp::primes::primepow
void primepow(int q, int *p, int *n, int *isit)
Definition:
primes.cpp:92
src
primes.h
Generated by
1.8.20