A domain specific language for linear algebra in c++