blob: 56bf93d6e7db5b5ceb5317dd0d28ada88d4fe949 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MatrixBlock (SystemDS 2.1.0-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MatrixBlock (SystemDS 2.1.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":9,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":9,"i56":10,"i57":9,"i58":10,"i59":9,"i60":9,"i61":9,"i62":9,"i63":10,"i64":9,"i65":9,"i66":10,"i67":9,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":9,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":9,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":9,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":10,"i131":10,"i132":9,"i133":9,"i134":9,"i135":9,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10,"i151":10,"i152":10,"i153":10,"i154":9,"i155":10,"i156":9,"i157":10,"i158":10,"i159":10,"i160":10,"i161":10,"i162":10,"i163":10,"i164":10,"i165":10,"i166":10,"i167":10,"i168":10,"i169":10,"i170":10,"i171":10,"i172":10,"i173":10,"i174":10,"i175":10,"i176":10,"i177":10,"i178":10,"i179":10,"i180":10,"i181":10,"i182":10,"i183":10,"i184":10,"i185":10,"i186":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MatrixBlock.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/sysds/runtime/matrix/data/LibMatrixTercell.html" title="class in org.apache.sysds.runtime.matrix.data"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.SparsityEstimate.html" title="class in org.apache.sysds.runtime.matrix.data"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/sysds/runtime/matrix/data/MatrixBlock.html" target="_top">Frames</a></li>
<li><a href="MatrixBlock.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.sysds.runtime.matrix.data</div>
<h2 title="Class MatrixBlock" class="title">Class MatrixBlock</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">org.apache.sysds.runtime.matrix.data.MatrixValue</a></li>
<li>
<ul class="inheritance">
<li>org.apache.sysds.runtime.matrix.data.MatrixBlock</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable, <a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../org/apache/sysds/runtime/compress/CompressedMatrixBlock.html" title="class in org.apache.sysds.runtime.compress">CompressedMatrixBlock</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">MatrixBlock</span>
extends <a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>
implements <a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../serialized-form.html#org.apache.sysds.runtime.matrix.data.MatrixBlock">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.SparsityEstimate.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock.SparsityEstimate</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.sysds.runtime.matrix.data.MatrixValue">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.apache.sysds.runtime.matrix.data.<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></h3>
<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.CellIndex.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue.CellIndex</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#CONVERT_MCSR_TO_CSR_ON_DEEP_SERIALIZE">CONVERT_MCSR_TO_CSR_ON_DEEP_SERIALIZE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.Type.html" title="enum in org.apache.sysds.runtime.data">SparseBlock.Type</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#DEFAULT_INPLACE_SPARSEBLOCK">DEFAULT_INPLACE_SPARSEBLOCK</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.Type.html" title="enum in org.apache.sysds.runtime.data">SparseBlock.Type</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#DEFAULT_SPARSEBLOCK">DEFAULT_SPARSEBLOCK</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#HEADER_SIZE">HEADER_SIZE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#MAX_SHALLOW_SERIALIZE_OVERHEAD">MAX_SHALLOW_SERIALIZE_OVERHEAD</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#SPARSITY_TURN_POINT">SPARSITY_TURN_POINT</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ULTRA_SPARSE_BLOCK_NNZ">ULTRA_SPARSE_BLOCK_NNZ</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ULTRA_SPARSITY_TURN_POINT">ULTRA_SPARSITY_TURN_POINT</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ULTRA_SPARSITY_TURN_POINT2">ULTRA_SPARSITY_TURN_POINT2</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#MatrixBlock--">MatrixBlock</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#MatrixBlock-double-">MatrixBlock</a></span>(double&nbsp;val)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#MatrixBlock-int-int-boolean-">MatrixBlock</a></span>(int&nbsp;rl,
int&nbsp;cl,
boolean&nbsp;sp)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#MatrixBlock-int-int-boolean-long-">MatrixBlock</a></span>(int&nbsp;rl,
int&nbsp;cl,
boolean&nbsp;sp,
long&nbsp;estnnz)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#MatrixBlock-int-int-org.apache.sysds.runtime.data.DenseBlock-">MatrixBlock</a></span>(int&nbsp;rl,
int&nbsp;cl,
<a href="../../../../../../org/apache/sysds/runtime/data/DenseBlock.html" title="class in org.apache.sysds.runtime.data">DenseBlock</a>&nbsp;dBlock)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#MatrixBlock-int-int-double-">MatrixBlock</a></span>(int&nbsp;rl,
int&nbsp;cl,
double&nbsp;val)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#MatrixBlock-int-int-long-">MatrixBlock</a></span>(int&nbsp;rl,
int&nbsp;cl,
long&nbsp;estnnz)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#MatrixBlock-int-int-long-org.apache.sysds.runtime.data.SparseBlock-">MatrixBlock</a></span>(int&nbsp;rl,
int&nbsp;cl,
long&nbsp;nnz,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.html" title="class in org.apache.sysds.runtime.data">SparseBlock</a>&nbsp;sblock)</code>
<div class="block">Constructs a sparse <a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data"><code>MatrixBlock</code></a> with a given instance of a <a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.html" title="class in org.apache.sysds.runtime.data"><code>SparseBlock</code></a></div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-">MatrixBlock</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.data.SparseBlock.Type-boolean-">MatrixBlock</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.Type.html" title="enum in org.apache.sysds.runtime.data">SparseBlock.Type</a>&nbsp;stype,
boolean&nbsp;deep)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#aggregateBinaryOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.operators.AggregateBinaryOperator-">aggregateBinaryOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m1,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateBinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateBinaryOperator</a>&nbsp;op)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#aggregateBinaryOperations-org.apache.sysds.runtime.matrix.data.MatrixIndexes-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixIndexes-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.operators.AggregateBinaryOperator-">aggregateBinaryOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>&nbsp;m1Index,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m1,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>&nbsp;m2Index,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateBinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateBinaryOperator</a>&nbsp;op)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#aggregateTernaryOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.operators.AggregateTernaryOperator-boolean-">aggregateTernaryOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m1,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m3,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateTernaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateTernaryOperator</a>&nbsp;op,
boolean&nbsp;inCP)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#aggregateUnaryOperations-org.apache.sysds.runtime.matrix.operators.AggregateUnaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-int-org.apache.sysds.runtime.matrix.data.MatrixIndexes-">aggregateUnaryOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateUnaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateUnaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result,
int&nbsp;blen,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>&nbsp;indexesIn)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#aggregateUnaryOperations-org.apache.sysds.runtime.matrix.operators.AggregateUnaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-int-org.apache.sysds.runtime.matrix.data.MatrixIndexes-boolean-">aggregateUnaryOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateUnaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateUnaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result,
int&nbsp;blen,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>&nbsp;indexesIn,
boolean&nbsp;inCP)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#allocateAndResetSparseBlock-boolean-org.apache.sysds.runtime.data.SparseBlock.Type-">allocateAndResetSparseBlock</a></span>(boolean&nbsp;clearNNZ,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.Type.html" title="enum in org.apache.sysds.runtime.data">SparseBlock.Type</a>&nbsp;stype)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#allocateBlock--">allocateBlock</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a>&lt;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#allocateBlockAsync--">allocateBlockAsync</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#allocateDenseBlock--">allocateDenseBlock</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#allocateDenseBlock-boolean-">allocateDenseBlock</a></span>(boolean&nbsp;clearNNZ)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#allocateDenseBlockUnsafe-int-int-">allocateDenseBlockUnsafe</a></span>(int&nbsp;rl,
int&nbsp;cl)</code>
<div class="block">This should be called only in the read and write functions for CP
This function should be called before calling any setValueDenseUnsafe()</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#allocateSparseRowsBlock--">allocateSparseRowsBlock</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#allocateSparseRowsBlock-boolean-">allocateSparseRowsBlock</a></span>(boolean&nbsp;clearNNZ)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#append-org.apache.sysds.runtime.matrix.data.MatrixBlock:A-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-">append</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>[]&nbsp;that,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
boolean&nbsp;cbind)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#append-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-">append</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#append-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-">append</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
boolean&nbsp;cbind)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#append-org.apache.sysds.runtime.matrix.data.MatrixValue-java.util.ArrayList-int-boolean-boolean-int-">append</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;v2,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../../org/apache/sysds/runtime/instructions/spark/data/IndexedMatrixValue.html" title="class in org.apache.sysds.runtime.instructions.spark.data">IndexedMatrixValue</a>&gt;&nbsp;outlist,
int&nbsp;blen,
boolean&nbsp;cbind,
boolean&nbsp;m2IsLast,
int&nbsp;nextNCol)</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#appendRow-int-org.apache.sysds.runtime.data.SparseRow-">appendRow</a></span>(int&nbsp;r,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseRow.html" title="class in org.apache.sysds.runtime.data">SparseRow</a>&nbsp;row)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#appendRow-int-org.apache.sysds.runtime.data.SparseRow-boolean-">appendRow</a></span>(int&nbsp;r,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseRow.html" title="class in org.apache.sysds.runtime.data">SparseRow</a>&nbsp;row,
boolean&nbsp;deep)</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#appendRowToSparse-org.apache.sysds.runtime.data.SparseBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-int-int-int-boolean-">appendRowToSparse</a></span>(<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.html" title="class in org.apache.sysds.runtime.data">SparseBlock</a>&nbsp;dest,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;src,
int&nbsp;i,
int&nbsp;rowoffset,
int&nbsp;coloffset,
boolean&nbsp;deep)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#appendToSparse-org.apache.sysds.runtime.matrix.data.MatrixBlock-int-int-">appendToSparse</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
int&nbsp;rowoffset,
int&nbsp;coloffset)</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#appendToSparse-org.apache.sysds.runtime.matrix.data.MatrixBlock-int-int-boolean-">appendToSparse</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
int&nbsp;rowoffset,
int&nbsp;coloffset,
boolean&nbsp;deep)</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#appendValue-int-int-double-">appendValue</a></span>(int&nbsp;r,
int&nbsp;c,
double&nbsp;v)</code>
<div class="block">Append value is only used when values are appended at the end of each row for the sparse representation
This can only be called, when the caller knows the access pattern of the block</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#appendValuePlain-int-int-double-">appendValuePlain</a></span>(int&nbsp;r,
int&nbsp;c,
double&nbsp;v)</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#binaryOperations-org.apache.sysds.runtime.matrix.operators.BinaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-">binaryOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/BinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">BinaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatValue,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#binaryOperationsInPlace-org.apache.sysds.runtime.matrix.operators.BinaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">binaryOperationsInPlace</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/BinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">BinaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatValue)</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#chainMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.lops.MapMultChain.ChainType-">chainMatrixMultOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;v,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;w,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out,
<a href="../../../../../../org/apache/sysds/lops/MapMultChain.ChainType.html" title="enum in org.apache.sysds.lops">MapMultChain.ChainType</a>&nbsp;ctype)</code>&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#chainMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.lops.MapMultChain.ChainType-int-">chainMatrixMultOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;v,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;w,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out,
<a href="../../../../../../org/apache/sysds/lops/MapMultChain.ChainType.html" title="enum in org.apache.sysds.lops">MapMultChain.ChainType</a>&nbsp;ctype,
int&nbsp;k)</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#checkNaN--">checkNaN</a></span>()</code>
<div class="block">Checks for existing NaN values in the matrix block.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#checkNonZeros--">checkNonZeros</a></span>()</code>
<div class="block">Basic debugging primitive to check correctness of nnz.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#checkSparseRows--">checkSparseRows</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#checkSparseRows-int-int-">checkSparseRows</a></span>(int&nbsp;rl,
int&nbsp;ru)</code>
<div class="block">Basic debugging primitive to check sparse block column ordering.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#cleanupBlock-boolean-boolean-">cleanupBlock</a></span>(boolean&nbsp;dense,
boolean&nbsp;sparse)</code>
<div class="block">Allows to cleanup all previously allocated sparserows or denseblocks.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#cmOperations-org.apache.sysds.runtime.matrix.operators.CMOperator-">cmOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/CMOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">CMOperator</a>&nbsp;op)</code>&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#cmOperations-org.apache.sysds.runtime.matrix.operators.CMOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-">cmOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/CMOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">CMOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;weights)</code>&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#compactEmptyBlock--">compactEmptyBlock</a></span>()</code>
<div class="block">Free unnecessarily allocated empty block.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#compareTo-java.lang.Object-">compareTo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;arg0)</code>&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#computeIQMCorrection-double-double-double-double-double-double-">computeIQMCorrection</a></span>(double&nbsp;sum,
double&nbsp;sum_wt,
double&nbsp;q25Part,
double&nbsp;q25Val,
double&nbsp;q75Part,
double&nbsp;q75Val)</code>&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#containsValue-double-">containsValue</a></span>(double&nbsp;pattern)</code>&nbsp;</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#copy-int-int-int-int-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-">copy</a></span>(int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;src,
boolean&nbsp;awareDestNZ)</code>
<div class="block">In-place copy of matrix src into the index range of the existing current matrix.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#copy-org.apache.sysds.runtime.matrix.data.MatrixValue-">copy</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatValue)</code>
<div class="block">Copy this MatrixValue into that MatrixValue.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#copy-org.apache.sysds.runtime.matrix.data.MatrixValue-boolean-">copy</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatValue,
boolean&nbsp;sp)</code>
<div class="block">Copy this MatrixValue into that MatrixValue.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#copyShallow-org.apache.sysds.runtime.matrix.data.MatrixBlock-">copyShallow</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that)</code>&nbsp;</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#covOperations-org.apache.sysds.runtime.matrix.operators.COVOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-">covOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/COVOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">COVOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that)</code>&nbsp;</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#covOperations-org.apache.sysds.runtime.matrix.operators.COVOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-">covOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/COVOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">COVOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;weights)</code>&nbsp;</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-double-double-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ctableOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
double&nbsp;scalarThat,
double&nbsp;scalarThat2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</code>
<div class="block">D = ctable(A,v2,w)
this &lt;- A; scalar_that &lt;- v2; scalar_that2 &lt;- w; result &lt;- D
(i1,j1,v1) from input1 (this)
(v2) from sclar_input2 (scalarThat)
(w) from scalar_input3 (scalarThat2)</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-double-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ctableOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
double&nbsp;scalarThat,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;that2Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</code>
<div class="block">D = ctable(A,v2,W)
this &lt;- A; scalarThat &lt;- v2; that2 &lt;- W; result &lt;- D
(i1,j1,v1) from input1 (this)
(v2) from sclar_input2 (scalarThat)
(i3,j3,w) from input3 (that2)</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixIndexes-double-boolean-int-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ctableOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>&nbsp;ix1,
double&nbsp;scalarThat,
boolean&nbsp;left,
int&nbsp;blen,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</code>
<div class="block">Specific ctable case of ctable(seq(...),X), where X is the only
matrix input.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixValue-double-boolean-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ctableOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatVal,
double&nbsp;scalarThat2,
boolean&nbsp;ignoreZeros,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</code>
<div class="block">D = ctable(A,B,w)
this &lt;- A; that &lt;- B; scalar_that2 &lt;- w; result &lt;- D
(i1,j1,v1) from input1 (this)
(i1,j1,v2) from input2 (that)
(w) from scalar_input3 (scalarThat2)
NOTE: This method supports both vectors and matrices.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.CTableMap-">ctableOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatVal,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;that2Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap)</code>
<div class="block">D = ctable(A,B,W)
this &lt;- A; that &lt;- B; that2 &lt;- W; result &lt;- D
(i1,j1,v1) from input1 (this)
(i1,j1,v2) from input2 (that)
(i1,j1,w) from input3 (that2)</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ctableOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatVal,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;that2Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</code>&nbsp;</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ctableSeqOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-double-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ctableSeqOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatMatrix,
double&nbsp;thatScalar,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</code>
<div class="block">D = ctable(seq,A,w)
this &lt;- seq; thatMatrix &lt;- A; thatScalar &lt;- w; result &lt;- D
(i1,j1,v1) from input1 (this)
(i1,j1,v2) from input2 (that)
(w) from scalar_input3 (scalarThat2)</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ctableSeqOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-double-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-">ctableSeqOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatMatrix,
double&nbsp;thatScalar,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock,
boolean&nbsp;updateClen)</code>&nbsp;</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#dropLastRowsOrColumns-org.apache.sysds.common.Types.CorrectionLocationType-">dropLastRowsOrColumns</a></span>(<a href="../../../../../../org/apache/sysds/common/Types.CorrectionLocationType.html" title="enum in org.apache.sysds.common">Types.CorrectionLocationType</a>&nbsp;correctionLocation)</code>&nbsp;</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;arg0)</code>&nbsp;</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#estimateSizeDenseInMemory-long-long-">estimateSizeDenseInMemory</a></span>(long&nbsp;nrows,
long&nbsp;ncols)</code>&nbsp;</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#estimateSizeInMemory--">estimateSizeInMemory</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#estimateSizeInMemory-long-long-double-">estimateSizeInMemory</a></span>(long&nbsp;nrows,
long&nbsp;ncols,
double&nbsp;sparsity)</code>&nbsp;</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#estimateSizeOnDisk--">estimateSizeOnDisk</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#estimateSizeOnDisk-long-long-long-">estimateSizeOnDisk</a></span>(long&nbsp;nrows,
long&nbsp;ncols,
long&nbsp;nnz)</code>&nbsp;</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#estimateSizeSparseInMemory-long-long-double-">estimateSizeSparseInMemory</a></span>(long&nbsp;nrows,
long&nbsp;ncols,
double&nbsp;sparsity)</code>&nbsp;</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#estimateSizeSparseInMemory-long-long-double-org.apache.sysds.runtime.data.SparseBlock.Type-">estimateSizeSparseInMemory</a></span>(long&nbsp;nrows,
long&nbsp;ncols,
double&nbsp;sparsity,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.Type.html" title="enum in org.apache.sysds.runtime.data">SparseBlock.Type</a>&nbsp;stype)</code>&nbsp;</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.SparsityEstimate.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock.SparsityEstimate</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#estimateSparsityOnAggBinary-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.operators.AggregateBinaryOperator-">estimateSparsityOnAggBinary</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m1,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateBinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateBinaryOperator</a>&nbsp;op)</code>&nbsp;</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#evalSparseFormatInMemory--">evalSparseFormatInMemory</a></span>()</code>
<div class="block">Evaluates if this matrix block should be in sparse format in
memory.</div>
</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#evalSparseFormatInMemory-org.apache.sysds.runtime.meta.DataCharacteristics-">evalSparseFormatInMemory</a></span>(<a href="../../../../../../org/apache/sysds/runtime/meta/DataCharacteristics.html" title="class in org.apache.sysds.runtime.meta">DataCharacteristics</a>&nbsp;dc)</code>&nbsp;</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#evalSparseFormatInMemory-long-long-long-">evalSparseFormatInMemory</a></span>(long&nbsp;nrows,
long&nbsp;ncols,
long&nbsp;nnz)</code>
<div class="block">Evaluates if a matrix block with the given characteristics should be in sparse format
in memory.</div>
</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#evalSparseFormatOnDisk--">evalSparseFormatOnDisk</a></span>()</code>
<div class="block">Evaluates if this matrix block should be in sparse format on
disk.</div>
</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#evalSparseFormatOnDisk-long-long-long-">evalSparseFormatOnDisk</a></span>(long&nbsp;nrows,
long&nbsp;ncols,
long&nbsp;nnz)</code>
<div class="block">Evaluates if a matrix block with the given characteristics should be in sparse format
on disk (or in any other serialized representation).</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#examSparsity--">examSparsity</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#examSparsity-boolean-">examSparsity</a></span>(boolean&nbsp;allowCSR)</code>
<div class="block">Evaluates if this matrix block should be in sparse format in
memory.</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#extractTriangular-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-boolean-boolean-">extractTriangular</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
boolean&nbsp;lower,
boolean&nbsp;diag,
boolean&nbsp;values)</code>&nbsp;</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/meta/DataCharacteristics.html" title="class in org.apache.sysds.runtime.meta">DataCharacteristics</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getDataCharacteristics--">getDataCharacteristics</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/data/DenseBlock.html" title="class in org.apache.sysds.runtime.data">DenseBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getDenseBlock--">getDenseBlock</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>double[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getDenseBlockValues--">getDenseBlockValues</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getExactSerializedSize--">getExactSerializedSize</a></span>()</code>
<div class="block">Get the exact serialized size in bytes of the cache block.</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getExactSizeOnDisk--">getExactSizeOnDisk</a></span>()</code>
<div class="block">NOTE: The used estimates must be kept consistent with the respective write functions.</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getHeaderSize--">getHeaderSize</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getInMemorySize--">getInMemorySize</a></span>()</code>
<div class="block">Get the in-memory size in bytes of the cache block.</div>
</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getLength--">getLength</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getNonZeros--">getNonZeros</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getNumColumns--">getNumColumns</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getNumRows--">getNumRows</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.html" title="class in org.apache.sysds.runtime.data">SparseBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getSparseBlock--">getSparseBlock</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/IJV.html" title="class in org.apache.sysds.runtime.matrix.data">IJV</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getSparseBlockIterator--">getSparseBlockIterator</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/IJV.html" title="class in org.apache.sysds.runtime.matrix.data">IJV</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getSparseBlockIterator-int-int-">getSparseBlockIterator</a></span>(int&nbsp;rl,
int&nbsp;ru)</code>&nbsp;</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getSparsity--">getSparsity</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getValue-int-int-">getValue</a></span>(int&nbsp;r,
int&nbsp;c)</code>&nbsp;</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#getValueDenseUnsafe-int-int-">getValueDenseUnsafe</a></span>(int&nbsp;r,
int&nbsp;c)</code>&nbsp;</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#groupedAggOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-int-org.apache.sysds.runtime.matrix.operators.Operator-">groupedAggOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;tgt,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;wghts,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;ret,
int&nbsp;ngroups,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op)</code>
<div class="block">Invocation from CP instructions.</div>
</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#groupedAggOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-int-org.apache.sysds.runtime.matrix.operators.Operator-int-">groupedAggOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;tgt,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;wghts,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;ret,
int&nbsp;ngroups,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
int&nbsp;k)</code>&nbsp;</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i91" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#incrementalAggregate-org.apache.sysds.runtime.matrix.operators.AggregateOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">incrementalAggregate</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aggOp,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;newWithCorrection)</code>&nbsp;</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#incrementalAggregate-org.apache.sysds.runtime.matrix.operators.AggregateOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-boolean-">incrementalAggregate</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aggOp,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;correction,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;newWithCorrection,
boolean&nbsp;deep)</code>&nbsp;</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#init-double:A:A-int-int-">init</a></span>(double[][]&nbsp;arr,
int&nbsp;r,
int&nbsp;c)</code>
<div class="block">NOTE: This method is designed only for dense representation.</div>
</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#init-double:A-int-int-">init</a></span>(double[]&nbsp;arr,
int&nbsp;r,
int&nbsp;c)</code>
<div class="block">NOTE: This method is designed only for dense representation.</div>
</td>
</tr>
<tr id="i95" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#interQuartileMean--">interQuartileMean</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isAllocated--">isAllocated</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isEmpty--">isEmpty</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isEmptyBlock--">isEmptyBlock</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isEmptyBlock-boolean-">isEmptyBlock</a></span>(boolean&nbsp;safe)</code>&nbsp;</td>
</tr>
<tr id="i100" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isInSparseFormat--">isInSparseFormat</a></span>()</code>
<div class="block">Returns the current representation (true for sparse).</div>
</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isShallowSerialize--">isShallowSerialize</a></span>()</code>
<div class="block">Indicates if the cache block is subject to shallow serialized,
which is generally true if in-memory size and serialized size
are almost identical allowing to avoid unnecessary deep serialize.</div>
</td>
</tr>
<tr id="i102" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isShallowSerialize-boolean-">isShallowSerialize</a></span>(boolean&nbsp;inclConvert)</code>
<div class="block">Indicates if the cache block is subject to shallow serialized,
which is generally true if in-memory size and serialized size
are almost identical allowing to avoid unnecessary deep serialize.</div>
</td>
</tr>
<tr id="i103" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isSparsePermutationMatrix--">isSparsePermutationMatrix</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i104" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isThreadSafe--">isThreadSafe</a></span>()</code>
<div class="block">Indicates if concurrent modifications of disjoint rows are thread-safe.</div>
</td>
</tr>
<tr id="i105" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isThreadSafe-boolean-">isThreadSafe</a></span>(boolean&nbsp;sparse)</code>
<div class="block">Indicates if concurrent modifications of disjoint rows are thread-safe.</div>
</td>
</tr>
<tr id="i106" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isUltraSparse--">isUltraSparse</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i107" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isUltraSparse-boolean-">isUltraSparse</a></span>(boolean&nbsp;checkNnz)</code>&nbsp;</td>
</tr>
<tr id="i108" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#isVector--">isVector</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i109" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#leftIndexingOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.util.IndexRange-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.controlprogram.caching.MatrixObject.UpdateType-">leftIndexingOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;rhsMatrix,
<a href="../../../../../../org/apache/sysds/runtime/util/IndexRange.html" title="class in org.apache.sysds.runtime.util">IndexRange</a>&nbsp;ixrange,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/MatrixObject.UpdateType.html" title="enum in org.apache.sysds.runtime.controlprogram.caching">MatrixObject.UpdateType</a>&nbsp;update)</code>&nbsp;</td>
</tr>
<tr id="i110" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#leftIndexingOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-int-int-int-int-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.controlprogram.caching.MatrixObject.UpdateType-">leftIndexingOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;rhsMatrix,
int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/MatrixObject.UpdateType.html" title="enum in org.apache.sysds.runtime.controlprogram.caching">MatrixObject.UpdateType</a>&nbsp;update)</code>&nbsp;</td>
</tr>
<tr id="i111" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#leftIndexingOperations-org.apache.sysds.runtime.instructions.cp.ScalarObject-int-int-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.controlprogram.caching.MatrixObject.UpdateType-">leftIndexingOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/instructions/cp/ScalarObject.html" title="class in org.apache.sysds.runtime.instructions.cp">ScalarObject</a>&nbsp;scalar,
int&nbsp;rl,
int&nbsp;cl,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/MatrixObject.UpdateType.html" title="enum in org.apache.sysds.runtime.controlprogram.caching">MatrixObject.UpdateType</a>&nbsp;update)</code>
<div class="block">Explicitly allow left indexing for scalars.</div>
</td>
</tr>
<tr id="i112" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#max--">max</a></span>()</code>
<div class="block">Wrapper method for reduceall-max of a matrix.</div>
</td>
</tr>
<tr id="i113" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#mean--">mean</a></span>()</code>
<div class="block">Wrapper method for reduceall-mean of a matrix.</div>
</td>
</tr>
<tr id="i114" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#median--">median</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i115" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#merge-org.apache.sysds.runtime.controlprogram.caching.CacheBlock-boolean-">merge</a></span>(<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a>&nbsp;that,
boolean&nbsp;appendOnly)</code>
<div class="block">Merge the given block into the current block.</div>
</td>
</tr>
<tr id="i116" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#merge-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-">merge</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
boolean&nbsp;appendOnly)</code>
<div class="block">Merge disjoint: merges all non-zero values of the given input into the current
matrix block.</div>
</td>
</tr>
<tr id="i117" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#merge-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-boolean-">merge</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
boolean&nbsp;appendOnly,
boolean&nbsp;par)</code>&nbsp;</td>
</tr>
<tr id="i118" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#merge-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-boolean-boolean-">merge</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
boolean&nbsp;appendOnly,
boolean&nbsp;par,
boolean&nbsp;deep)</code>&nbsp;</td>
</tr>
<tr id="i119" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#min--">min</a></span>()</code>
<div class="block">Wrapper method for reduceall-min of a matrix.</div>
</td>
</tr>
<tr id="i120" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#minNonZero--">minNonZero</a></span>()</code>
<div class="block">Utility function for computing the min non-zero value.</div>
</td>
</tr>
<tr id="i121" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#naryOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixBlock:A-org.apache.sysds.runtime.instructions.cp.ScalarObject:A-org.apache.sysds.runtime.matrix.data.MatrixBlock-">naryOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>[]&nbsp;matrices,
<a href="../../../../../../org/apache/sysds/runtime/instructions/cp/ScalarObject.html" title="class in org.apache.sysds.runtime.instructions.cp">ScalarObject</a>[]&nbsp;scalars,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret)</code>&nbsp;</td>
</tr>
<tr id="i122" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#permutationMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-">permutationMatrixMultOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;m2Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;out1Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;out2Val)</code>&nbsp;</td>
</tr>
<tr id="i123" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#permutationMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-int-">permutationMatrixMultOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;m2Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;out1Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;out2Val,
int&nbsp;k)</code>&nbsp;</td>
</tr>
<tr id="i124" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#pickValue-double-">pickValue</a></span>(double&nbsp;quantile)</code>&nbsp;</td>
</tr>
<tr id="i125" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#pickValue-double-boolean-">pickValue</a></span>(double&nbsp;quantile,
boolean&nbsp;average)</code>&nbsp;</td>
</tr>
<tr id="i126" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#pickValues-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-">pickValues</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;quantiles,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;ret)</code>&nbsp;</td>
</tr>
<tr id="i127" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#prod--">prod</a></span>()</code>
<div class="block">Wrapper method for reduceall-product of a matrix.</div>
</td>
</tr>
<tr id="i128" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#quaternaryOperations-org.apache.sysds.runtime.matrix.operators.QuaternaryOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-">quaternaryOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/QuaternaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">QuaternaryOperator</a>&nbsp;qop,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;um,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;vm,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;wm,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out)</code>&nbsp;</td>
</tr>
<tr id="i129" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#quaternaryOperations-org.apache.sysds.runtime.matrix.operators.QuaternaryOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-int-">quaternaryOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/QuaternaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">QuaternaryOperator</a>&nbsp;qop,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;U,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;V,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;wm,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out,
int&nbsp;k)</code>&nbsp;</td>
</tr>
<tr id="i130" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#quickGetValue-int-int-">quickGetValue</a></span>(int&nbsp;r,
int&nbsp;c)</code>&nbsp;</td>
</tr>
<tr id="i131" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#quickSetValue-int-int-double-">quickSetValue</a></span>(int&nbsp;r,
int&nbsp;c,
double&nbsp;v)</code>&nbsp;</td>
</tr>
<tr id="i132" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#randOperations-int-int-double-double-double-java.lang.String-long-">randOperations</a></span>(int&nbsp;rows,
int&nbsp;cols,
double&nbsp;sparsity,
double&nbsp;min,
double&nbsp;max,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pdf,
long&nbsp;seed)</code>
<div class="block">Function to generate the random matrix with specified dimensions (block sizes are not specified).</div>
</td>
</tr>
<tr id="i133" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#randOperations-int-int-double-double-double-java.lang.String-long-int-">randOperations</a></span>(int&nbsp;rows,
int&nbsp;cols,
double&nbsp;sparsity,
double&nbsp;min,
double&nbsp;max,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pdf,
long&nbsp;seed,
int&nbsp;k)</code>
<div class="block">Function to generate the random matrix with specified dimensions (block sizes are not specified).</div>
</td>
</tr>
<tr id="i134" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#randOperations-org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator-long-">randOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/RandomMatrixGenerator.html" title="class in org.apache.sysds.runtime.matrix.data">RandomMatrixGenerator</a>&nbsp;rgen,
long&nbsp;seed)</code>
<div class="block">Function to generate the random matrix with specified dimensions and block dimensions.</div>
</td>
</tr>
<tr id="i135" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#randOperations-org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator-long-int-">randOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/RandomMatrixGenerator.html" title="class in org.apache.sysds.runtime.matrix.data">RandomMatrixGenerator</a>&nbsp;rgen,
long&nbsp;seed,
int&nbsp;k)</code>
<div class="block">Function to generate the random matrix with specified dimensions and block dimensions.</div>
</td>
</tr>
<tr id="i136" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#randOperationsInPlace-org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator-org.apache.commons.math3.random.Well1024a-long-">randOperationsInPlace</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/RandomMatrixGenerator.html" title="class in org.apache.sysds.runtime.matrix.data">RandomMatrixGenerator</a>&nbsp;rgen,
org.apache.commons.math3.random.Well1024a&nbsp;bigrand,
long&nbsp;bSeed)</code>
<div class="block">Function to generate a matrix of random numbers.</div>
</td>
</tr>
<tr id="i137" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#randOperationsInPlace-org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator-org.apache.commons.math3.random.Well1024a-long-int-">randOperationsInPlace</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/RandomMatrixGenerator.html" title="class in org.apache.sysds.runtime.matrix.data">RandomMatrixGenerator</a>&nbsp;rgen,
org.apache.commons.math3.random.Well1024a&nbsp;bigrand,
long&nbsp;bSeed,
int&nbsp;k)</code>
<div class="block">Function to generate a matrix of random numbers.</div>
</td>
</tr>
<tr id="i138" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#readExternal-java.io.ObjectInput-">readExternal</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io">ObjectInput</a>&nbsp;is)</code>
<div class="block">Redirects the default java serialization via externalizable to our default
hadoop writable serialization for efficient broadcast/rdd deserialization.</div>
</td>
</tr>
<tr id="i139" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#readFields-java.io.DataInput-">readFields</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</a>&nbsp;in)</code>&nbsp;</td>
</tr>
<tr id="i140" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#recomputeNonZeros--">recomputeNonZeros</a></span>()</code>
<div class="block">Recomputes and materializes the number of non-zero values
of the entire matrix block.</div>
</td>
</tr>
<tr id="i141" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#recomputeNonZeros-int-int-">recomputeNonZeros</a></span>(int&nbsp;rl,
int&nbsp;ru)</code>&nbsp;</td>
</tr>
<tr id="i142" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#recomputeNonZeros-int-int-int-int-">recomputeNonZeros</a></span>(int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu)</code>
<div class="block">Recomputes the number of non-zero values of a specified
range of the matrix block.</div>
</td>
</tr>
<tr id="i143" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#removeEmptyOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-boolean-">removeEmptyOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
boolean&nbsp;rows,
boolean&nbsp;emptyReturn)</code>&nbsp;</td>
</tr>
<tr id="i144" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#removeEmptyOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-boolean-org.apache.sysds.runtime.matrix.data.MatrixBlock-">removeEmptyOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
boolean&nbsp;rows,
boolean&nbsp;emptyReturn,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;select)</code>&nbsp;</td>
</tr>
<tr id="i145" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#reorgOperations-org.apache.sysds.runtime.matrix.operators.ReorgOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-int-int-int-">reorgOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/ReorgOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">ReorgOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;ret,
int&nbsp;startRow,
int&nbsp;startColumn,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i146" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#replaceOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-double-double-">replaceOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result,
double&nbsp;pattern,
double&nbsp;replacement)</code>&nbsp;</td>
</tr>
<tr id="i147" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#reset--">reset</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i148" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#reset-int-int-">reset</a></span>(int&nbsp;rl,
int&nbsp;cl)</code>&nbsp;</td>
</tr>
<tr id="i149" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#reset-int-int-boolean-">reset</a></span>(int&nbsp;rl,
int&nbsp;cl,
boolean&nbsp;sp)</code>&nbsp;</td>
</tr>
<tr id="i150" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#reset-int-int-boolean-long-">reset</a></span>(int&nbsp;rl,
int&nbsp;cl,
boolean&nbsp;sp,
long&nbsp;estnnz)</code>&nbsp;</td>
</tr>
<tr id="i151" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#reset-int-int-double-">reset</a></span>(int&nbsp;rl,
int&nbsp;cl,
double&nbsp;val)</code>&nbsp;</td>
</tr>
<tr id="i152" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#reset-int-int-long-">reset</a></span>(int&nbsp;rl,
int&nbsp;cl,
long&nbsp;estnnz)</code>&nbsp;</td>
</tr>
<tr id="i153" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#rexpandOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-double-boolean-boolean-boolean-int-">rexpandOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
double&nbsp;max,
boolean&nbsp;rows,
boolean&nbsp;cast,
boolean&nbsp;ignore,
int&nbsp;k)</code>&nbsp;</td>
</tr>
<tr id="i154" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#sampleOperations-long-int-boolean-long-">sampleOperations</a></span>(long&nbsp;range,
int&nbsp;size,
boolean&nbsp;replace,
long&nbsp;seed)</code>&nbsp;</td>
</tr>
<tr id="i155" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#scalarOperations-org.apache.sysds.runtime.matrix.operators.ScalarOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">scalarOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/ScalarOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">ScalarOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result)</code>&nbsp;</td>
</tr>
<tr id="i156" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#seqOperations-double-double-double-">seqOperations</a></span>(double&nbsp;from,
double&nbsp;to,
double&nbsp;incr)</code>
<div class="block">Method to generate a sequence according to the given parameters.</div>
</td>
</tr>
<tr id="i157" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#seqOperationsInPlace-double-double-double-">seqOperationsInPlace</a></span>(double&nbsp;from,
double&nbsp;to,
double&nbsp;incr)</code>&nbsp;</td>
</tr>
<tr id="i158" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#setDenseBlock-org.apache.sysds.runtime.data.DenseBlock-">setDenseBlock</a></span>(<a href="../../../../../../org/apache/sysds/runtime/data/DenseBlock.html" title="class in org.apache.sysds.runtime.data">DenseBlock</a>&nbsp;dblock)</code>&nbsp;</td>
</tr>
<tr id="i159" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#setNonZeros-long-">setNonZeros</a></span>(long&nbsp;nnz)</code>&nbsp;</td>
</tr>
<tr id="i160" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#setNumColumns-int-">setNumColumns</a></span>(int&nbsp;c)</code>&nbsp;</td>
</tr>
<tr id="i161" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#setNumRows-int-">setNumRows</a></span>(int&nbsp;r)</code>
<div class="block">NOTE: setNumRows() and setNumColumns() are used only in ternaryInstruction (for contingency tables)
and pmm for meta corrections.</div>
</td>
</tr>
<tr id="i162" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#setSparseBlock-org.apache.sysds.runtime.data.SparseBlock-">setSparseBlock</a></span>(<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.html" title="class in org.apache.sysds.runtime.data">SparseBlock</a>&nbsp;sblock)</code>&nbsp;</td>
</tr>
<tr id="i163" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#setValue-int-int-double-">setValue</a></span>(int&nbsp;r,
int&nbsp;c,
double&nbsp;v)</code>&nbsp;</td>
</tr>
<tr id="i164" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#slice-java.util.ArrayList-org.apache.sysds.runtime.util.IndexRange-int-int-int-int-int-">slice</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../../org/apache/sysds/runtime/instructions/spark/data/IndexedMatrixValue.html" title="class in org.apache.sysds.runtime.instructions.spark.data">IndexedMatrixValue</a>&gt;&nbsp;outlist,
<a href="../../../../../../org/apache/sysds/runtime/util/IndexRange.html" title="class in org.apache.sysds.runtime.util">IndexRange</a>&nbsp;range,
int&nbsp;rowCut,
int&nbsp;colCut,
int&nbsp;blen,
int&nbsp;boundaryRlen,
int&nbsp;boundaryClen)</code>
<div class="block">Slice out up to 4 matrixBlocks that are separated by the row and col Cuts.</div>
</td>
</tr>
<tr id="i165" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#slice-org.apache.sysds.runtime.util.IndexRange-org.apache.sysds.runtime.matrix.data.MatrixBlock-">slice</a></span>(<a href="../../../../../../org/apache/sysds/runtime/util/IndexRange.html" title="class in org.apache.sysds.runtime.util">IndexRange</a>&nbsp;ixrange,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret)</code>&nbsp;</td>
</tr>
<tr id="i166" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#slice-int-int-">slice</a></span>(int&nbsp;rl,
int&nbsp;ru)</code>
<div class="block">Slice out a row block</div>
</td>
</tr>
<tr id="i167" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#slice-int-int-int-int-">slice</a></span>(int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu)</code>&nbsp;</td>
</tr>
<tr id="i168" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#slice-int-int-int-int-boolean-org.apache.sysds.runtime.controlprogram.caching.CacheBlock-">slice</a></span>(int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu,
boolean&nbsp;deep,
<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a>&nbsp;ret)</code>
<div class="block">Method to perform rightIndex operation for a given lower and upper bounds in row and column dimensions.</div>
</td>
</tr>
<tr id="i169" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#slice-int-int-int-int-org.apache.sysds.runtime.controlprogram.caching.CacheBlock-">slice</a></span>(int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu,
<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a>&nbsp;ret)</code>
<div class="block">Slice a sub block out of the current block and write into the given output block.</div>
</td>
</tr>
<tr id="i170" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#sortOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixBlock-">sortOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;weights,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;result)</code>&nbsp;</td>
</tr>
<tr id="i171" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#sortSparseRows--">sortSparseRows</a></span>()</code>
<div class="block">Sorts all existing sparse rows by column indexes.</div>
</td>
</tr>
<tr id="i172" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#sortSparseRows-int-int-">sortSparseRows</a></span>(int&nbsp;rl,
int&nbsp;ru)</code>
<div class="block">Sorts all existing sparse rows in range [rl,ru) by
column indexes.</div>
</td>
</tr>
<tr id="i173" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#sparseToDense--">sparseToDense</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i174" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#sum--">sum</a></span>()</code>
<div class="block">Wrapper method for reduceall-sum of a matrix.</div>
</td>
</tr>
<tr id="i175" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#sumSq--">sumSq</a></span>()</code>
<div class="block">Wrapper method for reduceall-sumSq of a matrix.</div>
</td>
</tr>
<tr id="i176" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#sumWeightForQuantile--">sumWeightForQuantile</a></span>()</code>
<div class="block">In a given two column matrix, the second column denotes weights.</div>
</td>
</tr>
<tr id="i177" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#ternaryOperations-org.apache.sysds.runtime.matrix.operators.TernaryOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ternaryOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/TernaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">TernaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m3,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret)</code>&nbsp;</td>
</tr>
<tr id="i178" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#toShallowSerializeBlock--">toShallowSerializeBlock</a></span>()</code>
<div class="block">Converts a cache block that is not shallow serializable into
a form that is shallow serializable.</div>
</td>
</tr>
<tr id="i179" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i180" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#transposeSelfMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.lops.MMTSJ.MMTSJType-">transposeSelfMatrixMultOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out,
<a href="../../../../../../org/apache/sysds/lops/MMTSJ.MMTSJType.html" title="enum in org.apache.sysds.lops">MMTSJ.MMTSJType</a>&nbsp;tstype)</code>&nbsp;</td>
</tr>
<tr id="i181" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#transposeSelfMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.lops.MMTSJ.MMTSJType-int-">transposeSelfMatrixMultOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out,
<a href="../../../../../../org/apache/sysds/lops/MMTSJ.MMTSJType.html" title="enum in org.apache.sysds.lops">MMTSJ.MMTSJType</a>&nbsp;tstype,
int&nbsp;k)</code>&nbsp;</td>
</tr>
<tr id="i182" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#uaggouterchainOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.operators.BinaryOperator-org.apache.sysds.runtime.matrix.operators.AggregateUnaryOperator-">uaggouterchainOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;mbLeft,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;mbRight,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;mbOut,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/BinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">BinaryOperator</a>&nbsp;bOp,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateUnaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateUnaryOperator</a>&nbsp;uaggOp)</code>&nbsp;</td>
</tr>
<tr id="i183" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#unaryOperations-org.apache.sysds.runtime.matrix.operators.UnaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">unaryOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/UnaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">UnaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result)</code>&nbsp;</td>
</tr>
<tr id="i184" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#write-java.io.DataOutput-">write</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out)</code>&nbsp;</td>
</tr>
<tr id="i185" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#writeExternal-java.io.ObjectOutput-">writeExternal</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io">ObjectOutput</a>&nbsp;os)</code>
<div class="block">Redirects the default java serialization via externalizable to our default
hadoop writable serialization for efficient broadcast/rdd serialization.</div>
</td>
</tr>
<tr id="i186" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html#zeroOutOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.util.IndexRange-boolean-">zeroOutOperations</a></span>(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result,
<a href="../../../../../../org/apache/sysds/runtime/util/IndexRange.html" title="class in org.apache.sysds.runtime.util">IndexRange</a>&nbsp;range,
boolean&nbsp;complementary)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="SPARSITY_TURN_POINT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPARSITY_TURN_POINT</h4>
<pre>public static final&nbsp;double SPARSITY_TURN_POINT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.sysds.runtime.matrix.data.MatrixBlock.SPARSITY_TURN_POINT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ULTRA_SPARSITY_TURN_POINT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ULTRA_SPARSITY_TURN_POINT</h4>
<pre>public static final&nbsp;double ULTRA_SPARSITY_TURN_POINT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.sysds.runtime.matrix.data.MatrixBlock.ULTRA_SPARSITY_TURN_POINT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ULTRA_SPARSITY_TURN_POINT2">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ULTRA_SPARSITY_TURN_POINT2</h4>
<pre>public static final&nbsp;double ULTRA_SPARSITY_TURN_POINT2</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.sysds.runtime.matrix.data.MatrixBlock.ULTRA_SPARSITY_TURN_POINT2">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ULTRA_SPARSE_BLOCK_NNZ">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ULTRA_SPARSE_BLOCK_NNZ</h4>
<pre>public static final&nbsp;int ULTRA_SPARSE_BLOCK_NNZ</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.sysds.runtime.matrix.data.MatrixBlock.ULTRA_SPARSE_BLOCK_NNZ">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_SPARSEBLOCK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_SPARSEBLOCK</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.Type.html" title="enum in org.apache.sysds.runtime.data">SparseBlock.Type</a> DEFAULT_SPARSEBLOCK</pre>
</li>
</ul>
<a name="DEFAULT_INPLACE_SPARSEBLOCK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_INPLACE_SPARSEBLOCK</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.Type.html" title="enum in org.apache.sysds.runtime.data">SparseBlock.Type</a> DEFAULT_INPLACE_SPARSEBLOCK</pre>
</li>
</ul>
<a name="MAX_SHALLOW_SERIALIZE_OVERHEAD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAX_SHALLOW_SERIALIZE_OVERHEAD</h4>
<pre>public static final&nbsp;double MAX_SHALLOW_SERIALIZE_OVERHEAD</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.sysds.runtime.matrix.data.MatrixBlock.MAX_SHALLOW_SERIALIZE_OVERHEAD">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="CONVERT_MCSR_TO_CSR_ON_DEEP_SERIALIZE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONVERT_MCSR_TO_CSR_ON_DEEP_SERIALIZE</h4>
<pre>public static final&nbsp;boolean CONVERT_MCSR_TO_CSR_ON_DEEP_SERIALIZE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.sysds.runtime.matrix.data.MatrixBlock.CONVERT_MCSR_TO_CSR_ON_DEEP_SERIALIZE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HEADER_SIZE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HEADER_SIZE</h4>
<pre>public static final&nbsp;int HEADER_SIZE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.sysds.runtime.matrix.data.MatrixBlock.HEADER_SIZE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="MatrixBlock--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MatrixBlock</h4>
<pre>public&nbsp;MatrixBlock()</pre>
</li>
</ul>
<a name="MatrixBlock-int-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MatrixBlock</h4>
<pre>public&nbsp;MatrixBlock(int&nbsp;rl,
int&nbsp;cl,
boolean&nbsp;sp)</pre>
</li>
</ul>
<a name="MatrixBlock-int-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MatrixBlock</h4>
<pre>public&nbsp;MatrixBlock(int&nbsp;rl,
int&nbsp;cl,
long&nbsp;estnnz)</pre>
</li>
</ul>
<a name="MatrixBlock-int-int-boolean-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MatrixBlock</h4>
<pre>public&nbsp;MatrixBlock(int&nbsp;rl,
int&nbsp;cl,
boolean&nbsp;sp,
long&nbsp;estnnz)</pre>
</li>
</ul>
<a name="MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MatrixBlock</h4>
<pre>public&nbsp;MatrixBlock(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that)</pre>
</li>
</ul>
<a name="MatrixBlock-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MatrixBlock</h4>
<pre>public&nbsp;MatrixBlock(double&nbsp;val)</pre>
</li>
</ul>
<a name="MatrixBlock-int-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MatrixBlock</h4>
<pre>public&nbsp;MatrixBlock(int&nbsp;rl,
int&nbsp;cl,
double&nbsp;val)</pre>
</li>
</ul>
<a name="MatrixBlock-int-int-long-org.apache.sysds.runtime.data.SparseBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MatrixBlock</h4>
<pre>public&nbsp;MatrixBlock(int&nbsp;rl,
int&nbsp;cl,
long&nbsp;nnz,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.html" title="class in org.apache.sysds.runtime.data">SparseBlock</a>&nbsp;sblock)</pre>
<div class="block">Constructs a sparse <a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data"><code>MatrixBlock</code></a> with a given instance of a <a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.html" title="class in org.apache.sysds.runtime.data"><code>SparseBlock</code></a></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rl</code> - number of rows</dd>
<dd><code>cl</code> - number of columns</dd>
<dd><code>nnz</code> - number of non zeroes</dd>
<dd><code>sblock</code> - sparse block</dd>
</dl>
</li>
</ul>
<a name="MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.data.SparseBlock.Type-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MatrixBlock</h4>
<pre>public&nbsp;MatrixBlock(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.Type.html" title="enum in org.apache.sysds.runtime.data">SparseBlock.Type</a>&nbsp;stype,
boolean&nbsp;deep)</pre>
</li>
</ul>
<a name="MatrixBlock-int-int-org.apache.sysds.runtime.data.DenseBlock-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MatrixBlock</h4>
<pre>public&nbsp;MatrixBlock(int&nbsp;rl,
int&nbsp;cl,
<a href="../../../../../../org/apache/sysds/runtime/data/DenseBlock.html" title="class in org.apache.sysds.runtime.data">DenseBlock</a>&nbsp;dBlock)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="reset--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre>public&nbsp;void&nbsp;reset()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#reset--">reset</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="reset-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre>public&nbsp;void&nbsp;reset(int&nbsp;rl,
int&nbsp;cl)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#reset-int-int-">reset</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="reset-int-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre>public&nbsp;void&nbsp;reset(int&nbsp;rl,
int&nbsp;cl,
long&nbsp;estnnz)</pre>
</li>
</ul>
<a name="reset-int-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre>public&nbsp;void&nbsp;reset(int&nbsp;rl,
int&nbsp;cl,
boolean&nbsp;sp)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#reset-int-int-boolean-">reset</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="reset-int-int-boolean-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre>public&nbsp;void&nbsp;reset(int&nbsp;rl,
int&nbsp;cl,
boolean&nbsp;sp,
long&nbsp;estnnz)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#reset-int-int-boolean-long-">reset</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="reset-int-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre>public&nbsp;void&nbsp;reset(int&nbsp;rl,
int&nbsp;cl,
double&nbsp;val)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#reset-int-int-double-">reset</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="init-double:A:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public&nbsp;void&nbsp;init(double[][]&nbsp;arr,
int&nbsp;r,
int&nbsp;c)</pre>
<div class="block">NOTE: This method is designed only for dense representation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arr</code> - 2d double array matrix</dd>
<dd><code>r</code> - number of rows</dd>
<dd><code>c</code> - number of columns</dd>
</dl>
</li>
</ul>
<a name="init-double:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public&nbsp;void&nbsp;init(double[]&nbsp;arr,
int&nbsp;r,
int&nbsp;c)</pre>
<div class="block">NOTE: This method is designed only for dense representation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arr</code> - double array matrix</dd>
<dd><code>r</code> - number of rows</dd>
<dd><code>c</code> - number of columns</dd>
</dl>
</li>
</ul>
<a name="isAllocated--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAllocated</h4>
<pre>public&nbsp;boolean&nbsp;isAllocated()</pre>
</li>
</ul>
<a name="allocateDenseBlock--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateDenseBlock</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;allocateDenseBlock()</pre>
</li>
</ul>
<a name="allocateBlockAsync--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateBlockAsync</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a>&lt;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;allocateBlockAsync()</pre>
</li>
</ul>
<a name="allocateBlock--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateBlock</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;allocateBlock()</pre>
</li>
</ul>
<a name="allocateDenseBlock-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateDenseBlock</h4>
<pre>public&nbsp;boolean&nbsp;allocateDenseBlock(boolean&nbsp;clearNNZ)</pre>
</li>
</ul>
<a name="allocateSparseRowsBlock--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateSparseRowsBlock</h4>
<pre>public&nbsp;boolean&nbsp;allocateSparseRowsBlock()</pre>
</li>
</ul>
<a name="allocateSparseRowsBlock-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateSparseRowsBlock</h4>
<pre>public&nbsp;boolean&nbsp;allocateSparseRowsBlock(boolean&nbsp;clearNNZ)</pre>
</li>
</ul>
<a name="allocateAndResetSparseBlock-boolean-org.apache.sysds.runtime.data.SparseBlock.Type-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateAndResetSparseBlock</h4>
<pre>public&nbsp;void&nbsp;allocateAndResetSparseBlock(boolean&nbsp;clearNNZ,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.Type.html" title="enum in org.apache.sysds.runtime.data">SparseBlock.Type</a>&nbsp;stype)</pre>
</li>
</ul>
<a name="allocateDenseBlockUnsafe-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocateDenseBlockUnsafe</h4>
<pre>public&nbsp;void&nbsp;allocateDenseBlockUnsafe(int&nbsp;rl,
int&nbsp;cl)</pre>
<div class="block">This should be called only in the read and write functions for CP
This function should be called before calling any setValueDenseUnsafe()</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rl</code> - number of rows</dd>
<dd><code>cl</code> - number of columns</dd>
</dl>
</li>
</ul>
<a name="cleanupBlock-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cleanupBlock</h4>
<pre>public&nbsp;void&nbsp;cleanupBlock(boolean&nbsp;dense,
boolean&nbsp;sparse)</pre>
<div class="block">Allows to cleanup all previously allocated sparserows or denseblocks.
This is for example required in reading a matrix with many empty blocks
via distributed cache into in-memory list of blocks - not cleaning blocks
from non-empty blocks would significantly increase the total memory consumption.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dense</code> - if true, set dense block to null</dd>
<dd><code>sparse</code> - if true, set sparse block to null</dd>
</dl>
</li>
</ul>
<a name="getNumRows--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumRows</h4>
<pre>public&nbsp;int&nbsp;getNumRows()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#getNumRows--">getNumRows</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#getNumRows--">getNumRows</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="setNumRows-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNumRows</h4>
<pre>public&nbsp;void&nbsp;setNumRows(int&nbsp;r)</pre>
<div class="block">NOTE: setNumRows() and setNumColumns() are used only in ternaryInstruction (for contingency tables)
and pmm for meta corrections.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>r</code> - number of rows</dd>
</dl>
</li>
</ul>
<a name="getNumColumns--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumColumns</h4>
<pre>public&nbsp;int&nbsp;getNumColumns()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#getNumColumns--">getNumColumns</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#getNumColumns--">getNumColumns</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="setNumColumns-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNumColumns</h4>
<pre>public&nbsp;void&nbsp;setNumColumns(int&nbsp;c)</pre>
</li>
</ul>
<a name="getNonZeros--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNonZeros</h4>
<pre>public&nbsp;long&nbsp;getNonZeros()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#getNonZeros--">getNonZeros</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="setNonZeros-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNonZeros</h4>
<pre>public&nbsp;long&nbsp;setNonZeros(long&nbsp;nnz)</pre>
</li>
</ul>
<a name="getSparsity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSparsity</h4>
<pre>public&nbsp;double&nbsp;getSparsity()</pre>
</li>
</ul>
<a name="getDataCharacteristics--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataCharacteristics</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/meta/DataCharacteristics.html" title="class in org.apache.sysds.runtime.meta">DataCharacteristics</a>&nbsp;getDataCharacteristics()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#getDataCharacteristics--">getDataCharacteristics</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></code></dd>
</dl>
</li>
</ul>
<a name="isVector--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isVector</h4>
<pre>public&nbsp;boolean&nbsp;isVector()</pre>
</li>
</ul>
<a name="getLength--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLength</h4>
<pre>public&nbsp;long&nbsp;getLength()</pre>
</li>
</ul>
<a name="isEmpty--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public&nbsp;boolean&nbsp;isEmpty()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#isEmpty--">isEmpty</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="isEmptyBlock--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmptyBlock</h4>
<pre>public&nbsp;boolean&nbsp;isEmptyBlock()</pre>
</li>
</ul>
<a name="isEmptyBlock-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmptyBlock</h4>
<pre>public&nbsp;boolean&nbsp;isEmptyBlock(boolean&nbsp;safe)</pre>
</li>
</ul>
<a name="getDenseBlock--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDenseBlock</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/data/DenseBlock.html" title="class in org.apache.sysds.runtime.data">DenseBlock</a>&nbsp;getDenseBlock()</pre>
</li>
</ul>
<a name="setDenseBlock-org.apache.sysds.runtime.data.DenseBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDenseBlock</h4>
<pre>public&nbsp;void&nbsp;setDenseBlock(<a href="../../../../../../org/apache/sysds/runtime/data/DenseBlock.html" title="class in org.apache.sysds.runtime.data">DenseBlock</a>&nbsp;dblock)</pre>
</li>
</ul>
<a name="getDenseBlockValues--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDenseBlockValues</h4>
<pre>public&nbsp;double[]&nbsp;getDenseBlockValues()</pre>
</li>
</ul>
<a name="getSparseBlock--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSparseBlock</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.html" title="class in org.apache.sysds.runtime.data">SparseBlock</a>&nbsp;getSparseBlock()</pre>
</li>
</ul>
<a name="setSparseBlock-org.apache.sysds.runtime.data.SparseBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSparseBlock</h4>
<pre>public&nbsp;void&nbsp;setSparseBlock(<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.html" title="class in org.apache.sysds.runtime.data">SparseBlock</a>&nbsp;sblock)</pre>
</li>
</ul>
<a name="getSparseBlockIterator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSparseBlockIterator</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/IJV.html" title="class in org.apache.sysds.runtime.matrix.data">IJV</a>&gt;&nbsp;getSparseBlockIterator()</pre>
</li>
</ul>
<a name="getSparseBlockIterator-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSparseBlockIterator</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/IJV.html" title="class in org.apache.sysds.runtime.matrix.data">IJV</a>&gt;&nbsp;getSparseBlockIterator(int&nbsp;rl,
int&nbsp;ru)</pre>
</li>
</ul>
<a name="getValue-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;double&nbsp;getValue(int&nbsp;r,
int&nbsp;c)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#getValue-int-int-">getValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="setValue-int-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
<pre>public&nbsp;void&nbsp;setValue(int&nbsp;r,
int&nbsp;c,
double&nbsp;v)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#setValue-int-int-double-">setValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="quickGetValue-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>quickGetValue</h4>
<pre>public&nbsp;double&nbsp;quickGetValue(int&nbsp;r,
int&nbsp;c)</pre>
</li>
</ul>
<a name="quickSetValue-int-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>quickSetValue</h4>
<pre>public&nbsp;void&nbsp;quickSetValue(int&nbsp;r,
int&nbsp;c,
double&nbsp;v)</pre>
</li>
</ul>
<a name="getValueDenseUnsafe-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValueDenseUnsafe</h4>
<pre>public&nbsp;double&nbsp;getValueDenseUnsafe(int&nbsp;r,
int&nbsp;c)</pre>
</li>
</ul>
<a name="containsValue-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsValue</h4>
<pre>public&nbsp;boolean&nbsp;containsValue(double&nbsp;pattern)</pre>
</li>
</ul>
<a name="appendValue-int-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendValue</h4>
<pre>public&nbsp;void&nbsp;appendValue(int&nbsp;r,
int&nbsp;c,
double&nbsp;v)</pre>
<div class="block">Append value is only used when values are appended at the end of each row for the sparse representation
This can only be called, when the caller knows the access pattern of the block</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>r</code> - row</dd>
<dd><code>c</code> - column</dd>
<dd><code>v</code> - value</dd>
</dl>
</li>
</ul>
<a name="appendValuePlain-int-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendValuePlain</h4>
<pre>public&nbsp;void&nbsp;appendValuePlain(int&nbsp;r,
int&nbsp;c,
double&nbsp;v)</pre>
</li>
</ul>
<a name="appendRow-int-org.apache.sysds.runtime.data.SparseRow-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendRow</h4>
<pre>public&nbsp;void&nbsp;appendRow(int&nbsp;r,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseRow.html" title="class in org.apache.sysds.runtime.data">SparseRow</a>&nbsp;row)</pre>
</li>
</ul>
<a name="appendRow-int-org.apache.sysds.runtime.data.SparseRow-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendRow</h4>
<pre>public&nbsp;void&nbsp;appendRow(int&nbsp;r,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseRow.html" title="class in org.apache.sysds.runtime.data">SparseRow</a>&nbsp;row,
boolean&nbsp;deep)</pre>
</li>
</ul>
<a name="appendToSparse-org.apache.sysds.runtime.matrix.data.MatrixBlock-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendToSparse</h4>
<pre>public&nbsp;void&nbsp;appendToSparse(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
int&nbsp;rowoffset,
int&nbsp;coloffset)</pre>
</li>
</ul>
<a name="appendToSparse-org.apache.sysds.runtime.matrix.data.MatrixBlock-int-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendToSparse</h4>
<pre>public&nbsp;void&nbsp;appendToSparse(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
int&nbsp;rowoffset,
int&nbsp;coloffset,
boolean&nbsp;deep)</pre>
</li>
</ul>
<a name="appendRowToSparse-org.apache.sysds.runtime.data.SparseBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-int-int-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendRowToSparse</h4>
<pre>public&nbsp;void&nbsp;appendRowToSparse(<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.html" title="class in org.apache.sysds.runtime.data">SparseBlock</a>&nbsp;dest,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;src,
int&nbsp;i,
int&nbsp;rowoffset,
int&nbsp;coloffset,
boolean&nbsp;deep)</pre>
</li>
</ul>
<a name="sortSparseRows--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sortSparseRows</h4>
<pre>public&nbsp;void&nbsp;sortSparseRows()</pre>
<div class="block">Sorts all existing sparse rows by column indexes.</div>
</li>
</ul>
<a name="sortSparseRows-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sortSparseRows</h4>
<pre>public&nbsp;void&nbsp;sortSparseRows(int&nbsp;rl,
int&nbsp;ru)</pre>
<div class="block">Sorts all existing sparse rows in range [rl,ru) by
column indexes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rl</code> - row lower bound, inclusive</dd>
<dd><code>ru</code> - row upper bound, exclusive</dd>
</dl>
</li>
</ul>
<a name="minNonZero--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minNonZero</h4>
<pre>public&nbsp;double&nbsp;minNonZero()</pre>
<div class="block">Utility function for computing the min non-zero value.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>minimum non-zero value</dd>
</dl>
</li>
</ul>
<a name="prod--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prod</h4>
<pre>public&nbsp;double&nbsp;prod()</pre>
<div class="block">Wrapper method for reduceall-product of a matrix.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the product sum of the matrix content</dd>
</dl>
</li>
</ul>
<a name="mean--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mean</h4>
<pre>public&nbsp;double&nbsp;mean()</pre>
<div class="block">Wrapper method for reduceall-mean of a matrix.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the mean value of all values in the matrix</dd>
</dl>
</li>
</ul>
<a name="min--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>min</h4>
<pre>public&nbsp;double&nbsp;min()</pre>
<div class="block">Wrapper method for reduceall-min of a matrix.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the minimum value of all values in the matrix</dd>
</dl>
</li>
</ul>
<a name="max--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>max</h4>
<pre>public&nbsp;double&nbsp;max()</pre>
<div class="block">Wrapper method for reduceall-max of a matrix.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the maximum value of all values in the matrix</dd>
</dl>
</li>
</ul>
<a name="sum--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sum</h4>
<pre>public&nbsp;double&nbsp;sum()</pre>
<div class="block">Wrapper method for reduceall-sum of a matrix.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Sum of the values in the matrix.</dd>
</dl>
</li>
</ul>
<a name="sumSq--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sumSq</h4>
<pre>public&nbsp;double&nbsp;sumSq()</pre>
<div class="block">Wrapper method for reduceall-sumSq of a matrix.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Sum of the squared values in the matrix.</dd>
</dl>
</li>
</ul>
<a name="isInSparseFormat--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInSparseFormat</h4>
<pre>public&nbsp;boolean&nbsp;isInSparseFormat()</pre>
<div class="block">Returns the current representation (true for sparse).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#isInSparseFormat--">isInSparseFormat</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if sparse</dd>
</dl>
</li>
</ul>
<a name="isUltraSparse--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isUltraSparse</h4>
<pre>public&nbsp;boolean&nbsp;isUltraSparse()</pre>
</li>
</ul>
<a name="isUltraSparse-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isUltraSparse</h4>
<pre>public&nbsp;boolean&nbsp;isUltraSparse(boolean&nbsp;checkNnz)</pre>
</li>
</ul>
<a name="isSparsePermutationMatrix--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSparsePermutationMatrix</h4>
<pre>public&nbsp;boolean&nbsp;isSparsePermutationMatrix()</pre>
</li>
</ul>
<a name="evalSparseFormatInMemory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evalSparseFormatInMemory</h4>
<pre>public&nbsp;boolean&nbsp;evalSparseFormatInMemory()</pre>
<div class="block">Evaluates if this matrix block should be in sparse format in
memory. Note that this call does not change the representation -
for this please call examSparsity.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if matrix block should be in sparse format in memory</dd>
</dl>
</li>
</ul>
<a name="evalSparseFormatOnDisk--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evalSparseFormatOnDisk</h4>
<pre>public&nbsp;boolean&nbsp;evalSparseFormatOnDisk()</pre>
<div class="block">Evaluates if this matrix block should be in sparse format on
disk. This applies to any serialized matrix representation, i.e.,
when writing to in-memory buffer pool pages or writing to local fs
or hdfs.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if matrix block should be in sparse format on disk</dd>
</dl>
</li>
</ul>
<a name="examSparsity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>examSparsity</h4>
<pre>public&nbsp;void&nbsp;examSparsity()</pre>
</li>
</ul>
<a name="examSparsity-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>examSparsity</h4>
<pre>public&nbsp;void&nbsp;examSparsity(boolean&nbsp;allowCSR)</pre>
<div class="block">Evaluates if this matrix block should be in sparse format in
memory. Depending on the current representation, the state of the
matrix block is changed to the right representation if necessary.
Note that this consumes for the time of execution memory for both
representations.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>allowCSR</code> - allow CSR format on dense to sparse conversion</dd>
</dl>
</li>
</ul>
<a name="evalSparseFormatInMemory-org.apache.sysds.runtime.meta.DataCharacteristics-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evalSparseFormatInMemory</h4>
<pre>public static&nbsp;boolean&nbsp;evalSparseFormatInMemory(<a href="../../../../../../org/apache/sysds/runtime/meta/DataCharacteristics.html" title="class in org.apache.sysds.runtime.meta">DataCharacteristics</a>&nbsp;dc)</pre>
</li>
</ul>
<a name="evalSparseFormatInMemory-long-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evalSparseFormatInMemory</h4>
<pre>public static&nbsp;boolean&nbsp;evalSparseFormatInMemory(long&nbsp;nrows,
long&nbsp;ncols,
long&nbsp;nnz)</pre>
<div class="block">Evaluates if a matrix block with the given characteristics should be in sparse format
in memory.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nrows</code> - number of rows</dd>
<dd><code>ncols</code> - number of columns</dd>
<dd><code>nnz</code> - number of non-zeros</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if matrix block shold be in sparse format in memory</dd>
</dl>
</li>
</ul>
<a name="evalSparseFormatOnDisk-long-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evalSparseFormatOnDisk</h4>
<pre>public static&nbsp;boolean&nbsp;evalSparseFormatOnDisk(long&nbsp;nrows,
long&nbsp;ncols,
long&nbsp;nnz)</pre>
<div class="block">Evaluates if a matrix block with the given characteristics should be in sparse format
on disk (or in any other serialized representation).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nrows</code> - number of rows</dd>
<dd><code>ncols</code> - number of columns</dd>
<dd><code>nnz</code> - number of non-zeros</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if matrix block shold be in sparse format on disk</dd>
</dl>
</li>
</ul>
<a name="sparseToDense--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sparseToDense</h4>
<pre>public&nbsp;void&nbsp;sparseToDense()</pre>
</li>
</ul>
<a name="recomputeNonZeros--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recomputeNonZeros</h4>
<pre>public&nbsp;long&nbsp;recomputeNonZeros()</pre>
<div class="block">Recomputes and materializes the number of non-zero values
of the entire matrix block.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of non-zeros</dd>
</dl>
</li>
</ul>
<a name="recomputeNonZeros-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recomputeNonZeros</h4>
<pre>public&nbsp;long&nbsp;recomputeNonZeros(int&nbsp;rl,
int&nbsp;ru)</pre>
</li>
</ul>
<a name="recomputeNonZeros-int-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recomputeNonZeros</h4>
<pre>public&nbsp;long&nbsp;recomputeNonZeros(int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu)</pre>
<div class="block">Recomputes the number of non-zero values of a specified
range of the matrix block. NOTE: This call does not materialize
the compute result in any form.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rl</code> - row lower index, 0-based, inclusive</dd>
<dd><code>ru</code> - row upper index, 0-based, inclusive</dd>
<dd><code>cl</code> - column lower index, 0-based, inclusive</dd>
<dd><code>cu</code> - column upper index, 0-based, inclusive</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of non-zero values</dd>
</dl>
</li>
</ul>
<a name="checkNonZeros--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkNonZeros</h4>
<pre>public&nbsp;void&nbsp;checkNonZeros()</pre>
<div class="block">Basic debugging primitive to check correctness of nnz.
This method is not intended for production use.</div>
</li>
</ul>
<a name="checkSparseRows--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkSparseRows</h4>
<pre>public&nbsp;void&nbsp;checkSparseRows()</pre>
</li>
</ul>
<a name="checkSparseRows-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkSparseRows</h4>
<pre>public&nbsp;void&nbsp;checkSparseRows(int&nbsp;rl,
int&nbsp;ru)</pre>
<div class="block">Basic debugging primitive to check sparse block column ordering.
This method is not intended for production use.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rl</code> - row lower bound (inclusive)</dd>
<dd><code>ru</code> - row upper bound (exclusive)</dd>
</dl>
</li>
</ul>
<a name="copy-org.apache.sysds.runtime.matrix.data.MatrixValue-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copy</h4>
<pre>public&nbsp;void&nbsp;copy(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatValue)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#copy-org.apache.sysds.runtime.matrix.data.MatrixValue-">MatrixValue</a></code></span></div>
<div class="block">Copy this MatrixValue into that MatrixValue.
If the MatrixValue is a MatrixBlock evaluate the sparsity of the original matrix,
and copy into either a sparse or a dense matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#copy-org.apache.sysds.runtime.matrix.data.MatrixValue-">copy</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>thatValue</code> - object to copy the values into.</dd>
</dl>
</li>
</ul>
<a name="copy-org.apache.sysds.runtime.matrix.data.MatrixValue-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copy</h4>
<pre>public&nbsp;void&nbsp;copy(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatValue,
boolean&nbsp;sp)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#copy-org.apache.sysds.runtime.matrix.data.MatrixValue-boolean-">MatrixValue</a></code></span></div>
<div class="block">Copy this MatrixValue into that MatrixValue. But select sparse destination block depending on boolean parameter.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#copy-org.apache.sysds.runtime.matrix.data.MatrixValue-boolean-">copy</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>thatValue</code> - object to copy the values into.</dd>
<dd><code>sp</code> - boolean specifying if output should be forced sparse or dense. (only applicable if the 'that' is a MatrixBlock)</dd>
</dl>
</li>
</ul>
<a name="copyShallow-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyShallow</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;copyShallow(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that)</pre>
</li>
</ul>
<a name="copy-int-int-int-int-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copy</h4>
<pre>public&nbsp;void&nbsp;copy(int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;src,
boolean&nbsp;awareDestNZ)</pre>
<div class="block">In-place copy of matrix src into the index range of the existing current matrix.
Note that removal of existing nnz in the index range and nnz maintenance is
only done if 'awareDestNZ=true',</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rl</code> - row lower index, 0-based</dd>
<dd><code>ru</code> - row upper index, 0-based, inclusive</dd>
<dd><code>cl</code> - column lower index, 0-based</dd>
<dd><code>cu</code> - column upper index, 0-based, inclusive</dd>
<dd><code>src</code> - matrix block</dd>
<dd><code>awareDestNZ</code> - true, forces (1) to remove existing non-zeros in the index range of the
destination if not present in src and (2) to internally maintain nnz
false, assume empty index range in destination and do not maintain nnz
(the invoker is responsible to recompute nnz after all copies are done)</dd>
</dl>
</li>
</ul>
<a name="merge-org.apache.sysds.runtime.controlprogram.caching.CacheBlock-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>merge</h4>
<pre>public&nbsp;void&nbsp;merge(<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a>&nbsp;that,
boolean&nbsp;appendOnly)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#merge-org.apache.sysds.runtime.controlprogram.caching.CacheBlock-boolean-">CacheBlock</a></code></span></div>
<div class="block">Merge the given block into the current block. Both blocks needs to be of equal
dimensions and contain disjoint non-zero cells.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#merge-org.apache.sysds.runtime.controlprogram.caching.CacheBlock-boolean-">merge</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>that</code> - cache block</dd>
<dd><code>appendOnly</code> - ?</dd>
</dl>
</li>
</ul>
<a name="merge-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>merge</h4>
<pre>public&nbsp;void&nbsp;merge(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
boolean&nbsp;appendOnly)</pre>
<div class="block">Merge disjoint: merges all non-zero values of the given input into the current
matrix block. Note that this method does NOT check for overlapping entries;
it's the callers reponsibility of ensuring disjoint matrix blocks.
The appendOnly parameter is only relevant for sparse target blocks; if true,
we only append values and do not sort sparse rows for each call; this is useful
whenever we merge iterators of matrix blocks into one target block.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>that</code> - matrix block</dd>
<dd><code>appendOnly</code> - ?</dd>
</dl>
</li>
</ul>
<a name="merge-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>merge</h4>
<pre>public&nbsp;void&nbsp;merge(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
boolean&nbsp;appendOnly,
boolean&nbsp;par)</pre>
</li>
</ul>
<a name="merge-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>merge</h4>
<pre>public&nbsp;void&nbsp;merge(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
boolean&nbsp;appendOnly,
boolean&nbsp;par,
boolean&nbsp;deep)</pre>
</li>
</ul>
<a name="readFields-java.io.DataInput-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readFields</h4>
<pre>public&nbsp;void&nbsp;readFields(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</a>&nbsp;in)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>readFields</code>&nbsp;in interface&nbsp;<code>org.apache.hadoop.io.Writable</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="write-java.io.DataOutput-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>public&nbsp;void&nbsp;write(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>write</code>&nbsp;in interface&nbsp;<code>org.apache.hadoop.io.Writable</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="readExternal-java.io.ObjectInput-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readExternal</h4>
<pre>public&nbsp;void&nbsp;readExternal(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io">ObjectInput</a>&nbsp;is)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Redirects the default java serialization via externalizable to our default
hadoop writable serialization for efficient broadcast/rdd deserialization.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true#readExternal-java.io.ObjectInput-" title="class or interface in java.io">readExternal</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>is</code> - object input</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if IOException occurs</dd>
</dl>
</li>
</ul>
<a name="writeExternal-java.io.ObjectOutput-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeExternal</h4>
<pre>public&nbsp;void&nbsp;writeExternal(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io">ObjectOutput</a>&nbsp;os)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Redirects the default java serialization via externalizable to our default
hadoop writable serialization for efficient broadcast/rdd serialization.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true#writeExternal-java.io.ObjectOutput-" title="class or interface in java.io">writeExternal</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>os</code> - object output</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if IOException occurs</dd>
</dl>
</li>
</ul>
<a name="getExactSizeOnDisk--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExactSizeOnDisk</h4>
<pre>public&nbsp;long&nbsp;getExactSizeOnDisk()</pre>
<div class="block">NOTE: The used estimates must be kept consistent with the respective write functions.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>exact size on disk</dd>
</dl>
</li>
</ul>
<a name="getHeaderSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeaderSize</h4>
<pre>public static&nbsp;long&nbsp;getHeaderSize()</pre>
</li>
</ul>
<a name="estimateSizeInMemory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>estimateSizeInMemory</h4>
<pre>public&nbsp;long&nbsp;estimateSizeInMemory()</pre>
</li>
</ul>
<a name="estimateSizeInMemory-long-long-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>estimateSizeInMemory</h4>
<pre>public static&nbsp;long&nbsp;estimateSizeInMemory(long&nbsp;nrows,
long&nbsp;ncols,
double&nbsp;sparsity)</pre>
</li>
</ul>
<a name="estimateSizeDenseInMemory-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>estimateSizeDenseInMemory</h4>
<pre>public static&nbsp;long&nbsp;estimateSizeDenseInMemory(long&nbsp;nrows,
long&nbsp;ncols)</pre>
</li>
</ul>
<a name="estimateSizeSparseInMemory-long-long-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>estimateSizeSparseInMemory</h4>
<pre>public static&nbsp;long&nbsp;estimateSizeSparseInMemory(long&nbsp;nrows,
long&nbsp;ncols,
double&nbsp;sparsity)</pre>
</li>
</ul>
<a name="estimateSizeSparseInMemory-long-long-double-org.apache.sysds.runtime.data.SparseBlock.Type-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>estimateSizeSparseInMemory</h4>
<pre>public static&nbsp;long&nbsp;estimateSizeSparseInMemory(long&nbsp;nrows,
long&nbsp;ncols,
double&nbsp;sparsity,
<a href="../../../../../../org/apache/sysds/runtime/data/SparseBlock.Type.html" title="enum in org.apache.sysds.runtime.data">SparseBlock.Type</a>&nbsp;stype)</pre>
</li>
</ul>
<a name="estimateSizeOnDisk--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>estimateSizeOnDisk</h4>
<pre>public&nbsp;long&nbsp;estimateSizeOnDisk()</pre>
</li>
</ul>
<a name="estimateSizeOnDisk-long-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>estimateSizeOnDisk</h4>
<pre>public static&nbsp;long&nbsp;estimateSizeOnDisk(long&nbsp;nrows,
long&nbsp;ncols,
long&nbsp;nnz)</pre>
</li>
</ul>
<a name="estimateSparsityOnAggBinary-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.operators.AggregateBinaryOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>estimateSparsityOnAggBinary</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.SparsityEstimate.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock.SparsityEstimate</a>&nbsp;estimateSparsityOnAggBinary(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m1,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateBinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateBinaryOperator</a>&nbsp;op)</pre>
</li>
</ul>
<a name="getInMemorySize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInMemorySize</h4>
<pre>public&nbsp;long&nbsp;getInMemorySize()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#getInMemorySize--">CacheBlock</a></code></span></div>
<div class="block">Get the in-memory size in bytes of the cache block.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#getInMemorySize--">getInMemorySize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>in-memory size in bytes of cache block</dd>
</dl>
</li>
</ul>
<a name="getExactSerializedSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExactSerializedSize</h4>
<pre>public&nbsp;long&nbsp;getExactSerializedSize()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#getExactSerializedSize--">CacheBlock</a></code></span></div>
<div class="block">Get the exact serialized size in bytes of the cache block.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#getExactSerializedSize--">getExactSerializedSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>exact serialized size in bytes of cache block</dd>
</dl>
</li>
</ul>
<a name="isShallowSerialize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isShallowSerialize</h4>
<pre>public&nbsp;boolean&nbsp;isShallowSerialize()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#isShallowSerialize--">CacheBlock</a></code></span></div>
<div class="block">Indicates if the cache block is subject to shallow serialized,
which is generally true if in-memory size and serialized size
are almost identical allowing to avoid unnecessary deep serialize.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#isShallowSerialize--">isShallowSerialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if shallow serialized</dd>
</dl>
</li>
</ul>
<a name="isShallowSerialize-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isShallowSerialize</h4>
<pre>public&nbsp;boolean&nbsp;isShallowSerialize(boolean&nbsp;inclConvert)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#isShallowSerialize-boolean-">CacheBlock</a></code></span></div>
<div class="block">Indicates if the cache block is subject to shallow serialized,
which is generally true if in-memory size and serialized size
are almost identical allowing to avoid unnecessary deep serialize.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#isShallowSerialize-boolean-">isShallowSerialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>inclConvert</code> - if true report blocks as shallow serialize that are
currently not amenable but can be brought into an amenable form
via <a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#toShallowSerializeBlock--"><code>toShallowSerializeBlock</code></a>.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if shallow serialized</dd>
</dl>
</li>
</ul>
<a name="toShallowSerializeBlock--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toShallowSerializeBlock</h4>
<pre>public&nbsp;void&nbsp;toShallowSerializeBlock()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#toShallowSerializeBlock--">CacheBlock</a></code></span></div>
<div class="block">Converts a cache block that is not shallow serializable into
a form that is shallow serializable. This methods has no affect
if the given cache block is not amenable.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#toShallowSerializeBlock--">toShallowSerializeBlock</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></code></dd>
</dl>
</li>
</ul>
<a name="compactEmptyBlock--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compactEmptyBlock</h4>
<pre>public&nbsp;void&nbsp;compactEmptyBlock()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#compactEmptyBlock--">CacheBlock</a></code></span></div>
<div class="block">Free unnecessarily allocated empty block.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#compactEmptyBlock--">compactEmptyBlock</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></code></dd>
</dl>
</li>
</ul>
<a name="scalarOperations-org.apache.sysds.runtime.matrix.operators.ScalarOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scalarOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;scalarOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/ScalarOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">ScalarOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#scalarOperations-org.apache.sysds.runtime.matrix.operators.ScalarOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">scalarOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="unaryOperations-org.apache.sysds.runtime.matrix.operators.UnaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unaryOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;unaryOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/UnaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">UnaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#unaryOperations-org.apache.sysds.runtime.matrix.operators.UnaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">unaryOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="binaryOperations-org.apache.sysds.runtime.matrix.operators.BinaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>binaryOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;binaryOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/BinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">BinaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatValue,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#binaryOperations-org.apache.sysds.runtime.matrix.operators.BinaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-">binaryOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="binaryOperationsInPlace-org.apache.sysds.runtime.matrix.operators.BinaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>binaryOperationsInPlace</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;binaryOperationsInPlace(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/BinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">BinaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatValue)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#binaryOperationsInPlace-org.apache.sysds.runtime.matrix.operators.BinaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">binaryOperationsInPlace</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="ternaryOperations-org.apache.sysds.runtime.matrix.operators.TernaryOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ternaryOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ternaryOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/TernaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">TernaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m3,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret)</pre>
</li>
</ul>
<a name="incrementalAggregate-org.apache.sysds.runtime.matrix.operators.AggregateOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>incrementalAggregate</h4>
<pre>public&nbsp;void&nbsp;incrementalAggregate(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aggOp,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;correction,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;newWithCorrection,
boolean&nbsp;deep)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#incrementalAggregate-org.apache.sysds.runtime.matrix.operators.AggregateOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-boolean-">incrementalAggregate</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="incrementalAggregate-org.apache.sysds.runtime.matrix.operators.AggregateOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>incrementalAggregate</h4>
<pre>public&nbsp;void&nbsp;incrementalAggregate(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aggOp,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;newWithCorrection)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#incrementalAggregate-org.apache.sysds.runtime.matrix.operators.AggregateOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-">incrementalAggregate</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="reorgOperations-org.apache.sysds.runtime.matrix.operators.ReorgOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reorgOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;reorgOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/ReorgOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">ReorgOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;ret,
int&nbsp;startRow,
int&nbsp;startColumn,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#reorgOperations-org.apache.sysds.runtime.matrix.operators.ReorgOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-int-int-int-">reorgOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="append-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>append</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;append(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret)</pre>
</li>
</ul>
<a name="append-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>append</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;append(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
boolean&nbsp;cbind)</pre>
</li>
</ul>
<a name="append-org.apache.sysds.runtime.matrix.data.MatrixBlock:A-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>append</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;append(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>[]&nbsp;that,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
boolean&nbsp;cbind)</pre>
</li>
</ul>
<a name="naryOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixBlock:A-org.apache.sysds.runtime.instructions.cp.ScalarObject:A-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>naryOperations</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;naryOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>[]&nbsp;matrices,
<a href="../../../../../../org/apache/sysds/runtime/instructions/cp/ScalarObject.html" title="class in org.apache.sysds.runtime.instructions.cp">ScalarObject</a>[]&nbsp;scalars,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret)</pre>
</li>
</ul>
<a name="transposeSelfMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.lops.MMTSJ.MMTSJType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transposeSelfMatrixMultOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;transposeSelfMatrixMultOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out,
<a href="../../../../../../org/apache/sysds/lops/MMTSJ.MMTSJType.html" title="enum in org.apache.sysds.lops">MMTSJ.MMTSJType</a>&nbsp;tstype)</pre>
</li>
</ul>
<a name="transposeSelfMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.lops.MMTSJ.MMTSJType-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transposeSelfMatrixMultOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;transposeSelfMatrixMultOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out,
<a href="../../../../../../org/apache/sysds/lops/MMTSJ.MMTSJType.html" title="enum in org.apache.sysds.lops">MMTSJ.MMTSJType</a>&nbsp;tstype,
int&nbsp;k)</pre>
</li>
</ul>
<a name="chainMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.lops.MapMultChain.ChainType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>chainMatrixMultOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;chainMatrixMultOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;v,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;w,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out,
<a href="../../../../../../org/apache/sysds/lops/MapMultChain.ChainType.html" title="enum in org.apache.sysds.lops">MapMultChain.ChainType</a>&nbsp;ctype)</pre>
</li>
</ul>
<a name="chainMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.lops.MapMultChain.ChainType-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>chainMatrixMultOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;chainMatrixMultOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;v,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;w,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out,
<a href="../../../../../../org/apache/sysds/lops/MapMultChain.ChainType.html" title="enum in org.apache.sysds.lops">MapMultChain.ChainType</a>&nbsp;ctype,
int&nbsp;k)</pre>
</li>
</ul>
<a name="permutationMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>permutationMatrixMultOperations</h4>
<pre>public&nbsp;void&nbsp;permutationMatrixMultOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;m2Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;out1Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;out2Val)</pre>
</li>
</ul>
<a name="permutationMatrixMultOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>permutationMatrixMultOperations</h4>
<pre>public&nbsp;void&nbsp;permutationMatrixMultOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;m2Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;out1Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;out2Val,
int&nbsp;k)</pre>
</li>
</ul>
<a name="leftIndexingOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.util.IndexRange-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.controlprogram.caching.MatrixObject.UpdateType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leftIndexingOperations</h4>
<pre>public final&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;leftIndexingOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;rhsMatrix,
<a href="../../../../../../org/apache/sysds/runtime/util/IndexRange.html" title="class in org.apache.sysds.runtime.util">IndexRange</a>&nbsp;ixrange,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/MatrixObject.UpdateType.html" title="enum in org.apache.sysds.runtime.controlprogram.caching">MatrixObject.UpdateType</a>&nbsp;update)</pre>
</li>
</ul>
<a name="leftIndexingOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-int-int-int-int-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.controlprogram.caching.MatrixObject.UpdateType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leftIndexingOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;leftIndexingOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;rhsMatrix,
int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/MatrixObject.UpdateType.html" title="enum in org.apache.sysds.runtime.controlprogram.caching">MatrixObject.UpdateType</a>&nbsp;update)</pre>
</li>
</ul>
<a name="leftIndexingOperations-org.apache.sysds.runtime.instructions.cp.ScalarObject-int-int-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.controlprogram.caching.MatrixObject.UpdateType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leftIndexingOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;leftIndexingOperations(<a href="../../../../../../org/apache/sysds/runtime/instructions/cp/ScalarObject.html" title="class in org.apache.sysds.runtime.instructions.cp">ScalarObject</a>&nbsp;scalar,
int&nbsp;rl,
int&nbsp;cl,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/MatrixObject.UpdateType.html" title="enum in org.apache.sysds.runtime.controlprogram.caching">MatrixObject.UpdateType</a>&nbsp;update)</pre>
<div class="block">Explicitly allow left indexing for scalars. Note: This operation is now 0-based.
* Operations to be performed:
1) result=this;
2) result[row,column] = scalar.getDoubleValue();</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>scalar</code> - scalar object</dd>
<dd><code>rl</code> - row lower</dd>
<dd><code>cl</code> - column lower</dd>
<dd><code>ret</code> - ?</dd>
<dd><code>update</code> - ?</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block</dd>
</dl>
</li>
</ul>
<a name="slice-org.apache.sysds.runtime.util.IndexRange-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slice</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;slice(<a href="../../../../../../org/apache/sysds/runtime/util/IndexRange.html" title="class in org.apache.sysds.runtime.util">IndexRange</a>&nbsp;ixrange,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret)</pre>
</li>
</ul>
<a name="slice-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slice</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;slice(int&nbsp;rl,
int&nbsp;ru)</pre>
<div class="block">Slice out a row block</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rl</code> - The row lower to start from</dd>
<dd><code>ru</code> - The row lower to end at</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The sliced out matrix block.</dd>
</dl>
</li>
</ul>
<a name="slice-int-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slice</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;slice(int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu)</pre>
</li>
</ul>
<a name="slice-int-int-int-int-org.apache.sysds.runtime.controlprogram.caching.CacheBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slice</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;slice(int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu,
<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a>&nbsp;ret)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#slice-int-int-int-int-org.apache.sysds.runtime.controlprogram.caching.CacheBlock-">CacheBlock</a></code></span></div>
<div class="block">Slice a sub block out of the current block and write into the given output block.
This method returns the passed instance if not null.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html#slice-int-int-int-int-org.apache.sysds.runtime.controlprogram.caching.CacheBlock-">slice</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rl</code> - row lower</dd>
<dd><code>ru</code> - row upper</dd>
<dd><code>cl</code> - column lower</dd>
<dd><code>cu</code> - column upper</dd>
<dd><code>ret</code> - cache block</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>sub-block of cache block</dd>
</dl>
</li>
</ul>
<a name="slice-int-int-int-int-boolean-org.apache.sysds.runtime.controlprogram.caching.CacheBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slice</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;slice(int&nbsp;rl,
int&nbsp;ru,
int&nbsp;cl,
int&nbsp;cu,
boolean&nbsp;deep,
<a href="../../../../../../org/apache/sysds/runtime/controlprogram/caching/CacheBlock.html" title="interface in org.apache.sysds.runtime.controlprogram.caching">CacheBlock</a>&nbsp;ret)</pre>
<div class="block">Method to perform rightIndex operation for a given lower and upper bounds in row and column dimensions.
Extracted submatrix is returned as "result". Note: This operation is now 0-based.
This means that if you call with rl == ru then you get 1 row output.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rl</code> - row lower if this value is bellow 0 or above the number of rows contained in the matrix an execption is thrown</dd>
<dd><code>ru</code> - row upper if this value is bellow rl or above the number of rows contained in the matrix an exception is thrown</dd>
<dd><code>cl</code> - column lower if this value us bellow 0 or above the number of columns contained in the matrix an exception is thrown</dd>
<dd><code>cu</code> - column upper if this value us bellow cl or above the number of columns contained in the matrix an exception is thrown</dd>
<dd><code>deep</code> - should perform deep copy, this is relelvant in cases where the matrix is in sparse format,
or the entire matrix is sliced out</dd>
<dd><code>ret</code> - output sliced out matrix block</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block output matrix block</dd>
</dl>
</li>
</ul>
<a name="slice-java.util.ArrayList-org.apache.sysds.runtime.util.IndexRange-int-int-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slice</h4>
<pre>public&nbsp;void&nbsp;slice(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../../org/apache/sysds/runtime/instructions/spark/data/IndexedMatrixValue.html" title="class in org.apache.sysds.runtime.instructions.spark.data">IndexedMatrixValue</a>&gt;&nbsp;outlist,
<a href="../../../../../../org/apache/sysds/runtime/util/IndexRange.html" title="class in org.apache.sysds.runtime.util">IndexRange</a>&nbsp;range,
int&nbsp;rowCut,
int&nbsp;colCut,
int&nbsp;blen,
int&nbsp;boundaryRlen,
int&nbsp;boundaryClen)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#slice-java.util.ArrayList-org.apache.sysds.runtime.util.IndexRange-int-int-int-int-int-">MatrixValue</a></code></span></div>
<div class="block">Slice out up to 4 matrixBlocks that are separated by the row and col Cuts.
This is used in the context of spark execution to distributed sliced out matrix blocks of correct block size.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#slice-java.util.ArrayList-org.apache.sysds.runtime.util.IndexRange-int-int-int-int-int-">slice</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>outlist</code> - The output matrix blocks that is extracted from the matrix</dd>
<dd><code>range</code> - An index range containing overlapping information.</dd>
<dd><code>rowCut</code> - The row to cut and split the matrix.</dd>
<dd><code>colCut</code> - The column to cut ans split the matrix.</dd>
<dd><code>blen</code> - The Block size of the output matrices.</dd>
<dd><code>boundaryRlen</code> - The row length of the edge case matrix block, used for the final blocks
that does not have enough rows to construct a full block.</dd>
<dd><code>boundaryClen</code> - The col length of the edge case matrix block, used for the final blocks
that does not have enough cols to construct a full block.</dd>
</dl>
</li>
</ul>
<a name="append-org.apache.sysds.runtime.matrix.data.MatrixValue-java.util.ArrayList-int-boolean-boolean-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>append</h4>
<pre>public&nbsp;void&nbsp;append(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;v2,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../../org/apache/sysds/runtime/instructions/spark/data/IndexedMatrixValue.html" title="class in org.apache.sysds.runtime.instructions.spark.data">IndexedMatrixValue</a>&gt;&nbsp;outlist,
int&nbsp;blen,
boolean&nbsp;cbind,
boolean&nbsp;m2IsLast,
int&nbsp;nextNCol)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#append-org.apache.sysds.runtime.matrix.data.MatrixValue-java.util.ArrayList-int-boolean-boolean-int-">append</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="zeroOutOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.util.IndexRange-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>zeroOutOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;zeroOutOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result,
<a href="../../../../../../org/apache/sysds/runtime/util/IndexRange.html" title="class in org.apache.sysds.runtime.util">IndexRange</a>&nbsp;range,
boolean&nbsp;complementary)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#zeroOutOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.util.IndexRange-boolean-">zeroOutOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="aggregateUnaryOperations-org.apache.sysds.runtime.matrix.operators.AggregateUnaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-int-org.apache.sysds.runtime.matrix.data.MatrixIndexes-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateUnaryOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;aggregateUnaryOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateUnaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateUnaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result,
int&nbsp;blen,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>&nbsp;indexesIn)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#aggregateUnaryOperations-org.apache.sysds.runtime.matrix.operators.AggregateUnaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-int-org.apache.sysds.runtime.matrix.data.MatrixIndexes-">aggregateUnaryOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="aggregateUnaryOperations-org.apache.sysds.runtime.matrix.operators.AggregateUnaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-int-org.apache.sysds.runtime.matrix.data.MatrixIndexes-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateUnaryOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;aggregateUnaryOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateUnaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateUnaryOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result,
int&nbsp;blen,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>&nbsp;indexesIn,
boolean&nbsp;inCP)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#aggregateUnaryOperations-org.apache.sysds.runtime.matrix.operators.AggregateUnaryOperator-org.apache.sysds.runtime.matrix.data.MatrixValue-int-org.apache.sysds.runtime.matrix.data.MatrixIndexes-boolean-">aggregateUnaryOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="dropLastRowsOrColumns-org.apache.sysds.common.Types.CorrectionLocationType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropLastRowsOrColumns</h4>
<pre>public&nbsp;void&nbsp;dropLastRowsOrColumns(<a href="../../../../../../org/apache/sysds/common/Types.CorrectionLocationType.html" title="enum in org.apache.sysds.common">Types.CorrectionLocationType</a>&nbsp;correctionLocation)</pre>
</li>
</ul>
<a name="cmOperations-org.apache.sysds.runtime.matrix.operators.CMOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cmOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a>&nbsp;cmOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/CMOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">CMOperator</a>&nbsp;op)</pre>
</li>
</ul>
<a name="cmOperations-org.apache.sysds.runtime.matrix.operators.CMOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cmOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a>&nbsp;cmOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/CMOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">CMOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;weights)</pre>
</li>
</ul>
<a name="covOperations-org.apache.sysds.runtime.matrix.operators.COVOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>covOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a>&nbsp;covOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/COVOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">COVOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that)</pre>
</li>
</ul>
<a name="covOperations-org.apache.sysds.runtime.matrix.operators.COVOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>covOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a>&nbsp;covOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/COVOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">COVOperator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;that,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;weights)</pre>
</li>
</ul>
<a name="sortOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sortOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;sortOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;weights,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;result)</pre>
</li>
</ul>
<a name="interQuartileMean--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>interQuartileMean</h4>
<pre>public&nbsp;double&nbsp;interQuartileMean()</pre>
</li>
</ul>
<a name="computeIQMCorrection-double-double-double-double-double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeIQMCorrection</h4>
<pre>public static&nbsp;double&nbsp;computeIQMCorrection(double&nbsp;sum,
double&nbsp;sum_wt,
double&nbsp;q25Part,
double&nbsp;q25Val,
double&nbsp;q75Part,
double&nbsp;q75Val)</pre>
</li>
</ul>
<a name="pickValues-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pickValues</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;pickValues(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;quantiles,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;ret)</pre>
</li>
</ul>
<a name="median--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>median</h4>
<pre>public&nbsp;double&nbsp;median()</pre>
</li>
</ul>
<a name="pickValue-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pickValue</h4>
<pre>public&nbsp;double&nbsp;pickValue(double&nbsp;quantile)</pre>
</li>
</ul>
<a name="pickValue-double-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pickValue</h4>
<pre>public&nbsp;double&nbsp;pickValue(double&nbsp;quantile,
boolean&nbsp;average)</pre>
</li>
</ul>
<a name="sumWeightForQuantile--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sumWeightForQuantile</h4>
<pre>public&nbsp;double&nbsp;sumWeightForQuantile()</pre>
<div class="block">In a given two column matrix, the second column denotes weights.
This function computes the total weight</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>sum weight for quantile</dd>
</dl>
</li>
</ul>
<a name="aggregateBinaryOperations-org.apache.sysds.runtime.matrix.data.MatrixIndexes-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixIndexes-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.operators.AggregateBinaryOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateBinaryOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;aggregateBinaryOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>&nbsp;m1Index,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m1,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>&nbsp;m2Index,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateBinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateBinaryOperator</a>&nbsp;op)</pre>
</li>
</ul>
<a name="aggregateBinaryOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.operators.AggregateBinaryOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateBinaryOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;aggregateBinaryOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m1,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateBinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateBinaryOperator</a>&nbsp;op)</pre>
</li>
</ul>
<a name="aggregateTernaryOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.operators.AggregateTernaryOperator-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateTernaryOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;aggregateTernaryOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m1,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;m3,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateTernaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateTernaryOperator</a>&nbsp;op,
boolean&nbsp;inCP)</pre>
</li>
</ul>
<a name="uaggouterchainOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.operators.BinaryOperator-org.apache.sysds.runtime.matrix.operators.AggregateUnaryOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>uaggouterchainOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;uaggouterchainOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;mbLeft,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;mbRight,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;mbOut,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/BinaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">BinaryOperator</a>&nbsp;bOp,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateUnaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateUnaryOperator</a>&nbsp;uaggOp)</pre>
</li>
</ul>
<a name="groupedAggOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-int-org.apache.sysds.runtime.matrix.operators.Operator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupedAggOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;groupedAggOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;tgt,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;wghts,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;ret,
int&nbsp;ngroups,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op)</pre>
<div class="block">Invocation from CP instructions. The aggregate is computed on the groups object
against target and weights.
Notes:
* The computed number of groups is reused for multiple invocations with different target.
* This implementation supports that the target is passed as column or row vector,
in case of row vectors we also use sparse-safe implementations for sparse safe
aggregation operators.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tgt</code> - ?</dd>
<dd><code>wghts</code> - ?</dd>
<dd><code>ret</code> - ?</dd>
<dd><code>ngroups</code> - ?</dd>
<dd><code>op</code> - operator</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block</dd>
</dl>
</li>
</ul>
<a name="groupedAggOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-int-org.apache.sysds.runtime.matrix.operators.Operator-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupedAggOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;groupedAggOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;tgt,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;wghts,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;ret,
int&nbsp;ngroups,
<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
int&nbsp;k)</pre>
</li>
</ul>
<a name="removeEmptyOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-boolean-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeEmptyOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;removeEmptyOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
boolean&nbsp;rows,
boolean&nbsp;emptyReturn,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;select)</pre>
</li>
</ul>
<a name="removeEmptyOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeEmptyOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;removeEmptyOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
boolean&nbsp;rows,
boolean&nbsp;emptyReturn)</pre>
</li>
</ul>
<a name="rexpandOperations-org.apache.sysds.runtime.matrix.data.MatrixBlock-double-boolean-boolean-boolean-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rexpandOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;rexpandOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
double&nbsp;max,
boolean&nbsp;rows,
boolean&nbsp;cast,
boolean&nbsp;ignore,
int&nbsp;k)</pre>
</li>
</ul>
<a name="replaceOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;replaceOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;result,
double&nbsp;pattern,
double&nbsp;replacement)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#replaceOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-double-double-">replaceOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="extractTriangular-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractTriangular</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;extractTriangular(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ret,
boolean&nbsp;lower,
boolean&nbsp;diag,
boolean&nbsp;values)</pre>
</li>
</ul>
<a name="ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-double-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ctableOperations</h4>
<pre>public&nbsp;void&nbsp;ctableOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
double&nbsp;scalarThat,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;that2Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</pre>
<div class="block">D = ctable(A,v2,W)
this &lt;- A; scalarThat &lt;- v2; that2 &lt;- W; result &lt;- D
(i1,j1,v1) from input1 (this)
(v2) from sclar_input2 (scalarThat)
(i3,j3,w) from input3 (that2)</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-double-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ctableOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-double-double-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ctableOperations</h4>
<pre>public&nbsp;void&nbsp;ctableOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
double&nbsp;scalarThat,
double&nbsp;scalarThat2,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</pre>
<div class="block">D = ctable(A,v2,w)
this &lt;- A; scalar_that &lt;- v2; scalar_that2 &lt;- w; result &lt;- D
(i1,j1,v1) from input1 (this)
(v2) from sclar_input2 (scalarThat)
(w) from scalar_input3 (scalarThat2)</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-double-double-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ctableOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixIndexes-double-boolean-int-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ctableOperations</h4>
<pre>public&nbsp;void&nbsp;ctableOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>&nbsp;ix1,
double&nbsp;scalarThat,
boolean&nbsp;left,
int&nbsp;blen,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</pre>
<div class="block">Specific ctable case of ctable(seq(...),X), where X is the only
matrix input. The 'left' input parameter specifies if the seq appeared
on the left, otherwise it appeared on the right.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixIndexes-double-boolean-int-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ctableOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixValue-double-boolean-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ctableOperations</h4>
<pre>public&nbsp;void&nbsp;ctableOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatVal,
double&nbsp;scalarThat2,
boolean&nbsp;ignoreZeros,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</pre>
<div class="block">D = ctable(A,B,w)
this &lt;- A; that &lt;- B; scalar_that2 &lt;- w; result &lt;- D
(i1,j1,v1) from input1 (this)
(i1,j1,v2) from input2 (that)
(w) from scalar_input3 (scalarThat2)
NOTE: This method supports both vectors and matrices. In case of matrices and ignoreZeros=true
we can also use a sparse-safe implementation</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixValue-double-boolean-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ctableOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="ctableSeqOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-double-org.apache.sysds.runtime.matrix.data.MatrixBlock-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ctableSeqOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ctableSeqOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatMatrix,
double&nbsp;thatScalar,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock,
boolean&nbsp;updateClen)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>thatMatrix</code> - matrix value</dd>
<dd><code>thatScalar</code> - scalar double</dd>
<dd><code>resultBlock</code> - result matrix block</dd>
<dd><code>updateClen</code> - when this matrix already has the desired number of columns updateClen can be set to false</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>resultBlock</dd>
</dl>
</li>
</ul>
<a name="ctableSeqOperations-org.apache.sysds.runtime.matrix.data.MatrixValue-double-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ctableSeqOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;ctableSeqOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatMatrix,
double&nbsp;thatScalar,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</pre>
<div class="block">D = ctable(seq,A,w)
this &lt;- seq; thatMatrix &lt;- A; thatScalar &lt;- w; result &lt;- D
(i1,j1,v1) from input1 (this)
(i1,j1,v2) from input2 (that)
(w) from scalar_input3 (scalarThat2)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>thatMatrix</code> - matrix value</dd>
<dd><code>thatScalar</code> - scalar double</dd>
<dd><code>resultBlock</code> - result matrix block</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>resultBlock</dd>
</dl>
</li>
</ul>
<a name="ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.CTableMap-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ctableOperations</h4>
<pre>public&nbsp;void&nbsp;ctableOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatVal,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;that2Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap)</pre>
<div class="block">D = ctable(A,B,W)
this &lt;- A; that &lt;- B; that2 &lt;- W; result &lt;- D
(i1,j1,v1) from input1 (this)
(i1,j1,v2) from input2 (that)
(i1,j1,w) from input3 (that2)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>op</code> - operator</dd>
<dd><code>thatVal</code> - matrix value 1</dd>
<dd><code>that2Val</code> - matrix value 2</dd>
<dd><code>resultMap</code> - table map</dd>
</dl>
</li>
</ul>
<a name="ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ctableOperations</h4>
<pre>public&nbsp;void&nbsp;ctableOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/Operator.html" title="class in org.apache.sysds.runtime.matrix.operators">Operator</a>&nbsp;op,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;thatVal,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a>&nbsp;that2Val,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/CTableMap.html" title="class in org.apache.sysds.runtime.matrix.data">CTableMap</a>&nbsp;resultMap,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;resultBlock)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html#ctableOperations-org.apache.sysds.runtime.matrix.operators.Operator-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.MatrixValue-org.apache.sysds.runtime.matrix.data.CTableMap-org.apache.sysds.runtime.matrix.data.MatrixBlock-">ctableOperations</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixValue.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixValue</a></code></dd>
</dl>
</li>
</ul>
<a name="quaternaryOperations-org.apache.sysds.runtime.matrix.operators.QuaternaryOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>quaternaryOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;quaternaryOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/QuaternaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">QuaternaryOperator</a>&nbsp;qop,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;um,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;vm,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;wm,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out)</pre>
</li>
</ul>
<a name="quaternaryOperations-org.apache.sysds.runtime.matrix.operators.QuaternaryOperator-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-org.apache.sysds.runtime.matrix.data.MatrixBlock-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>quaternaryOperations</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;quaternaryOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/operators/QuaternaryOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">QuaternaryOperator</a>&nbsp;qop,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;U,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;V,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;wm,
<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;out,
int&nbsp;k)</pre>
</li>
</ul>
<a name="randOperations-int-int-double-double-double-java.lang.String-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>randOperations</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;randOperations(int&nbsp;rows,
int&nbsp;cols,
double&nbsp;sparsity,
double&nbsp;min,
double&nbsp;max,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pdf,
long&nbsp;seed)</pre>
<div class="block">Function to generate the random matrix with specified dimensions (block sizes are not specified).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rows</code> - number of rows</dd>
<dd><code>cols</code> - number of columns</dd>
<dd><code>sparsity</code> - sparsity as a percentage</dd>
<dd><code>min</code> - minimum value</dd>
<dd><code>max</code> - maximum value</dd>
<dd><code>pdf</code> - pdf</dd>
<dd><code>seed</code> - random seed</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block</dd>
</dl>
</li>
</ul>
<a name="randOperations-int-int-double-double-double-java.lang.String-long-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>randOperations</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;randOperations(int&nbsp;rows,
int&nbsp;cols,
double&nbsp;sparsity,
double&nbsp;min,
double&nbsp;max,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pdf,
long&nbsp;seed,
int&nbsp;k)</pre>
<div class="block">Function to generate the random matrix with specified dimensions (block sizes are not specified).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rows</code> - number of rows</dd>
<dd><code>cols</code> - number of columns</dd>
<dd><code>sparsity</code> - sparsity as a percentage</dd>
<dd><code>min</code> - minimum value</dd>
<dd><code>max</code> - maximum value</dd>
<dd><code>pdf</code> - pdf</dd>
<dd><code>seed</code> - random seed</dd>
<dd><code>k</code> - ?</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block</dd>
</dl>
</li>
</ul>
<a name="randOperations-org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>randOperations</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;randOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/RandomMatrixGenerator.html" title="class in org.apache.sysds.runtime.matrix.data">RandomMatrixGenerator</a>&nbsp;rgen,
long&nbsp;seed)</pre>
<div class="block">Function to generate the random matrix with specified dimensions and block dimensions.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rgen</code> - random matrix generator</dd>
<dd><code>seed</code> - seed value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block</dd>
</dl>
</li>
</ul>
<a name="randOperations-org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator-long-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>randOperations</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;randOperations(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/RandomMatrixGenerator.html" title="class in org.apache.sysds.runtime.matrix.data">RandomMatrixGenerator</a>&nbsp;rgen,
long&nbsp;seed,
int&nbsp;k)</pre>
<div class="block">Function to generate the random matrix with specified dimensions and block dimensions.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rgen</code> - random matrix generator</dd>
<dd><code>seed</code> - seed value</dd>
<dd><code>k</code> - ?</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block</dd>
</dl>
</li>
</ul>
<a name="randOperationsInPlace-org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator-org.apache.commons.math3.random.Well1024a-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>randOperationsInPlace</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;randOperationsInPlace(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/RandomMatrixGenerator.html" title="class in org.apache.sysds.runtime.matrix.data">RandomMatrixGenerator</a>&nbsp;rgen,
org.apache.commons.math3.random.Well1024a&nbsp;bigrand,
long&nbsp;bSeed)</pre>
<div class="block">Function to generate a matrix of random numbers. This is invoked both
from CP as well as from MR. In case of CP, it generates an entire matrix
block-by-block. A <code>bigrand</code> is passed so that block-level
seeds are generated internally. In case of MR, it generates a single
block for given block-level seed <code>bSeed</code>.
When pdf="uniform", cell values are drawn from uniform distribution in
range <code>[min,max]</code>.
When pdf="normal", cell values are drawn from standard normal
distribution N(0,1). The range of generated values will always be
(-Inf,+Inf).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rgen</code> - random matrix generator</dd>
<dd><code>bigrand</code> - ?</dd>
<dd><code>bSeed</code> - seed value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block</dd>
</dl>
</li>
</ul>
<a name="randOperationsInPlace-org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator-org.apache.commons.math3.random.Well1024a-long-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>randOperationsInPlace</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;randOperationsInPlace(<a href="../../../../../../org/apache/sysds/runtime/matrix/data/RandomMatrixGenerator.html" title="class in org.apache.sysds.runtime.matrix.data">RandomMatrixGenerator</a>&nbsp;rgen,
org.apache.commons.math3.random.Well1024a&nbsp;bigrand,
long&nbsp;bSeed,
int&nbsp;k)</pre>
<div class="block">Function to generate a matrix of random numbers. This is invoked both
from CP as well as from MR. In case of CP, it generates an entire matrix
block-by-block. A <code>bigrand</code> is passed so that block-level
seeds are generated internally. In case of MR, it generates a single
block for given block-level seed <code>bSeed</code>.
When pdf="uniform", cell values are drawn from uniform distribution in
range <code>[min,max]</code>.
When pdf="normal", cell values are drawn from standard normal
distribution N(0,1). The range of generated values will always be
(-Inf,+Inf).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rgen</code> - random matrix generator</dd>
<dd><code>bigrand</code> - ?</dd>
<dd><code>bSeed</code> - seed value</dd>
<dd><code>k</code> - ?</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block</dd>
</dl>
</li>
</ul>
<a name="seqOperations-double-double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>seqOperations</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;seqOperations(double&nbsp;from,
double&nbsp;to,
double&nbsp;incr)</pre>
<div class="block">Method to generate a sequence according to the given parameters. The
generated sequence is always in dense format.
Both end points specified <code>from</code> and <code>to</code> must be
included in the generated sequence i.e., [from,to] both inclusive. Note
that, <code>to</code> is included only if (to-from) is perfectly
divisible by <code>incr</code>.
For example, seq(0,1,0.5) generates (0.0 0.5 1.0)
whereas seq(0,1,0.6) generates (0.0 0.6) but not (0.0 0.6 1.0)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>from</code> - ?</dd>
<dd><code>to</code> - ?</dd>
<dd><code>incr</code> - ?</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block</dd>
</dl>
</li>
</ul>
<a name="seqOperationsInPlace-double-double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>seqOperationsInPlace</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;seqOperationsInPlace(double&nbsp;from,
double&nbsp;to,
double&nbsp;incr)</pre>
</li>
</ul>
<a name="sampleOperations-long-int-boolean-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sampleOperations</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;sampleOperations(long&nbsp;range,
int&nbsp;size,
boolean&nbsp;replace,
long&nbsp;seed)</pre>
</li>
</ul>
<a name="isThreadSafe--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isThreadSafe</h4>
<pre>public&nbsp;boolean&nbsp;isThreadSafe()</pre>
<div class="block">Indicates if concurrent modifications of disjoint rows are thread-safe.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if thread-safe</dd>
</dl>
</li>
</ul>
<a name="isThreadSafe-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isThreadSafe</h4>
<pre>public static&nbsp;boolean&nbsp;isThreadSafe(boolean&nbsp;sparse)</pre>
<div class="block">Indicates if concurrent modifications of disjoint rows are thread-safe.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sparse</code> - true if sparse</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if ?</dd>
</dl>
</li>
</ul>
<a name="checkNaN--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkNaN</h4>
<pre>public&nbsp;void&nbsp;checkNaN()</pre>
<div class="block">Checks for existing NaN values in the matrix block.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../org/apache/sysds/runtime/DMLRuntimeException.html" title="class in org.apache.sysds.runtime">DMLRuntimeException</a></code> - if the blocks contains at least one NaN.</dd>
</dl>
</li>
</ul>
<a name="compareTo-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareTo</h4>
<pre>public&nbsp;int&nbsp;compareTo(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;arg0)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="class or interface in java.lang">compareTo</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a></code></dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;arg0)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MatrixBlock.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/sysds/runtime/matrix/data/LibMatrixTercell.html" title="class in org.apache.sysds.runtime.matrix.data"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.SparsityEstimate.html" title="class in org.apache.sysds.runtime.matrix.data"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/sysds/runtime/matrix/data/MatrixBlock.html" target="_top">Frames</a></li>
<li><a href="MatrixBlock.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>