a small module which adds a Matrix class to be used as a new data type
Project description
MATRIXHANDLER
A small module which adds you to manipulate matrixes in Python3. Code is still under development,features such as matrix division and power TBA.
The code is made for Python3
Installation
$ pip install matrixHandler
Example
from pymatrix import matrix
# creates a 2x3 matrix based on a list
matrix1 = Matrice([[1, 2],[3, 4],[5, 6]])
# creates another 3x2 matrix
matrix2 = Matrice([[10, 9, 8], [7, 6, 5]])
# multiples both matrixes
multMatrix = matrix1 * matrix2
# displays the result
print(multMatrix)
Output:
[14, 12]
[28, 24]
[42, 36]
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
matrixHandler-0.1.2.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for matrixHandler-0.1.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e5d0a8777d2360fc8e82fc551454c496fe7e1185f3738a50d5f172c22558c64 |
|
MD5 | e94a2730632abd47a74e470f874103f5 |
|
BLAKE2b-256 | 87458a3726702673978efdf98772e2af1a5e85f1f101282810675c15d81a5257 |