blob: 68dc710aa93f515a98853aab1960823c8e854870 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_121) on Fri Apr 14 22:10:57 PDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AbstractVector (Mahout Math 0.13.0 API)</title>
<meta name="date" content="2017-04-14">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractVector (Mahout Math 0.13.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":6,"i26":6,"i27":10,"i28":10,"i29":10,"i30":6,"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};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/mahout/math/AbstractMatrix.TransposeViewVector.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/mahout/math/AbstractVector.LocalElement.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/mahout/math/AbstractVector.html" target="_top">Frames</a></li>
<li><a href="AbstractVector.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.mahout.math</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/7/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.mahout.math.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/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../org/apache/mahout/math/AbstractMatrix.TransposeViewVector.html" title="class in org.apache.mahout.math">AbstractMatrix.TransposeViewVector</a>, <a href="../../../../org/apache/mahout/math/ConstantVector.html" title="class in org.apache.mahout.math">ConstantVector</a>, <a href="../../../../org/apache/mahout/math/DenseVector.html" title="class in org.apache.mahout.math">DenseVector</a>, <a href="../../../../org/apache/mahout/math/DiagonalMatrix.SingleElementVector.html" title="class in org.apache.mahout.math">DiagonalMatrix.SingleElementVector</a>, <a href="../../../../org/apache/mahout/math/MatrixVectorView.html" title="class in org.apache.mahout.math">MatrixVectorView</a>, <a href="../../../../org/apache/mahout/math/PermutedVectorView.html" title="class in org.apache.mahout.math">PermutedVectorView</a>, <a href="../../../../org/apache/mahout/math/RandomAccessSparseVector.html" title="class in org.apache.mahout.math">RandomAccessSparseVector</a>, <a href="../../../../org/apache/mahout/math/SequentialAccessSparseVector.html" title="class in org.apache.mahout.math">SequentialAccessSparseVector</a>, <a href="../../../../org/apache/mahout/math/VectorView.html" title="class in org.apache.mahout.math">VectorView</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractVector</span>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></pre>
<div class="block">Implementations of generic capabilities like sum of elements and dot products</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.LocalElement.html" title="class in org.apache.mahout.math">AbstractVector.LocalElement</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.mahout.math.Vector">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.mahout.math.<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></h3>
<code><a href="../../../../org/apache/mahout/math/Vector.Element.html" title="interface in org.apache.mahout.math">Vector.Element</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#lengthSquared">lengthSquared</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#AbstractVector-int-">AbstractVector</a></span>(int&nbsp;size)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#aggregate-org.apache.mahout.math.function.DoubleDoubleFunction-org.apache.mahout.math.function.DoubleFunction-">aggregate</a></span>(<a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a>&nbsp;aggregator,
<a href="../../../../org/apache/mahout/math/function/DoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleFunction</a>&nbsp;map)</code>
<div class="block">Aggregates a vector by applying a mapping function fm(x) to every component and aggregating
the results with an aggregating function fa(x, y).</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#aggregate-org.apache.mahout.math.Vector-org.apache.mahout.math.function.DoubleDoubleFunction-org.apache.mahout.math.function.DoubleDoubleFunction-">aggregate</a></span>(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;other,
<a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a>&nbsp;aggregator,
<a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a>&nbsp;combiner)</code>
<div class="block">Generalized inner product - take two vectors, iterate over them both, using the combiner to combine together
(and possibly map in some way) each pair of values, which are then aggregated with the previous accumulated
value in the combiner.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/mahout/math/Vector.Element.html" title="interface in org.apache.mahout.math">Vector.Element</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#all--">all</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#asFormatString--">asFormatString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#assign-double-">assign</a></span>(double&nbsp;value)</code>
<div class="block">Assign the value to all elements of the receiver</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#assign-double:A-">assign</a></span>(double[]&nbsp;values)</code>
<div class="block">Assign the values to the receiver</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#assign-org.apache.mahout.math.function.DoubleDoubleFunction-double-">assign</a></span>(<a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a>&nbsp;f,
double&nbsp;y)</code>
<div class="block">Apply the function to each element of the receiver, using the y value as the second argument of the
DoubleDoubleFunction</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#assign-org.apache.mahout.math.function.DoubleFunction-">assign</a></span>(<a href="../../../../org/apache/mahout/math/function/DoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleFunction</a>&nbsp;f)</code>
<div class="block">Apply the function to each element of the receiver</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#assign-org.apache.mahout.math.Vector-">assign</a></span>(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;other)</code>
<div class="block">Assign the other vector values to the receiver</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#assign-org.apache.mahout.math.Vector-org.apache.mahout.math.function.DoubleDoubleFunction-">assign</a></span>(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;other,
<a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a>&nbsp;function)</code>
<div class="block">Apply the function to each element of the receiver and the corresponding element of the other argument</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#clone--">clone</a></span>()</code>
<div class="block">Return a copy of the recipient</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#createOptimizedCopy--">createOptimizedCopy</a></span>()</code>
<div class="block">Copy the current vector in the most optimum fashion.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#cross-org.apache.mahout.math.Vector-">cross</a></span>(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;other)</code>
<div class="block">Return the cross product of the receiver and the other vector</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#divide-double-">divide</a></span>(double&nbsp;x)</code>
<div class="block">Return a new vector containing the values of the recipient divided by the argument</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#dot-org.apache.mahout.math.Vector-">dot</a></span>(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;x)</code>
<div class="block">Return the dot product of the recipient and the argument</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#dotSelf--">dotSelf</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
<div class="block">Determines whether this <a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math"><code>Vector</code></a> represents the same logical vector as another
object.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#get-int-">get</a></span>(int&nbsp;index)</code>
<div class="block">Return the value at the given index</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#getDistanceSquared-org.apache.mahout.math.Vector-">getDistanceSquared</a></span>(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;that)</code>
<div class="block">Get the square of the distance between this vector and the other vector.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.Element.html" title="interface in org.apache.mahout.math">Vector.Element</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#getElement-int-">getElement</a></span>(int&nbsp;index)</code>
<div class="block">Return an object of Vector.Element representing an element of this Vector.</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/mahout/math/AbstractVector.html#getLengthSquared--">getLengthSquared</a></span>()</code>
<div class="block">Return the sum of squares of all elements in the vector.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#getNumNonZeroElements--">getNumNonZeroElements</a></span>()</code>
<div class="block">Return the number of non zero elements in the vector.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#incrementQuick-int-double-">incrementQuick</a></span>(int&nbsp;index,
double&nbsp;increment)</code>
<div class="block">Increment the value at the given index by the given value.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#invalidateCachedLength--">invalidateCachedLength</a></span>()</code>
<div class="block">Invalidates the length cache.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>protected abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../org/apache/mahout/math/Vector.Element.html" title="interface in org.apache.mahout.math">Vector.Element</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#iterateNonZero--">iterateNonZero</a></span>()</code>
<div class="block">Iterates over all non-zero elements.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>protected abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../org/apache/mahout/math/Vector.Element.html" title="interface in org.apache.mahout.math">Vector.Element</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#iterator--">iterator</a></span>()</code>
<div class="block">Iterates over all elements</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#logNormalize--">logNormalize</a></span>()</code>
<div class="block">Return a new vector containing the log(1 + entry)/ L_2 norm values of the recipient</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#logNormalize-double-">logNormalize</a></span>(double&nbsp;power)</code>
<div class="block">Return a new Vector with a normalized value calculated as log_power(1 + entry)/ L_power norm.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#logNormalize-double-double-">logNormalize</a></span>(double&nbsp;power,
double&nbsp;normLength)</code>&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>protected abstract <a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#matrixLike-int-int-">matrixLike</a></span>(int&nbsp;rows,
int&nbsp;columns)</code>
<div class="block">Subclasses must override to return an appropriately sparse or dense result</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#maxValue--">maxValue</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#maxValueIndex--">maxValueIndex</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#minus-org.apache.mahout.math.Vector-">minus</a></span>(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;that)</code>
<div class="block">Return a new vector containing the element by element difference of the recipient and the argument</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#minValue--">minValue</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#minValueIndex--">minValueIndex</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/mahout/math/Vector.Element.html" title="interface in org.apache.mahout.math">Vector.Element</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#nonZeroes--">nonZeroes</a></span>()</code>&nbsp;</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/mahout/math/AbstractVector.html#norm-double-">norm</a></span>(double&nbsp;power)</code>
<div class="block">Return the k-norm of the vector.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#normalize--">normalize</a></span>()</code>
<div class="block">Return a new vector containing the normalized (L_2 norm) values of the recipient</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#normalize-double-">normalize</a></span>(double&nbsp;power)</code>
<div class="block">Return a new Vector containing the normalized (L_power norm) values of the recipient.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#plus-double-">plus</a></span>(double&nbsp;x)</code>
<div class="block">Return a new vector containing the sum of each value of the recipient and the argument</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#plus-org.apache.mahout.math.Vector-">plus</a></span>(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;that)</code>
<div class="block">Return a new vector containing the element by element sum of the recipient and the argument</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#set-int-double-">set</a></span>(int&nbsp;index,
double&nbsp;value)</code>
<div class="block">Set the value at the given index</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#size--">size</a></span>()</code>
<div class="block">Return the cardinality of the recipient (the maximum number of values)</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#sparseVectorToString--">sparseVectorToString</a></span>()</code>
<div class="block">toString() implementation for sparse vectors via <a href="../../../../org/apache/mahout/math/AbstractVector.html#nonZeroes--"><code>nonZeroes()</code></a> method</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#times-double-">times</a></span>(double&nbsp;x)</code>
<div class="block">Return a new vector containing the product of each value of the recipient and the argument</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#times-org.apache.mahout.math.Vector-">times</a></span>(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;that)</code>
<div class="block">Return a new vector containing the element-wise product of the recipient and the argument</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#toString-java.lang.String:A-">toString</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;dictionary)</code>&nbsp;</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#viewPart-int-int-">viewPart</a></span>(int&nbsp;offset,
int&nbsp;length)</code>
<div class="block">Return a new vector containing the subset of the recipient</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/AbstractVector.html#zSum--">zSum</a></span>()</code>
<div class="block">Return the sum of all the elements of the receiver</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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.mahout.math.Vector">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.mahout.math.<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></h3>
<code><a href="../../../../org/apache/mahout/math/Vector.html#getIteratorAdvanceCost--">getIteratorAdvanceCost</a>, <a href="../../../../org/apache/mahout/math/Vector.html#getLookupCost--">getLookupCost</a>, <a href="../../../../org/apache/mahout/math/Vector.html#getNumNondefaultElements--">getNumNondefaultElements</a>, <a href="../../../../org/apache/mahout/math/Vector.html#getQuick-int-">getQuick</a>, <a href="../../../../org/apache/mahout/math/Vector.html#isAddConstantTime--">isAddConstantTime</a>, <a href="../../../../org/apache/mahout/math/Vector.html#isDense--">isDense</a>, <a href="../../../../org/apache/mahout/math/Vector.html#isSequentialAccess--">isSequentialAccess</a>, <a href="../../../../org/apache/mahout/math/Vector.html#like--">like</a>, <a href="../../../../org/apache/mahout/math/Vector.html#like-int-">like</a>, <a href="../../../../org/apache/mahout/math/Vector.html#mergeUpdates-org.apache.mahout.math.OrderedIntDoubleMapping-">mergeUpdates</a>, <a href="../../../../org/apache/mahout/math/Vector.html#setQuick-int-double-">setQuick</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="lengthSquared">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>lengthSquared</h4>
<pre>protected&nbsp;double lengthSquared</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractVector-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractVector</h4>
<pre>protected&nbsp;AbstractVector(int&nbsp;size)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="all--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>all</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/mahout/math/Vector.Element.html" title="interface in org.apache.mahout.math">Vector.Element</a>&gt;&nbsp;all()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#all--">all</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
</dl>
</li>
</ul>
<a name="nonZeroes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nonZeroes</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/apache/mahout/math/Vector.Element.html" title="interface in org.apache.mahout.math">Vector.Element</a>&gt;&nbsp;nonZeroes()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#nonZeroes--">nonZeroes</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
</dl>
</li>
</ul>
<a name="iterator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>iterator</h4>
<pre>protected abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../org/apache/mahout/math/Vector.Element.html" title="interface in org.apache.mahout.math">Vector.Element</a>&gt;&nbsp;iterator()</pre>
<div class="block">Iterates over all elements <p>
NOTE: Implementations may choose to reuse the Element returned for performance
reasons, so if you need a copy of it, you should call <a href="../../../../org/apache/mahout/math/AbstractVector.html#getElement-int-"><code>getElement(int)</code></a> for the given index</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util"><code>Iterator</code></a> over all elements</dd>
</dl>
</li>
</ul>
<a name="iterateNonZero--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>iterateNonZero</h4>
<pre>protected abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../org/apache/mahout/math/Vector.Element.html" title="interface in org.apache.mahout.math">Vector.Element</a>&gt;&nbsp;iterateNonZero()</pre>
<div class="block">Iterates over all non-zero elements. <p>
NOTE: Implementations may choose to reuse the Element returned for
performance reasons, so if you need a copy of it, you should call <a href="../../../../org/apache/mahout/math/AbstractVector.html#getElement-int-"><code>getElement(int)</code></a> for the given index</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util"><code>Iterator</code></a> over all non-zero elements</dd>
</dl>
</li>
</ul>
<a name="aggregate-org.apache.mahout.math.function.DoubleDoubleFunction-org.apache.mahout.math.function.DoubleFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregate</h4>
<pre>public&nbsp;double&nbsp;aggregate(<a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a>&nbsp;aggregator,
<a href="../../../../org/apache/mahout/math/function/DoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleFunction</a>&nbsp;map)</pre>
<div class="block">Aggregates a vector by applying a mapping function fm(x) to every component and aggregating
the results with an aggregating function fa(x, y).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#aggregate-org.apache.mahout.math.function.DoubleDoubleFunction-org.apache.mahout.math.function.DoubleFunction-">aggregate</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aggregator</code> - used to combine the current value of the aggregation with the result of map.apply(nextValue)</dd>
<dd><code>map</code> - a function to apply to each element of the vector in turn before passing to the aggregator</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the result of the aggregation</dd>
</dl>
</li>
</ul>
<a name="aggregate-org.apache.mahout.math.Vector-org.apache.mahout.math.function.DoubleDoubleFunction-org.apache.mahout.math.function.DoubleDoubleFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregate</h4>
<pre>public&nbsp;double&nbsp;aggregate(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;other,
<a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a>&nbsp;aggregator,
<a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a>&nbsp;combiner)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#aggregate-org.apache.mahout.math.Vector-org.apache.mahout.math.function.DoubleDoubleFunction-org.apache.mahout.math.function.DoubleDoubleFunction-">Vector</a></code></span></div>
<div class="block"><p>Generalized inner product - take two vectors, iterate over them both, using the combiner to combine together
(and possibly map in some way) each pair of values, which are then aggregated with the previous accumulated
value in the combiner.</p>
<p>
Example: dot(other) could be expressed as aggregate(other, Plus, Times), and kernelized inner products (which
are symmetric on the indices) work similarly.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#aggregate-org.apache.mahout.math.Vector-org.apache.mahout.math.function.DoubleDoubleFunction-org.apache.mahout.math.function.DoubleDoubleFunction-">aggregate</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>other</code> - a vector to aggregate in combination with</dd>
<dd><code>aggregator</code> - function we're aggregating with; fa</dd>
<dd><code>combiner</code> - function we're combining with; fc</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the final aggregation; <code>if r0 = fc(this[0], other[0]), ri = fa(r_{i-1}, fc(this[i], other[i]))
for all i &gt; 0</code></dd>
</dl>
</li>
</ul>
<a name="matrixLike-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matrixLike</h4>
<pre>protected abstract&nbsp;<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a>&nbsp;matrixLike(int&nbsp;rows,
int&nbsp;columns)</pre>
<div class="block">Subclasses must override to return an appropriately sparse or dense result</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rows</code> - the row cardinality</dd>
<dd><code>columns</code> - the column cardinality</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Matrix</dd>
</dl>
</li>
</ul>
<a name="viewPart-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>viewPart</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;viewPart(int&nbsp;offset,
int&nbsp;length)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#viewPart-int-int-">Vector</a></code></span></div>
<div class="block">Return a new vector containing the subset of the recipient</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#viewPart-int-int-">viewPart</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>offset</code> - an int offset into the receiver</dd>
<dd><code>length</code> - the cardinality of the desired result</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector</dd>
</dl>
</li>
</ul>
<a name="clone--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;clone()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#clone--">Vector</a></code></span></div>
<div class="block">Return a copy of the recipient</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#clone--">clone</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector</dd>
</dl>
</li>
</ul>
<a name="divide-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>divide</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;divide(double&nbsp;x)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#divide-double-">Vector</a></code></span></div>
<div class="block">Return a new vector containing the values of the recipient divided by the argument</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#divide-double-">divide</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - a double value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector</dd>
</dl>
</li>
</ul>
<a name="dot-org.apache.mahout.math.Vector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dot</h4>
<pre>public&nbsp;double&nbsp;dot(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;x)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#dot-org.apache.mahout.math.Vector-">Vector</a></code></span></div>
<div class="block">Return the dot product of the recipient and the argument</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#dot-org.apache.mahout.math.Vector-">dot</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - a Vector</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector</dd>
</dl>
</li>
</ul>
<a name="dotSelf--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dotSelf</h4>
<pre>protected&nbsp;double&nbsp;dotSelf()</pre>
</li>
</ul>
<a name="get-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;double&nbsp;get(int&nbsp;index)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#get-int-">Vector</a></code></span></div>
<div class="block">Return the value at the given index</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#get-int-">get</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - an int index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the double at the index</dd>
</dl>
</li>
</ul>
<a name="getElement-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getElement</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.Element.html" title="interface in org.apache.mahout.math">Vector.Element</a>&nbsp;getElement(int&nbsp;index)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#getElement-int-">Vector</a></code></span></div>
<div class="block">Return an object of Vector.Element representing an element of this Vector. Useful when designing new iterator
types.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#getElement-int-">getElement</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - Index of the Vector.Element required</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Vector.Element Object</dd>
</dl>
</li>
</ul>
<a name="normalize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>normalize</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;normalize()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#normalize--">Vector</a></code></span></div>
<div class="block">Return a new vector containing the normalized (L_2 norm) values of the recipient</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#normalize--">normalize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector</dd>
</dl>
</li>
</ul>
<a name="normalize-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>normalize</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;normalize(double&nbsp;power)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#normalize-double-">Vector</a></code></span></div>
<div class="block">Return a new Vector containing the normalized (L_power norm) values of the recipient. <p>
See
http://en.wikipedia.org/wiki/Lp_space <p>
Technically, when <code>0 &lt; power &lt; 1</code>, we don't have a norm, just a metric,
but we'll overload this here. <p>
Also supports <code>power == 0</code> (number of non-zero elements) and power = <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Double.html?is-external=true#POSITIVE_INFINITY" title="class or interface in java.lang"><code>Double.POSITIVE_INFINITY</code></a> (max element). Again, see the Wikipedia page for more info</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#normalize-double-">normalize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">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/7/docs/api/java/lang/Double.html?is-external=true#POSITIVE_INFINITY" title="class or interface in java.lang"><code>Double.POSITIVE_INFINITY</code></a>. See the Wikipedia link
for more on this.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector x such that norm(x, power) == 1</dd>
</dl>
</li>
</ul>
<a name="logNormalize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logNormalize</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;logNormalize()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#logNormalize--">Vector</a></code></span></div>
<div class="block">Return a new vector containing the log(1 + entry)/ L_2 norm values of the recipient</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#logNormalize--">logNormalize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector</dd>
</dl>
</li>
</ul>
<a name="logNormalize-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logNormalize</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;logNormalize(double&nbsp;power)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#logNormalize-double-">Vector</a></code></span></div>
<div class="block">Return a new Vector with a normalized value calculated as log_power(1 + entry)/ L_power norm. <p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#logNormalize-double-">logNormalize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">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/7/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>a new Vector</dd>
</dl>
</li>
</ul>
<a name="logNormalize-double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logNormalize</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;logNormalize(double&nbsp;power,
double&nbsp;normLength)</pre>
</li>
</ul>
<a name="norm-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>norm</h4>
<pre>public&nbsp;double&nbsp;norm(double&nbsp;power)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#norm-double-">Vector</a></code></span></div>
<div class="block">Return the k-norm of the vector. <p/> See http://en.wikipedia.org/wiki/Lp_space <p>
Technically, when <code>0 &gt; power &lt; 1</code>, we don't have a norm, just a metric, but we'll overload this here. Also supports power == 0 (number of
non-zero elements) and power = <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Double.html?is-external=true#POSITIVE_INFINITY" title="class or interface in java.lang"><code>Double.POSITIVE_INFINITY</code></a> (max element). Again, see the Wikipedia page for
more info.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#norm-double-">norm</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">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/mahout/math/Vector.html#normalize-double-"><code>Vector.normalize(double)</code></a></dd>
</dl>
</li>
</ul>
<a name="getLengthSquared--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLengthSquared</h4>
<pre>public&nbsp;double&nbsp;getLengthSquared()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#getLengthSquared--">Vector</a></code></span></div>
<div class="block">Return the sum of squares of all elements in the vector. Square root of
this value is the length of the vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#getLengthSquared--">getLengthSquared</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The sum of the squares of all elements in the vector.</dd>
</dl>
</li>
</ul>
<a name="invalidateCachedLength--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>invalidateCachedLength</h4>
<pre>public&nbsp;void&nbsp;invalidateCachedLength()</pre>
<div class="block">Invalidates the length cache. This should be called by all mutators of the vector.</div>
</li>
</ul>
<a name="getDistanceSquared-org.apache.mahout.math.Vector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDistanceSquared</h4>
<pre>public&nbsp;double&nbsp;getDistanceSquared(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;that)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#getDistanceSquared-org.apache.mahout.math.Vector-">Vector</a></code></span></div>
<div class="block">Get the square of the distance between this vector and the other vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#getDistanceSquared-org.apache.mahout.math.Vector-">getDistanceSquared</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
</dl>
</li>
</ul>
<a name="maxValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maxValue</h4>
<pre>public&nbsp;double&nbsp;maxValue()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#maxValue--">maxValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The maximum value in the Vector</dd>
</dl>
</li>
</ul>
<a name="maxValueIndex--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maxValueIndex</h4>
<pre>public&nbsp;int&nbsp;maxValueIndex()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#maxValueIndex--">maxValueIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The index of the maximum value</dd>
</dl>
</li>
</ul>
<a name="minValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minValue</h4>
<pre>public&nbsp;double&nbsp;minValue()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#minValue--">minValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The minimum value in the Vector</dd>
</dl>
</li>
</ul>
<a name="minValueIndex--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minValueIndex</h4>
<pre>public&nbsp;int&nbsp;minValueIndex()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#minValueIndex--">minValueIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The index of the minimum value</dd>
</dl>
</li>
</ul>
<a name="plus-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plus</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;plus(double&nbsp;x)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#plus-double-">Vector</a></code></span></div>
<div class="block">Return a new vector containing the sum of each value of the recipient and the argument</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#plus-double-">plus</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - a double</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector</dd>
</dl>
</li>
</ul>
<a name="plus-org.apache.mahout.math.Vector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plus</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;plus(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;that)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#plus-org.apache.mahout.math.Vector-">Vector</a></code></span></div>
<div class="block">Return a new vector containing the element by element sum of the recipient and the argument</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#plus-org.apache.mahout.math.Vector-">plus</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>that</code> - a Vector</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector</dd>
</dl>
</li>
</ul>
<a name="minus-org.apache.mahout.math.Vector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minus</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;minus(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;that)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#minus-org.apache.mahout.math.Vector-">Vector</a></code></span></div>
<div class="block">Return a new vector containing the element by element difference of the recipient and the argument</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#minus-org.apache.mahout.math.Vector-">minus</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>that</code> - a Vector</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector</dd>
</dl>
</li>
</ul>
<a name="set-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(int&nbsp;index,
double&nbsp;value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#set-int-double-">Vector</a></code></span></div>
<div class="block">Set the value at the given index</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#set-int-double-">set</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - an int index into the receiver</dd>
<dd><code>value</code> - a double value to set</dd>
</dl>
</li>
</ul>
<a name="incrementQuick-int-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>incrementQuick</h4>
<pre>public&nbsp;void&nbsp;incrementQuick(int&nbsp;index,
double&nbsp;increment)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#incrementQuick-int-double-">Vector</a></code></span></div>
<div class="block">Increment the value at the given index by the given value.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#incrementQuick-int-double-">incrementQuick</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - an int index into the receiver</dd>
<dd><code>increment</code> - sets the value at the given index to value + increment;</dd>
</dl>
</li>
</ul>
<a name="times-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>times</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;times(double&nbsp;x)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#times-double-">Vector</a></code></span></div>
<div class="block">Return a new vector containing the product of each value of the recipient and the argument</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#times-double-">times</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - a double argument</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector</dd>
</dl>
</li>
</ul>
<a name="createOptimizedCopy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createOptimizedCopy</h4>
<pre>protected&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;createOptimizedCopy()</pre>
<div class="block">Copy the current vector in the most optimum fashion. Used by immutable methods like plus(), minus().
Use this instead of vector.like().assign(vector). Sub-class can choose to override this method.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a copy of the current vector.</dd>
</dl>
</li>
</ul>
<a name="times-org.apache.mahout.math.Vector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>times</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;times(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;that)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#times-org.apache.mahout.math.Vector-">Vector</a></code></span></div>
<div class="block">Return a new vector containing the element-wise product of the recipient and the argument</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#times-org.apache.mahout.math.Vector-">times</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>that</code> - a Vector argument</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new Vector</dd>
</dl>
</li>
</ul>
<a name="zSum--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>zSum</h4>
<pre>public&nbsp;double&nbsp;zSum()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#zSum--">Vector</a></code></span></div>
<div class="block">Return the sum of all the elements of the receiver</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#zSum--">zSum</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a double</dd>
</dl>
</li>
</ul>
<a name="getNumNonZeroElements--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumNonZeroElements</h4>
<pre>public&nbsp;int&nbsp;getNumNonZeroElements()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#getNumNonZeroElements--">Vector</a></code></span></div>
<div class="block">Return the number of non zero elements in the vector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#getNumNonZeroElements--">getNumNonZeroElements</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an int</dd>
</dl>
</li>
</ul>
<a name="assign-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;assign(double&nbsp;value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#assign-double-">Vector</a></code></span></div>
<div class="block">Assign the value to all elements of the receiver</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#assign-double-">assign</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - a double value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified receiver</dd>
</dl>
</li>
</ul>
<a name="assign-double:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;assign(double[]&nbsp;values)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#assign-double:A-">Vector</a></code></span></div>
<div class="block">Assign the values to the receiver</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#assign-double:A-">assign</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>values</code> - a double[] of values</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified receiver</dd>
</dl>
</li>
</ul>
<a name="assign-org.apache.mahout.math.Vector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;assign(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;other)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#assign-org.apache.mahout.math.Vector-">Vector</a></code></span></div>
<div class="block">Assign the other vector values to the receiver</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#assign-org.apache.mahout.math.Vector-">assign</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>other</code> - a Vector</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified receiver</dd>
</dl>
</li>
</ul>
<a name="assign-org.apache.mahout.math.function.DoubleDoubleFunction-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;assign(<a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a>&nbsp;f,
double&nbsp;y)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#assign-org.apache.mahout.math.function.DoubleDoubleFunction-double-">Vector</a></code></span></div>
<div class="block">Apply the function to each element of the receiver, using the y value as the second argument of the
DoubleDoubleFunction</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#assign-org.apache.mahout.math.function.DoubleDoubleFunction-double-">assign</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>f</code> - a DoubleDoubleFunction to be applied</dd>
<dd><code>y</code> - a double value to be argument to the function</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified receiver</dd>
</dl>
</li>
</ul>
<a name="assign-org.apache.mahout.math.function.DoubleFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;assign(<a href="../../../../org/apache/mahout/math/function/DoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleFunction</a>&nbsp;f)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#assign-org.apache.mahout.math.function.DoubleFunction-">Vector</a></code></span></div>
<div class="block">Apply the function to each element of the receiver</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#assign-org.apache.mahout.math.function.DoubleFunction-">assign</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>f</code> - a DoubleFunction to apply</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified receiver</dd>
</dl>
</li>
</ul>
<a name="assign-org.apache.mahout.math.Vector-org.apache.mahout.math.function.DoubleDoubleFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;assign(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;other,
<a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a>&nbsp;function)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#assign-org.apache.mahout.math.Vector-org.apache.mahout.math.function.DoubleDoubleFunction-">Vector</a></code></span></div>
<div class="block">Apply the function to each element of the receiver and the corresponding element of the other argument</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#assign-org.apache.mahout.math.Vector-org.apache.mahout.math.function.DoubleDoubleFunction-">assign</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>other</code> - a Vector containing the second arguments to the function</dd>
<dd><code>function</code> - a DoubleDoubleFunction to apply</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modified receiver</dd>
</dl>
</li>
</ul>
<a name="cross-org.apache.mahout.math.Vector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cross</h4>
<pre>public&nbsp;<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a>&nbsp;cross(<a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a>&nbsp;other)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#cross-org.apache.mahout.math.Vector-">Vector</a></code></span></div>
<div class="block">Return the cross product of the receiver and the other vector</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#cross-org.apache.mahout.math.Vector-">cross</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>other</code> - another Vector</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Matrix</dd>
</dl>
</li>
</ul>
<a name="size--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre>public final&nbsp;int&nbsp;size()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html#size--">Vector</a></code></span></div>
<div class="block">Return the cardinality of the recipient (the maximum number of values)</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#size--">size</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an int</dd>
</dl>
</li>
</ul>
<a name="asFormatString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asFormatString</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;asFormatString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/mahout/math/Vector.html#asFormatString--">asFormatString</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a formatted String suitable for output</dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
<div class="block">Determines whether this <a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math"><code>Vector</code></a> represents the same logical vector as another
object. Two <a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math"><code>Vector</code></a>s are equal (regardless of implementation) if the value at
each index is the same, and the cardinalities are the same.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="toString-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;dictionary)</pre>
</li>
</ul>
<a name="sparseVectorToString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>sparseVectorToString</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;sparseVectorToString()</pre>
<div class="block">toString() implementation for sparse vectors via <a href="../../../../org/apache/mahout/math/AbstractVector.html#nonZeroes--"><code>nonZeroes()</code></a> method</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>String representation of the vector</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>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/mahout/math/AbstractMatrix.TransposeViewVector.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/mahout/math/AbstractVector.LocalElement.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/mahout/math/AbstractVector.html" target="_top">Frames</a></li>
<li><a href="AbstractVector.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>