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
| System | Port | Version |
|---|---|---|
| FreeBSD | math/unuran | 1.12.0 |
| DragonFly | math/unuran | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.12.0 | 1.12.0 | 1.9.0 | 1.11.0 | 1.12.0 |
| FreeBSD:14:quarterly | 1.12.0 | 1.12.0 | n/a | 1.11.0 | 1.12.0 |
| FreeBSD:15:latest | 1.12.0 | 1.12.0 | n/a | 1.11.0 | 1.11.0 |
| FreeBSD:15:quarterly | 1.12.0 | 1.12.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.12.0 | 1.12.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
librngstreams.so: math/rngstreams
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
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build 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
| File | Size | SHA256 |
|---|---|---|
| unuran-1.12.0.tar.gz | 3.754395e+06 | aba0846715a486ded86cb208b091ea92a043f27281241e96a01a126de1ca0a85 |
Master sites 1
- http://statmath.wu-wien.ac.at/unuran/