Skip to main content

Differential Geometry with Complex Variables

Project description

DGCV: Differential Geometry with Complex Variables

----by David Sykes----

DGCV is an open-source Python package providing basic tools for differential geometry integrated with systematic organization of structures accompanying complex variables, in short, Differential Geometry with Complex Variables.

At its core are fully featured symbolic representations of standard DG objects such as vector fields and differential forms, defined relative to standard or complex coordinate systems. As systems of differential geometric objects constructed from complex variables inherit natural relationships from the underlying complex structure, DGCV tracks these relationships across the constructions. Immediate advantages of the uniform integration are seen in smooth switching between real and holomorphic coordinate representations of mathematical objects. In computations, DGCV classes dynamically manage this format switching on their own so that typical complex variables formulas can be written plainly and will simply work. Some examples of this: In coordinates $z_j = x_j + iy_j$, expressions such as $\frac{\partial}{\partial x_j}|z_j|^2$ or $d z_j \wedge d \overline{z_j} \left( \frac{\partial}{\partial z_j}, \frac{\partial}{\partial y_j} \right)$ are correctly parsed without needing to convert everything to a uniform variable format. Retrieving objects' complex structure-related attributes, like the holomorphic part of a vector field or pluriharmonic terms from a polynomial is straightforward. Complexified cotangent bundles and their exterior algebras are easily decomposed into components from the Dolbeault complex and Dolbeault operators themselves can be applied to functions and k-forms in either coordinate format.

DGCV was developed using Python 3.12, with dependencies on the SymPy and Pandas libraries in addition to base Python. Its classes integrate SymPy objects within their data structures and subclass from SymPy.Basic, thereby inheriting much of SymPy’s functionality. For instance, one can apply sympy.simplify() directly to most DGCV class objects. Developing complete compatibility with SymPy is a goal still in progress. Pandas is used to format and display data in a more readable manner.

Features

  • Fully featured symbolic representations of vector fields, differential forms, and tensor fields
  • Intuitive interactions with complex structures from holomorphic coordinate systems: DGCV objects dynamically manage coordinate transformations between real and holomorphic coordinates during computation as necessary, so objects can be represented in and freely converted between either coordinate format at any time.
  • Dedicated python classes for representing common differential geometric structures including Riemannian metrics, Kahler structures, and more
  • Custom LaTeX rendering: Integrated LaTeX support for clean visual representation of mathematical objects, ideal for sharing mathematical ideas through clear Jupyter notebooks.

Installation

You can install DGCV directly from PyPI with pip:

pip install DGCV

Alternatively, if you want to install DGCV locally (e.g., for development):

git clone https://github.com/YikesItsSykes/DGCV.git
cd DGCV
pip install .

Tutorials

Two Jupyter Notebook tutorials are available to help getting started with DGCV:

  1. DGCV Introduction: An introduction to the key concepts and setup

  2. DGCV in Action: A quick tour through examples from some of the library's more elaborate functions

Running the Tutorials Locally

If you have cloned this repository, you can run the tutorials locally with Jupyter:

git clone https://github.com/YikesItsSykes/DGCV.git
cd DGCV/tutorials
jupyter notebook DGCV_introduction.ipynb
jupyter notebook DGCV_in_action.ipynb

Documentation

Full documentation is under development. For now, refer to the docstrings within the code for more information on available methods and functionality.

License

DGCV is licensed under the MIT License. See the LICENSE.txt file for more information.

Author

DGCV was created and is maintained by David Sykes.


Future Development

The current (0.x.x) version of DGCV is a stable scafolding, as it were, upon which a lot more can be built. Many additions for future updates are planned. Current plans include:

  • Expanding libraries dedicated to specialized areas of differential geometry including, Symplect/Contact Hamiltonian formalism, CR structures, Riemannian and Kahler, Sasakian, etc.
  • A more comprehensive API for complex variable handling and dynamic coordinate-type conversions. The simple goal is to fully automate handling of complex variable formats, allowing input to be formatted freely with any coordinate type, with features to fully control coordinate type formatting or let the sytems automate the process. The current API meets this goal for interactions with DGCV's core classes, but it is not fully extended to some ancillary classes.

Contributions and feedback from anyone interested are warmly welcomed. Stay tuned for more updates!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dgcv-0.1.6.tar.gz (260.5 kB view details)

Uploaded Source

Built Distribution

DGCV-0.1.6-py3-none-any.whl (285.9 kB view details)

Uploaded Python 3

File details

Details for the file dgcv-0.1.6.tar.gz.

File metadata

  • Download URL: dgcv-0.1.6.tar.gz
  • Upload date:
  • Size: 260.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for dgcv-0.1.6.tar.gz
Algorithm Hash digest
SHA256 d268406878688d092632a1425f9d9383ac5c935139e11c806fc9b87db4436cd3
MD5 ad37009a4854e454f85eec9c9f431796
BLAKE2b-256 2223bc2646f73108b1d3712ae2b9a6b43b178be85e2ffdf6c585971a11563462

See more details on using hashes here.

File details

Details for the file DGCV-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: DGCV-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 285.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for DGCV-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 43f2b8e4c959b8add89e0251ca1f4e64255135d2766d9fefc1cffd75f941227e
MD5 629aea2f95238d02d45558d03610a8a2
BLAKE2b-256 50c816b880d80c5e4792abe21a2d9429a3689ab59ec7404761b1220698f952f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page