The Python Library for managing your matrix (◕‿↼)
Project description
MATRIX [Github]
The Python Library for managing your matrix (◕‿↼)
Methods
Getting a Matrix from User Input
def get_matrix_input(rows: int, columns: int) -> list:
This method takes in the number of rows and columns and returns a matrix of the given size. It also prompts the user for output
Getting a Zero Matrix
get_matrix_zero(rows: int, columns: int) -> list
This method takes in the number of rows and columns and returns a matrix of the given size. It also fills the matrix with zeros for your further operations
add_two_matrix(matrix_one: list, matrix_two: list) -> list
This method takes in two matrices and returns the sum of the two matrices.
Warning The matrices must be of the same size or else unexpected results may occur.
subtract_two_matrix(matrix_one: list, matrix_two: list) -> list
This method takes in two matrices and returns the difference of the two matrices.
Warning The matrices must be of the same size or else unexpected results may occur.
multiply_two_matrix(matrix_one: list, matrix_two: list) -> list
This method takes in two matrices and returns the product of the two matrices.
Warning The matrices must satisfy the matrix multiplication rule or else unexpected results may occur.
Chandram Dutta © 2022
Note This is for a university project. Might not be maintained in future.
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
Built Distribution
Hashes for matrix_chandramdutta-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa8d05baa09a925569429618d09d2b7d29f86daaa3d53e98086215689b0fbd09 |
|
MD5 | 00004f3829e48347b3144f87c4c57a3b |
|
BLAKE2b-256 | eed4d174ef20ca34afdd57a02b00eeae3d3f66cadb92a15f747680f0d7e67d90 |
Hashes for matrix_chandramdutta-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86a2eead7e32ae18bae4e86124140454c0ee71aff184057420659fac06492abd |
|
MD5 | d8ed63fe750411a885f1bdbb929f9fde |
|
BLAKE2b-256 | 973ca3fa599ef8330e2986afbbc0bcabcf5c940804ec1b95f2f6efb5a65de423 |