.html#applyUnaryOpWithReference(org.apache.sysds.runtime.matrix.operators.UnaryOperator,double%5B%5D,double%5B%5D)">applyUnaryOpWithReference</a></span>&#8203;(<a href="../UnaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">UnaryOperator</a>&nbsp;op,
                         double[]&nbsp;reference,
                         double[]&nbsp;newReference)</code></th>
<td class="colLast">
<div class="block">Allocate a new dictionary and apply the scalar operation on each cell to then r