Skip to main content

A simple Python library for matrix multiplication

Project description

AlumMath

A simple Python library for matrix multiplication with proper validation.

Installation

pip install alumath

QuickStart

from alumath import Matrix, matrix_multiply

# Create matrices
A = Matrix([[1, 2, 3], [4, 5, 6]])      # 2×3 matrix  
B = Matrix([[7, 8], [9, 10], [11, 12]]) # 3×2 matrix

# Multiply matrices
result = A * B
print(result)
print(f"Result shape: {result.shape()}")  # (2, 2)

Features

✅ Matrix multiplication with dimension validation ✅ Clear error messages for incompatible matrices ✅ Clean display formatting ✅ Support for different matrix dimensions

License

MIT License

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

alumath-1.0.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

alumath-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for alumath-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3fc4b11ffacb6e1d4dfd79ca117996a267fdeda9d0d0c667f615d33a514f6e84
MD5 0ce116ed085ede6eeb756848ec33db2e
BLAKE2b-256 a9604de799eb91c6540ab21077e00c61bad65d330dac4b9317f4bf03106c67e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alumath-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for alumath-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23cb9119aff33c6af12985bf48e45418e558810d109685139264da961aaa5dcc
MD5 082f6caf8e2fa74b4b134e383fb1b8c8
BLAKE2b-256 eb12b7f1e8d089a93b91ce88398d99dda898805fc4368886807bcc92d943cc5f

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