Skip to main content

A matrix multiplication library

Project description

AluMathPeer2

A simple and efficient matrix multiplication library.

Installation

pip install alumathpeer2

Usage

from alumathpeer2 import multiply_matrices

# Example 1: 2x2 matrices
A = [[1, 2], [3, 4]]
B = [[5, 6], [7, 8]]
result = multiply_matrices(A, B)
# Result: [[19, 22], [43, 50]]

# Example 2: 2x3 and 3x2 matrices
A = [[1, 2, 3], [4, 5, 6]]
B = [[7, 8], [9, 10], [11, 12]]
result = multiply_matrices(A, B)
# Result: [[58, 64], [139, 154]]

Features

  • Supports matrices of different dimensions
  • Input validation
  • Simple and intuitive API

License

MIT License

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

alumathpeer2-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

alumathpeer2-0.1.0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file alumathpeer2-0.1.0.tar.gz.

File metadata

  • Download URL: alumathpeer2-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for alumathpeer2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 71b211afdcca911f3452868e4afe57937c20f128ed142eb9711a4d0fb8af7217
MD5 4ad5f0439790c194fda1cf8d21e6ef1a
BLAKE2b-256 8d9ea8839bcee166da32b6808127ee3525d04dda007c6958307c427cac619ffd

See more details on using hashes here.

File details

Details for the file alumathpeer2-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: alumathpeer2-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for alumathpeer2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d58b44b7e78d9af0ad97ddcddb44e26b30bb8d4f619612f52de6476c3c411843
MD5 fa80200a26529123a37d3c7aeaf12f7d
BLAKE2b-256 2995af53d487120c5fb6a66d2516f564868f5a72f1ca02483e457185743e499b

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