Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1338 from scolobb/ct0-base-classes
Implement CT Base Classes
- Loading branch information
Showing
12 changed files
with
1,337 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.