%define OT_SpaceFillingMinDist_doc "Space filling minimal distance criterion. Notes ----- Compute the criterion based on the minimal distance of sample points: .. math:: :nowrap: \begin{equation*} \phi_min(X) = \min_{i \neq j} ||x^{(i)} - x^{(j)}|| ^{\frac{1}{2}} \end{equation*} " %enddef %feature("docstring") OT::SpaceFillingMinDist OT_SpaceFillingMinDist_doc // --------------------------------------------------------------------- %define OT_SpaceFillingMinDist_evaluate_doc "Compute the MinDist criterion for a specific design. Parameters ---------- design : :class:`~openturns.Sample` or 2-d array like The design Returns ------- crit : float The MinDist criterion Examples -------- >>> import openturns as ot >>> # Build an LHS using openturns class >>> lhs = ot.LHSExperiment(ot.Uniform(), 100) >>> design = lhs.generate() >>> # Compute the MinDist criterion >>> crit = ot.SpaceFillingMinDist().evaluate(design)" %enddef %feature("docstring") OT::SpaceFillingMinDist::evaluate OT_SpaceFillingMinDist_evaluate_doc // ---------------------------------------------------------------------