"class or interface in java.util" class="externalLink">ArrayList</a>&lt;<a href="../../instructions/spark/data/IndexedMatrixValue.html" title="class in org.apache.sysds.runtime.instructions.spark.data">IndexedMatrixValue</a>&gt;&nbsp;out)</pre>
</li>
</ul>
<a id="diag(org.apache.sysds.runtime.matrix.data.MatrixBlock,org.apache.sysds.runtime.matrix.data.MatrixBlock)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>diag</h4>
<pre class="methodSignature">public static&nbsp;<a href="MatrixBlo