+"""Latin hypercube sampling."""
+
import random
def test():
sys.exit()
def latin_hypercube(dim, bound, m):
+ """Get a sample of *dim* dimentions, each in range (-*bound*, +*bound*)."""
dv = (2 * bound) / float(m)
dim_p = [range(m) for _ in xrange(dim)]
for p in dim_p: