Skip to content

naftaliharris/Abstract-Algebra

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

This package attempts to implement finite abstract algebra in python. It is written by Naftali Harris and licensed under the GNU General Public License, Version 3.

INSTALLATION

$ sudo python setup.py install

USAGE

$ python 
Python 2.7.2+ (default, Oct  4 2011, 20:03:08) 
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from absalg import * 
>>> print Zn(2) * Zn(2) 
e: (0, 0)
a: (0, 1)
b: (1, 0)
c: (1, 1)

   | e | a | b | c |
---+---+---+---+---+
 e | e | a | b | c |
---+---+---+---+---+
 a | a | e | c | b |
---+---+---+---+---+
 b | b | c | e | a |
---+---+---+---+---+
 c | c | b | a | e |
---+---+---+---+---+

>>>  

LICENSE INFO

See "COPYING"

About

Implements group theory in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages