Skip to main content

passagemath: Lattice points in polyhedra with LattE integrale and 4ti2

Project description

About SageMath

“Creating a Viable Open Source Alternative to

Magma, Maple, Mathematica, and MATLAB”

Copyright (C) 2005-2024 The Sage Development Team

https://www.sagemath.org

SageMath fully supports all major Linux distributions, recent versions of macOS, and Windows (Windows Subsystem for Linux).

See https://doc.sagemath.org/html/en/installation/index.html for general installation instructions.

About this pip-installable distribution package

This pip-installable source distribution passagemath-latte-4ti2 provides an interface to LattE integrale (for the problems of counting lattice points in and integration over convex polytopes) and 4ti2 (for algebraic, geometric and combinatorial problems on linear spaces).

What is included

Examples

Using LattE integrale and 4ti2 programs on the command line:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-latte-4ti2" sage -sh -c 'ppi 5'
...
### This makes 47 PPI up to sign
### Writing data file ppi5.gra and matrix file ppi5.mat done.

Finding the installation location of a LattE integrale or 4ti2 program in Python:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-latte-4ti2[test]" ipython

In [1]: from sage.features.latte import Latte_count

In [2]: Latte_count().absolute_filename()
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/2dc147a5e4863b4/lib/python3.11/site-packages/sage_wheels/bin/count'

In [3]: from sage.features.four_ti_2 import FourTi2Executable

In [4]: FourTi2Executable('ppi').absolute_filename()
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/2dc147a5e4863b4/lib/python3.11/site-packages/sage_wheels/bin/ppi'

Using the low-level Python interfaces:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-latte-4ti2[test]" ipython

In [1]: from sage.interfaces.latte import count

In [2]: cdd_Hrep = 'H-representation\nbegin\n 6 4 rational\n 2 -1 0 0\n 2 0 -1 0\n 2 0 0 -1\n 2 1 0 0\n 2 0 0 1\n 2 0 1 0\nend\n'

In [3]: count(cdd_Hrep, cdd=True)
Out[3]: 125

Use with sage.geometry.polyhedron:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-latte-4ti2[test]" ipython

In [1]: from sage.all__sagemath_polyhedra import *

In [2]: P = Polyhedron(vertices=[[1,0,0], [0,0,1], [-1,1,1], [-1,2,0]])

In [3]: P.volume(measure='induced_lattice', engine='latte')
Out[3]: 3

Project details


Download files

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

Source Distribution

