Project details for Generalised Stirling Numbers libstb 1.0

Logo Generalised Stirling Numbers libstb 1.0 1.4

by wbuntine - September 28, 2012, 13:49:57 CET [ Project Homepage BibTeX BibTeX for corresponding Paper Download ]

view (7 today), download ( 0 today ), 1 comment, 0 subscriptions


THIS VERSION DISCONTINUED, see "". This source directory contains library routines that provide alternative ways of computing generalised second order Stirling numbers used in working with Pitman-Yor and Dirichlet processes (PYP and DP). Included is library routines for posterior sampling on the discount and concentration parameters of the PYP/DP.

Tested on a few versions on Ubuntu Linux and MacOSX. Requires the GSL (GNU Scientific Library) for polygamma functions.

Changes to previous version:

See the alternative MLOSS entry "libstb". Updated to 1.4!

BibTeX Entry: Download
Corresponding Paper BibTeX Entry: Download
Supported Operating Systems: Linux, Mac Os X
Data Formats: Agnostic
Tags: Pitman Yor Process, Poisson Dirichlet Process, Stirling Number
Archive: download here

Other available revisons

Version Changelog Date

See the alternative MLOSS entry "libstb". Updated to 1.4!

September 28, 2012, 13:49:57

Version 1.2 does a bug fix for sampleb() when a>0, and also adds generic integer types for the stats passed to the hyperparameter samplers.

May 7, 2012, 01:32:35

Version 1.1 is a restructuring to split up library and testing parts. Two new library functions are included for posterior sampling of the discount and concentration parameters. Also, the library is now more stand alone, having isolated GSL linkages into two header files.

April 4, 2012, 02:23:43

Initial Announcement on

February 18, 2012, 12:05:06


Wray Buntine (on September 28, 2012, 13:54:17)
I rebuilt all the interfaces and moved some of the tricks from the earlier system into the new code. Thus the tables rebuild automatically as needed, and a float version can also be used.

Leave a comment

You must be logged in to post comments.