| <!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.7.0/javadoc/org/apache/ignite/ml/math/primitives/vector/AbstractVector.html" /> |
| <META NAME="ROBOTS" CONTENT="NOINDEX"> |
| |
| <!-- Generated by javadoc (1.8.0_181) on Fri Nov 30 20:19:11 UTC 2018 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>AbstractVector (Ignite 2.7.0)</title> |
| <meta name="date" content="2018-11-30"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../../javadoc.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../../script.js"></script> |
| <link rel='shortcut icon' href='https://ignite.apache.org/favicon.ico'/> |
| <link type='text/css' rel='stylesheet' href='http://agorbatchev.typepad.com/pub/sh/3_0_83/styles/shCore.css'/> |
| <link type='text/css' rel='stylesheet' href='http://agorbatchev.typepad.com/pub/sh/3_0_83/styles/shThemeDefault.css'/> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shCore.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shLegacy.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushJava.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushPlain.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushJScript.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushBash.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushXml.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushScala.js'></script> |
| <script type='text/javascript' src='http://agorbatchev.typepad.com/pub/sh/3_0_83/scripts/shBrushGroovy.js'></script> |
| |
| <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="AbstractVector (Ignite 2.7.0)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractVector.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 class="aboutLanguage">Ignite - In-Memory Database and Caching Platform</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../index.html?org/apache/ignite/ml/math/primitives/vector/AbstractVector.html" target="_top">Frames</a></li> |
| <li><a href="AbstractVector.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>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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.vector</div> |
| <h2 title="Class AbstractVector" class="title">Class AbstractVector</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.ignite.ml.math.primitives.vector.AbstractVector</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="http://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="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../../../../../../../org/apache/ignite/ml/math/Destroyable.html" title="interface in org.apache.ignite.ml.math">Destroyable</a>, <a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html" title="interface in org.apache.ignite.ml.math">MetaAttributes</a>, <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a>, <a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html" title="interface in org.apache.ignite.ml.math">StorageOpsMetrics</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/impl/DenseVector.html" title="class in org.apache.ignite.ml.math.primitives.vector.impl">DenseVector</a>, <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/impl/SparseVector.html" title="class in org.apache.ignite.ml.math.primitives.vector.impl">SparseVector</a>, <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/impl/VectorizedViewMatrix.html" title="class in org.apache.ignite.ml.math.primitives.vector.impl">VectorizedViewMatrix</a>, <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/impl/VectorView.html" title="class in org.apache.ignite.ml.math.primitives.vector.impl">VectorView</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="typeNameLabel">AbstractVector</span> |
| extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></pre> |
| <div class="block">This class provides a helper implementation of the <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector"><code>Vector</code></a> |
| interface to minimize the effort required to implement it. |
| Subclasses may override some of the implemented methods if a more |
| specific or optimized implementation is desirable.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../../serialized-form.html#org.apache.ignite.ml.math.primitives.vector.AbstractVector">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.ignite.ml.math.primitives.vector.Vector"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.apache.ignite.ml.math.primitives.vector.<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></h3> |
| <code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#AbstractVector--">AbstractVector</a></span>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#AbstractVector-boolean-org.apache.ignite.ml.math.primitives.vector.VectorStorage-">AbstractVector</a></span>(boolean readOnly, |
| <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/VectorStorage.html" title="interface in org.apache.ignite.ml.math.primitives.vector">VectorStorage</a> sto)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#AbstractVector-org.apache.ignite.ml.math.primitives.vector.VectorStorage-">AbstractVector</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/VectorStorage.html" title="interface in org.apache.ignite.ml.math.primitives.vector">VectorStorage</a> sto)</code> </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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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="http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><span class='angle_bracket'><</span><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#all--">all</a></span>()</code> |
| <div class="block">Gets iterator over all elements in this vector.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="http://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="http://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/vector/AbstractVector.html#allSpliterator--">allSpliterator</a></span>()</code> |
| <div class="block">Gets spliterator for all values in this vector.</div> |
| </td> |
| </tr> |
| <tr id="i2" 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/vector/AbstractVector.html#assign-double-">assign</a></span>(double val)</code> |
| <div class="block">Assigns given value to all elements of this vector.</div> |
| </td> |
| </tr> |
| <tr id="i3" 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/vector/AbstractVector.html#assign-double:A-">assign</a></span>(double[] vals)</code> |
| <div class="block">Assigns values from given array to this vector.</div> |
| </td> |
| </tr> |
| <tr id="i4" 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/vector/AbstractVector.html#assign-java.util.function.IntToDoubleFunction-">assign</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/IntToDoubleFunction.html?is-external=true" title="class or interface in java.util.function">IntToDoubleFunction</a> fun)</code> |
| <div class="block">Assigns each vector element to the value generated by given function.</div> |
| </td> |
| </tr> |
| <tr id="i5" 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/vector/AbstractVector.html#assign-org.apache.ignite.ml.math.primitives.vector.Vector-">assign</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">Copies values from the argument vector to this one.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#checkCardinality-double:A-">checkCardinality</a></span>(double[] vec)</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#checkCardinality-int:A-">checkCardinality</a></span>(int[] arr)</code> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#checkCardinality-org.apache.ignite.ml.math.primitives.vector.Vector-">checkCardinality</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> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#checkIndex-int-">checkIndex</a></span>(int idx)</code> |
| <div class="block">Check index bounds.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#compute-int-org.apache.ignite.ml.math.functions.IgniteIntDoubleToDoubleBiFunction-">compute</a></span>(int idx, |
| <a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteIntDoubleToDoubleBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteIntDoubleToDoubleBiFunction</a> f)</code> |
| <div class="block">Replace vector entry with value oldVal at i with result of computing f(i, oldVal).</div> |
| </td> |
| </tr> |
| <tr id="i11" 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/vector/AbstractVector.html#copy--">copy</a></span>()</code> |
| <div class="block">Creates new copy of this vector.</div> |
| </td> |
| </tr> |
| <tr id="i12" 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/vector/AbstractVector.html#cross-org.apache.ignite.ml.math.primitives.vector.Vector-">cross</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">Gets the cross product of this vector and the other vector.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#destroy--">destroy</a></span>()</code> |
| <div class="block">Destroys object if managed outside of JVM.</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/vector/AbstractVector.html#divide-double-">divide</a></span>(double x)</code> |
| <div class="block">Creates new vector containing values from this vector divided by the argument.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#dot-org.apache.ignite.ml.math.primitives.vector.Vector-">dot</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">Gets dot product of two vectors.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>protected double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#dotSelf--">dotSelf</a></span>()</code> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code></td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <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/vector/AbstractVector.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="http://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="http://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 vector into a single value.</div> |
| </td> |
| </tr> |
| <tr id="i19" 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/vector/AbstractVector.html#foldMap-org.apache.ignite.ml.math.primitives.vector.Vector-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBiFunction-T-">foldMap</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, |
| <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="http://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/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'><</span><a href="http://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="http://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="http://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> combFun, |
| T zeroVal)</code> |
| <div class="block">Combines & maps two vector and folds them into a single value.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#get-int-">get</a></span>(int idx)</code> |
| <div class="block">Gets the value at specified index.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#getDistanceSquared-org.apache.ignite.ml.math.primitives.vector.Vector-">getDistanceSquared</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">Get the square of the distance between this vector and the argument vector.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#getElement-int-">getElement</a></span>(int idx)</code> |
| <div class="block">Gets element at the given index.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#getLengthSquared--">getLengthSquared</a></span>()</code> |
| <div class="block">Gets the sum of squares of all elements in this vector.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#getMetaStorage--">getMetaStorage</a></span>()</code> |
| <div class="block">Implementation should return an instance of the map to store meta attributes.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/VectorStorage.html" title="interface in org.apache.ignite.ml.math.primitives.vector">VectorStorage</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#getStorage--">getStorage</a></span>()</code> |
| <div class="block">Gets vector storage model.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#getX-int-">getX</a></span>(int idx)</code> |
| <div class="block">Gets the value at specified index without checking for index boundaries.</div> |
| </td> |
| </tr> |
| <tr id="i27" 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/vector/AbstractVector.html#guid--">guid</a></span>()</code> |
| <div class="block">Auto-generated globally unique vector ID.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#hashCode--">hashCode</a></span>()</code></td> |
| </tr> |
| <tr id="i29" 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/vector/AbstractVector.html#increment-int-double-">increment</a></span>(int idx, |
| double val)</code> |
| <div class="block">Increments value at given index.</div> |
| </td> |
| </tr> |
| <tr id="i30" 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/vector/AbstractVector.html#incrementX-int-double-">incrementX</a></span>(int idx, |
| double val)</code> |
| <div class="block">Increments value at given index without checking for index boundaries.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#isArrayBased--">isArrayBased</a></span>()</code> |
| <div class="block">Checks if implementation is based on Java arrays.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#isDense--">isDense</a></span>()</code> |
| <div class="block">Checks if this implementation should be considered dense so that it explicitly |
| represents every value.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#isDistributed--">isDistributed</a></span>()</code> |
| <div class="block">Checks whether implementation is JVM-local or distributed (multi-JVM).</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#isRandomAccess--">isRandomAccess</a></span>()</code> |
| <div class="block">Checks if this implementation is optimized for random access.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#isSequentialAccess--">isSequentialAccess</a></span>()</code> |
| <div class="block">Checks if this implementation should be considered to be iterable in index order in an efficient way.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#isZero-double-">isZero</a></span>(double val)</code> |
| <div class="block">Tests if given value is considered a zero value.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#kNorm-double-">kNorm</a></span>(double power)</code> |
| <div class="block">Gets the k-norm of the vector.</div> |
| </td> |
| </tr> |
| <tr id="i38" 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/vector/AbstractVector.html#logNormalize--">logNormalize</a></span>()</code> |
| <div class="block">Creates new vector containing the <code>log(1 + entry) / L_2 norm</code> values of this vector.</div> |
| </td> |
| </tr> |
| <tr id="i39" 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/vector/AbstractVector.html#logNormalize-double-">logNormalize</a></span>(double power)</code> |
| <div class="block">Creates new vector with a normalized value calculated as <code>log_power(1 + entry) / L_power norm</code>.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#makeElement-int-">makeElement</a></span>(int idx)</code> </td> |
| </tr> |
| <tr id="i41" 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/vector/AbstractVector.html#map-org.apache.ignite.ml.math.functions.IgniteBiFunction-double-">map</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><a href="http://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="http://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="http://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, |
| double y)</code> |
| <div class="block">Maps all elements of this vector by applying given function to each element with a constant |
| second parameter <code>y</code>.</div> |
| </td> |
| </tr> |
| <tr id="i42" 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/vector/AbstractVector.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="http://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 vector through a given function.</div> |
| </td> |
| </tr> |
| <tr id="i43" 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/vector/AbstractVector.html#map-org.apache.ignite.ml.math.primitives.vector.Vector-org.apache.ignite.ml.math.functions.IgniteBiFunction-">map</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, |
| <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="http://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="http://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="http://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 vector through a given function.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#maxElement--">maxElement</a></span>()</code> |
| <div class="block">Gets maximum element in this vector.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#maxValue--">maxValue</a></span>()</code> |
| <div class="block">Gets maximum value in this vector.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#minElement--">minElement</a></span>()</code> |
| <div class="block">Gets minimal element in this vector.</div> |
| </td> |
| </tr> |
| <tr id="i47" 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/vector/AbstractVector.html#minus-org.apache.ignite.ml.math.primitives.vector.Vector-">minus</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 vector containing element by element difference between this vector and the argument one.</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#minValue--">minValue</a></span>()</code> |
| <div class="block">Gets minimal value in this vector.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#nonZeroElements--">nonZeroElements</a></span>()</code> |
| <div class="block">Gets number of non-zero elements in this vector.</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><span class='angle_bracket'><</span><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#nonZeroes--">nonZeroes</a></span>()</code> |
| <div class="block">Iterates ove all non-zero elements in this vector.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code><a href="http://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="http://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/vector/AbstractVector.html#nonZeroSpliterator--">nonZeroSpliterator</a></span>()</code> |
| <div class="block">Gets spliterator for all non-zero values in this vector.</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/vector/AbstractVector.html#normalize--">normalize</a></span>()</code> |
| <div class="block">Creates new vector containing the normalized (L_2 norm) values of this vector.</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/vector/AbstractVector.html#normalize-double-">normalize</a></span>(double power)</code> |
| <div class="block">Creates new vector containing the normalized (L_power norm) values of this vector.</div> |
| </td> |
| </tr> |
| <tr id="i54" 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/vector/AbstractVector.html#plus-double-">plus</a></span>(double x)</code> |
| <div class="block">Creates new vector containing sum of each element in this vector and argument.</div> |
| </td> |
| </tr> |
| <tr id="i55" 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/vector/AbstractVector.html#plus-org.apache.ignite.ml.math.primitives.vector.Vector-">plus</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 vector containing element by element sum from both vectors.</div> |
| </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#readExternal-java.io.ObjectInput-">readExternal</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io">ObjectInput</a> in)</code></td> |
| </tr> |
| <tr id="i57" 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/vector/AbstractVector.html#set-int-double-">set</a></span>(int idx, |
| double val)</code> |
| <div class="block">Sets value.</div> |
| </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#setStorage-org.apache.ignite.ml.math.primitives.vector.VectorStorage-">setStorage</a></span>(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/VectorStorage.html" title="interface in org.apache.ignite.ml.math.primitives.vector">VectorStorage</a> sto)</code> |
| <div class="block">Set storage.</div> |
| </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#setX-int-double-">setX</a></span>(int idx, |
| double val)</code> |
| <div class="block">Sets value without checking for index boundaries.</div> |
| </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#size--">size</a></span>()</code> |
| <div class="block">Gets cardinality of this vector (maximum number of the elements).</div> |
| </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#sort--">sort</a></span>()</code> |
| <div class="block">Sorts this vector in ascending order.</div> |
| </td> |
| </tr> |
| <tr id="i62" class="altColor"> |
| <td class="colFirst"><code>protected double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#storageGet-int-">storageGet</a></span>(int i)</code> </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#storageSet-int-double-">storageSet</a></span>(int i, |
| double v)</code> </td> |
| </tr> |
| <tr id="i64" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#sum--">sum</a></span>()</code> |
| <div class="block">Gets the sum of all elements in this vector.</div> |
| </td> |
| </tr> |
| <tr id="i65" 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/vector/AbstractVector.html#times-double-">times</a></span>(double x)</code> |
| <div class="block">Gets a new vector that contains product of each element and the argument.</div> |
| </td> |
| </tr> |
| <tr id="i66" 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/vector/AbstractVector.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">Gets a new vector that is an element-wie product of this vector and the argument.</div> |
| </td> |
| </tr> |
| <tr id="i67" 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/vector/AbstractVector.html#toMatrix-boolean-">toMatrix</a></span>(boolean rowLike)</code> |
| <div class="block">Converts this vector into [N x 1] or [1 x N] matrix where N is this vector cardinality.</div> |
| </td> |
| </tr> |
| <tr id="i68" 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/vector/AbstractVector.html#toMatrixPlusOne-boolean-double-">toMatrixPlusOne</a></span>(boolean rowLike, |
| double zeroVal)</code> |
| <div class="block">Converts this vector into [N+1 x 1] or [1 x N+1] matrix where N is this vector cardinality</div> |
| </td> |
| </tr> |
| <tr id="i69" 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/vector/AbstractVector.html#viewPart-int-int-">viewPart</a></span>(int off, |
| int len)</code></td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/AbstractVector.html#writeExternal-java.io.ObjectOutput-">writeExternal</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io">ObjectOutput</a> out)</code></td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.ignite.ml.math.primitives.vector.Vector"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.ignite.ml.math.primitives.vector.<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a></h3> |
| <code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#asArray--">asArray</a>, <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#like-int-">like</a>, <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#likeMatrix-int-int-">likeMatrix</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.ignite.ml.math.MetaAttributes"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.ignite.ml.math.<a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html" title="interface in org.apache.ignite.ml.math">MetaAttributes</a></h3> |
| <code><a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html#getAttribute-java.lang.String-">getAttribute</a>, <a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html#hasAttribute-java.lang.String-">hasAttribute</a>, <a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html#removeAttribute-java.lang.String-">removeAttribute</a>, <a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html#setAttribute-java.lang.String-T-">setAttribute</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="AbstractVector-org.apache.ignite.ml.math.primitives.vector.VectorStorage-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>AbstractVector</h4> |
| <pre>public AbstractVector(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/VectorStorage.html" title="interface in org.apache.ignite.ml.math.primitives.vector">VectorStorage</a> sto)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sto</code> - Storage.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="AbstractVector-boolean-org.apache.ignite.ml.math.primitives.vector.VectorStorage-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>AbstractVector</h4> |
| <pre>public AbstractVector(boolean readOnly, |
| <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/VectorStorage.html" title="interface in org.apache.ignite.ml.math.primitives.vector">VectorStorage</a> sto)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>readOnly</code> - Is read only.</dd> |
| <dd><code>sto</code> - Storage.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="AbstractVector--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>AbstractVector</h4> |
| <pre>public AbstractVector()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="setStorage-org.apache.ignite.ml.math.primitives.vector.VectorStorage-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setStorage</h4> |
| <pre>protected void setStorage(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/VectorStorage.html" title="interface in org.apache.ignite.ml.math.primitives.vector">VectorStorage</a> sto)</pre> |
| <div class="block">Set storage.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sto</code> - Storage.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="storageSet-int-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>storageSet</h4> |
| <pre>protected void storageSet(int i, |
| double v)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>i</code> - Index.</dd> |
| <dd><code>v</code> - Value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="storageGet-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>storageGet</h4> |
| <pre>protected double storageGet(int i)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>i</code> - Index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="size--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>size</h4> |
| <pre>public int size()</pre> |
| <div class="block">Gets cardinality of this vector (maximum number of the elements).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#size--">size</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This vector's cardinality.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkIndex-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkIndex</h4> |
| <pre>protected void checkIndex(int idx)</pre> |
| <div class="block">Check index bounds.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idx</code> - Index to check.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="get-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre>public double get(int idx)</pre> |
| <div class="block">Gets the value at specified index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#get-int-">get</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idx</code> - Vector index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Vector value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getX-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getX</h4> |
| <pre>public double getX(int idx)</pre> |
| <div class="block">Gets the value at specified index without checking for index boundaries.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#getX-int-">getX</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idx</code> - Vector index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Vector value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isArrayBased--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isArrayBased</h4> |
| <pre>public boolean isArrayBased()</pre> |
| <div class="block">Checks if implementation is based on Java arrays.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html#isArrayBased--">isArrayBased</a></code> in interface <code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html" title="interface in org.apache.ignite.ml.math">StorageOpsMetrics</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sort--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sort</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> sort()</pre> |
| <div class="block">Sorts this vector in ascending order.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#sort--">sort</a></code> in interface <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></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="map-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>map</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</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="http://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 vector through a given function.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#map-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-">map</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>fun</code> - Mapping function.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="map-org.apache.ignite.ml.math.primitives.vector.Vector-org.apache.ignite.ml.math.functions.IgniteBiFunction-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>map</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> map(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> vec, |
| <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="http://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="http://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="http://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 vector through a given function. |
| |
| For this vector <code>A</code>, argument vector <code>B</code> and the |
| function <code>F</code> this method maps every element <code>x</code> as: |
| <code>A(x) = F(A(x), B(x))</code></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#map-org.apache.ignite.ml.math.primitives.vector.Vector-org.apache.ignite.ml.math.functions.IgniteBiFunction-">map</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Argument vector.</dd> |
| <dd><code>fun</code> - Mapping function.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This function.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="map-org.apache.ignite.ml.math.functions.IgniteBiFunction-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>map</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> map(<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="http://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="http://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="http://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, |
| double y)</pre> |
| <div class="block">Maps all elements of this vector by applying given function to each element with a constant |
| second parameter <code>y</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#map-org.apache.ignite.ml.math.functions.IgniteBiFunction-double-">map</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>fun</code> - Mapping function.</dd> |
| <dd><code>y</code> - Second parameter for mapping function.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="makeElement-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>makeElement</h4> |
| <pre>protected <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a> makeElement(int idx)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idx</code> - Index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="minElement--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>minElement</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a> minElement()</pre> |
| <div class="block">Gets minimal element in this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#minElement--">minElement</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Minimal element.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="maxElement--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>maxElement</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a> maxElement()</pre> |
| <div class="block">Gets maximum element in this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#maxElement--">maxElement</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Maximum element.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="minValue--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>minValue</h4> |
| <pre>public double minValue()</pre> |
| <div class="block">Gets minimal value in this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#minValue--">minValue</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Minimal value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="maxValue--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>maxValue</h4> |
| <pre>public double maxValue()</pre> |
| <div class="block">Gets maximum value in this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#maxValue--">maxValue</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Maximum c.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-int-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> set(int idx, |
| double val)</pre> |
| <div class="block">Sets value.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#set-int-double-">set</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idx</code> - Vector index to set value at.</dd> |
| <dd><code>val</code> - Value to set.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setX-int-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setX</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> setX(int idx, |
| double val)</pre> |
| <div class="block">Sets value without checking for index boundaries.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#setX-int-double-">setX</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idx</code> - Vector index to set value at.</dd> |
| <dd><code>val</code> - Value to set.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="increment-int-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increment</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> increment(int idx, |
| double val)</pre> |
| <div class="block">Increments value at given index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#increment-int-double-">increment</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idx</code> - Vector index.</dd> |
| <dd><code>val</code> - Increment value.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="incrementX-int-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>incrementX</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> incrementX(int idx, |
| double val)</pre> |
| <div class="block">Increments value at given index without checking for index boundaries.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#incrementX-int-double-">incrementX</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idx</code> - Vector index.</dd> |
| <dd><code>val</code> - Increment value.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isZero-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isZero</h4> |
| <pre>protected boolean isZero(double val)</pre> |
| <div class="block">Tests if given value is considered a zero value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>val</code> - Value to check.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sum--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sum</h4> |
| <pre>public double sum()</pre> |
| <div class="block">Gets the sum of all elements in this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#sum--">sum</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Vector's sum</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="guid--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>guid</h4> |
| <pre>public <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 vector ID.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#guid--">guid</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Vector GUID.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="all--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>all</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><span class='angle_bracket'><</span><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a><span class='angle_bracket'>></span> all()</pre> |
| <div class="block">Gets iterator over all elements in this vector. |
| |
| NOTE: implementation can choose to reuse <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector"><code>Vector.Element</code></a> instance so you need to copy it |
| if you want to retain it outside of iteration.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#all--">all</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Iterator.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="nonZeroElements--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nonZeroElements</h4> |
| <pre>public int nonZeroElements()</pre> |
| <div class="block">Gets number of non-zero elements in this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#nonZeroElements--">nonZeroElements</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Number of non-zero elements in this vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="foldMap-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-java.lang.Object-"> |
| <!-- --> |
| </a><a name="foldMap-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-T-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>foldMap</h4> |
| <pre>public <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="http://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="http://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 vector into a single value.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#foldMap-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteDoubleFunction-T-">foldMap</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - Type of the folded value.</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>foldFun</code> - Folding function that takes two parameters: accumulator and the current value.</dd> |
| <dd><code>mapFun</code> - Mapping function that is called on each vector element before its passed to the accumulator (as its |
| second parameter).</dd> |
| <dd><code>zeroVal</code> - Zero value for fold operation.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Folded value of this vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="foldMap-org.apache.ignite.ml.math.primitives.vector.Vector-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBiFunction-java.lang.Object-"> |
| <!-- --> |
| </a><a name="foldMap-org.apache.ignite.ml.math.primitives.vector.Vector-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBiFunction-T-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>foldMap</h4> |
| <pre>public <span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> T foldMap(<a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> vec, |
| <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="http://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/IgniteBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteBiFunction</a><span class='angle_bracket'><</span><a href="http://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="http://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="http://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> combFun, |
| T zeroVal)</pre> |
| <div class="block">Combines & maps two vector and folds them into a single value.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#foldMap-org.apache.ignite.ml.math.primitives.vector.Vector-org.apache.ignite.ml.math.functions.IgniteBiFunction-org.apache.ignite.ml.math.functions.IgniteBiFunction-T-">foldMap</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - Type of the folded value.</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Another vector to combine with.</dd> |
| <dd><code>foldFun</code> - Folding function.</dd> |
| <dd><code>combFun</code> - Combine function.</dd> |
| <dd><code>zeroVal</code> - Zero value for fold operation.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Folded value of these vectors.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="nonZeroes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nonZeroes</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><span class='angle_bracket'><</span><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a><span class='angle_bracket'>></span> nonZeroes()</pre> |
| <div class="block">Iterates ove all non-zero elements in this vector. |
| |
| NOTE: implementation can choose to reuse <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector"><code>Vector.Element</code></a> instance so you need to copy it |
| if you want to retain it outside of iteration.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#nonZeroes--">nonZeroes</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Iterator.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMetaStorage--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetaStorage</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a><span class='angle_bracket'>></span> getMetaStorage()</pre> |
| <div class="block">Implementation should return an instance of the map to store meta attributes.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html#getMetaStorage--">getMetaStorage</a></code> in interface <code><a href="../../../../../../../org/apache/ignite/ml/math/MetaAttributes.html" title="interface in org.apache.ignite.ml.math">MetaAttributes</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="assign-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assign</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> assign(double val)</pre> |
| <div class="block">Assigns given value to all elements of this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#assign-double-">assign</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>val</code> - Value to assign.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="assign-double:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assign</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> assign(double[] vals)</pre> |
| <div class="block">Assigns values from given array to this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#assign-double:A-">assign</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vals</code> - Values to assign.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="assign-org.apache.ignite.ml.math.primitives.vector.Vector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assign</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> assign(<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">Copies values from the argument vector to this one.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#assign-org.apache.ignite.ml.math.primitives.vector.Vector-">assign</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Argument vector.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="assign-java.util.function.IntToDoubleFunction-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assign</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> assign(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/function/IntToDoubleFunction.html?is-external=true" title="class or interface in java.util.function">IntToDoubleFunction</a> fun)</pre> |
| <div class="block">Assigns each vector element to the value generated by given function.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#assign-java.util.function.IntToDoubleFunction-">assign</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>fun</code> - Function that takes the index and returns value.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>This vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="allSpliterator--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>allSpliterator</h4> |
| <pre>public <a href="http://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="http://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 vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#allSpliterator--">allSpliterator</a></code> in interface <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></dd> |
| <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>public <a href="http://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="http://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 vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#nonZeroSpliterator--">nonZeroSpliterator</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Spliterator for all non-zero values.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dot-org.apache.ignite.ml.math.primitives.vector.Vector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dot</h4> |
| <pre>public double dot(<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">Gets dot product of two vectors.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#dot-org.apache.ignite.ml.math.primitives.vector.Vector-">dot</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Argument vector.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Dot product of two vectors.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLengthSquared--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLengthSquared</h4> |
| <pre>public double getLengthSquared()</pre> |
| <div class="block">Gets the sum of squares of all elements in this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#getLengthSquared--">getLengthSquared</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Length squared value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isDense--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDense</h4> |
| <pre>public boolean isDense()</pre> |
| <div class="block">Checks if this implementation should be considered dense so that it explicitly |
| represents every value.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html#isDense--">isDense</a></code> in interface <code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html" title="interface in org.apache.ignite.ml.math">StorageOpsMetrics</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isSequentialAccess--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isSequentialAccess</h4> |
| <pre>public boolean isSequentialAccess()</pre> |
| <div class="block">Checks if this implementation should be considered to be iterable in index order in an efficient way.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html#isSequentialAccess--">isSequentialAccess</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> |
| </dl> |
| </li> |
| </ul> |
| <a name="isRandomAccess--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRandomAccess</h4> |
| <pre>public boolean isRandomAccess()</pre> |
| <div class="block">Checks if this implementation is optimized for random access.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html#isRandomAccess--">isRandomAccess</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> |
| </dl> |
| </li> |
| </ul> |
| <a name="isDistributed--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDistributed</h4> |
| <pre>public boolean isDistributed()</pre> |
| <div class="block">Checks whether implementation is JVM-local or distributed (multi-JVM).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/StorageOpsMetrics.html#isDistributed--">isDistributed</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> |
| </dl> |
| </li> |
| </ul> |
| <a name="getStorage--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStorage</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/VectorStorage.html" title="interface in org.apache.ignite.ml.math.primitives.vector">VectorStorage</a> getStorage()</pre> |
| <div class="block">Gets vector storage model.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#getStorage--">getStorage</a></code> in interface <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></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="viewPart-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>viewPart</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> viewPart(int off, |
| int len)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#viewPart-int-int-">viewPart</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>off</code> - Offset into parent vector.</dd> |
| <dd><code>len</code> - Length of the view.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="cross-org.apache.ignite.ml.math.primitives.vector.Vector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cross</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> cross(<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">Gets the cross product of this vector and the other vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#cross-org.apache.ignite.ml.math.primitives.vector.Vector-">cross</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Second vector.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New matrix as a cross product of two vectors.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toMatrix-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toMatrix</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> toMatrix(boolean rowLike)</pre> |
| <div class="block">Converts this vector into [N x 1] or [1 x N] matrix where N is this vector cardinality.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#toMatrix-boolean-">toMatrix</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowLike</code> - <code>true</code> for rowLike [N x 1], or <code>false</code> for column [1 x N] matrix.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Newly created matrix.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toMatrixPlusOne-boolean-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toMatrixPlusOne</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/matrix/Matrix.html" title="interface in org.apache.ignite.ml.math.primitives.matrix">Matrix</a> toMatrixPlusOne(boolean rowLike, |
| double zeroVal)</pre> |
| <div class="block">Converts this vector into [N+1 x 1] or [1 x N+1] matrix where N is this vector cardinality. |
| (0,0) element of this matrix will be <code>zeroVal</code> parameter.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#toMatrixPlusOne-boolean-double-">toMatrixPlusOne</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowLike</code> - <code>true</code> for rowLike [N+1 x 1], or <code>false</code> for column [1 x N+1] matrix.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Newly created matrix.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDistanceSquared-org.apache.ignite.ml.math.primitives.vector.Vector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDistanceSquared</h4> |
| <pre>public double getDistanceSquared(<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">Get the square of the distance between this vector and the argument vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#getDistanceSquared-org.apache.ignite.ml.math.primitives.vector.Vector-">getDistanceSquared</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Another vector.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Distance squared.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkCardinality-org.apache.ignite.ml.math.primitives.vector.Vector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkCardinality</h4> |
| <pre>protected void checkCardinality(<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> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Vector to check for valid cardinality.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkCardinality-double:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkCardinality</h4> |
| <pre>protected void checkCardinality(double[] vec)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Array to check for valid cardinality.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkCardinality-int:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkCardinality</h4> |
| <pre>protected void checkCardinality(int[] arr)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>arr</code> - Array to check for valid cardinality.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="minus-org.apache.ignite.ml.math.primitives.vector.Vector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>minus</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> minus(<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 vector containing element by element difference between this vector and the argument one.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#minus-org.apache.ignite.ml.math.primitives.vector.Vector-">minus</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Argument vector.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="plus-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>plus</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> plus(double x)</pre> |
| <div class="block">Creates new vector containing sum of each element in this vector and argument.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#plus-double-">plus</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - Argument value.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="divide-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>divide</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> divide(double x)</pre> |
| <div class="block">Creates new vector containing values from this vector divided by the argument.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#divide-double-">divide</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - Division argument.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="times-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>times</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> times(double x)</pre> |
| <div class="block">Gets a new vector that contains product of each element and the argument.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#times-double-">times</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - Multiply argument.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="times-org.apache.ignite.ml.math.primitives.vector.Vector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>times</h4> |
| <pre>public <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">Gets a new vector that is an element-wie product of this vector and the argument.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#times-org.apache.ignite.ml.math.primitives.vector.Vector-">times</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Vector to multiply by.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="plus-org.apache.ignite.ml.math.primitives.vector.Vector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>plus</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> plus(<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 vector containing element by element sum from both vectors.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#plus-org.apache.ignite.ml.math.primitives.vector.Vector-">plus</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vec</code> - Other argument vector to add.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="logNormalize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>logNormalize</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> logNormalize()</pre> |
| <div class="block">Creates new vector containing the <code>log(1 + entry) / L_2 norm</code> values of this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#logNormalize--">logNormalize</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="logNormalize-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>logNormalize</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> logNormalize(double power)</pre> |
| <div class="block">Creates new vector with a normalized value calculated as <code>log_power(1 + entry) / L_power norm</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#logNormalize-double-">logNormalize</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>power</code> - The power to use. Must be > 1. Cannot be <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true#POSITIVE_INFINITY" title="class or interface in java.lang"><code>Double.POSITIVE_INFINITY</code></a>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New vector</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="kNorm-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>kNorm</h4> |
| <pre>public double kNorm(double power)</pre> |
| <div class="block">Gets the k-norm of the vector. See http://en.wikipedia.org/wiki/Lp_space for more details.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#kNorm-double-">kNorm</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>power</code> - The power to use.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#normalize-double-"><code>Vector.normalize(double)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="normalize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>normalize</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> normalize()</pre> |
| <div class="block">Creates new vector containing the normalized (L_2 norm) values of this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#normalize--">normalize</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="normalize-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>normalize</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> normalize(double power)</pre> |
| <div class="block">Creates new vector containing the normalized (L_power norm) values of this vector. |
| See http://en.wikipedia.org/wiki/Lp_space for details.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#normalize-double-">normalize</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>power</code> - The power to use. Must be >= 0. May also be <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true#POSITIVE_INFINITY" title="class or interface in java.lang"><code>Double.POSITIVE_INFINITY</code></a>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New vector <code>x</code> such that <code>norm(x, power) == 1</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copy</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector</a> copy()</pre> |
| <div class="block">Creates new copy of this vector.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#copy--">copy</a></code> in interface <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></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New copy vector.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dotSelf--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dotSelf</h4> |
| <pre>protected double dotSelf()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Result of dot with self.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getElement-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getElement</h4> |
| <pre>public <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector">Vector.Element</a> getElement(int idx)</pre> |
| <div class="block">Gets element at the given index. |
| |
| NOTE: implementation can choose to reuse <a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.Element.html" title="interface in org.apache.ignite.ml.math.primitives.vector"><code>Vector.Element</code></a> instance so you need to copy it |
| if you want to retain it outside of iteration.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#getElement-int-">getElement</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idx</code> - Element's index.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Vector's element at the given index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeExternal-java.io.ObjectOutput-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeExternal</h4> |
| <pre>public void writeExternal(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io">ObjectOutput</a> out) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="http://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> in interface <code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="readExternal-java.io.ObjectInput-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readExternal</h4> |
| <pre>public void readExternal(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io">ObjectInput</a> in) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true#readExternal-java.io.ObjectInput-" title="class or interface in java.io">readExternal</a></code> in interface <code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="destroy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>destroy</h4> |
| <pre>public 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="hashCode--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre>public int hashCode()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="equals-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>public boolean equals(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compute-int-org.apache.ignite.ml.math.functions.IgniteIntDoubleToDoubleBiFunction-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>compute</h4> |
| <pre>public void compute(int idx, |
| <a href="../../../../../../../org/apache/ignite/ml/math/functions/IgniteIntDoubleToDoubleBiFunction.html" title="interface in org.apache.ignite.ml.math.functions">IgniteIntDoubleToDoubleBiFunction</a> f)</pre> |
| <div class="block">Replace vector entry with value oldVal at i with result of computing f(i, oldVal).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html#compute-int-org.apache.ignite.ml.math.functions.IgniteIntDoubleToDoubleBiFunction-">compute</a></code> in interface <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></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idx</code> - Position.</dd> |
| <dd><code>f</code> - Function used for replacing.</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/AbstractVector.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 class="aboutLanguage">Ignite - In-Memory Database and Caching Platform</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../../../org/apache/ignite/ml/math/primitives/vector/Vector.html" title="interface in org.apache.ignite.ml.math.primitives.vector"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../index.html?org/apache/ignite/ml/math/primitives/vector/AbstractVector.html" target="_top">Frames</a></li> |
| <li><a href="AbstractVector.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>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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>2018 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.7.0</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>: November 30 2018 </td> </tr> </tbody> </table> </td> </tr> </table></small></p> |
| <!--FOOTER--><script type='text/javascript'>SyntaxHighlighter.all();dp.SyntaxHighlighter.HighlightAll('code');!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> |
| </body> |
| |
| </html> |