Simple matrix operations implementation in C++ for Advanced Programming Course