Skip to main content

No project description provided

Project description

Nada-Algebra

GitHub License GitHub Actions Workflow Status

Nada-Algebra is a Python library designed for algebraic operations on NumPy-like array objects on top of Nada DSL and Nillion Network. It provides a simple and intuitive interface for performing various algebraic computations, including dot products, element-wise operations, and stacking operations, while supporting broadcasting similar to NumPy arrays.

Features

  • Dot Product: Compute the dot product between two NadaArray objects.
  • Element-wise Operations: Perform element-wise addition, subtraction, multiplication, and division with broadcasting support.
  • Stacking: Horizontally and vertically stack arrays.
  • Custom Function Application: Apply custom functions to each element of the array.

Installation

Using pip

pip install nada-algebra

From Sources

You can install the nada-algebra library using Poetry:

git clone https://github.com/NillionNetwork/nada-algebra.git
pip3 install poetry
poetry install nada-algebra

License

This project is licensed under the Apache2 License. See the LICENSE file for details.

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

nada_algebra-0.1.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

nada_algebra-0.1.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file nada_algebra-0.1.1.tar.gz.

File metadata

  • Download URL: nada_algebra-0.1.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.7.11-orbstack-00143-ge6b82e26cd22

File hashes

Hashes for nada_algebra-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1d5d616eee590541dd6965f565b2194213412ef2794d27b0f01fd1d3fa53571e
MD5 88ee4aa995af83dc745f3f6e6573a0fd
BLAKE2b-256 e68b8fc277317b550395435170e673d71e51d828e3fa8d0dc8f6b77f7f5c8691

See more details on using hashes here.

File details

Details for the file nada_algebra-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nada_algebra-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.7.11-orbstack-00143-ge6b82e26cd22

File hashes

Hashes for nada_algebra-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea7962e9b0c96ba00ab6839c184925b6e311ff1c9c98d7f846b480890aca4946
MD5 91bef588c9ac9468402afbd000da5e52
BLAKE2b-256 6fc9c73b43958085c64150d822fe86ed437c798c3a4e14a45cfaca818fc2fa24

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