| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <link rel="canonical" href="https://ignite.apache.org/releases/2.9.0/javadoc/org/apache/ignite/ml/math/primitives/matrix/Matrix.html" /> |
| <META NAME="ROBOTS" CONTENT="NOINDEX"> |
| |
| <!-- Generated by javadoc (1.8.0_241) on Thu Oct 15 12:23:35 MSK 2020 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>Matrix (Ignite 2.9.0)</title> |
| <meta name="date" content="2020-10-15"> |
| <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="Matrix (Ignite 2.9.0)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":18,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":18,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default 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/Matrix.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/LUDecomposition.html" title="class in org.apache.ignite.ml.math.primitives.matrix"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.Element.html" title="interface in org.apache.ignite.ml.math.primitives.matrix"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../index.html?org/apache/ignite/ml/math/primitives/matrix/Matrix.html" target="_top">Frames</a></li> |
| <li><a href="Matrix.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../../allclasses-noframe.html">All 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: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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="Interface Matrix" class="title">Interface Matrix</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Superinterfaces:</dt> |
| <dd><a href="../../../../../../../org/apache/ignite/ml/math/Destroyable.html" title="interface in org.apache.ignite.ml.math">Destroyable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a>, <a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html" title="interface in org.apache.ignite.ml.math">MetaAttributes</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/StorageOpsMetrics.html" title="interface in org.apache.ignite.ml.math">StorageOpsMetrics</a></dd> |
| </dl> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/AbstractMatrix.html" title="class in org.apache.ignite.ml.math.primitives.matrix">AbstractMatrix</a>, <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 interface <span class="typeNameLabel">Matrix</span> |
| extends <a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html" title="interface in org.apache.ignite.ml.math">MetaAttributes</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a>, <a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html" title="interface in org.apache.ignite.ml.math">StorageOpsMetrics</a>, <a href="../../../../../../../org/apache/ignite/ml/math/Destroyable.html" title="interface in org.apache.ignite.ml.math">Destroyable</a></pre> |
| <div class="block">A matrix interface. |
| <p> |
| Based on its flavor it can have vastly different implementations tailored for |
| for different types of data (e.g. dense vs. sparse), different sizes of data or different operation |
| optimizations.</p> |
| <p> |
| Note also that not all operations can be supported by all underlying implementations. If an operation is not |
| supported a <a href="../../../../../../../org/apache/ignite/ml/math/exceptions/UnsupportedOperationException.html" title="class in org.apache.ignite.ml.math.exceptions"><code>UnsupportedOperationException</code></a> is thrown. This exception can also be thrown in partial cases |
| where an operation is unsupported only in special cases, e.g. where a given operation cannot be deterministically |
| completed in polynomial time.</p> |
| <p> |
| Based on ideas from <a href="http://mahout.apache.org/">Apache Mahout</a>.</p></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Interface and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><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></span></code> |
| <div class="block">Holder for matrix's element.</div> |
| </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </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'><</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'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.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/Matrix.html#assign-double-">assign</a></span>(double 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/Matrix.html#assign-double:A:A-">assign</a></span>(double[][] 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/Matrix.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> 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/Matrix.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> 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/Matrix.html#assignColumn-int-org.apache.ignite.ml.math.primitives.vector.Vector-">assignColumn</a></span>(int col, |
| <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> 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/Matrix.html#assignRow-int-org.apache.ignite.ml.math.primitives.vector.Vector-">assignRow</a></span>(int row, |
| <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> 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/Matrix.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/Matrix.html#compute-int-int-org.apache.ignite.ml.math.functions.IgniteTriFunction-">compute</a></span>(int row, |
| int 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'><</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'>></span> 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/Matrix.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/Matrix.html#density-double-">density</a></span>(double 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>default void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.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/Matrix.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/Matrix.html#divide-double-">divide</a></span>(double x)</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><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/Matrix.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'><</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'>></span> fun)</code> |
| <div class="block">Collects the results of applying a given function to all columns in this matrix.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> T</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><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></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'><</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'>></span> 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'><</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'>></span> mapFun, |
| T zeroVal)</code> |
| <div class="block">Folds this matrix into a single value.</div> |
| </td> |
| </tr> |
| <tr id="i16" 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/Matrix.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'><</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'>></span> fun)</code> |
| <div class="block">Collects the results of applying a given function to all rows in this matrix.</div> |
| </td> |
| </tr> |
| <tr id="i17" 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/Matrix.html#get-int-int-">get</a></span>(int row, |
| int col)</code> |
| <div class="block">Gets the matrix value at the provided location.</div> |
| </td> |
| </tr> |
| <tr id="i18" 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/Matrix.html#getCol-int-">getCol</a></span>(int col)</code> |
| <div class="block">Get a specific row from matrix.</div> |
| </td> |
| </tr> |
| <tr id="i19" 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/Matrix.html#getElement-int-int-">getElement</a></span>(int row, |
| int col)</code> |
| <div class="block">Gets the matrix's element at the given coordinates.</div> |
| </td> |
| </tr> |
| <tr id="i20" 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/Matrix.html#getRow-int-">getRow</a></span>(int row)</code> |
| <div class="block">Get a specific row from matrix.</div> |
| </td> |
| </tr> |
| <tr id="i21" 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/Matrix.html#getStorage--">getStorage</a></span>()</code> |
| <div class="block">Gets matrix storage model.</div> |
| </td> |
| </tr> |
| <tr id="i22" 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/Matrix.html#getX-int-int-">getX</a></span>(int row, |
| int col)</code> |
| <div class="block">Gets the matrix value at the provided location without checking boundaries.</div> |
| </td> |
| </tr> |
| <tr id="i23" 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/Matrix.html#guid--">guid</a></span>()</code> |
| <div class="block">Auto-generated globally unique matrix ID.</div> |
| </td> |
| </tr> |
| <tr id="i24" 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/Matrix.html#inverse--">inverse</a></span>()</code> |
| <div class="block">Returns the inverse matrix of this matrix</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#isNumeric--">isNumeric</a></span>()</code></td> |
| </tr> |
| <tr id="i26" 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/Matrix.html#like-int-int-">like</a></span>(int rows, |
| int cols)</code> |
| <div class="block">Creates new empty matrix of the same underlying class but of different size.</div> |
| </td> |
| </tr> |
| <tr id="i27" 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/Matrix.html#likeVector-int-">likeVector</a></span>(int crd)</code> |
| <div class="block">Creates new empty vector of compatible properties (similar or the same flavor) to this matrix.</div> |
| </td> |
| </tr> |
| <tr id="i28" 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/Matrix.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'><</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'>></span> fun)</code> |
| <div class="block">Maps all values in this matrix through a given function.</div> |
| </td> |
| </tr> |
| <tr id="i29" 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/Matrix.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> 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'><</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'>></span> fun)</code> |
| <div class="block">Maps all values in this matrix through a given function.</div> |
| </td> |
| </tr> |
| <tr id="i30" 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/Matrix.html#maxElement--">maxElement</a></span>()</code> |
| <div class="block">Gets the maximum element in this matrix.</div> |
| </td> |
| </tr> |
| <tr id="i31" 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/Matrix.html#maxValue--">maxValue</a></span>()</code> |
| <div class="block">Gets the maximum value in this matrix.</div> |
| </td> |
| </tr> |
| <tr id="i32" 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/Matrix.html#minElement--">minElement</a></span>()</code> |
| <div class="block">Gets the minimum element in this matrix.</div> |
| </td> |
| </tr> |
| <tr id="i33" 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/Matrix.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> 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="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/Matrix.html#minValue--">minValue</a></span>()</code> |
| <div class="block">Gets the minimum value in this matrix.</div> |
| </td> |
| </tr> |
| <tr id="i35" 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/Matrix.html#nonZeroElements--">nonZeroElements</a></span>()</code> |
| <div class="block">Gets number of non-zero elements in this matrix.</div> |
| </td> |
| </tr> |
| <tr id="i36" 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'><</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'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html#nonZeroSpliterator--">nonZeroSpliterator</a></span>()</code> |
| <div class="block">Gets spliterator for all non-zero values in this matrix.</div> |
| </td> |
| </tr> |
| <tr id="i37" 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/Matrix.html#plus-double-">plus</a></span>(double 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="i38" 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/Matrix.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> 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="i39" 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/Matrix.html#rowSize--">rowSize</a></span>()</code> |
| <div class="block">Gets number of rows 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/Matrix.html#set-int-int-double-">set</a></span>(int row, |
| int col, |
| double val)</code> |
| <div class="block">Sets given 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/Matrix.html#setColumn-int-double:A-">setColumn</a></span>(int col, |
| double[] data)</code> |
| <div class="block">Sets values for given column.</div> |
| </td> |
| </tr> |
| <tr id="i42" 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/Matrix.html#setRow-int-double:A-">setRow</a></span>(int row, |
| double[] data)</code> |
| <div class="block">Sets values for given row.</div> |
| </td> |
| </tr> |
| <tr id="i43" 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/Matrix.html#setX-int-int-double-">setX</a></span>(int row, |
| int col, |
| double val)</code> |
| <div class="block">Sets given value without checking for index bounds.</div> |
| </td> |
| </tr> |
| <tr id="i44" 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/Matrix.html#sum--">sum</a></span>()</code> |
| <div class="block">Gets sum of all elements in the matrix.</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/Matrix.html#swapColumns-int-int-">swapColumns</a></span>(int col1, |
| int col2)</code> |
| <div class="block">Swaps two columns in this matrix.</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/Matrix.html#swapRows-int-int-">swapRows</a></span>(int row1, |
| int row2)</code> |
| <div class="block">Swaps two rows in this matrix.</div> |
| </td> |
| </tr> |
| <tr id="i47" 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/Matrix.html#times-double-">times</a></span>(double x)</code> |
| <div class="block">Creates new matrix containing the product of given value and values in this matrix.</div> |
| </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/Matrix.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> 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="i49" 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/Matrix.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> 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="i50" 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/Matrix.html#transpose--">transpose</a></span>()</code> |
| <div class="block">Creates new matrix that is transpose of this matrix.</div> |
| </td> |
| </tr> |
| <tr id="i51" 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/Matrix.html#viewColumn-int-">viewColumn</a></span>(int col)</code> |
| <div class="block">Creates new view into matrix column .</div> |
| </td> |
| </tr> |
| <tr id="i52" 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/Matrix.html#viewDiagonal--">viewDiagonal</a></span>()</code> |
| <div class="block">Creates new view into matrix diagonal.</div> |
| </td> |
| </tr> |
| <tr id="i53" 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/Matrix.html#viewRow-int-">viewRow</a></span>(int row)</code> |
| <div class="block">Creates new view into matrix row.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.ignite.ml.math.MetaAttributes"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface 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#getMetaStorage--">getMetaStorage</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> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.io.Externalizable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface java.io.<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></h3> |
| <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>, <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></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.ignite.ml.math.StorageOpsMetrics"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.ignite.ml.math.<a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html" title="interface in org.apache.ignite.ml.math">StorageOpsMetrics</a></h3> |
| <code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html#isArrayBased--">isArrayBased</a>, <a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html#isDense--">isDense</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="maxValue--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>maxValue</h4> |
| <pre>double maxValue()</pre> |
| <div class="block">Gets the maximum value in this matrix.</div> |
| <dl> |
| <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>double minValue()</pre> |
| <div class="block">Gets the minimum value in this matrix.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Minimum value in this matrix.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="maxElement--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>maxElement</h4> |
| <pre><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> maxElement()</pre> |
| <div class="block">Gets the maximum element in this matrix.</div> |
| <dl> |
| <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><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> minElement()</pre> |
| <div class="block">Gets the minimum element in this matrix.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Minimum element in this matrix.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getElement-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getElement</h4> |
| <pre><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> getElement(int row, |
| int col)</pre> |
| <div class="block">Gets the matrix's element at the given coordinates.</div> |
| <dl> |
| <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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> swapRows(int row1, |
| int row2)</pre> |
| <div class="block">Swaps two rows in this matrix.</div> |
| <dl> |
| <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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> swapColumns(int col1, |
| int col2)</pre> |
| <div class="block">Swaps two columns in this matrix.</div> |
| <dl> |
| <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="assign-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assign</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> assign(double val)</pre> |
| <div class="block">Assigns given value to all elements of this matrix.</div> |
| <dl> |
| <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-double:A:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assign</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> assign(double[][] vals)</pre> |
| <div class="block">Assigns given values to this matrix.</div> |
| <dl> |
| <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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if cardinalities mismatch.</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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> assign(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> mtx)</pre> |
| <div class="block">Assigns values from given matrix to this matrix.</div> |
| <dl> |
| <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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if cardinalities mismatch.</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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> assign(<a href="../../../../../../../org/apache/ignite/ml/math/functions/IntIntToDoubleFunction.html" title="interface in org.apache.ignite.ml.math.functions">IntIntToDoubleFunction</a> fun)</pre> |
| <div class="block">Assigns each matrix element to the value generated by given function.</div> |
| <dl> |
| <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="map-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>map</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> 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'><</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'>></span> fun)</pre> |
| <div class="block">Maps all values in this matrix through a given function.</div> |
| <dl> |
| <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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> map(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> 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'><</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'>></span> 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="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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if cardinalities mismatch.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="nonZeroElements--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nonZeroElements</h4> |
| <pre>int nonZeroElements()</pre> |
| <div class="block">Gets number of non-zero elements in this matrix.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Number of non-zero elements in this matrix.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="allSpliterator--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>allSpliterator</h4> |
| <pre><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'><</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'>></span> allSpliterator()</pre> |
| <div class="block">Gets spliterator for all values in this matrix.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Spliterator for all values.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="nonZeroSpliterator--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nonZeroSpliterator</h4> |
| <pre><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'><</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'>></span> nonZeroSpliterator()</pre> |
| <div class="block">Gets spliterator for all non-zero values in this matrix.</div> |
| <dl> |
| <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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> assignColumn(int col, |
| <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> vec)</pre> |
| <div class="block">Assigns values from given vector to the specified column in this matrix.</div> |
| <dl> |
| <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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if cardinalities mismatch.</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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> assignRow(int row, |
| <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> vec)</pre> |
| <div class="block">Assigns values from given vector to the specified row in this matrix.</div> |
| <dl> |
| <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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if cardinalities mismatch.</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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> 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'><</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'>></span> fun)</pre> |
| <div class="block">Collects the results of applying a given function to all rows in this matrix.</div> |
| <dl> |
| <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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> 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'><</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'>></span> fun)</pre> |
| <div class="block">Collects the results of applying a given function to all columns in this matrix.</div> |
| <dl> |
| <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><span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> T 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'><</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'>></span> 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'><</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'>></span> mapFun, |
| T zeroVal)</pre> |
| <div class="block">Folds this matrix into a single value.</div> |
| <dl> |
| <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="density-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>density</h4> |
| <pre>boolean density(double 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="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="columnSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>columnSize</h4> |
| <pre>int columnSize()</pre> |
| <div class="block">Gets number of columns in this matrix.</div> |
| <dl> |
| <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>int rowSize()</pre> |
| <div class="block">Gets number of rows in this matrix.</div> |
| <dl> |
| <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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> divide(double x)</pre> |
| <div class="block">Divides each value in this matrix by the argument.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</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>double get(int row, |
| int col)</pre> |
| <div class="block">Gets the matrix value at the provided location.</div> |
| <dl> |
| <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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/IndexException.html" title="class in org.apache.ignite.ml.math.exceptions.math">IndexException</a></code> - Thrown in case of index is out of bound.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getX-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getX</h4> |
| <pre>double getX(int row, |
| int 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>get(int, int)</code></a> sibling.</div> |
| <dl> |
| <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="getStorage--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStorage</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/MatrixStorage.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">MatrixStorage</a> getStorage()</pre> |
| <div class="block">Gets matrix storage model.</div> |
| </li> |
| </ul> |
| <a name="copy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copy</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> 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="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="like-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>like</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> like(int rows, |
| int cols)</pre> |
| <div class="block">Creates new empty matrix of the same underlying class but of different size. |
| <p> |
| NOTE: new matrix will have the same flavor as the this matrix but a different ID.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rows</code> - Number of rows for new matrix.</dd> |
| <dd><code>cols</code> - Number of columns for new 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="likeVector-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>likeVector</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> likeVector(int crd)</pre> |
| <div class="block">Creates new empty vector of compatible properties (similar or the same flavor) to this matrix.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>crd</code> - Cardinality of the vector.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Newly created empty vector "compatible" to this matrix.</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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> minus(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> 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="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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if cardinalities mismatch.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="plus-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>plus</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> plus(double 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="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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> plus(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> 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="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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if cardinalities mismatch.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="guid--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>guid</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/lang/IgniteUuid.html" title="class in org.apache.ignite.lang">IgniteUuid</a> guid()</pre> |
| <div class="block">Auto-generated globally unique matrix ID.</div> |
| <dl> |
| <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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> set(int row, |
| int col, |
| double val)</pre> |
| <div class="block">Sets given value.</div> |
| <dl> |
| <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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/IndexException.html" title="class in org.apache.ignite.ml.math.exceptions.math">IndexException</a></code> - Thrown in case of either index is out of bound.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setRow-int-double:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRow</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> setRow(int row, |
| double[] data)</pre> |
| <div class="block">Sets values for given row.</div> |
| <dl> |
| <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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/IndexException.html" title="class in org.apache.ignite.ml.math.exceptions.math">IndexException</a></code> - Thrown in case of index is out of bound.</dd> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if cardinalities mismatch.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRow-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRow</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> getRow(int row)</pre> |
| <div class="block">Get a specific row from matrix.</div> |
| <dl> |
| <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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> setColumn(int col, |
| double[] data)</pre> |
| <div class="block">Sets values for given column.</div> |
| <dl> |
| <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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/IndexException.html" title="class in org.apache.ignite.ml.math.exceptions.math">IndexException</a></code> - Thrown in case of index is out of bound.</dd> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if cardinalities mismatch.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCol-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCol</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> getCol(int col)</pre> |
| <div class="block">Get a specific row from matrix.</div> |
| <dl> |
| <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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> setX(int row, |
| int col, |
| double 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>set(int, int, double)</code></a> sibling.</div> |
| <dl> |
| <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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> times(double x)</pre> |
| <div class="block">Creates new matrix containing the product of given value and values in this matrix.</div> |
| <dl> |
| <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.matrix.Matrix-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>times</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> times(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> 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="paramLabel">Parameters:</span></dt> |
| <dd><code>mtx</code> - Argument matrix.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New matrix.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if cardinalities mismatch.</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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> times(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> 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="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Argument vector.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New matrix.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if cardinalities mismatch.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sum--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sum</h4> |
| <pre>double sum()</pre> |
| <div class="block">Gets sum of all elements in the matrix.</div> |
| <dl> |
| <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><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> transpose()</pre> |
| <div class="block">Creates new matrix that is transpose of this matrix.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New transposed matrix.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="viewRow-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>viewRow</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> viewRow(int 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="paramLabel">Parameters:</span></dt> |
| <dd><code>row</code> - Row index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New view.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/IndexException.html" title="class in org.apache.ignite.ml.math.exceptions.math">IndexException</a></code> - Thrown in case of index is out of bound.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="viewColumn-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>viewColumn</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> viewColumn(int 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="paramLabel">Parameters:</span></dt> |
| <dd><code>col</code> - Column index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New view.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/IndexException.html" title="class in org.apache.ignite.ml.math.exceptions.math">IndexException</a></code> - Thrown in case of index is out of bound.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="viewDiagonal--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>viewDiagonal</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> 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="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>default void 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> in interface <code><a href="../../../../../../../org/apache/ignite/ml/math/Destroyable.html" title="interface in org.apache.ignite.ml.math">Destroyable</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>void compute(int row, |
| int 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'><</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'>></span> 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="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="determinant--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>determinant</h4> |
| <pre>double determinant()</pre> |
| <div class="block">Returns matrix determinant using Laplace theorem.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A determinant for this matrix.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/exceptions/math/CardinalityException.html" title="class in org.apache.ignite.ml.math.exceptions.math">CardinalityException</a></code> - Thrown if matrix is not square.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="inverse--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inverse</h4> |
| <pre><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> inverse()</pre> |
| <div class="block">Returns the inverse matrix of this matrix</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Inverse of this matrix</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isNumeric--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>isNumeric</h4> |
| <pre>default boolean isNumeric()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html#isNumeric--">isNumeric</a></code> in interface <code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html" title="interface in org.apache.ignite.ml.math">StorageOpsMetrics</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if all stored data are values of Number class.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Matrix.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/LUDecomposition.html" title="class in org.apache.ignite.ml.math.primitives.matrix"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.Element.html" title="interface in org.apache.ignite.ml.math.primitives.matrix"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../index.html?org/apache/ignite/ml/math/primitives/matrix/Matrix.html" target="_top">Frames</a></li> |
| <li><a href="Matrix.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../../allclasses-noframe.html">All 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: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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 © 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>: ver. <strong>2.9.0</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>: October 15 2020 </td> </tr> </tbody> </table> </td> </tr> </table></small></p> |
| </body> |
| </html> |