Python PPL wrapper
Project description
This Python package provides a wrapper to the C++ Parma Polyhedra Library (PPL).
How it works
The names of objects and methods are the same as in the library:
import ppl x = ppl.Variable(0) y = ppl.Variable(1) z = ppl.Variable(2) cs = ppl.Constraint_System() cs.insert(x >= 0) cs.insert(y >= 0) cs.insert(z >= 0) cs.insert(x + y + z == 1) poly = ppl.C_Polyhedron(cs)
Note that in order to compile this package you need the ppl libraries and header files.
Source
Find the latest version on github: https://github.com/videlec/pplpy/
Requirements
PPL libraries with headers
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pplpy-0.2.tar.gz
(283.2 kB
view details)
File details
Details for the file pplpy-0.2.tar.gz
.
File metadata
- Download URL: pplpy-0.2.tar.gz
- Upload date:
- Size: 283.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62eb924b13da24b80c8574870b5b387a5df90cac8441b403f9161c602bec372c |
|
MD5 | 64c6fa265ead7ad19687402b18aff117 |
|
BLAKE2b-256 | ae8d8eef6fdafd3610d464eee530a11fe8b3e1d0a06ecaa63ff8f6d11a57f8a1 |