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_yq-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_yq-1.0.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: matrix_ops_helper_yq-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_yq-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4942156c876946d236fb7dab368d6f115a1d28064e8fac557be3fc5ba8e9f9f8
MD5 df83a677f36b32ba0e0dd93556da20c6
BLAKE2b-256 ea8a2c54cc60c9593ade52a9e2bbec25f215f1e3390c3cb59fb8372bc7231ae3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for matrix_ops_helper_yq-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28376df89a486e57c6ddec30c307fc05cee502c9fab0c4d5f3b1e2279437846f
MD5 b39a8a23cf9b5c1499b0d9cd97dce1aa
BLAKE2b-256 20e1f429ef61f14422bab213616701a56b17c260448cd131e2049ff50f59e561

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