Dot products encode a lot of information - one of which is the angle between two vectors. This project aims to discover/document the different ways to calculate the angle between two vectors.
- Dot Product (norm)
- Dot Product (mag)
- Projection (Writeup about this method)
- Dot Product Bin Search (mag)
- Projection Bin Search
- Change of Basis
- Projection Method Writeup
- Publish Repo
- Rewrite in C++
- Python
- Has testing for method accuracy and a pytest benchmark.
- Benchmark is not as accurate as the C++ implementation.
- Has testing for method accuracy and a pytest benchmark.
- C++
- Is much better for benchmarking.
- Does not have method accuracy checks (Methods are created/checked in Python and then ported to C++).