I have been trying to figure out how the Blitz numeric library was able to get commas to initialize Vectors and Matrices. For example,
is perfectly valid. I have looked through the source, but I don't see any operator,(T_numtype n) in there. What did he do?Code:TinyMatrix<double, 2, 2> m; m = 1, 2, 3, 4;




Reply With Quote