Efficient version for scaling all columns in a sparse matrix

rescale_sparse_mat_cols(A, v_norm)

Arguments

A

first matrix

B

second matrix - should be exactly same dimension as A