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

loserchen_4_lesson_matrix_operations-1.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file loserchen_4_lesson_matrix_operations-1.0.1.tar.gz.

File metadata

File hashes

Hashes for loserchen_4_lesson_matrix_operations-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3a00b0db63d28b0ebc233cfd8994f9fc1bfc87ae0ca80016507b4370974b90a4
MD5 051b1142c27168d19379b206ded6b36c
BLAKE2b-256 e9f333fc4f4ebd7076742a26efa584e7a4c92231a5b3b26b95b59725f362c5c6

See more details on using hashes here.

File details

Details for the file loserchen_4_lesson_matrix_operations-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for loserchen_4_lesson_matrix_operations-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 043d5b9bea251360209a9b2e40b2d2b75b69ebe6949d376ae03dab38162b11ac
MD5 366845298ffa597f39ae66c18d43f76e
BLAKE2b-256 6cf52fe356a4eb3ba851931e61f73716f5a9b269939f53aea9d4c062c4e06757

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