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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for loserchen_4_lesson_matrix_operations-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a04bc268724de0a8f2997438740ff85c824957b13bf20b921c4a19933f7d69b
MD5 7c70c223960524c24d9fc37834a2a6fb
BLAKE2b-256 3f7c77426aa3e2287ea60e398e4fff4521e2b0171791cf8958e4ec537f38926b

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