import pyLHD
random_lhd = pyLHD.LatinHypercube(size = (5,5))
pyLHD.MeshRatio(random_lhd)1.2060453783110545
criteria.MeshRatio(arr)
Compute the meshratio criterion for a given design
| Name | Type | Description | Default |
|---|---|---|---|
arr |
numpy.numpy.ArrayLike | A numpy ndarray | required |
| Type | Description |
|---|---|
| ValueError | Whenever number of rows is less than number of columns |
| Type | Description |
|---|---|
| float | Calculated meshratio |
Examples: