git find fat commit

Is it possible to get info about how much space is wasted by changes in every commit — so I can find commits which added big files or a lot of files. This is all to try to reduce git repo size (…

Vectorizing a matrix

I have a large 2D matrix that is 1000 x 1000. I want to reshape this so that it is one column (or row). For example, if the matrix was:

1 4 7
2 5 8
3 6 9
I want to turn it in to:
1 2 3 4 5 …

Best library for statistics in C++?

I’m looking for high performance code (needs to run in real-time), preferably open source, but if there is nothing that’s free and high-perf, I’ll take something well supported and of high quality for …