Skip to main content

Numerical operations on polytopes, ellipsoids, and subspaces

Project description

NumPES

PyPI version Tests

NumPES is a controls-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.1a2.tar.gz (17.6 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.1a2-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for numpes-0.0.1a2.tar.gz
Algorithm Hash digest
SHA256 a38570c304b84fd88ddf6e784ef6c8e212358ee4d5b77b6f41e4c3ae93840fba
MD5 9a962404bc07512fe32741320ee53765
BLAKE2b-256 595b0784bc172e7aa74688471e713f09dc2ed8df4dc1f45a0c8d083882dc285e

See more details on using hashes here.

Provenance

The following attestation bundles were made for numpes-0.0.1a2.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.1a2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for numpes-0.0.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 687bd662797853636e98768d379ffd743b4e0542879210a067867fe9c8951929
MD5 23bf28a7874bbb7180624b67f80c5d55
BLAKE2b-256 51eba6d21a65e81d5af54308330f6ab5ad10fd9446fdab8741cfab82e54df5f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for numpes-0.0.1a2-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