passagemath_latte_4ti2-10.5.22.tar.gz (11.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

passagemath_latte_4ti2-10.5.22-cp313-cp313-musllinux_1_2_x86_64.whl (35.4 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_latte_4ti2-10.5.22-cp313-cp313-musllinux_1_2_i686.whl (34.9 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

passagemath_latte_4ti2-10.5.22-cp313-cp313-manylinux_2_28_x86_64.whl (57.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

passagemath_latte_4ti2-10.5.22-cp313-cp313-macosx_14_0_arm64.whl (7.5 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_latte_4ti2-10.5.22-cp313-cp313-macosx_13_0_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_latte_4ti2-10.5.22-cp312-cp312-musllinux_1_2_x86_64.whl (39.3 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_latte_4ti2-10.5.22-cp312-cp312-musllinux_1_2_i686.whl (39.5 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_latte_4ti2-10.5.22-cp312-cp312-manylinux_2_28_x86_64.whl (57.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

passagemath_latte_4ti2-10.5.22-cp312-cp312-macosx_14_0_arm64.whl (7.5 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_latte_4ti2-10.5.22-cp312-cp312-macosx_13_0_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_latte_4ti2-10.5.22-cp311-cp311-musllinux_1_2_x86_64.whl (39.3 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_latte_4ti2-10.5.22-cp311-cp311-musllinux_1_2_i686.whl (39.1 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

passagemath_latte_4ti2-10.5.22-cp311-cp311-manylinux_2_28_x86_64.whl (57.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

passagemath_latte_4ti2-10.5.22-cp311-cp311-macosx_14_0_arm64.whl (7.5 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_latte_4ti2-10.5.22-cp311-cp311-macosx_13_0_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_latte_4ti2-10.5.22-cp310-cp310-musllinux_1_2_x86_64.whl (38.4 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_latte_4ti2-10.5.22-cp310-cp310-musllinux_1_2_i686.whl (38.2 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

passagemath_latte_4ti2-10.5.22-cp310-cp310-manylinux_2_28_x86_64.whl (57.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

passagemath_latte_4ti2-10.5.22-cp310-cp310-macosx_14_0_arm64.whl (7.5 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_latte_4ti2-10.5.22-cp310-cp310-macosx_13_0_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_latte_4ti2-10.5.22-cp39-cp39-musllinux_1_2_x86_64.whl (38.2 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

passagemath_latte_4ti2-10.5.22-cp39-cp39-musllinux_1_2_i686.whl (38.0 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

passagemath_latte_4ti2-10.5.22-cp39-cp39-manylinux_2_28_x86_64.whl (57.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

passagemath_latte_4ti2-10.5.22-cp39-cp39-macosx_14_0_arm64.whl (7.5 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_latte_4ti2-10.5.22-cp39-cp39-macosx_13_0_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

Details for the file passagemath_latte_4ti2-10.5.22.tar.gz.

File metadata

  • Download URL: passagemath_latte_4ti2-10.5.22.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for passagemath_latte_4ti2-10.5.22.tar.gz
Algorithm Hash digest
SHA256 0b28a5e249f0abbcd62c38571617330f8ffc7f90972f3bc15ec2cbc08b845679
MD5 fb9b0e6b86b60e2d0b77fa562e9fd635
BLAKE2b-256 9f1dc908f58de73e2030f67a9a0f6720c3b01d2c6f81f4555d40d678bdd6b85c

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ddfb7e6d8529d0d94d19df6a29f07249a4d7ce53022832f954248ea60a7aa525
MD5 5986fc3e9316a92df71543f5b98ee06d
BLAKE2b-256 89d1290cea5c96f4ba5d22d278ffc8f923d6fa8e382948b23a37a57cbf5df6fa

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp313-cp313-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 40dca110adbbcacb710b7514afc914d12efced51b3f019a96510678413d98fe5
MD5 6733adcc96c1c3569802b3a9ea43a2bb
BLAKE2b-256 53b52e322ef0aeba2d885652f5fc7f49bc8b8baefc5f4a3ba439480af7616f14

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 12593c63b1fd912ac21d515e535dfcfa6a9db9a370786bdb36b5b932bf13dc21
MD5 4adcb30ad7b026ec3418484c483dc99f
BLAKE2b-256 22b37b8aae5e4384cd4253490bf1c3b834a644de4c8970d54f106a0664b1cd16

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7a40a6120c957468dd08d52411c17206dce17edebff44d5fb50155a07d84c9ff
MD5 aa2220dcfe9f7319a2c233c7564a1d81
BLAKE2b-256 e019423e3e4bb5f58f9bbe87ab13fd3ecfcf3f139a5f41f069e71752b3260302

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 92002392fc29ba2d58b616c2e7f781c8aa6d813c2a6da83f13d8b475824e87dc
MD5 babdd521a29cbce0c7239c61a90f5a57
BLAKE2b-256 3db3f0500b9685596d9c003b9418709edb2002b6413d8cf98e6389d400abf029

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e2f3ea82aedee68e2b6c6d3688bd799571286eab61c8bcbf118b88d5dbdac068
MD5 1dbebc4170ee6a0297825d4aa714cb0b
BLAKE2b-256 cf89aaa8f8d3c316bc507c7282fcfd77b6992fdf426ba97502a4af7397ea821a

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c46344daf6c3f9e80a8534a1544856a6a68eef56f8bde0cfe20820a8f6d62135
MD5 19e20b684196f2fbaf90c82298bd7c03
BLAKE2b-256 5b8823983dfe9150dd4901a42fabf6cd9e80f2bfcc15efe2a2a78658b6afc651

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6bb786e04c08543cf84c06e284381c47d5138f4727ae88b3396f2a25b4358bed
MD5 97b5610da6cbacbfbe15d63bd0bfbb8a
BLAKE2b-256 589705a45201de51880b65c1b086c04ee80a4c831e2f78147d7c85dbe7eaf3b3

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dadece6a275f38def27aa8d529c71be8579a061af543474eeff9babe24510f5e
MD5 f3e36c4f0eb7221996db603923304871
BLAKE2b-256 7c66407cf6593af0df1b266501ca61e0d764ed3640bbf7f8fd88f5bbcaf6c9cb

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 241ae651b4b38502939f2ef473046d6d16bea1f9ef9480990234ba1b9ba54e56
MD5 f669f3b7ddd88a55d8760f135a47ce6d
BLAKE2b-256 465ff3a9a45bcf58be70765a82a1a1281b19de3470a1525ee7c9eaf35d0d95d0

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 20b0063a3890b23002755709dcc9ae13812f3e45c2dc11f0a7bd5a62bdc12019
MD5 37a1ff2e55bc959c2cde8a019ccebb9b
BLAKE2b-256 7d3c1a2a97736b548547ded4c84794ecd52cc2d0b08c59b81ca4ae53ef92209e

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 57e438eeb18b2e6d1c399edc8749b6a73057e27f65477e8c5a7781aa9ff830ba
MD5 00e88a6d200210f2bfc0023bcb74b72b
BLAKE2b-256 8c680069115805812a9f23bd24acbeb4185efb253016d6b8a760f67eeb4b27b4

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 754e327cf388ad6edccd2f85433fca4f96ca9935f5b65d0c458b64cdf003ee11
MD5 cb9716074f851f0cb5009b472630b17f
BLAKE2b-256 69858b74a46d3b2fb6d409f295ccc8ae9eca087e9d687773cbe09f5a24a9dcfe

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 37129d30ec13e62cd1aa53e81b6bc3862812ddc9b8cf0e886a6d484190f84651
MD5 d8548f07c363a2155d27ac9993438bc4
BLAKE2b-256 2f31d682db9c0b834b96aef0fcf003cfcc190501a4c5efbd5e3e0b87ed329cc0

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bfeff7d97a1b3a68ccb7d4ddb5521a1fed9bd2c7408a88068e1871afefc4b21e
MD5 0f6ff9953534f0618934c325f638c33c
BLAKE2b-256 3591f5a1d2f46d864fed85df4a84538a8aaa2fa3c8fc9c9062294ac8e7df81cf

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2e158d24aab5bb77ddd23679dc620149ebd7eb32477122f4acf90a4b2610eb6c
MD5 dc6126c64507692c58f955a4aef6270d
BLAKE2b-256 ec4012488415c6cc8f46fd3c3beaf36efafde87229ebde778a06f300c203b6d7

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d1f726ee61ef8637087971fc2d61f436fb67c8edcaf28d4602c2db49ea2a2bd8
MD5 1ac65afa384956e096adf60b276439d5
BLAKE2b-256 3fc10d7605500abf6993e4614bae367e98c2893caf7ea8acc6c795a25582acf2

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 27289070d706621b88564fdd0ac52fe8fa804a04c948acd4d9cf33c443c3b126
MD5 30160b47a1e8f9cd859c9d2201d0d490
BLAKE2b-256 5ce898b2d4b9b62cfb435e1ae0b96bb76bcfd0048c392fbe265ccaff44a4634c

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 605b48e999cdc0581cfa501ed6bedaa2b6df4e150983b82d5aa2123602e6ea29
MD5 943d069927a284175c287b4f23cf8fd0
BLAKE2b-256 5d73d8b0777f892b93b23f148c4b73fa631396a6dd8ba629d2d111fe0825151f

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 169a4e54fb7ace23d56a41f7fe20ba23686854e7c880347fd644180e83428f00
MD5 495d1fcbae450e64d7889b3dedcc0b7a
BLAKE2b-256 c744598f4cde9753c775080e021631e0e224f4de30f314687fb6030ebfc85fa9

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9b2f21f6d0098e23af59271f01a5ca82b7b7e8f1c3a58be4f07cc215d84674ff
MD5 17e631cc77ce983244a12212c8b1c28f
BLAKE2b-256 8f45e87a78c004cce95f7dd1e79c9e9ce357bf606f29cbb2b3d6ff26ad2c09b3

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp39-cp39-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 f38954ae4b4632fe986aeda413f938197a4900d652c46a5eba9e7132ed1c5a6d
MD5 49d0307318ba7f86ea0e5198d04bfab6
BLAKE2b-256 a37c4e60f24cddba82c802b3fc8856fff380271f374465947f546f5759ed468a

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 79877494d15d6aef7dd47e1ba5d01303a1ed8b94529dcd91db5f96599f9c5f35
MD5 97dc7d0b033e21d2fb151a539f8042a6
BLAKE2b-256 f107792d003816b62c584e7e4aba53300f1ea3a9e490782f571c8ff1e802c165

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d9b2c0bcba9d43021c09ff6628f73d9fae7681c101250c4d655211ec9cfa0151
MD5 45eb8731218eed6ac0d492b778da9b4a
BLAKE2b-256 ebcf4d7fd48d8fcdd154110c19591acf332a136dfbaeb3ab87426d2cf0444432

See more details on using hashes here.

File details

Details for the file passagemath_latte_4ti2-10.5.22-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_latte_4ti2-10.5.22-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7579e3d23750738a21e145b51f732e3b32c66614a2ef8bc5a57bbd941c102d3b
MD5 1e354e113cd692cb77145a6a705505b1
BLAKE2b-256 05c01c5bcaf8c6163d019ffd794cf3fea6b6b575f9e63888c145c15954016929

See more details on using hashes here.

Supported by

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