UNU.RAN (Universal Non-Uniform RAndom Number generator) is a collection of
algorithms for generating non-uniform pseudorandom variates as a library of C functions designed and implemented by the ARVAG (Automatic Random VAriate Generation) project group in Vienna, and released under the GNU Public License (GPL). It is especially designed for situations where: - a non-standard distribution or a truncated distribution is needed; - experiments with different types of distributions are made; - random variates for variance reduction techniques are used; or - fast generators of predictable quality are necessary. UNU.RAN provides generators that are superior in many aspects to those found in quite a number of other libraries; however, due to its more sophisticated programming interface, it might not be as easy to use. It uses an object-oriented interface in which distributions and generators are treated as independent objects, so that different methods for generating non-uniform random variates may be chosen according to various criteria, such as speed, quality, and variance reduction. It is flexible enough to permit sampling from non-standard distributions, such as distributions that arise in a model and can only be computed in complicated subroutines. WWW: http://statmath.wu-wien.ac.at/unuran/ PR: ports/128883 Submitted by: bf <bf2006a at yahoo.com>
This commit is contained in:
@@ -473,6 +473,7 @@
|
||||
SUBDIR += ump
|
||||
SUBDIR += units
|
||||
SUBDIR += unixstat
|
||||
SUBDIR += unuran
|
||||
SUBDIR += vtk
|
||||
SUBDIR += vtk-data
|
||||
SUBDIR += vtk-examples
|
||||
|
||||
42
math/unuran/Makefile
Normal file
42
math/unuran/Makefile
Normal file
@@ -0,0 +1,42 @@
|
||||
# New ports collection makefile for: unuran
|
||||
# Date created: 13 November 2008
|
||||
# Whom: bf <bf2006a@yahoo.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= unuran
|
||||
PORTVERSION= 1.2.4
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://statmath.wu-wien.ac.at/unuran/
|
||||
|
||||
MAINTAINER= bf2006a@yahoo.com
|
||||
COMMENT= Universal Non-Uniform RANdom number generators
|
||||
|
||||
LIB_DEPENDS= rngstreams:${PORTSDIR}/math/rngstreams
|
||||
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-shared --with-urng-rngstream --with-urng-default=rngstream \
|
||||
--enable-info
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
||||
USE_LDCONFIG= yes
|
||||
INFO= unuran
|
||||
PORTDOCS= unuran.pdf unuran.txt
|
||||
|
||||
.ifndef(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for DD in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/${DD} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.ifdef(MAINTAINER_MODE)
|
||||
CONFIGURE_ARGS+= --enable-check-struct --enable-logging
|
||||
|
||||
regression-test: build
|
||||
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} check)
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
math/unuran/distinfo
Normal file
3
math/unuran/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
MD5 (unuran-1.2.4.tar.gz) = 830c5c1fc62222f63dff34bce3295c08
|
||||
SHA256 (unuran-1.2.4.tar.gz) = 5c4adeaff517033dc2af22cbd9dd486fc9dc52e51ae1c189503cfd1e2d65a1d0
|
||||
SIZE (unuran-1.2.4.tar.gz) = 3145403
|
||||
11
math/unuran/files/patch-doc_Makefile.in
Normal file
11
math/unuran/files/patch-doc_Makefile.in
Normal file
@@ -0,0 +1,11 @@
|
||||
--- doc/Makefile.in.orig 2008-11-14 16:43:07.846169643 -0500
|
||||
+++ doc/Makefile.in 2008-11-14 16:43:34.409120521 -0500
|
||||
@@ -47,7 +47,7 @@
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
-INFO_DEPS = $(srcdir)/unuran.info $(srcdir)/unuran_win32.info
|
||||
+INFO_DEPS = $(srcdir)/unuran.info
|
||||
am__TEXINFO_TEX_DIR = $(srcdir)/./src
|
||||
DVIS = unuran.dvi unuran_win32.dvi
|
||||
PDFS = unuran.pdf unuran_win32.pdf
|
||||
23
math/unuran/pkg-descr
Normal file
23
math/unuran/pkg-descr
Normal file
@@ -0,0 +1,23 @@
|
||||
UNU.RAN (Universal Non-Uniform RAndom Number generator) is a collection of
|
||||
algorithms for generating non-uniform pseudorandom variates as a library of C
|
||||
functions designed and implemented by the ARVAG (Automatic Random VAriate
|
||||
Generation) project group in Vienna, and released under the GNU Public License
|
||||
(GPL). It is especially designed for situations where:
|
||||
|
||||
- a non-standard distribution or a truncated distribution is needed;
|
||||
- experiments with different types of distributions are made;
|
||||
- random variates for variance reduction techniques are used; or
|
||||
- fast generators of predictable quality are necessary.
|
||||
|
||||
UNU.RAN provides generators that are superior in many aspects to those found in
|
||||
quite a number of other libraries; however, due to its more sophisticated
|
||||
programming interface, it might not be as easy to use.
|
||||
|
||||
It uses an object-oriented interface in which distributions and generators are
|
||||
treated as independent objects, so that different methods for generating
|
||||
non-uniform random variates may be chosen according to various criteria, such
|
||||
as speed, quality, and variance reduction. It is flexible enough to permit
|
||||
sampling from non-standard distributions, such as distributions that arise in
|
||||
a model and can only be computed in complicated subroutines.
|
||||
|
||||
WWW: http://statmath.wu-wien.ac.at/unuran/
|
||||
9
math/unuran/pkg-plist
Normal file
9
math/unuran/pkg-plist
Normal file
@@ -0,0 +1,9 @@
|
||||
include/unuran.h
|
||||
include/unuran_tests.h
|
||||
include/unuran_urng_gsl.h
|
||||
include/unuran_urng_prng.h
|
||||
include/unuran_urng_rngstreams.h
|
||||
lib/libunuran.a
|
||||
lib/libunuran.la
|
||||
lib/libunuran.so
|
||||
lib/libunuran.so.9
|
||||
Reference in New Issue
Block a user