GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rburing/gcaops: Python package implementing the action of Kontsevich's graph complex(es) on Poisson structures

BranchesTags
Open more actions menu

Latest commit

 

History

391 Commits
391 Commits

Folders and files

NameName
Last commit message
Last commit date
gcaops
gcaops
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
setup.cfg
setup.cfg
 
 
setup.py
setup.py
 
 

Repository files navigation

gcaops: Graph Complex Action on Poisson Structures

Python package implementing the action of Kontsevich's graph complex(es) on Poisson structures. This package is designed to be used in SageMath version 9.5 or later.

Installation in SageMath

  1. Download the gcaops source code as a ZIP file and extract it to a directory such as /path/to/gcaops-master.

  2. In a terminal (e.g. the SageMath Shell on Windows), run the following:

    $ sage -pip install --upgrade /path/to/gcaops-master/
    

    This completes the installation.

  3. It is optional but highly recommended to configure a default directory where data (such as lists of graphs) can be stored, so it doesn't have to be re-computed each time.

    This can be done by setting the environment variable GCAOPS_DATA_DIR to the path you desire, before using gcaops. A convenient way to achieve this is by adding a line such as the following to SageMath's startup script init.sage:

    import os
    os.environ['GCAOPS_DATA_DIR'] = '/home/sage/Documents/gcaops_data/'
    

    Be warned that this directory can grow large. If no directory is configured, then graphs are only stored in memory (which may be limiting).

  4. It is optional but convenient to enable the importing of all names from the gcaops package (e.g. UndirectedGraphComplex) into the global namespace of every SageMath session, so that the functionality can be used immediately.

    This can be done by adding the following line to SageMath's startup script init.sage:

    from gcaops.all import *
    

Usage in SageMath

In a SageMath session, import the package and use it. For instance:

sage: from gcaops.graph.undirected_graph_complex import UndirectedGraphComplex
sage: GC = UndirectedGraphComplex(QQ, implementation='vector', sparse=True)
sage: GC.cohomology_basis(4,6)
[1*UndirectedGraph(4, [(0, 1), (0, 2), (0, 3), (1, 2), (1, 3), (2, 3)])]

Extensive examples of the use of this software are contained in the author's PhD dissertation: The action of Kontsevich's graph complex on Poisson structures and star products: an implementation.

About

Python package implementing the action of Kontsevich's graph complex(es) on Poisson structures

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.