Skip to main content

Parallel Matrix Multiplication with ProcessPoolExecutor

Project description

ParallelMatX

This project is developed as part of the 240-123 Data Structure Algorithm and Programming Module in my concurrency assignment

Overview

ParallelMatX is an open-source Python library designed for parallel matrix multiplication.

It utilizes parallel processing techniques to optimize performance, competible with large-scale matrix computation

Getting Started

Installation

To install ParallelMatX, use pip:

pip install parallematx==1.0

Usage Example

Here's a basic example demonstrating how to use ParallelMatX for parallel matrix multiplication:

import parallelmatx
import numpy as np

if __name__ == "__main__": # Need main to run parallel
    A = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
    B = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])

    result = parallelmatx.cross_product(A, B)
    print("Result:\n", result)

How It Works

Benchmarking

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

parallematx-1.0.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

parallematx-1.0.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file parallematx-1.0.2.tar.gz.

File metadata

  • Download URL: parallematx-1.0.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for parallematx-1.0.2.tar.gz
Algorithm Hash digest
SHA256 616922891aa39e18c08ab4092fc00140d060d21a47fae256c9fb4cb4a4c8af59
MD5 121eb4c9322c39375c2f6b097c2b9f2d
BLAKE2b-256 cea820bc1277b3828f6c01773f1a76b63aa130fe51a0f78e1b4a3c0b55e37255

See more details on using hashes here.

File details

Details for the file parallematx-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: parallematx-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for parallematx-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5a3459f9c4e8d2bdda447f570c9c5ad0a8d0951c4670c6e8068c067f211a0ed
MD5 74e4d7af21efe183c169663a8a872714
BLAKE2b-256 cec5b3996dd9ea4138c7105f4572d8e66e5498de0c2f4f31db2bd5879006f357

See more details on using hashes here.

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