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:
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: