Skip to content
/ snpy Public

A lightweight python library for computing the irreducible representations of the symmetric group

Notifications You must be signed in to change notification settings

horacepan/snpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snpy

SnPy is a simple library for computing irreducible representation matrices (using Young's orthogonal representation) of the symmetric group.

Requirements

  • numpy
  • scipy

Installation

python setup.py install

Sample Usage

from snpy.perm import Perm
from snpy.sn_irrep import SnIrrep

partition = (4, 1)
rho = SnIrrep(partition, fmt='dense')
g = Perm.cycle(1, 3, 5)
print(rho(g))

See the sample Jupyter notebook for more details on how to generate various permutations and their corresponding irrep matrices.

About

A lightweight python library for computing the irreducible representations of the symmetric group

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published