title: How to best row-scale a SciPy sparse matrix?
body: <p>I've got a SciPy sparse matrix <code>A</code>, let's say in CSR format, and a vector <code>v</code> of matching length.</p>
  
  <p>What's the best way of row-scaling <code>A</code> with <code>v</code>, i.e., performing
  <code>diag(v) * A</code>?</p>