Metadata-Version: 2.1
Name: lineargebra
Version: 0.2
Summary: A math implementation of Vectors and Matrix
Home-page: UNKNOWN
Author: Thomas Weber
Author-email: thomas.web13@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown

# lineargebra
My simple implementation of Vectors &amp; Matrix to python, with maths nerd stuff.


# Installation
```
pip3 install lineargebra
```

# Usage Example
Vector (Vector2D and 3D works pretty much the same)
```py
from lineargebra import Vector


ex_vector = Vector((1, 2, 3, 4))
ex_vector2 = Vector((4, 3, 2, 1))

ex_vector + ex_vector2  # output : Vector(5; 5; 5; 5)
ex_vector - ex_vector2  # output : Vector(-3; -1; 1; 3)
ex_vector * 2           # output : Vector(2; 4; 6; 8)
ex_vector * ex_vector2  # output : 20
ex_vector.inverted()    # output : Vector(4; 3; 2; 1)
ex_vector.inverted() == ex_vector2  # output : True

# and others...
```



