ass in org.apache.sysds.runtime.data">DenseBlock</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>r</code> - row index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of non-zeros</dd>
</dl>
</li>
</ul>
<a id="countNonZeros(int,int,int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countNonZeros</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;countNonZeros&#8203;(int&nbsp;rl,
                          int&nbsp;ru,
           