Skip to main content

A simple package for matrix operations

Project description

Matrix Operations

A simple Python package for matrix operations including addition and multiplication.

Installation

sh
pip install matrix_operations

Usage

python
from matrix_operations import add_matrices, multiply_matrices

matrix1 = [[1, 2], [3, 4]]
matrix2 = [[5, 6], [7, 8]]

# Add matrices
result_add = add_matrices(matrix1, matrix2)
print(result_add)  # Output: [[6, 8], [10, 12]]

# Multiply matrices
result_multiply = multiply_matrices(matrix1, matrix2)
print(result_multiply)  # Output: [[19, 22], [43, 50]]

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-ops-helper-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

matrix_ops_helper-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file matrix-ops-helper-1.0.0.tar.gz.

File metadata

  • Download URL: matrix-ops-helper-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.8

File hashes

Hashes for matrix-ops-helper-1.0.0.tar.gz
Algorithm Hash digest
SHA256 98f7b533e3d46aaf5c6246ebf08907d8454e1988f857c57a38cd364f5ea5d4cb
MD5 f4c110f3811920839975376c2165a94f
BLAKE2b-256 de366cb5bfea166bd68fd100cd949844f4824f0e123f2801b680b6c06dae5747

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for matrix_ops_helper-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a297eafd86d73ee317935c7f62024b5bbc6a44e1b108fff25bd83f1fc8a22438
MD5 2d809a89cba0c0cbe559c29cbd61f0bd
BLAKE2b-256 4e1237beaefc55cd3b3427cdd65c0fff8b5ebd55d98934439eaf4701250e7ff6

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