<code><a href="DenseBlock.html#countNonZeros()">countNonZeros</a></code>&nbsp;in class&nbsp;<code><a href="DenseBlock.html" title="class in org.apache.sysds.runtime.data">DenseBlock</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of non-zeros</dd>
</dl>
</li>
</ul>
<a id="countNonZeros(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countNonZeros</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;countNonZeros&#8203;(int&nbsp;r)</pre>
<div class="bl