BSD Ports

math/unuran 1.12.0 FreeBSD

Universal Non-Uniform RANdom number generators

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
109d71157b
License
GPLv2+
Categories
math
Package size
1547.3 KiB, 4948.9 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDmath/unuran1.12.0
DragonFlymath/unuran1.11.0

Install

Binary package:

pkg install unuran

From the ports tree:

cd /usr/ports/math/unuran/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	unuran>0:math/unuran
LIB_DEPENDS=	libunuran.so:math/unuran

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.12.01.12.01.9.01.11.01.12.0
FreeBSD:14:quarterly1.12.01.12.0n/a1.11.01.12.0
FreeBSD:15:latest1.12.01.12.0n/a1.11.01.11.0
FreeBSD:15:quarterly1.12.01.12.0n/an/an/a
FreeBSD:16:latest1.12.01.12.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 4
Run dependencies 2

No port depends on this one.

Configuration

Options name: math_unuran

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
gmake libtool localbase:ldflags
Service scripts
none

Files

pkg-plist 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.so
  • lib/libunuran.so.18
  • lib/libunuran.so.18.0.0
distinfo 1
FileSizeSHA256
unuran-1.12.0.tar.gz3.754395e+06aba0846715a486ded86cb208b091ea92a043f27281241e96a01a126de1ca0a85
Master sites 1
  • http://statmath.wu-wien.ac.at/unuran/

Commit history 1

DateCommitCreditsLog message
109d71157b Wen Heping math/unuran: Update to 1.12.0