So, I am using Eigen to perform matrix math on my own data structures, which encapsulate std::arrays. I essentially obtain the dot product as such:
Eigen::Map