Metadata-Version: 2.5
Name: sigmaepsilon.math
Version: 2.7.1
Summary: A Python Library for Applied Mathematics in Physical Sciences.
Project-URL: Homepage, https://github.com/sigma-epsilon/sigmaepsilon.math
Project-URL: Repository, https://github.com/sigma-epsilon/sigmaepsilon.math
Project-URL: Documentation, https://sigmaepsilonmath.readthedocs.io/en/latest/?badge=latest
Author-email: Bence Balogh <bencebalogh@sigmaepsilon.com>
Maintainer-email: Bence Balogh <bencebalogh@sigmaepsilon.com>
License-Expression: MIT
License-File: LICENSE
Keywords: engineering,mathematics,nonlinear optimization,optimization,symbolic mathematics,tensor,tensor algebra,vector,vector algebra
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Requires-Dist: awkward>=2.0.0
Requires-Dist: numpy>=1.23
Requires-Dist: pydantic>=2.0
Requires-Dist: scipy>=1.9
Requires-Dist: sigmaepsilon-core>=1.4.0
Requires-Dist: sigmaepsilon-deepdict>=3.0.0
Requires-Dist: sympy>=1.9
Requires-Dist: zipp>=3.19.1
Provides-Extra: numba
Requires-Dist: numba>=0.56.2; extra == 'numba'
Description-Content-Type: text/markdown

# **SigmaEpsilon.Math** - A Python Library for Applied Mathematics in Physical Sciences

[![CircleCI](https://dl.circleci.com/status-badge/img/gh/sigma-epsilon/sigmaepsilon.math/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/sigma-epsilon/sigmaepsilon.math/tree/main)
[![Documentation Status](https://readthedocs.org/projects/sigmaepsilonmath/badge/?version=latest)](https://sigmaepsilonmath.readthedocs.io/en/latest/?badge=latest)
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![[PyPI - Version]](https://img.shields.io/pypi/v/sigmaepsilon.math)
[![codecov](https://codecov.io/gh/sigma-epsilon/sigmaepsilon.math/graph/badge.svg?token=GP9FSFQW34)](https://codecov.io/gh/sigma-epsilon/sigmaepsilon.math)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/e2dc5070cbb44277b01303db2ef6cac9)](https://app.codacy.com/gh/sigma-epsilon/sigmaepsilon.math/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/sigmaepsilon.math)](https://www.python.org)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

`SigmaEpsilon.Math` is a Python library that provides tools to formulate and solve problems related to all kinds of scientific disciplines. It is a part of the SigmaEpsilon ecosystem, which is designed mainly to solve problems related to computational solid mechanics, but if something is general enough, it ends up here. A good example is the included vector and tensor algebra modules, or the various optimizers, which are applicable in a much broader context than they were originally designed for.

## Documentation

The [documentation](https://sigmaepsilonmath.readthedocs.io/en/latest/) is hosted on ReadTheDocs. You can find examples there.

## Installation

The library can be installed from PyPI. For the best performance, install it together with [Numba](https://numba.pydata.org/):

```shell
pip install "sigmaepsilon.math[numba]"  # recommended, with Numba
pip install sigmaepsilon.math           # without Numba
```

> **Performance:** Numba is optional, but strongly recommended. It compiles the performance-critical parts of the library to machine code; without it, they run as plain Python, which can be orders of magnitude slower. Some parts of the library, like the optimizers, don't use Numba at all.

For more details, including what Numba does and which parts of the library benefit from it, see the [installation guide](https://sigmaepsilonmath.readthedocs.io/en/latest/user_guide/installation.html) in the documentation.

## Changes and versioning

See the [changelog](CHANGELOG.md), for the most notable changes between releases.

The project adheres to [semantic versioning](https://semver.org/).

## How to contribute?

Contributions are currently expected in any the following ways:

* finding bugs
  If you run into trouble when using the library and you think it is a bug, feel free to raise an issue.
* feedback
  All kinds of ideas are welcome. For instance if you feel like something is still shady (after reading the user guide), we want to know. Be gentle though, the development of the library is financially not supported yet.
* feature requests
  Tell us what you think is missing (with realistic expectations).
* examples
  If you've done something with the library and you think that it would make for a good example, get in touch with the developers and we will happily inlude it in the documention.
* sharing is caring
  If you like the library, share it with your friends or colleagues so they can like it too.

In all cases, read the [contributing guidelines](CONTRIBUTING.md) before you do anything.

## Acknowledgements

Although `sigmaepsilon.math` heavily builds on `NumPy`, `Scipy`, `Numba` and `Awkward` and it also has functionality related to `networkx` and other third party libraries. Whithout these libraries the concept of writing performant, yet elegant Python code would be much more difficult.

**A lot of the packages mentioned on this document here and the introduction have a citable research paper. If you use them in your work through sigmaepsilon.mesh, take a moment to check out their documentations and cite their papers.**

Also, funding of these libraries is partly based on the size of the community they are able to support. If what you are doing strongly relies on these libraries, don't forget to press the :star: button to show your support.

## **License**

This package is licensed under the [MIT license](LICENSE.txt).
