nbsp;int&nbsp;index&#8203;(int&nbsp;r)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="DenseBlock.html#index(int)">DenseBlock</a></code></span></div>
<div class="block">Get the block index for a given row.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="DenseBlock.html#index(int)">index</a></code>&nbsp;in class&nbsp;<code><a href="DenseBlock.html" title="class in org.apache.sysds.runtime.data">DenseBloc