ofey404 / ofgroup

Group Theory module for Group Theory class of Fudan University 2020 Spring.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ofey Chan's Group Theory Module

This simple project is for Group Theory class of Fudan University 2020 Spring.

Installation

git clone https://github.com/ofey404/ofgroup.git
cd ofgroup

Then in package dir:

pip install -r requirements.txt
python setup.py install --user

or on linux or OS X machine:

make install

Test

After installation, run below in package's root directory.

make test

Some test titled individualTest_*.py, just run them in the test/ dir. Like:

> pwd; python individualTest_S3Group.py 
# output:
# /Users/ofey/Code/GroupTheoryCode/Ofey'sGroupPackage/tests
# +-------+-------+-------+-------+-------+-------+-------+
# |   \   |   e   |  (12) |  (23) |  (31) | (123) | (132) |
# +-------+-------+-------+-------+-------+-------+-------+
# |   e   |   e   |  (12) |  (23) |  (31) | (123) | (132) |
# |  (12) |  (12) |   e   | (123) | (132) |  (23) |  (31) |
# |  (23) |  (23) | (132) |   e   | (123) |  (31) |  (12) |
# |  (31) |  (31) | (123) | (132) |   e   |  (12) |  (23) |
# | (123) | (123) |  (31) |  (12) |  (23) | (132) |   e   |
# | (132) | (132) |  (23) |  (31) |  (12) |   e   | (123) |
# +-------+-------+-------+-------+-------+-------+-------+

INFO

Author: Ofey Chan, Department of Physics, Junior

Contact:

About

Group Theory module for Group Theory class of Fudan University 2020 Spring.

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 98.3%Language:Makefile 1.7%