Latin Hypercube Samples (lhs)
1.0
R, C++, and Rcpp code to generate Latin hypercube samples
|
#include <utilityLHS.h>
Public Member Functions | |
T | operator() (const T &x, const T &y) const |
calculate the squared distance between two values. A type of std::binar_function
.
T | the type of values for the Arg1, Arg2, and return |
|
inline |
Calculate the squared distance between two values
x | Arg1 |
y | Arg2 |
(x-y)*(x-y)