# MathTools

A math library I made to learn and explore math.

### Usage

Open up a terminal and go to the directory where you want to put Math Tools.

Clone the repo:

```
git clone https://github.com/martin-petersson/MathTools.git
```

Inside the same directory run the interactive Python interpreter:

```
>>> import mathtools as mt
```

### Define a vector

### Adding two vectors

### Multiply vector by scalar

### Divide vector by scalar

### Normalize/unitize vector

### Dot product of two vectors

### Cross product of two 3d vectors

### Linear interpolation between two vectors

### Define a matrix

```
m = mt.Matrix([[a, b], [c, d]])
```