Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> libs >> libranlip1c2
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libranlip  ]

软件包: libranlip1c2 (1.0-4.2build1)

generates random variates with multivariate Lipschitz density

RanLip generates random variates with an arbitrary multivariate Lipschitz density.

While generation of random numbers from a variety of distributions is implemented in many packages (like GSL library http://www.gnu.org/software/gsl/ and UNURAN library http://statistik.wu-wien.ac.at/unuran/), generation of random variate with an arbitrary distribution, especially in the multivariate case, is a very challenging task. RanLip is a method of generation of random variates with arbitrary Lipschitz-continuous densities, which works in the univariate and multivariate cases, if the dimension is not very large (say 3-10 variables).

Lipschitz condition implies that the rate of change of the function (in this case, probability density p(x)) is bounded:

|p(x)-p(y)|<M||x-y||.

From this condition, we can build an overestimate of the density, so called hat function h(x)>=p(x), using a number of values of p(x) at some points. The more values we use, the better is the hat function. The method of acceptance/rejection then works as follows: generatea random variate X with density h(x); generate an independent uniform on (0,1) random number Z; if p(X)<=Z h(X), then return X, otherwise repeat all the above steps.

RanLip constructs a piecewise constant hat function of the required density p(x) by subdividing the domain of p (an n-dimensional rectangle) into many smaller rectangles, and computes the upper bound on p(x) within each of these rectangles, and uses this upper bound as the value of the hat function.

其他与 libranlip1c2 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.7)
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
  • dep: libgcc-s1 (>= 3.5) [armhf]
    GCC support library
  • dep: libstdc++6 (>= 5)
    GNU Standard C++ Library v3

下载 libranlip1c2

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 102.6 kB134 kB [文件列表]
armhf 101.1 kB121 kB [文件列表]