blob: b4c5c87d2cc39363dd57a2e6ec7ce18e038cea8e [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ADictionary (Apache SystemDS 3.2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ADictionary (Apache SystemDS 3.2.0 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":6,"i4":9,"i5":9,"i6":10,"i7":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ADictionary.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" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.sysds.runtime.compress.colgroup.dictionary</a></div>
<h2 title="Class ADictionary" class="title">Class ADictionary</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.sysds.runtime.compress.colgroup.dictionary.ADictionary</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a></code></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="Dictionary.html" title="class in org.apache.sysds.runtime.compress.colgroup.dictionary">Dictionary</a></code>, <code><a href="IdentityDictionary.html" title="class in org.apache.sysds.runtime.compress.colgroup.dictionary">IdentityDictionary</a></code>, <code><a href="MatrixBlockDictionary.html" title="class in org.apache.sysds.runtime.compress.colgroup.dictionary">MatrixBlockDictionary</a></code>, <code><a href="QDictionary.html" title="class in org.apache.sysds.runtime.compress.colgroup.dictionary">QDictionary</a></code></dd>
</dl>
<hr>
<pre>public abstract class <span class="typeNameLabel">ADictionary</span>
extends <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>
implements <a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></pre>
<div class="block">This dictionary class aims to encapsulate the storage and operations over unique tuple values of a column group.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../serialized-form.html#org.apache.sysds.runtime.compress.colgroup.dictionary.ADictionary">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.apache.sysds.runtime.compress.colgroup.dictionary.IDictionary">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.sysds.runtime.compress.colgroup.dictionary.<a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a></h3>
<code><a href="IDictionary.DictType.html" title="enum in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary.DictType</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.sysds.runtime.compress.colgroup.dictionary.IDictionary">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.sysds.runtime.compress.colgroup.dictionary.<a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a></h3>
<code><a href="IDictionary.html#LOG">LOG</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">ADictionary</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#centralMoment(org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,int)">centralMoment</a></span>&#8203;(<a href="../../../functionobjects/ValueFunction.html" title="class in org.apache.sysds.runtime.functionobjects">ValueFunction</a>&nbsp;fn,
int[]&nbsp;counts,
int&nbsp;nRows)</code></th>
<td class="colLast">
<div class="block">Central moment function to calculate the central moment of this column group.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#centralMomentWithDefault(org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,double,int)">centralMomentWithDefault</a></span>&#8203;(<a href="../../../functionobjects/ValueFunction.html" title="class in org.apache.sysds.runtime.functionobjects">ValueFunction</a>&nbsp;fn,
int[]&nbsp;counts,
double&nbsp;def,
int&nbsp;nRows)</code></th>
<td class="colLast">
<div class="block">Central moment function to calculate the central moment of this column group with a default offset on all missing
tuples.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#centralMomentWithReference(org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,double,int)">centralMomentWithReference</a></span>&#8203;(<a href="../../../functionobjects/ValueFunction.html" title="class in org.apache.sysds.runtime.functionobjects">ValueFunction</a>&nbsp;fn,
int[]&nbsp;counts,
double&nbsp;reference,
int&nbsp;nRows)</code></th>
<td class="colLast">
<div class="block">Central moment function to calculate the central moment of this column group with a reference offset on each
tuple.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>abstract <a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clone()">clone</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a deep clone of the dictionary.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#correctNan(double%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex)">correctNan</a></span>&#8203;(double[]&nbsp;res,
<a href="../indexes/IColIndex.html" title="interface in org.apache.sysds.runtime.compress.colgroup.indexes">IColIndex</a>&nbsp;colIndexes)</code></th>
<td class="colLast">
<div class="block">Correct Nan Values in an result.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doubleToString(double)">doubleToString</a></span>&#8203;(double&nbsp;v)</code></th>
<td class="colLast">
<div class="block">Make a double into a string, if the double is a whole number then return it without decimal points</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(double%5B%5D)">equals</a></span>&#8203;(double[]&nbsp;v)</code></th>
<td class="colLast">
<div class="block">Indicate if this object is equal to the given array of doubles.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Indicate if this object is equal to another this takes into part sematic equivalence</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.sysds.runtime.compress.colgroup.dictionary.IDictionary">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.sysds.runtime.compress.colgroup.dictionary.<a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a></h3>
<code><a href="IDictionary.html#addToEntry(double%5B%5D,int,int,int)">addToEntry</a>, <a href="IDictionary.html#addToEntry(double%5B%5D,int,int,int,int)">addToEntry</a>, <a href="IDictionary.html#addToEntryVectorized(double%5B%5D,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int)">addToEntryVectorized</a>, <a href="IDictionary.html#aggregate(double,org.apache.sysds.runtime.functionobjects.Builtin)">aggregate</a>, <a href="IDictionary.html#aggregateCols(double%5B%5D,org.apache.sysds.runtime.functionobjects.Builtin,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex)">aggregateCols</a>, <a href="IDictionary.html#aggregateColsWithReference(double%5B%5D,org.apache.sysds.runtime.functionobjects.Builtin,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,double%5B%5D,boolean)">aggregateColsWithReference</a>, <a href="IDictionary.html#aggregateRows(org.apache.sysds.runtime.functionobjects.Builtin,int)">aggregateRows</a>, <a href="IDictionary.html#aggregateRowsWithDefault(org.apache.sysds.runtime.functionobjects.Builtin,double%5B%5D)">aggregateRowsWithDefault</a>, <a href="IDictionary.html#aggregateRowsWithReference(org.apache.sysds.runtime.functionobjects.Builtin,double%5B%5D)">aggregateRowsWithReference</a>, <a href="IDictionary.html#aggregateWithReference(double,org.apache.sysds.runtime.functionobjects.Builtin,double%5B%5D,boolean)">aggregateWithReference</a>, <a href="IDictionary.html#applyScalarOp(org.apache.sysds.runtime.matrix.operators.ScalarOperator)">applyScalarOp</a>, <a href="IDictionary.html#applyScalarOpAndAppend(org.apache.sysds.runtime.matrix.operators.ScalarOperator,double,int)">applyScalarOpAndAppend</a>, <a href="IDictionary.html#applyScalarOpWithReference(org.apache.sysds.runtime.matrix.operators.ScalarOperator,double%5B%5D,double%5B%5D)">applyScalarOpWithReference</a>, <a href="IDictionary.html#applyUnaryOp(org.apache.sysds.runtime.matrix.operators.UnaryOperator)">applyUnaryOp</a>, <a href="IDictionary.html#applyUnaryOpAndAppend(org.apache.sysds.runtime.matrix.operators.UnaryOperator,double,int)">applyUnaryOpAndAppend</a>, <a href="IDictionary.html#applyUnaryOpWithReference(org.apache.sysds.runtime.matrix.operators.UnaryOperator,double%5B%5D,double%5B%5D)">applyUnaryOpWithReference</a>, <a href="IDictionary.html#binOpLeft(org.apache.sysds.runtime.matrix.operators.BinaryOperator,double%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex)">binOpLeft</a>, <a href="IDictionary.html#binOpLeftAndAppend(org.apache.sysds.runtime.matrix.operators.BinaryOperator,double%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex)">binOpLeftAndAppend</a>, <a href="IDictionary.html#binOpLeftWithReference(org.apache.sysds.runtime.matrix.operators.BinaryOperator,double%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,double%5B%5D,double%5B%5D)">binOpLeftWithReference</a>, <a href="IDictionary.html#binOpRight(org.apache.sysds.runtime.matrix.operators.BinaryOperator,double%5B%5D)">binOpRight</a>, <a href="IDictionary.html#binOpRight(org.apache.sysds.runtime.matrix.operators.BinaryOperator,double%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex)">binOpRight</a>, <a href="IDictionary.html#binOpRightAndAppend(org.apache.sysds.runtime.matrix.operators.BinaryOperator,double%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex)">binOpRightAndAppend</a>, <a href="IDictionary.html#binOpRightWithReference(org.apache.sysds.runtime.matrix.operators.BinaryOperator,double%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,double%5B%5D,double%5B%5D)">binOpRightWithReference</a>, <a href="IDictionary.html#cbind(org.apache.sysds.runtime.compress.colgroup.dictionary.IDictionary,int)">cbind</a>, <a href="IDictionary.html#centralMoment(org.apache.sysds.runtime.instructions.cp.CM_COV_Object,org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,int)">centralMoment</a>, <a href="IDictionary.html#centralMomentWithDefault(org.apache.sysds.runtime.instructions.cp.CM_COV_Object,org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,double,int)">centralMomentWithDefault</a>, <a href="IDictionary.html#centralMomentWithReference(org.apache.sysds.runtime.instructions.cp.CM_COV_Object,org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,double,int)">centralMomentWithReference</a>, <a href="IDictionary.html#colProduct(double%5B%5D,int%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex)">colProduct</a>, <a href="IDictionary.html#colProductWithReference(double%5B%5D,int%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,double%5B%5D)">colProductWithReference</a>, <a href="IDictionary.html#colSum(double%5B%5D,int%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex)">colSum</a>, <a href="IDictionary.html#colSumSq(double%5B%5D,int%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex)">colSumSq</a>, <a href="IDictionary.html#colSumSqWithReference(double%5B%5D,int%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,double%5B%5D)">colSumSqWithReference</a>, <a href="IDictionary.html#containsValue(double)">containsValue</a>, <a href="IDictionary.html#containsValueWithReference(double,double%5B%5D)">containsValueWithReference</a>, <a href="IDictionary.html#equals(org.apache.sysds.runtime.compress.colgroup.dictionary.IDictionary)">equals</a>, <a href="IDictionary.html#getDictType()">getDictType</a>, <a href="IDictionary.html#getExactSizeOnDisk()">getExactSizeOnDisk</a>, <a href="IDictionary.html#getInMemorySize()">getInMemorySize</a>, <a href="IDictionary.html#getMBDict(int)">getMBDict</a>, <a href="IDictionary.html#getNumberNonZeros(int%5B%5D,int)">getNumberNonZeros</a>, <a href="IDictionary.html#getNumberNonZerosWithReference(int%5B%5D,double%5B%5D,int)">getNumberNonZerosWithReference</a>, <a href="IDictionary.html#getNumberOfValues(int)">getNumberOfValues</a>, <a href="IDictionary.html#getSparsity()">getSparsity</a>, <a href="IDictionary.html#getString(int)">getString</a>, <a href="IDictionary.html#getValue(int)">getValue</a>, <a href="IDictionary.html#getValue(int,int,int)">getValue</a>, <a href="IDictionary.html#getValues()">getValues</a>, <a href="IDictionary.html#MMDict(org.apache.sysds.runtime.compress.colgroup.dictionary.IDictionary,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.matrix.data.MatrixBlock)">MMDict</a>, <a href="IDictionary.html#MMDictDense(double%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.matrix.data.MatrixBlock)">MMDictDense</a>, <a href="IDictionary.html#MMDictScaling(org.apache.sysds.runtime.compress.colgroup.dictionary.IDictionary,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.matrix.data.MatrixBlock,int%5B%5D)">MMDictScaling</a>, <a href="IDictionary.html#MMDictScalingDense(double%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.matrix.data.MatrixBlock,int%5B%5D)">MMDictScalingDense</a>, <a href="IDictionary.html#MMDictScalingSparse(org.apache.sysds.runtime.data.SparseBlock,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.matrix.data.MatrixBlock,int%5B%5D)">MMDictScalingSparse</a>, <a href="IDictionary.html#MMDictSparse(org.apache.sysds.runtime.data.SparseBlock,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.matrix.data.MatrixBlock)">MMDictSparse</a>, <a href="IDictionary.html#multiplyScalar(double,double%5B%5D,int,int,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex)">multiplyScalar</a>, <a href="IDictionary.html#preaggValuesFromDense(int,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,double%5B%5D,int)">preaggValuesFromDense</a>, <a href="IDictionary.html#product(double%5B%5D,int%5B%5D,int)">product</a>, <a href="IDictionary.html#productAllRowsToDouble(int)">productAllRowsToDouble</a>, <a href="IDictionary.html#productAllRowsToDoubleWithDefault(double%5B%5D)">productAllRowsToDoubleWithDefault</a>, <a href="IDictionary.html#productAllRowsToDoubleWithReference(double%5B%5D)">productAllRowsToDoubleWithReference</a>, <a href="IDictionary.html#productWithDefault(double%5B%5D,int%5B%5D,double%5B%5D,int)">productWithDefault</a>, <a href="IDictionary.html#productWithReference(double%5B%5D,int%5B%5D,double%5B%5D,int)">productWithReference</a>, <a href="IDictionary.html#reorder(int%5B%5D)">reorder</a>, <a href="IDictionary.html#replace(double,double,int)">replace</a>, <a href="IDictionary.html#replaceWithReference(double,double,double%5B%5D)">replaceWithReference</a>, <a href="IDictionary.html#rexpandCols(int,boolean,boolean,int)">rexpandCols</a>, <a href="IDictionary.html#rexpandColsWithReference(int,boolean,boolean,int)">rexpandColsWithReference</a>, <a href="IDictionary.html#scaleTuples(int%5B%5D,int)">scaleTuples</a>, <a href="IDictionary.html#sliceOutColumnRange(int,int,int)">sliceOutColumnRange</a>, <a href="IDictionary.html#subtractTuple(double%5B%5D)">subtractTuple</a>, <a href="IDictionary.html#sum(int%5B%5D,int)">sum</a>, <a href="IDictionary.html#sumAllRowsToDouble(int)">sumAllRowsToDouble</a>, <a href="IDictionary.html#sumAllRowsToDoubleSq(int)">sumAllRowsToDoubleSq</a>, <a href="IDictionary.html#sumAllRowsToDoubleSqWithDefault(double%5B%5D)">sumAllRowsToDoubleSqWithDefault</a>, <a href="IDictionary.html#sumAllRowsToDoubleSqWithReference(double%5B%5D)">sumAllRowsToDoubleSqWithReference</a>, <a href="IDictionary.html#sumAllRowsToDoubleWithDefault(double%5B%5D)">sumAllRowsToDoubleWithDefault</a>, <a href="IDictionary.html#sumAllRowsToDoubleWithReference(double%5B%5D)">sumAllRowsToDoubleWithReference</a>, <a href="IDictionary.html#sumSq(int%5B%5D,int)">sumSq</a>, <a href="IDictionary.html#sumSqWithReference(int%5B%5D,double%5B%5D)">sumSqWithReference</a>, <a href="IDictionary.html#TSMMToUpperTriangle(org.apache.sysds.runtime.compress.colgroup.dictionary.IDictionary,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.matrix.data.MatrixBlock)">TSMMToUpperTriangle</a>, <a href="IDictionary.html#TSMMToUpperTriangleDense(double%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.matrix.data.MatrixBlock)">TSMMToUpperTriangleDense</a>, <a href="IDictionary.html#TSMMToUpperTriangleDenseScaling(double%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,int%5B%5D,org.apache.sysds.runtime.matrix.data.MatrixBlock)">TSMMToUpperTriangleDenseScaling</a>, <a href="IDictionary.html#TSMMToUpperTriangleScaling(org.apache.sysds.runtime.compress.colgroup.dictionary.IDictionary,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,int%5B%5D,org.apache.sysds.runtime.matrix.data.MatrixBlock)">TSMMToUpperTriangleScaling</a>, <a href="IDictionary.html#TSMMToUpperTriangleSparse(org.apache.sysds.runtime.data.SparseBlock,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.matrix.data.MatrixBlock)">TSMMToUpperTriangleSparse</a>, <a href="IDictionary.html#TSMMToUpperTriangleSparseScaling(org.apache.sysds.runtime.data.SparseBlock,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,int%5B%5D,org.apache.sysds.runtime.matrix.data.MatrixBlock)">TSMMToUpperTriangleSparseScaling</a>, <a href="IDictionary.html#TSMMWithScaling(int%5B%5D,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex,org.apache.sysds.runtime.matrix.data.MatrixBlock)">TSMMWithScaling</a>, <a href="IDictionary.html#write(java.io.DataOutput)">write</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ADictionary</h4>
<pre>public&nbsp;ADictionary()</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="clone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre class="methodSignature">public abstract&nbsp;<a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a>&nbsp;clone()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="IDictionary.html#clone()">IDictionary</a></code></span></div>
<div class="block">Returns a deep clone of the dictionary.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IDictionary.html#clone()">clone</a></code>&nbsp;in interface&nbsp;<code><a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A deep clone</dd>
</dl>
</li>
</ul>
<a id="centralMoment(org.apache.sysds.runtime.functionobjects.ValueFunction,int[],int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>centralMoment</h4>
<pre class="methodSignature">public final&nbsp;<a href="../../../instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a>&nbsp;centralMoment&#8203;(<a href="../../../functionobjects/ValueFunction.html" title="class in org.apache.sysds.runtime.functionobjects">ValueFunction</a>&nbsp;fn,
int[]&nbsp;counts,
int&nbsp;nRows)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="IDictionary.html#centralMoment(org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,int)">IDictionary</a></code></span></div>
<div class="block">Central moment function to calculate the central moment of this column group. MUST be on a single column
dictionary.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IDictionary.html#centralMoment(org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,int)">centralMoment</a></code>&nbsp;in interface&nbsp;<code><a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fn</code> - The value function to apply</dd>
<dd><code>counts</code> - The weight of individual tuples</dd>
<dd><code>nRows</code> - The number of rows in total of the column group</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The central moment Object</dd>
</dl>
</li>
</ul>
<a id="centralMomentWithDefault(org.apache.sysds.runtime.functionobjects.ValueFunction,int[],double,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>centralMomentWithDefault</h4>
<pre class="methodSignature">public final&nbsp;<a href="../../../instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a>&nbsp;centralMomentWithDefault&#8203;(<a href="../../../functionobjects/ValueFunction.html" title="class in org.apache.sysds.runtime.functionobjects">ValueFunction</a>&nbsp;fn,
int[]&nbsp;counts,
double&nbsp;def,
int&nbsp;nRows)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="IDictionary.html#centralMomentWithDefault(org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,double,int)">IDictionary</a></code></span></div>
<div class="block">Central moment function to calculate the central moment of this column group with a default offset on all missing
tuples. MUST be on a single column dictionary.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IDictionary.html#centralMomentWithDefault(org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,double,int)">centralMomentWithDefault</a></code>&nbsp;in interface&nbsp;<code><a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fn</code> - The value function to apply</dd>
<dd><code>counts</code> - The weight of individual tuples</dd>
<dd><code>def</code> - The default values to offset the tuples with</dd>
<dd><code>nRows</code> - The number of rows in total of the column group</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The central moment Object</dd>
</dl>
</li>
</ul>
<a id="centralMomentWithReference(org.apache.sysds.runtime.functionobjects.ValueFunction,int[],double,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>centralMomentWithReference</h4>
<pre class="methodSignature">public final&nbsp;<a href="../../../instructions/cp/CM_COV_Object.html" title="class in org.apache.sysds.runtime.instructions.cp">CM_COV_Object</a>&nbsp;centralMomentWithReference&#8203;(<a href="../../../functionobjects/ValueFunction.html" title="class in org.apache.sysds.runtime.functionobjects">ValueFunction</a>&nbsp;fn,
int[]&nbsp;counts,
double&nbsp;reference,
int&nbsp;nRows)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="IDictionary.html#centralMomentWithReference(org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,double,int)">IDictionary</a></code></span></div>
<div class="block">Central moment function to calculate the central moment of this column group with a reference offset on each
tuple. MUST be on a single column dictionary.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IDictionary.html#centralMomentWithReference(org.apache.sysds.runtime.functionobjects.ValueFunction,int%5B%5D,double,int)">centralMomentWithReference</a></code>&nbsp;in interface&nbsp;<code><a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fn</code> - The value function to apply</dd>
<dd><code>counts</code> - The weight of individual tuples</dd>
<dd><code>reference</code> - The reference values to offset the tuples with</dd>
<dd><code>nRows</code> - The number of rows in total of the column group</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The central moment Object</dd>
</dl>
</li>
</ul>
<a id="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre class="methodSignature">public final&nbsp;boolean&nbsp;equals&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="IDictionary.html#equals(java.lang.Object)">IDictionary</a></code></span></div>
<div class="block">Indicate if this object is equal to another this takes into part sematic equivalence</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IDictionary.html#equals(java.lang.Object)">equals</a></code>&nbsp;in interface&nbsp;<code><a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>o</code> - The other object</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>If they are equal</dd>
</dl>
</li>
</ul>
<a id="equals(double[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre class="methodSignature">public final&nbsp;boolean&nbsp;equals&#8203;(double[]&nbsp;v)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="IDictionary.html#equals(double%5B%5D)">IDictionary</a></code></span></div>
<div class="block">Indicate if this object is equal to the given array of doubles.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IDictionary.html#equals(double%5B%5D)">equals</a></code>&nbsp;in interface&nbsp;<code><a href="IDictionary.html" title="interface in org.apache.sysds.runtime.compress.colgroup.dictionary">IDictionary</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>v</code> - The list of double values</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>If they are equal to this.</dd>
</dl>
</li>
</ul>
<a id="doubleToString(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doubleToString</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;doubleToString&#8203;(double&nbsp;v)</pre>
<div class="block">Make a double into a string, if the double is a whole number then return it without decimal points</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>v</code> - The value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The string</dd>
</dl>
</li>
</ul>
<a id="correctNan(double[],org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>correctNan</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;correctNan&#8203;(double[]&nbsp;res,
<a href="../indexes/IColIndex.html" title="interface in org.apache.sysds.runtime.compress.colgroup.indexes">IColIndex</a>&nbsp;colIndexes)</pre>
<div class="block">Correct Nan Values in an result. If there are any NaN values in the given Res then they are replaced with 0.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>res</code> - The array to correct</dd>
<dd><code>colIndexes</code> - The column indexes.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ADictionary.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" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses.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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2024 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>