criteria.MeshRatio

criteria.MeshRatio(arr)

Compute the meshratio criterion for a given design

Parameters

Name Type Description Default
arr numpy.numpy.ArrayLike A numpy ndarray required

Raises

Type Description
ValueError Whenever number of rows is less than number of columns

Returns

Type Description
float Calculated meshratio

Examples:

import pyLHD
random_lhd = pyLHD.LatinHypercube(size = (5,5))
pyLHD.MeshRatio(random_lhd)
1.2060453783110545