Skip to main content

Wrapper to Boost random numbers

Project description

This is still under heavy development.

This is simply a set of cython definitions for the Boost TR1 Random sampling library. For now, the best working model is to inline them using the “include” cython statement. “Installing” the package only stores the definitions and C++ code in site_packages so that distutils can find it later.

Requirements

  • Boost

  • NumPy

  • Cython

Installation and testing

Install via

python setup.py install

There is an example program and setup.py file in the “example” folder. Build it –inplace and run test_example.py to try it out. You may need to change the include_dirs to point to your installation of Boost.

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cyrand-0.2.tar.gz (2.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page