diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2022-11-20 23:35:33 -0500 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2022-11-20 23:35:33 -0500 |
commit | 7b1f1372e3993860bd0909e6851952fffc5d097f (patch) | |
tree | b4fcd8f5ae683b471818e0573b4f5b96fea8caee /README.MD | |
download | mathvector-master.tar.gz mathvector-master.tar.bz2 mathvector-master.zip |
Diffstat (limited to 'README.MD')
-rw-r--r-- | README.MD | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/README.MD b/README.MD new file mode 100644 index 0000000..b07b77d --- /dev/null +++ b/README.MD @@ -0,0 +1,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 |