Skip to main content

Zeta – computing zeta functions of groups, algebras, and modules

ZZZZZZZZZZZZZZZZZZZ                           tttt
Z:::::::::::::::::Z                        ttt:::t
Z:::::::::::::::::Z                        t:::::t
Z:::ZZZZZZZZ:::::Z                         t:::::t
ZZZZZ     Z:::::Z     eeeeeeeeeeee   ttttttt:::::ttttttt     aaaaaaaaaaaaa
        Z:::::Z     ee::::::::::::ee t:::::::::::::::::t     a::::::::::::a
       Z:::::Z     e::::::eeeee:::::et:::::::::::::::::t     aaaaaaaaa:::::a
      Z:::::Z     e::::::e     e:::::tttttt:::::::tttttt              a::::a
     Z:::::Z      e:::::::eeeee::::::e     t:::::t             aaaaaaa:::::a
    Z:::::Z       e:::::::::::::::::e      t:::::t           aa::::::::::::a
   Z:::::Z        e::::::eeeeeeeeeee       t:::::t          a::::aaaa::::::a
ZZZ:::::Z     ZZZZe:::::::e                t:::::t    ttttta::::a    a:::::a
Z::::::ZZZZZZZZ:::e::::::::e               t::::::tttt:::::a::::a    a:::::a
Z:::::::::::::::::Ze::::::::eeeeeeee       tt::::::::::::::a:::::aaaa::::::a
Z:::::::::::::::::Z ee:::::::::::::e         tt:::::::::::tta::::::::::aa:::a
ZZZZZZZZZZZZZZZZZZZ   eeeeeeeeeeeeee           ttttttttttt   aaaaaaaaaa  aaaa

Introduction

Zeta provides methods for computing local and topological zeta functions arising from the enumeration of subalgebras, ideals, submodules, and representations of suitable algebraic structures as well as some other types of zeta functions.

This package is an experimental fork of Zeta, turning it into a pip-installable SageMath package. You can check this temporary link for the full documentation.

Please also check the original homepage of Zeta by Tobias Rossmann.

Installation

Dependencies

We assume SageMath version 8.3, or higher, is used.

The wheel packaging standard is needed at installation time. It can be installed by running:

$ sage -pip install wheel

Zeta will try to invoke the programs count (a part of LattE integrale) and normaliz (a part of Normaliz). They can be installed by running:

$ sage -i latte_int
$ sage -i normaliz

See the full documentation how to use other versions of these programs.

Install from PyPI

The easiest way to obtain Zeta is to run:

$ sage -pip install zetalib

Local install from source

Download the source from the git repository:

$ git clone https://gitlab.com/mathzeta2/zetalib.git

For convenience this package contains a Makefile with some often used commands. To build the C extensions, install and test you should change to the root directory and run:

$ make

Alternatively, you can do it in separate steps:

$ make build
$ make test
$ sage -pip install --upgrade --no-index -v . # or `make install`

To uninstall you can run:

$ sage -pip uninstall zetalib # or `make uninstall`

If you want to use another version of SageMath you have installed, you can modify the SAGE variable when calling make:

$ make SAGE=/path/to/sage build

Usage

Once the package is installed, you can use it in Sage with:

sage: import zetalib
sage: M = zetalib.Algebra(rank=3, operators=[ [[1,1,-1], [0,1,1], [0,0,1]] ])
sage: zetalib.topological_zeta_function(M)
1/((3*s - 2)*(2*s - 1)*s)

See the documentation for further details.

Packaging

All packaging setup is internally done through setup.py. To create a “source package” run:

$ sage setup.py sdist

To create a binary wheel package run:

$ sage setup.py bdist_wheel

Or use the shorthand:

$ make build_wheel

Documentation

The source files of the documentation are located in the docs/source directory, and are written in Sage’s Sphinx format.

Generate the HTML documentation by running:

$ cd docs
$ sage -sh -c "make html"

Or using the shorthand:

$ make doc

Then open docs/build/html/index.html in your browser.

Acknowledgements

License

See the LICENSE file. This fork of Zeta is released under GPL-3.0-or-later, like the original version, as quoted in the original documentation:

Copyright 2014, 2015, 2016, 2017 Tobias Rossmann.

Zeta is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Zeta is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Zeta. If not, see http://www.gnu.org/licenses.

Metadata

Release files for zetalib 0.4.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zetalib 0.4.5
File Size Uploaded Provenance Actions
zetalib-0.4.5.tar.gz 314.7 kB Without provenance Details for zetalib-0.4.5.tar.gz

Release files / zetalib-0.4.5.tar.gz

Download URL zetalib-0.4.5.tar.gz
Size 314.7 kB
Tags Source
SHA-256 checksum
How to use checksums
93cf86f70c64d18ca4c343864d2631c98375afb56898402a1921a4ec003f89b2
BLAKE2b-256 checksum
How to use checksums
a491d8ae5597e29d7e94141c2002f069fe65c9c4e0b4583df604c231cf52bbb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/2.7.15+

Security for zetalib 0.4.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page