blob: 1d514dc52a3d4622afd64cb93b1fcbc54ad2b130 [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>
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(72949126, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/72949126" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<script type='text/javascript'>
window.__lo_site_id = 284467;
(function() {
var wa = document.createElement('script'); wa.type = 'text/javascript'; wa.async = true;
wa.src = 'https://d10lpsik1i8c69.cloudfront.net/w.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wa, s);
})();
</script>
<link rel="canonical" href="https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html" />
<!-- Generated by javadoc (1.8.0_261) on Wed Dec 09 14:33:11 MSK 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AbstractMatrix (Ignite 2.9.1)</title>
<meta name="date" content="2020-12-09">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
<link rel='shortcut icon' href='https://ignite.apache.org/favicon.ico'/>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script></head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractMatrix (Ignite 2.9.1)";
}
}
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":10,"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":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10};
var tabs = {65535:["t0","All 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/AbstractMatrix.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>Prev&nbsp;Class</li>
<li><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/LUDecomposition.html" title="class in org.apache.ignite.ml.math.primitives.matrix"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html" target="_top">Frames</a></li>
<li><a href="AbstractMatrix.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>Nested&nbsp;|&nbsp;</li>
<li>Field&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 name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.ignite.ml.math.primitives.matrix</div>
<h2 title="Class AbstractMatrix" class="title">Class AbstractMatrix</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>org.apache.ignite.ml.math.primitives.matrix.AbstractMatrix</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="../../../../../../../org/apache/ignite/ml/math/Destroyable.html" title="interface in org.apache.ignite.ml.math">Destroyable</a>, <a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html" title="interface in org.apache.ignite.ml.math">MetaAttributes</a>, <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>, <a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html" title="interface in org.apache.ignite.ml.math">StorageOpsMetrics</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/impl/DenseMatrix.html" title="class in org.apache.ignite.ml.math.primitives.matrix.impl">DenseMatrix</a>, <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/impl/SparseMatrix.html" title="class in org.apache.ignite.ml.math.primitives.matrix.impl">SparseMatrix</a>, <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/impl/ViewMatrix.html" title="class in org.apache.ignite.ml.math.primitives.matrix.impl">ViewMatrix</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractMatrix</span>
extends <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>
implements <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></pre>
<div class="block">This class provides a helper implementation of the <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix"><code>Matrix</code></a>
interface to minimize the effort required to implement it.
Subclasses may override some of the implemented methods if a more
specific or optimized implementation is desirable.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../serialized-form.html#org.apache.ignite.ml.math.primitives.matrix.AbstractMatrix">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>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.ignite.ml.math.primitives.matrix.Matrix">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.ignite.ml.math.primitives.matrix.<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></h3>
<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.Element.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix.Element</a></code></li>
</ul>
</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/ignite/ml/math/primitives/matrix/AbstractMatrix.html#AbstractMatrix--">AbstractMatrix</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#AbstractMatrix-org.apache.ignite.ml.math.primitives.matrix.MatrixStorage-">AbstractMatrix</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/MatrixStorage.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">MatrixStorage</a>&nbsp;sto)</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="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="https://docs.oracle.com/javase/8/docs/api/java/util/Spliterator.html?is-external=true" title="class or interface in java.util">Spliterator</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#allSpliterator--">allSpliterator</a></span>()</code>
<div class="block">Gets spliterator for all values in this matrix.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#assign-double-">assign</a></span>(double&nbsp;val)</code>
<div class="block">Assigns given value to all elements of this matrix.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#assign-double:A:A-">assign</a></span>(double[][]&nbsp;vals)</code>
<div class="block">Assigns given values to this matrix.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#assign-org.apache.ignite.ml.math.functions.IntIntToDoubleFunction-">assign</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/functions/IntIntToDoubleFunction.html" title="interface in org.apache.ignite.ml.math.functions">IntIntToDoubleFunction</a>&nbsp;fun)</code>
<div class="block">Assigns each matrix element to the value generated by given function.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#assign-org.apache.ignite.ml.math.primitives.matrix.Matrix-">assign</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;mtx)</code>
<div class="block">Assigns values from given matrix to this matrix.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#assignColumn-int-org.apache.ignite.ml.math.primitives.vector.Vector-">assignColumn</a></span>(int&nbsp;col,
<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;vec)</code>
<div class="block">Assigns values from given vector to the specified column in this matrix.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#assignRow-int-org.apache.ignite.ml.math.primitives.vector.Vector-">assignRow</a></span>(int&nbsp;row,
<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;vec)</code>
<div class="block">Assigns values from given vector to the specified row in this matrix.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#columnSize--">columnSize</a></span>()</code>
<div class="block">Gets number of columns in this matrix.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#compute-int-int-org.apache.ignite.ml.math.functions.IgniteTriFunction-">compute</a></span>(int&nbsp;row,
int&nbsp;col,
<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteTriFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteTriFunction</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;f)</code>
<div class="block">Replace matrix entry with value oldVal at (row, col) with result of computing f(row, col, oldVal).</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#copy--">copy</a></span>()</code>
<div class="block">Clones this matrix.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#density-double-">density</a></span>(double&nbsp;threshold)</code>
<div class="block">Calculates the density of the matrix based on supplied criteria.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#destroy--">destroy</a></span>()</code>
<div class="block">Destroys object if managed outside of JVM.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#determinant--">determinant</a></span>()</code>
<div class="block">Returns matrix determinant using Laplace theorem.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#divide-double-">divide</a></span>(double&nbsp;d)</code>
<div class="block">Divides each value in this matrix by the argument.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.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;o)</code>
<div class="block">
We ignore guid's for comparisons.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#foldColumns-org.apache.ignite.ml.math.functions.IgniteFunction-">foldColumns</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;fun)</code>
<div class="block">Collects the results of applying a given function to all columns in this matrix.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><span class='angle_bracket'>&lt;</span>T<span class='angle_bracket'>&gt;</span>&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#foldMap-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-T-">foldMap</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span>T,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>,T<span class='angle_bracket'>&gt;</span>&nbsp;foldFun,
<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteDoubleFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteDoubleFunction</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;mapFun,
T&nbsp;zeroVal)</code>
<div class="block">Folds this matrix into a single value.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#foldRows-org.apache.ignite.ml.math.functions.IgniteFunction-">foldRows</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;fun)</code>
<div class="block">Collects the results of applying a given function to all rows in this matrix.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#get-int-int-">get</a></span>(int&nbsp;row,
int&nbsp;col)</code>
<div class="block">Gets the matrix value at the provided location.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#getCol-int-">getCol</a></span>(int&nbsp;col)</code>
<div class="block">Get a specific row from matrix.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.Element.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix.Element</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#getElement-int-int-">getElement</a></span>(int&nbsp;row,
int&nbsp;col)</code>
<div class="block">Gets the matrix's element at the given coordinates.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'>&lt;</span><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>,<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><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#getMetaStorage--">getMetaStorage</a></span>()</code>
<div class="block">Implementation should return an instance of the map to store meta attributes.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#getRow-int-">getRow</a></span>(int&nbsp;row)</code>
<div class="block">Get a specific row from matrix.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/MatrixStorage.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">MatrixStorage</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#getStorage--">getStorage</a></span>()</code>
<div class="block">Gets matrix storage model.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#getX-int-int-">getX</a></span>(int&nbsp;row,
int&nbsp;col)</code>
<div class="block">Gets the matrix value at the provided location without checking boundaries.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/lang/IgniteUuid.html" title="class in org.apache.ignite.lang">IgniteUuid</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#guid--">guid</a></span>()</code>
<div class="block">Auto-generated globally unique matrix ID.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#hashCode--">hashCode</a></span>()</code></td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#inverse--">inverse</a></span>()</code>
<div class="block">Returns the inverse matrix of this matrix</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#isArrayBased--">isArrayBased</a></span>()</code>
<div class="block">Checks if implementation is based on Java arrays.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#isDense--">isDense</a></span>()</code>
<div class="block">Checks if this implementation should be considered dense so that it explicitly
represents every value.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#likeIdentity--">likeIdentity</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#map-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-">map</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteDoubleFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteDoubleFunction</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;fun)</code>
<div class="block">Maps all values in this matrix through a given function.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#map-org.apache.ignite.ml.math.primitives.matrix.Matrix-org.apache.ignite.ml.math.functions.IgniteBiFunction-">map</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;mtx,
<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;fun)</code>
<div class="block">Maps all values in this matrix through a given function.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.Element.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix.Element</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#maxElement--">maxElement</a></span>()</code>
<div class="block">Gets the maximum element in this matrix.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#maxValue--">maxValue</a></span>()</code>
<div class="block">Gets the maximum value in this matrix.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.Element.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix.Element</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#minElement--">minElement</a></span>()</code>
<div class="block">Gets the minimum element in this matrix.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#minus-org.apache.ignite.ml.math.primitives.matrix.Matrix-">minus</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;mtx)</code>
<div class="block">Creates new matrix where each value is a difference between corresponding value of this matrix and
passed in argument matrix.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#minValue--">minValue</a></span>()</code>
<div class="block">Gets the minimum value in this matrix.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#nonZeroElements--">nonZeroElements</a></span>()</code>
<div class="block">Gets number of non-zero elements in this matrix.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Spliterator.html?is-external=true" title="class or interface in java.util">Spliterator</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#nonZeroSpliterator--">nonZeroSpliterator</a></span>()</code>
<div class="block">Gets spliterator for all non-zero values in this matrix.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#plus-double-">plus</a></span>(double&nbsp;x)</code>
<div class="block">Creates new matrix where each value is a sum of the corresponding value of this matrix and
argument value.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#plus-org.apache.ignite.ml.math.primitives.matrix.Matrix-">plus</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;mtx)</code>
<div class="block">Creates new matrix where each value is a sum of corresponding values of this matrix and
passed in argument matrix.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.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;in)</code></td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#rowSize--">rowSize</a></span>()</code>
<div class="block">Gets number of rows in this matrix.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#set-int-int-double-">set</a></span>(int&nbsp;row,
int&nbsp;col,
double&nbsp;val)</code>
<div class="block">Sets given value.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#setColumn-int-double:A-">setColumn</a></span>(int&nbsp;col,
double[]&nbsp;data)</code>
<div class="block">Sets values for given column.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#setRow-int-double:A-">setRow</a></span>(int&nbsp;row,
double[]&nbsp;data)</code>
<div class="block">Sets values for given row.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#setStorage-org.apache.ignite.ml.math.primitives.matrix.MatrixStorage-">setStorage</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/MatrixStorage.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">MatrixStorage</a>&nbsp;sto)</code>&nbsp;</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#setX-int-int-double-">setX</a></span>(int&nbsp;row,
int&nbsp;col,
double&nbsp;val)</code>
<div class="block">Sets given value without checking for index bounds.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#storageGet-int-int-">storageGet</a></span>(int&nbsp;row,
int&nbsp;col)</code>&nbsp;</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#storageSet-int-int-double-">storageSet</a></span>(int&nbsp;row,
int&nbsp;col,
double&nbsp;v)</code>&nbsp;</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#sum--">sum</a></span>()</code>
<div class="block">Gets sum of all elements in the matrix.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#swapColumns-int-int-">swapColumns</a></span>(int&nbsp;col1,
int&nbsp;col2)</code>
<div class="block">Swaps two columns in this matrix.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#swapRows-int-int-">swapRows</a></span>(int&nbsp;row1,
int&nbsp;row2)</code>
<div class="block">Swaps two rows in this matrix.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#times-double-">times</a></span>(double&nbsp;x)</code>
<div class="block">Creates new matrix containing the product of given value and values in this matrix.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#times-org.apache.ignite.ml.math.primitives.matrix.Matrix-">times</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;mtx)</code>
<div class="block">Creates new matrix that is the product of multiplying this matrix and the argument matrix.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#times-org.apache.ignite.ml.math.primitives.vector.Vector-">times</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;vec)</code>
<div class="block">Creates new matrix that is the product of multiplying this matrix and the argument vector.</div>
</td>
</tr>
<tr id="i57" 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/ignite/ml/math/primitives/matrix/AbstractMatrix.html#toString--">toString</a></span>()</code></td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#transpose--">transpose</a></span>()</code>
<div class="block">Creates new matrix that is transpose of this matrix.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#viewColumn-int-">viewColumn</a></span>(int&nbsp;col)</code>
<div class="block">Creates new view into matrix column .</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#viewDiagonal--">viewDiagonal</a></span>()</code>
<div class="block">Creates new view into matrix diagonal.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html#viewRow-int-">viewRow</a></span>(int&nbsp;row)</code>
<div class="block">Creates new view into matrix row.</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.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;out)</code></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#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <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>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.ignite.ml.math.primitives.matrix.Matrix">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.ignite.ml.math.primitives.matrix.<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></h3>
<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#isNumeric--">isNumeric</a>, <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#like-int-int-">like</a>, <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#likeVector-int-">likeVector</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.ignite.ml.math.MetaAttributes">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.ignite.ml.math.<a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html" title="interface in org.apache.ignite.ml.math">MetaAttributes</a></h3>
<code><a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html#getAttribute-java.lang.String-">getAttribute</a>, <a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html#hasAttribute-java.lang.String-">hasAttribute</a>, <a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html#removeAttribute-java.lang.String-">removeAttribute</a>, <a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html#setAttribute-java.lang.String-T-">setAttribute</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractMatrix-org.apache.ignite.ml.math.primitives.matrix.MatrixStorage-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AbstractMatrix</h4>
<pre>public&nbsp;AbstractMatrix(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/MatrixStorage.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">MatrixStorage</a>&nbsp;sto)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sto</code> - Backing <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/MatrixStorage.html" title="interface in org.apache.ignite.ml.math.primitives.matrix"><code>MatrixStorage</code></a>.</dd>
</dl>
</li>
</ul>
<a name="AbstractMatrix--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractMatrix</h4>
<pre>public&nbsp;AbstractMatrix()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setStorage-org.apache.ignite.ml.math.primitives.matrix.MatrixStorage-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStorage</h4>
<pre>protected&nbsp;void&nbsp;setStorage(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/MatrixStorage.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">MatrixStorage</a>&nbsp;sto)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sto</code> - Backing <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/MatrixStorage.html" title="interface in org.apache.ignite.ml.math.primitives.matrix"><code>MatrixStorage</code></a>.</dd>
</dl>
</li>
</ul>
<a name="storageSet-int-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>storageSet</h4>
<pre>protected&nbsp;void&nbsp;storageSet(int&nbsp;row,
int&nbsp;col,
double&nbsp;v)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row index in the matrix.</dd>
<dd><code>col</code> - Column index in the matrix.</dd>
<dd><code>v</code> - Value to set.</dd>
</dl>
</li>
</ul>
<a name="storageGet-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>storageGet</h4>
<pre>protected&nbsp;double&nbsp;storageGet(int&nbsp;row,
int&nbsp;col)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row index in the matrix.</dd>
<dd><code>col</code> - Column index in the matrix.</dd>
</dl>
</li>
</ul>
<a name="maxElement--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maxElement</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.Element.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix.Element</a>&nbsp;maxElement()</pre>
<div class="block">Gets the maximum element in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#maxElement--">maxElement</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Maximum element in this matrix.</dd>
</dl>
</li>
</ul>
<a name="minElement--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minElement</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.Element.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix.Element</a>&nbsp;minElement()</pre>
<div class="block">Gets the minimum element in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#minElement--">minElement</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Minimum element in this matrix.</dd>
</dl>
</li>
</ul>
<a name="maxValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maxValue</h4>
<pre>public&nbsp;double&nbsp;maxValue()</pre>
<div class="block">Gets the maximum value in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#maxValue--">maxValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Maximum value in this matrix.</dd>
</dl>
</li>
</ul>
<a name="minValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minValue</h4>
<pre>public&nbsp;double&nbsp;minValue()</pre>
<div class="block">Gets the minimum value in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#minValue--">minValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Minimum value in this matrix.</dd>
</dl>
</li>
</ul>
<a name="getElement-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getElement</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.Element.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix.Element</a>&nbsp;getElement(int&nbsp;row,
int&nbsp;col)</pre>
<div class="block">Gets the matrix's element at the given coordinates.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#getElement-int-int-">getElement</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row index.</dd>
<dd><code>col</code> - Column index.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Element at the given coordinates.</dd>
</dl>
</li>
</ul>
<a name="swapRows-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>swapRows</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;swapRows(int&nbsp;row1,
int&nbsp;row2)</pre>
<div class="block">Swaps two rows in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#swapRows-int-int-">swapRows</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row1</code> - Row #1.</dd>
<dd><code>row2</code> - Row #2.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="swapColumns-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>swapColumns</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;swapColumns(int&nbsp;col1,
int&nbsp;col2)</pre>
<div class="block">Swaps two columns in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#swapColumns-int-int-">swapColumns</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>col1</code> - Column #1.</dd>
<dd><code>col2</code> - Column #2.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="getStorage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStorage</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/MatrixStorage.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">MatrixStorage</a>&nbsp;getStorage()</pre>
<div class="block">Gets matrix storage model.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#getStorage--">getStorage</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
</dl>
</li>
</ul>
<a name="isDense--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDense</h4>
<pre>public&nbsp;boolean&nbsp;isDense()</pre>
<div class="block">Checks if this implementation should be considered dense so that it explicitly
represents every value.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html#isDense--">isDense</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html" title="interface in org.apache.ignite.ml.math">StorageOpsMetrics</a></code></dd>
</dl>
</li>
</ul>
<a name="isArrayBased--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isArrayBased</h4>
<pre>public&nbsp;boolean&nbsp;isArrayBased()</pre>
<div class="block">Checks if implementation is based on Java arrays.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html#isArrayBased--">isArrayBased</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html" title="interface in org.apache.ignite.ml.math">StorageOpsMetrics</a></code></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;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><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="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="getMetaStorage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMetaStorage</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'>&lt;</span><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>,<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><span class='angle_bracket'>&gt;</span>&nbsp;getMetaStorage()</pre>
<div class="block">Implementation should return an instance of the map to store meta attributes.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html#getMetaStorage--">getMetaStorage</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html" title="interface in org.apache.ignite.ml.math">MetaAttributes</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;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>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
<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="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>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code></dd>
</dl>
</li>
</ul>
<a name="assign-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;assign(double&nbsp;val)</pre>
<div class="block">Assigns given value to all elements of this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#assign-double-">assign</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - Value to assign to all elements.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="assign-org.apache.ignite.ml.math.functions.IntIntToDoubleFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;assign(<a href="../../../../../../../org/apache/ignite/ml/math/functions/IntIntToDoubleFunction.html" title="interface in org.apache.ignite.ml.math.functions">IntIntToDoubleFunction</a>&nbsp;fun)</pre>
<div class="block">Assigns each matrix element to the value generated by given function.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#assign-org.apache.ignite.ml.math.functions.IntIntToDoubleFunction-">assign</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fun</code> - Function that takes the row and column and returns the value to assign.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="assign-double:A:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;assign(double[][]&nbsp;vals)</pre>
<div class="block">Assigns given values to this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#assign-double:A:A-">assign</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>vals</code> - Values to assign.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="assign-org.apache.ignite.ml.math.primitives.matrix.Matrix-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;assign(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;mtx)</pre>
<div class="block">Assigns values from given matrix to this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#assign-org.apache.ignite.ml.math.primitives.matrix.Matrix-">assign</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mtx</code> - Matrix to assign to this matrix.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="map-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>map</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;map(<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteDoubleFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteDoubleFunction</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;fun)</pre>
<div class="block">Maps all values in this matrix through a given function.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#map-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-">map</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fun</code> - Mapping function.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="map-org.apache.ignite.ml.math.primitives.matrix.Matrix-org.apache.ignite.ml.math.functions.IgniteBiFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>map</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;map(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;mtx,
<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;fun)</pre>
<div class="block">Maps all values in this matrix through a given function.
<p>
For this matrix <code>A</code>, argument matrix <code>B</code> and the
function <code>F</code> this method maps every cell <code>x, y</code> as:
<code>A(x,y) = fun(A(x,y), B(x,y))</code>.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#map-org.apache.ignite.ml.math.primitives.matrix.Matrix-org.apache.ignite.ml.math.functions.IgniteBiFunction-">map</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mtx</code> - Argument matrix.</dd>
<dd><code>fun</code> - Mapping function.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This function.</dd>
</dl>
</li>
</ul>
<a name="allSpliterator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allSpliterator</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Spliterator.html?is-external=true" title="class or interface in java.util">Spliterator</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;allSpliterator()</pre>
<div class="block">Gets spliterator for all values in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#allSpliterator--">allSpliterator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Spliterator for all values.</dd>
</dl>
</li>
</ul>
<a name="nonZeroElements--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nonZeroElements</h4>
<pre>public&nbsp;int&nbsp;nonZeroElements()</pre>
<div class="block">Gets number of non-zero elements in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#nonZeroElements--">nonZeroElements</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Number of non-zero elements in this matrix.</dd>
</dl>
</li>
</ul>
<a name="nonZeroSpliterator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nonZeroSpliterator</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Spliterator.html?is-external=true" title="class or interface in java.util">Spliterator</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;nonZeroSpliterator()</pre>
<div class="block">Gets spliterator for all non-zero values in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#nonZeroSpliterator--">nonZeroSpliterator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Spliterator for all non-zero values.</dd>
</dl>
</li>
</ul>
<a name="assignColumn-int-org.apache.ignite.ml.math.primitives.vector.Vector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignColumn</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;assignColumn(int&nbsp;col,
<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;vec)</pre>
<div class="block">Assigns values from given vector to the specified column in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#assignColumn-int-org.apache.ignite.ml.math.primitives.vector.Vector-">assignColumn</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>col</code> - Column index.</dd>
<dd><code>vec</code> - Vector to get values from.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="assignRow-int-org.apache.ignite.ml.math.primitives.vector.Vector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignRow</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;assignRow(int&nbsp;row,
<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;vec)</pre>
<div class="block">Assigns values from given vector to the specified row in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#assignRow-int-org.apache.ignite.ml.math.primitives.vector.Vector-">assignRow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row index.</dd>
<dd><code>vec</code> - Vector to get values from.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="foldRows-org.apache.ignite.ml.math.functions.IgniteFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>foldRows</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;foldRows(<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;fun)</pre>
<div class="block">Collects the results of applying a given function to all rows in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#foldRows-org.apache.ignite.ml.math.functions.IgniteFunction-">foldRows</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fun</code> - Aggregating function.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Vector of row aggregates.</dd>
</dl>
</li>
</ul>
<a name="foldColumns-org.apache.ignite.ml.math.functions.IgniteFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>foldColumns</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;foldColumns(<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteFunction</a><span class='angle_bracket'>&lt;</span><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;fun)</pre>
<div class="block">Collects the results of applying a given function to all columns in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#foldColumns-org.apache.ignite.ml.math.functions.IgniteFunction-">foldColumns</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fun</code> - Aggregating function.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Vector of column aggregates.</dd>
</dl>
</li>
</ul>
<a name="foldMap-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-java.lang.Object-">
<!-- -->
</a><a name="foldMap-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>foldMap</h4>
<pre>public&nbsp;<span class='angle_bracket'>&lt;</span>T<span class='angle_bracket'>&gt;</span>&nbsp;T&nbsp;foldMap(<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'>&lt;</span>T,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>,T<span class='angle_bracket'>&gt;</span>&nbsp;foldFun,
<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteDoubleFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteDoubleFunction</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;mapFun,
T&nbsp;zeroVal)</pre>
<div class="block">Folds this matrix into a single value.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#foldMap-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-T-">foldMap</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - Type of the folded value.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>foldFun</code> - Folding function that takes two parameters: accumulator and the current value.</dd>
<dd><code>mapFun</code> - Mapping function that is called on each matrix cell before its passed to the accumulator (as its
second parameter).</dd>
<dd><code>zeroVal</code> - Zero value for fold function.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Folded value of this matrix.</dd>
</dl>
</li>
</ul>
<a name="columnSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>columnSize</h4>
<pre>public&nbsp;int&nbsp;columnSize()</pre>
<div class="block">Gets number of columns in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#columnSize--">columnSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The number of columns in this matrix.</dd>
</dl>
</li>
</ul>
<a name="rowSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rowSize</h4>
<pre>public&nbsp;int&nbsp;rowSize()</pre>
<div class="block">Gets number of rows in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#rowSize--">rowSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The number of rows in this matrix.</dd>
</dl>
</li>
</ul>
<a name="divide-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>divide</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;divide(double&nbsp;d)</pre>
<div class="block">Divides each value in this matrix by the argument.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#divide-double-">divide</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>d</code> - Divider value.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="get-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;double&nbsp;get(int&nbsp;row,
int&nbsp;col)</pre>
<div class="block">Gets the matrix value at the provided location.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#get-int-int-">get</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row index.</dd>
<dd><code>col</code> - Column index.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Matrix value.</dd>
</dl>
</li>
</ul>
<a name="getX-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getX</h4>
<pre>public&nbsp;double&nbsp;getX(int&nbsp;row,
int&nbsp;col)</pre>
<div class="block">Gets the matrix value at the provided location without checking boundaries.
This method is marginally quicker than its <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#get-int-int-"><code>Matrix.get(int, int)</code></a> sibling.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#getX-int-int-">getX</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row index.</dd>
<dd><code>col</code> - Column index.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Matrix value.</dd>
</dl>
</li>
</ul>
<a name="minus-org.apache.ignite.ml.math.primitives.matrix.Matrix-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minus</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;minus(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;mtx)</pre>
<div class="block">Creates new matrix where each value is a difference between corresponding value of this matrix and
passed in argument matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#minus-org.apache.ignite.ml.math.primitives.matrix.Matrix-">minus</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mtx</code> - Argument matrix.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New matrix of the same underlying class and size.</dd>
</dl>
</li>
</ul>
<a name="plus-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plus</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;plus(double&nbsp;x)</pre>
<div class="block">Creates new matrix where each value is a sum of the corresponding value of this matrix and
argument value.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#plus-double-">plus</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - Value to add.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New matrix of the same underlying class and size.</dd>
</dl>
</li>
</ul>
<a name="plus-org.apache.ignite.ml.math.primitives.matrix.Matrix-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plus</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;plus(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;mtx)</pre>
<div class="block">Creates new matrix where each value is a sum of corresponding values of this matrix and
passed in argument matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#plus-org.apache.ignite.ml.math.primitives.matrix.Matrix-">plus</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mtx</code> - Argument matrix.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New matrix of the same underlying class and size.</dd>
</dl>
</li>
</ul>
<a name="guid--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>guid</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/lang/IgniteUuid.html" title="class in org.apache.ignite.lang">IgniteUuid</a>&nbsp;guid()</pre>
<div class="block">Auto-generated globally unique matrix ID.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#guid--">guid</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Matrix GUID.</dd>
</dl>
</li>
</ul>
<a name="set-int-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;set(int&nbsp;row,
int&nbsp;col,
double&nbsp;val)</pre>
<div class="block">Sets given value.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#set-int-int-double-">set</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row index.</dd>
<dd><code>col</code> - Column index.</dd>
<dd><code>val</code> - Value to set.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="setRow-int-double:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRow</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;setRow(int&nbsp;row,
double[]&nbsp;data)</pre>
<div class="block">Sets values for given row.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#setRow-int-double:A-">setRow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row index.</dd>
<dd><code>data</code> - Row data to set.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="getRow-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRow</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;getRow(int&nbsp;row)</pre>
<div class="block">Get a specific row from matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#getRow-int-">getRow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row index.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>row.</dd>
</dl>
</li>
</ul>
<a name="setColumn-int-double:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setColumn</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;setColumn(int&nbsp;col,
double[]&nbsp;data)</pre>
<div class="block">Sets values for given column.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#setColumn-int-double:A-">setColumn</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>col</code> - Column index.</dd>
<dd><code>data</code> - Column data to set.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="getCol-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCol</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;getCol(int&nbsp;col)</pre>
<div class="block">Get a specific row from matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#getCol-int-">getCol</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>col</code> - Col index.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Col.</dd>
</dl>
</li>
</ul>
<a name="setX-int-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setX</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;setX(int&nbsp;row,
int&nbsp;col,
double&nbsp;val)</pre>
<div class="block">Sets given value without checking for index bounds. This method is marginally faster
than its <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#set-int-int-double-"><code>Matrix.set(int, int, double)</code></a> sibling.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#setX-int-int-double-">setX</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row index.</dd>
<dd><code>col</code> - Column index.</dd>
<dd><code>val</code> - Value to set.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This matrix.</dd>
</dl>
</li>
</ul>
<a name="times-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>times</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;times(double&nbsp;x)</pre>
<div class="block">Creates new matrix containing the product of given value and values in this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#times-double-">times</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - Value to multiply.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New matrix.</dd>
</dl>
</li>
</ul>
<a name="times-org.apache.ignite.ml.math.primitives.vector.Vector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>times</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;times(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;vec)</pre>
<div class="block">Creates new matrix that is the product of multiplying this matrix and the argument vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#times-org.apache.ignite.ml.math.primitives.vector.Vector-">times</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>vec</code> - Argument vector.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New matrix.</dd>
</dl>
</li>
</ul>
<a name="times-org.apache.ignite.ml.math.primitives.matrix.Matrix-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>times</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;times(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;mtx)</pre>
<div class="block">Creates new matrix that is the product of multiplying this matrix and the argument matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#times-org.apache.ignite.ml.math.primitives.matrix.Matrix-">times</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mtx</code> - Argument matrix.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New 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">Gets sum of all elements in the matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#sum--">sum</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Sum of all elements in this matrix.</dd>
</dl>
</li>
</ul>
<a name="transpose--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transpose</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;transpose()</pre>
<div class="block">Creates new matrix that is transpose of this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#transpose--">transpose</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New transposed matrix.</dd>
</dl>
</li>
</ul>
<a name="density-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>density</h4>
<pre>public&nbsp;boolean&nbsp;density(double&nbsp;threshold)</pre>
<div class="block">Calculates the density of the matrix based on supplied criteria.
Returns <code>true</code> if this matrix is denser than threshold with at least 80% confidence.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#density-double-">density</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>threshold</code> - the threshold value [0, 1] of non-zero elements above which the matrix is considered dense.</dd>
</dl>
</li>
</ul>
<a name="viewRow-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>viewRow</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;viewRow(int&nbsp;row)</pre>
<div class="block">Creates new view into matrix row. Changes to the view will be propagated to this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#viewRow-int-">viewRow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row index.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New view.</dd>
</dl>
</li>
</ul>
<a name="viewColumn-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>viewColumn</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;viewColumn(int&nbsp;col)</pre>
<div class="block">Creates new view into matrix column . Changes to the view will be propagated to this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#viewColumn-int-">viewColumn</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>col</code> - Column index.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New view.</dd>
</dl>
</li>
</ul>
<a name="viewDiagonal--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>viewDiagonal</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>&nbsp;viewDiagonal()</pre>
<div class="block">Creates new view into matrix diagonal. Changes to the view will be propagated to this matrix.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#viewDiagonal--">viewDiagonal</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New view.</dd>
</dl>
</li>
</ul>
<a name="destroy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>destroy</h4>
<pre>public&nbsp;void&nbsp;destroy()</pre>
<div class="block">Destroys object if managed outside of JVM. It's a no-op in all other cases.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/Destroyable.html#destroy--">destroy</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/Destroyable.html" title="interface in org.apache.ignite.ml.math">Destroyable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#destroy--">destroy</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
</dl>
</li>
</ul>
<a name="copy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copy</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;copy()</pre>
<div class="block">Clones this matrix.
<p>
NOTE: new matrix will have the same flavor as the this matrix but a different ID.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#copy--">copy</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New matrix of the same underlying class, the same size and the same values.</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="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;o)</pre>
<div class="block">
We ignore guid's for comparisons.</div>
<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="compute-int-int-org.apache.ignite.ml.math.functions.IgniteTriFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compute</h4>
<pre>public&nbsp;void&nbsp;compute(int&nbsp;row,
int&nbsp;col,
<a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteTriFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteTriFunction</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>&gt;</span>&nbsp;f)</pre>
<div class="block">Replace matrix entry with value oldVal at (row, col) with result of computing f(row, col, oldVal).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#compute-int-int-org.apache.ignite.ml.math.functions.IgniteTriFunction-">compute</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row.</dd>
<dd><code>col</code> - Column.</dd>
<dd><code>f</code> - Function used for replacing.</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<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>
<a name="determinant--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>determinant</h4>
<pre>public&nbsp;double&nbsp;determinant()</pre>
<div class="block">Returns matrix determinant using Laplace theorem.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#determinant--">determinant</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A determinant for this matrix.</dd>
</dl>
</li>
</ul>
<a name="inverse--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inverse</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;inverse()</pre>
<div class="block">Returns the inverse matrix of this matrix</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#inverse--">inverse</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Inverse of this matrix</dd>
</dl>
</li>
</ul>
<a name="likeIdentity--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>likeIdentity</h4>
<pre>protected&nbsp;<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a>&nbsp;likeIdentity()</pre>
</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/AbstractMatrix.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>Prev&nbsp;Class</li>
<li><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/LUDecomposition.html" title="class in org.apache.ignite.ml.math.primitives.matrix"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html" target="_top">Frames</a></li>
<li><a href="AbstractMatrix.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>Nested&nbsp;|&nbsp;</li>
<li>Field&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 name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px"> <tr> <td> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <a target=_blank href="https://ignite.apache.org"><nobr>2020 Copyright &#169; Apache Software Foundation</nobr></a> </td> </tr> </tbody> </table> </td> <td width="100%" align="right" valign="center"> <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a> </td> </tr> <tr> <td colspan="2" valign="top" align="left"> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <b>Ignite Database and Caching Platform</b> </td> <td>:&nbsp;&nbsp; ver. <strong>2.9.1</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>:&nbsp;&nbsp; December 9 2020 </td> </tr> </tbody> </table> </td> </tr> </table></small></p>
</body>
</html>