Skip to main content

Numerical operations on polytopes, ellipsoids, and subspaces

Project description

NumPES

PyPI version Documentation Tests

NumPES is a control-oriented Python package for performings numerical operations on polytopes, ellipsoids, and subspaces. Its classes are implemented as emulating numeric types, enabling a breadth of operations to be performed and evaluated. A modern scientific computing package implemented in Python, using C/C++ as a backend for efficient computation.

Installation

The easiest way to instal NumPES is by running

pip install numpes

in your terminal or dedicated virtual environment. Then, import NumPES using

import numpes as pes

at the top of your script to make its functionalities available.

Quick start

NumPES allows you to construct polytope, ellipsoid, and subspace objects and manipulate these. For example, start by initializing a polytope represented by its half-space representation (H-representation).

import numpy as np
import numpes as pes

A = np.array([[ 0,  1],
              [-2,  0],
              [ 1,  1],
              [ 0, -1]])
b = np.array([1, 1, 1, 0])

poly = pes.poly(A, b)  # Defines a polytope A x <= b

poly.plot(show=True)

Contribute to NumPES

We wholeheartedly invite collaborators to make contributions to NumPES. The easiest way to contribute is to fork this repository, implement your new functionality/improvement, and then create a pull request to merge this functionality in a new release of NumPES.

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

numpes-0.0.1a3.tar.gz (256.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

numpes-0.0.1a3-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

Details for the file numpes-0.0.1a3.tar.gz.

File metadata

  • Download URL: numpes-0.0.1a3.tar.gz
  • Upload date:
  • Size: 256.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for numpes-0.0.1a3.tar.gz
Algorithm Hash digest
SHA256 cf90c46a97fee499bef5d9a6ddd6a99b266aa44188e745ef0e3171ae0f63fa8b
MD5 3e17690ccb2e8767f2cb17cdf352feb6
BLAKE2b-256 6207c0dad000e1560e0d138e1a13c4cedade24816f33e7bb2542323ec6f57627

See more details on using hashes here.

Provenance

The following attestation bundles were made for numpes-0.0.1a3.tar.gz:

Publisher: publish-package.yml on bwolleswinkel/numpes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file numpes-0.0.1a3-py3-none-any.whl.

File metadata

  • Download URL: numpes-0.0.1a3-py3-none-any.whl
  • Upload date:
  • Size: 39.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for numpes-0.0.1a3-py3-none-any.whl
Algorithm Hash digest
SHA256 c75c484ef99fa897a6f6c07d074f80a72acf0e7684d7ea86c65811300e06c803
MD5 4f6ada3a8dc45880d2ffc3e4e8a09ab4
BLAKE2b-256 1550125d38a9872f42fb3c658a7fa83b1b49e5dff7182fbea433a908653344de

See more details on using hashes here.

Provenance

The following attestation bundles were made for numpes-0.0.1a3-py3-none-any.whl:

Publisher: publish-package.yml on bwolleswinkel/numpes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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