Skip to main content

A matrix multiplication library

Project description

Matrix Multiply Library

A Python library for matrix multiplication supporting matrices of different dimensions.

Installation

pip install matrix-multiply-lib

##Usage

from matrix_multiply import Matrix, matrix_multiply

# Create matrices
matrix_a = Matrix([[1, 2], [3, 4]])
matrix_b = Matrix([[5, 6], [7, 8]])

# Method 1: Using Matrix class
result = matrix_a * matrix_b
print(result)

# Method 2: Using convenience function
result = matrix_multiply([[1, 2], [3, 4]], [[5, 6], [7, 8]])
print(result)

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

matrix_multiply_lib-1.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

matrix_multiply_lib-1.0.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file matrix_multiply_lib-1.0.0.tar.gz.

File metadata

  • Download URL: matrix_multiply_lib-1.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for matrix_multiply_lib-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3b402afcd90ffb3de5d0f32a0cba2243626c7a52acb856158b98dcf8329e1b8c
MD5 acf03781b4c21d2c1ab14e2f2b3e66f0
BLAKE2b-256 019a22c255f88ebffb7f6e319bc880b9ba03c01d1df0c2669226819894565f80

See more details on using hashes here.

File details

Details for the file matrix_multiply_lib-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for matrix_multiply_lib-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ccf6cf9cc5da9ea59c6ce0055e2a83ceb3add9530419af25c37d376e89b638e
MD5 1c067675d9b6bff0f65a097f75da58b6
BLAKE2b-256 7954a8d8f94aa2abd1007467d1c41bd80cfa0dffbecd8000c65722984bd78302

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