Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Latin Squares and Related Designs.

Project Description

Created Wed Aug 8 15:39:10 BST 2012. Last updated Mon Sep 30 13:59:23 BST 2013.

Introduction

Ryser is a Python package for latin squares and related designs.

Example: Hall Numbers

Here is a demo which computes Hall numbers.

>>> import ryser
>>> from ryser.examples import eg3, fail4
>>> S = fail4[0]
>>> hall_nums = ryser.hall.symmetric_numbers(eg3, S)
>>> print "Hall numbers: {}".format(hall_nums)
Hall numbers: [0, 1, 2, 2, 3, 3, 4, 4]
>>> print "Sum of Hall numbers: {}".format(sum(hall_nums))
Sum of Hall numbers: 19

Test Hall inequalities:

>>> ryser.hall.inequality_on_cells(eg3, S)
True
>>> ryser.hall.symmetric_inequality_on_cells(eg3, S)
False
Release History

Release History

History Node

0.1dev

This version
History Node

0.0.11

History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ryser-0.0.11.tar.gz (33.9 kB) Copy SHA256 Checksum SHA256 Source Oct 1, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting