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

Use Numpy Array 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.

Use Decimal Numbers in Nada

  • Rational Number Support: Our implementation of Rational and SecretRational allows the use of simplified implementations of decimal numbers on top of Nillion.

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.2.1.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

nada_algebra-0.2.1-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nada_algebra-0.2.1.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure

File hashes

Hashes for nada_algebra-0.2.1.tar.gz
Algorithm Hash digest
SHA256 01f09591269a1b367027586b682295e0f2b7e78a8e20fd8dcb4330bbdf15b08a
MD5 d681430b935e9f58ca8d1c3b45ea60bf
BLAKE2b-256 98808b09c51b3fb53aabba95bdfc027932a66a6d3310e538f290978584ae51b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nada_algebra-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure

File hashes

Hashes for nada_algebra-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 46c9758de310b88c891e0f2e068712b326ac83a00328e0dba2313a115ed6e300
MD5 e6a81c9fa03d35c2da5eb95b38440879
BLAKE2b-256 6a0caec1e21042fd6bdf4ea49db45e5972a581a68426ddf14a9c0321366b58e4

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