1%feature("docstring") OT::UniformFactory 2"Uniform factory. 3 4Available constructor: 5 UniformFactory() 6 7The parameters are estimated by method of moments: 8 9.. math:: 10 :nowrap: 11 12 \begin{eqnarray*} 13 \displaystyle\Hat{a}_n=(1-\mathrm{sign}(x_{(1,n)})/(2+n))x_{(1,n)}\\ 14 \displaystyle\Hat{b}_n=(1+\mathrm{sign}(x_{(n,n)})/(2+n))x_{(n,n)} 15 \end{eqnarray*} 16 17See also 18-------- 19DistributionFactory, Uniform" 20 21// --------------------------------------------------------------------- 22 23%define OT_DistributionFactory_buildAsUniform_doc 24"Build the Uniform distribution. 25 26**Available usages**: 27 28 buildAsUniform(*sample*) 29 30 buildAsUniform(*param*) 31 32Parameters 33---------- 34sample : 2-d sequence of float 35 Sample from which the distribution parameters are estimated. 36param : Collection of :class:`~openturns.PointWithDescription` 37 A vector of parameters of the distribution. 38 39Returns 40------- 41dist : :class:`~openturns.Uniform` 42 The built distribution." 43%enddef 44%feature("docstring") OT::UniformFactory::buildAsUniform 45OT_DistributionFactory_buildAsUniform_doc 46 47