summaryrefslogblamecommitdiffstats
path: root/README.MD
blob: b07b77dc2c2f002ab8aca98571f8f5a8e2c13426 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                              
# MATHVECTOR
A simple C++ library for arbitrary length mathematical vectors. All functions
and member classes lie in the mvec namespace

## Use
Add mvector.hpp to your project, make a new vector using
```
mvec::vec<double, 2>
```
or
```
mvec;:vec2<double>
```
mvec comes with multiple pre-built vector types. for vectors of length 2-4.

Each pre-made vectors include x,y,z,w members that can access their respective
indices in the vector