Permalink
Browse files

Merge pull request #1338 from scolobb/ct0-base-classes

Implement CT Base Classes
  • Loading branch information...
2 parents 1052b45 + 9e0f2a1 commit d1ff27566192a57948784dcd6934335d22073fdd @ness01 ness01 committed Jun 18, 2012
@@ -0,0 +1,46 @@
+Category Theory Module
+======================
+
+.. module:: sympy.categories
+
+Introduction
+------------
+
+The category theory module for SymPy will allow manipulating diagrams
+within a single category, including drawing them in TikZ and deciding
+whether they are commutative or not.
+
+The general reference work this module tries to follow is
+
+ [JoyOfCats] J. Adamek, H. Herrlich. G. E. Strecker: Abstract and
+ Concrete Categories. The Joy of Cats.
+
+The latest version of this book should be available for free download
+from
+
+ katmat.math.uni-bremen.de/acc/acc.pdf
+
+The module is still in its pre-embryonic stage.
+
+Base Class Reference
+--------------------
+.. autoclass:: Object
+ :members:
+
+.. autoclass:: Morphism
+ :members:
+
+.. autoclass:: NamedMorphism
+ :members:
+
+.. autoclass:: CompositeMorphism
+ :members:
+
+.. autoclass:: IdentityMorphism
+ :members:
+
+.. autoclass:: Category
+ :members:
+
+.. autoclass:: Diagram
+ :members:
@@ -47,6 +47,7 @@ access any SymPy module, or use this contens:
utilities/index.txt
parsing.txt
physics/index.txt
+ categories.txt
Contributions to docs
---------------------
@@ -0,0 +1,22 @@
+"""
+Category Theory module.
+
+Provides some of the fundamental category-theory-related classes,
+including categories, morphisms, diagrams. Functors are not
+implemented yet.
+
+The general reference work this module tries to follow is
+
+ [JoyOfCats] J. Adamek, H. Herrlich. G. E. Strecker: Abstract and
+ Concrete Categories. The Joy of Cats.
+
+The latest version of this book should be available for free download
+from
+
+ katmat.math.uni-bremen.de/acc/acc.pdf
+
+"""
+
+from baseclasses import (Object, Morphism, IdentityMorphism,
+ NamedMorphism, CompositeMorphism, Category,
+ Diagram)
Oops, something went wrong.

0 comments on commit d1ff275

Please sign in to comment.