SVD on a matrix that does not fit into memory

Who knows …
So, as conclusion, I think that your first answer (without the implementation of the mul_by_cols function) is the best one.

And the whole and definitive code (if you accept it) is the one I posted above:

2 Likes