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_operations-zpg5569-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.

matrix_operations_zpg5569-1.0.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file matrix_operations-zpg5569-1.0.0.tar.gz.

File metadata

File hashes

Hashes for matrix_operations-zpg5569-1.0.0.tar.gz
Algorithm Hash digest
SHA256 756f942c4a456e09f3300a0d1e1be8dd1c0b34308e3f0719bb4f8d2ce71a70e9
MD5 a0d8f6492674c4e88f790dae07e21b30
BLAKE2b-256 89cec03553ccbcb2cc86ae506e8eb1db28dffa840e9fe70259584391a328218a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for matrix_operations_zpg5569-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0151ad368c4c13ad393eb68998fc43cca8525ef6e47a778585d05ebb9e31541
MD5 1e24c735024e952eac8a2993f1ee7e2b
BLAKE2b-256 613dbfcf2e74ff9511697c7228effe82893670a05342c32fdb2718adfabcc774

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