n class="math inline">\(b\)</span> to produce a dense vector <span class="math inline">\(A\,b\)</span>.
Multiplying a dense row vector <span class="math inline">\(b\)</span> and a sparse matrix <span class="math inline">\(A\)</span> can be
coded using transposition as <span class="math display">\[ b \, A = (A^{\top} \,
b^{\top})^{\top}, \]</span> but care must be taken to represent <span class="math inline">\(A^{\top}\)</span>
rather than <span class="math inline">\(A\)</span> as a sparse matrix.</p>
<!-- v