| <!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>Matrix (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="Matrix (Mahout Math 0.13.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Matrix.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/mahout/math/Matrices.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/mahout/math/MatrixSlice.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/mahout/math/Matrix.html" target="_top">Frames</a></li> |
| <li><a href="Matrix.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.mahout.math</div> |
| <h2 title="Interface Matrix" class="title">Interface Matrix</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Superinterfaces:</dt> |
| <dd><a href="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="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../org/apache/mahout/math/MatrixSlice.html" title="class in org.apache.mahout.math">MatrixSlice</a>>, <a href="../../../../org/apache/mahout/math/VectorIterable.html" title="interface in org.apache.mahout.math">VectorIterable</a></dd> |
| </dl> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><a href="../../../../org/apache/mahout/math/AbstractMatrix.html" title="class in org.apache.mahout.math">AbstractMatrix</a>, <a href="../../../../org/apache/mahout/math/DenseMatrix.html" title="class in org.apache.mahout.math">DenseMatrix</a>, <a href="../../../../org/apache/mahout/math/DenseSymmetricMatrix.html" title="class in org.apache.mahout.math">DenseSymmetricMatrix</a>, <a href="../../../../org/apache/mahout/math/DiagonalMatrix.html" title="class in org.apache.mahout.math">DiagonalMatrix</a>, <a href="../../../../org/apache/mahout/math/FileBasedMatrix.html" title="class in org.apache.mahout.math">FileBasedMatrix</a>, <a href="../../../../org/apache/mahout/math/FileBasedSparseBinaryMatrix.html" title="class in org.apache.mahout.math">FileBasedSparseBinaryMatrix</a>, <a href="../../../../org/apache/mahout/math/MatrixView.html" title="class in org.apache.mahout.math">MatrixView</a>, <a href="../../../../org/apache/mahout/math/PivotedMatrix.html" title="class in org.apache.mahout.math">PivotedMatrix</a>, <a href="../../../../org/apache/mahout/math/RandomTrinaryMatrix.html" title="class in org.apache.mahout.math">RandomTrinaryMatrix</a>, <a href="../../../../org/apache/mahout/math/SparseColumnMatrix.html" title="class in org.apache.mahout.math">SparseColumnMatrix</a>, <a href="../../../../org/apache/mahout/math/SparseMatrix.html" title="class in org.apache.mahout.math">SparseMatrix</a>, <a href="../../../../org/apache/mahout/math/SparseRowMatrix.html" title="class in org.apache.mahout.math">SparseRowMatrix</a>, <a href="../../../../org/apache/mahout/math/TransposedMatrixView.html" title="class in org.apache.mahout.math">TransposedMatrixView</a>, <a href="../../../../org/apache/mahout/math/UpperTriangular.html" title="class in org.apache.mahout.math">UpperTriangular</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public interface <span class="typeNameLabel">Matrix</span> |
| extends <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/VectorIterable.html" title="interface in org.apache.mahout.math">VectorIterable</a></pre> |
| <div class="block">The basic interface including numerous convenience functions</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></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/Matrix.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> combiner, |
| <a href="../../../../org/apache/mahout/math/function/DoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleFunction</a> mapper)</code> |
| <div class="block">Collects the results of a function applied to each element of a matrix and then |
| aggregated.</div> |
| </td> |
| </tr> |
| <tr id="i1" 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/Matrix.html#aggregateColumns-org.apache.mahout.math.function.VectorFunction-">aggregateColumns</a></span>(<a href="../../../../org/apache/mahout/math/function/VectorFunction.html" title="interface in org.apache.mahout.math.function">VectorFunction</a> f)</code> |
| <div class="block">Collects the results of a function applied to each column of a matrix.</div> |
| </td> |
| </tr> |
| <tr id="i2" 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/Matrix.html#aggregateRows-org.apache.mahout.math.function.VectorFunction-">aggregateRows</a></span>(<a href="../../../../org/apache/mahout/math/function/VectorFunction.html" title="interface in org.apache.mahout.math.function">VectorFunction</a> f)</code> |
| <div class="block">Collects the results of a function applied to each row of a matrix.</div> |
| </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/Matrix.html#asFormatString--">asFormatString</a></span>()</code> </td> |
| </tr> |
| <tr id="i4" 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/Matrix.html#assign-double-">assign</a></span>(double 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/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/Matrix.html#assign-double:A:A-">assign</a></span>(double[][] 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/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/Matrix.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> function)</code> |
| <div class="block">Apply the function to each element of the receiver</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <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/Matrix.html#assign-org.apache.mahout.math.Matrix-">assign</a></span>(<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> other)</code> |
| <div class="block">Assign the other vector values to the receiver</div> |
| </td> |
| </tr> |
| <tr id="i8" 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/Matrix.html#assign-org.apache.mahout.math.Matrix-org.apache.mahout.math.function.DoubleDoubleFunction-">assign</a></span>(<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> other, |
| <a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a> 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="i9" class="rowColor"> |
| <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/Matrix.html#assignColumn-int-org.apache.mahout.math.Vector-">assignColumn</a></span>(int column, |
| <a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a> other)</code> |
| <div class="block">Assign the other vector values to the column of the receiver</div> |
| </td> |
| </tr> |
| <tr id="i10" 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/Matrix.html#assignRow-int-org.apache.mahout.math.Vector-">assignRow</a></span>(int row, |
| <a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a> other)</code> |
| <div class="block">Assign the other vector values to the row of the receiver</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <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/Matrix.html#clone--">clone</a></span>()</code> |
| <div class="block">Return a copy of the recipient</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#columnSize--">columnSize</a></span>()</code> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#determinant--">determinant</a></span>()</code> |
| <div class="block">Returns matrix determinator using Laplace theorem</div> |
| </td> |
| </tr> |
| <tr id="i14" 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/Matrix.html#divide-double-">divide</a></span>(double x)</code> |
| <div class="block">Return a new matrix containing the values of the recipient divided by the argument</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#get-int-int-">get</a></span>(int row, |
| int column)</code> |
| <div class="block">Return the value at the given indexes</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#get-java.lang.String-java.lang.String-">get</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> rowLabel, |
| <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> columnLabel)</code> |
| <div class="block">Return the value at the given labels</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#getColumnLabelBindings--">getColumnLabelBindings</a></span>()</code> |
| <div class="block">Return a map of the current column label bindings of the receiver</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/mahout/math/flavor/MatrixFlavor.html" title="interface in org.apache.mahout.math.flavor">MatrixFlavor</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#getFlavor--">getFlavor</a></span>()</code> |
| <div class="block">Get matrix structural flavor (operations performance hints).</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>int[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#getNumNondefaultElements--">getNumNondefaultElements</a></span>()</code> |
| <div class="block">Return the number of values in the recipient</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/Matrix.html#getQuick-int-int-">getQuick</a></span>(int row, |
| int column)</code> |
| <div class="block">Return the value at the given indexes, without checking bounds</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#getRowLabelBindings--">getRowLabelBindings</a></span>()</code> |
| <div class="block">Return a map of the current row label bindings of the receiver</div> |
| </td> |
| </tr> |
| <tr id="i22" 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/Matrix.html#like--">like</a></span>()</code> |
| <div class="block">Return an empty matrix of the same underlying class as the receiver</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <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/Matrix.html#like-int-int-">like</a></span>(int rows, |
| int columns)</code> |
| <div class="block">Returns an empty matrix of the same underlying class as the receiver and of the specified size.</div> |
| </td> |
| </tr> |
| <tr id="i24" 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/Matrix.html#minus-org.apache.mahout.math.Matrix-">minus</a></span>(<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> x)</code> |
| <div class="block">Return a new matrix containing the element by element difference of the recipient and the argument</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <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/Matrix.html#plus-double-">plus</a></span>(double x)</code> |
| <div class="block">Return a new matrix containing the sum of each value of the recipient and the argument</div> |
| </td> |
| </tr> |
| <tr id="i26" 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/Matrix.html#plus-org.apache.mahout.math.Matrix-">plus</a></span>(<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> x)</code> |
| <div class="block">Return a new matrix containing the element by element sum of the recipient and the argument</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#rowSize--">rowSize</a></span>()</code> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#set-int-double:A-">set</a></span>(int row, |
| double[] data)</code> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#set-int-int-double-">set</a></span>(int row, |
| int column, |
| double value)</code> |
| <div class="block">Set the value at the given index</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#set-java.lang.String-double:A-">set</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> rowLabel, |
| double[] rowData)</code> |
| <div class="block">Sets the row values at the given row label</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#set-java.lang.String-int-double:A-">set</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> rowLabel, |
| int row, |
| double[] rowData)</code> |
| <div class="block">Sets the row values at the given row index and updates the row labels</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#set-java.lang.String-java.lang.String-double-">set</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> rowLabel, |
| <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> columnLabel, |
| double value)</code> |
| <div class="block">Set the value at the given index</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#set-java.lang.String-java.lang.String-int-int-double-">set</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> rowLabel, |
| <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> columnLabel, |
| int row, |
| int column, |
| double value)</code> |
| <div class="block">Set the value at the given index, updating the row and column label bindings</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#setColumnLabelBindings-java.util.Map-">setColumnLabelBindings</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> bindings)</code> |
| <div class="block">Sets a map of column label bindings in the receiver</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#setQuick-int-int-double-">setQuick</a></span>(int row, |
| int column, |
| double value)</code> |
| <div class="block">Set the value at the given index, without checking bounds</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.html#setRowLabelBindings-java.util.Map-">setRowLabelBindings</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> bindings)</code> |
| <div class="block">Sets a map of row label bindings in the receiver</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <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/Matrix.html#times-double-">times</a></span>(double x)</code> |
| <div class="block">Return a new matrix containing the product of each value of the recipient and the argument</div> |
| </td> |
| </tr> |
| <tr id="i38" 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/Matrix.html#times-org.apache.mahout.math.Matrix-">times</a></span>(<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> x)</code> |
| <div class="block">Return a new matrix containing the product of the recipient and the argument</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <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/Matrix.html#transpose--">transpose</a></span>()</code> |
| <div class="block">Return a new matrix that is the transpose of the receiver</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/Matrix.html#viewColumn-int-">viewColumn</a></span>(int column)</code> |
| <div class="block">Return a reference to a column.</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/Matrix.html#viewDiagonal--">viewDiagonal</a></span>()</code> |
| <div class="block">Returns a reference to the diagonal of a matrix.</div> |
| </td> |
| </tr> |
| <tr id="i42" 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/Matrix.html#viewPart-int:A-int:A-">viewPart</a></span>(int[] offset, |
| int[] size)</code> |
| <div class="block">Return a view into part of a matrix.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <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/Matrix.html#viewPart-int-int-int-int-">viewPart</a></span>(int rowOffset, |
| int rowsRequested, |
| int columnOffset, |
| int columnsRequested)</code> |
| <div class="block">Return a view into part of a matrix.</div> |
| </td> |
| </tr> |
| <tr id="i44" 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/Matrix.html#viewRow-int-">viewRow</a></span>(int row)</code> |
| <div class="block">Return a reference to a row.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Matrix.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.org.apache.mahout.math.VectorIterable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.mahout.math.<a href="../../../../org/apache/mahout/math/VectorIterable.html" title="interface in org.apache.mahout.math">VectorIterable</a></h3> |
| <code><a href="../../../../org/apache/mahout/math/VectorIterable.html#iterateAll--">iterateAll</a>, <a href="../../../../org/apache/mahout/math/VectorIterable.html#iterateNonEmpty--">iterateNonEmpty</a>, <a href="../../../../org/apache/mahout/math/VectorIterable.html#numCols--">numCols</a>, <a href="../../../../org/apache/mahout/math/VectorIterable.html#numRows--">numRows</a>, <a href="../../../../org/apache/mahout/math/VectorIterable.html#numSlices--">numSlices</a>, <a href="../../../../org/apache/mahout/math/VectorIterable.html#times-org.apache.mahout.math.Vector-">times</a>, <a href="../../../../org/apache/mahout/math/VectorIterable.html#timesSquared-org.apache.mahout.math.Vector-">timesSquared</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface java.lang.<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></h3> |
| <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#iterator--" title="class or interface in java.lang">iterator</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="class or interface in java.lang">spliterator</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="asFormatString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asFormatString</h4> |
| <pre><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> asFormatString()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a formatted String suitable for output</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="assign-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assign</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> assign(double value)</pre> |
| <div class="block">Assign the value to all elements of the receiver</div> |
| <dl> |
| <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-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assign</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> assign(double[][] values)</pre> |
| <div class="block">Assign the values to the receiver</div> |
| <dl> |
| <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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/CardinalityException.html" title="class in org.apache.mahout.math">CardinalityException</a></code> - if the cardinalities differ</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="assign-org.apache.mahout.math.Matrix-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assign</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> assign(<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> other)</pre> |
| <div class="block">Assign the other vector values to the receiver</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>other</code> - a Matrix</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the modified receiver</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/CardinalityException.html" title="class in org.apache.mahout.math">CardinalityException</a></code> - if the cardinalities differ</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="assign-org.apache.mahout.math.function.DoubleFunction-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assign</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> assign(<a href="../../../../org/apache/mahout/math/function/DoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleFunction</a> function)</pre> |
| <div class="block">Apply the function to each element of the receiver</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</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.Matrix-org.apache.mahout.math.function.DoubleDoubleFunction-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assign</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> assign(<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> other, |
| <a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a> function)</pre> |
| <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="paramLabel">Parameters:</span></dt> |
| <dd><code>other</code> - a Matrix 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> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/CardinalityException.html" title="class in org.apache.mahout.math">CardinalityException</a></code> - if the cardinalities differ</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="assignColumn-int-org.apache.mahout.math.Vector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assignColumn</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> assignColumn(int column, |
| <a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a> other)</pre> |
| <div class="block">Assign the other vector values to the column of the receiver</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>column</code> - the int row to assign</dd> |
| <dd><code>other</code> - a Vector</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the modified receiver</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/CardinalityException.html" title="class in org.apache.mahout.math">CardinalityException</a></code> - if the cardinalities differ</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="assignRow-int-org.apache.mahout.math.Vector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assignRow</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> assignRow(int row, |
| <a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a> other)</pre> |
| <div class="block">Assign the other vector values to the row of the receiver</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>row</code> - the int row to assign</dd> |
| <dd><code>other</code> - a Vector</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the modified receiver</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/CardinalityException.html" title="class in org.apache.mahout.math">CardinalityException</a></code> - if the cardinalities differ</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="aggregateRows-org.apache.mahout.math.function.VectorFunction-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>aggregateRows</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a> aggregateRows(<a href="../../../../org/apache/mahout/math/function/VectorFunction.html" title="interface in org.apache.mahout.math.function">VectorFunction</a> f)</pre> |
| <div class="block">Collects the results of a function applied to each row of a matrix.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>f</code> - The function to be applied to each row.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The vector of results.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="aggregateColumns-org.apache.mahout.math.function.VectorFunction-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>aggregateColumns</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a> aggregateColumns(<a href="../../../../org/apache/mahout/math/function/VectorFunction.html" title="interface in org.apache.mahout.math.function">VectorFunction</a> f)</pre> |
| <div class="block">Collects the results of a function applied to each column of a matrix.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>f</code> - The function to be applied to each column.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The vector of results.</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>double aggregate(<a href="../../../../org/apache/mahout/math/function/DoubleDoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleDoubleFunction</a> combiner, |
| <a href="../../../../org/apache/mahout/math/function/DoubleFunction.html" title="class in org.apache.mahout.math.function">DoubleFunction</a> mapper)</pre> |
| <div class="block">Collects the results of a function applied to each element of a matrix and then |
| aggregated.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>combiner</code> - A function that combines the results of the mapper.</dd> |
| <dd><code>mapper</code> - A function to apply to each element.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The result.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="columnSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>columnSize</h4> |
| <pre>int columnSize()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of rows in the matrix.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="rowSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rowSize</h4> |
| <pre>int rowSize()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns the number of rows in the matrix.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clone--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clone</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> clone()</pre> |
| <div class="block">Return a copy of the recipient</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new Matrix</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="determinant--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>determinant</h4> |
| <pre>double determinant()</pre> |
| <div class="block">Returns matrix determinator using Laplace theorem</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a matrix determinator</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="divide-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>divide</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> divide(double x)</pre> |
| <div class="block">Return a new matrix containing the values of the recipient divided by the argument</div> |
| <dl> |
| <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 Matrix</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="get-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre>double get(int row, |
| int column)</pre> |
| <div class="block">Return the value at the given indexes</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>row</code> - an int row index</dd> |
| <dd><code>column</code> - an int column index</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the double at the index</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/IndexException.html" title="class in org.apache.mahout.math">IndexException</a></code> - if the index is out of bounds</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getQuick-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQuick</h4> |
| <pre>double getQuick(int row, |
| int column)</pre> |
| <div class="block">Return the value at the given indexes, without checking bounds</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>row</code> - an int row index</dd> |
| <dd><code>column</code> - an int column index</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the double at the index</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="like--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>like</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> like()</pre> |
| <div class="block">Return an empty matrix of the same underlying class as the receiver</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Matrix</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="like-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>like</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> like(int rows, |
| int columns)</pre> |
| <div class="block">Returns an empty matrix of the same underlying class as the receiver and of the specified size.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rows</code> - the int number of rows</dd> |
| <dd><code>columns</code> - the int number of columns</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="minus-org.apache.mahout.math.Matrix-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>minus</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> minus(<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> x)</pre> |
| <div class="block">Return a new matrix containing the element by element difference of the recipient and the argument</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - a Matrix</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new Matrix</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/CardinalityException.html" title="class in org.apache.mahout.math">CardinalityException</a></code> - if the cardinalities differ</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="plus-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>plus</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> plus(double x)</pre> |
| <div class="block">Return a new matrix containing the sum of each value of the recipient and the argument</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - a double</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new Matrix</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="plus-org.apache.mahout.math.Matrix-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>plus</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> plus(<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> x)</pre> |
| <div class="block">Return a new matrix containing the element by element sum of the recipient and the argument</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - a Matrix</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new Matrix</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/CardinalityException.html" title="class in org.apache.mahout.math">CardinalityException</a></code> - if the cardinalities differ</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-int-int-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>void set(int row, |
| int column, |
| double value)</pre> |
| <div class="block">Set the value at the given index</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>row</code> - an int row index into the receiver</dd> |
| <dd><code>column</code> - an int column index into the receiver</dd> |
| <dd><code>value</code> - a double value to set</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/IndexException.html" title="class in org.apache.mahout.math">IndexException</a></code> - if the index is out of bounds</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-int-double:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>void set(int row, |
| double[] data)</pre> |
| </li> |
| </ul> |
| <a name="setQuick-int-int-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setQuick</h4> |
| <pre>void setQuick(int row, |
| int column, |
| double value)</pre> |
| <div class="block">Set the value at the given index, without checking bounds</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>row</code> - an int row index into the receiver</dd> |
| <dd><code>column</code> - an int column index into the receiver</dd> |
| <dd><code>value</code> - a double value to set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getNumNondefaultElements--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNumNondefaultElements</h4> |
| <pre>int[] getNumNondefaultElements()</pre> |
| <div class="block">Return the number of values in the recipient</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an int[2] containing [row, column] count</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="times-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>times</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> times(double x)</pre> |
| <div class="block">Return a new matrix containing the product of each value of the recipient and the argument</div> |
| <dl> |
| <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 Matrix</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="times-org.apache.mahout.math.Matrix-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>times</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> times(<a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> x)</pre> |
| <div class="block">Return a new matrix containing the product of the recipient and the argument</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - a Matrix argument</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new Matrix</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/CardinalityException.html" title="class in org.apache.mahout.math">CardinalityException</a></code> - if the cardinalities are incompatible</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="transpose--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>transpose</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> transpose()</pre> |
| <div class="block">Return a new matrix that is the transpose of the receiver</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the transpose</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="zSum--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>zSum</h4> |
| <pre>double zSum()</pre> |
| <div class="block">Return the sum of all the elements of the receiver</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a double</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getColumnLabelBindings--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getColumnLabelBindings</h4> |
| <pre><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> getColumnLabelBindings()</pre> |
| <div class="block">Return a map of the current column label bindings of the receiver</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a <code>Map<String, Integer></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRowLabelBindings--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRowLabelBindings</h4> |
| <pre><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> getRowLabelBindings()</pre> |
| <div class="block">Return a map of the current row label bindings of the receiver</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a <code>Map<String, Integer></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setColumnLabelBindings-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setColumnLabelBindings</h4> |
| <pre>void setColumnLabelBindings(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> bindings)</pre> |
| <div class="block">Sets a map of column label bindings in the receiver</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>bindings</code> - a <code>Map<String, Integer></code> of label bindings</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setRowLabelBindings-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRowLabelBindings</h4> |
| <pre>void setRowLabelBindings(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> bindings)</pre> |
| <div class="block">Sets a map of row label bindings in the receiver</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>bindings</code> - a <code>Map<String, Integer></code> of label bindings</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="get-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre>double get(<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> rowLabel, |
| <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> columnLabel)</pre> |
| <div class="block">Return the value at the given labels</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowLabel</code> - a String row label</dd> |
| <dd><code>columnLabel</code> - a String column label</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the double at the index</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/IndexException.html" title="class in org.apache.mahout.math">IndexException</a></code> - if the index is out of bounds</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-java.lang.String-java.lang.String-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>void set(<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> rowLabel, |
| <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> columnLabel, |
| double value)</pre> |
| <div class="block">Set the value at the given index</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowLabel</code> - a String row label</dd> |
| <dd><code>columnLabel</code> - a String column label</dd> |
| <dd><code>value</code> - a double value to set</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/IndexException.html" title="class in org.apache.mahout.math">IndexException</a></code> - if the index is out of bounds</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-java.lang.String-java.lang.String-int-int-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>void set(<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> rowLabel, |
| <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> columnLabel, |
| int row, |
| int column, |
| double value)</pre> |
| <div class="block">Set the value at the given index, updating the row and column label bindings</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowLabel</code> - a String row label</dd> |
| <dd><code>columnLabel</code> - a String column label</dd> |
| <dd><code>row</code> - an int row index</dd> |
| <dd><code>column</code> - an int column index</dd> |
| <dd><code>value</code> - a double value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-java.lang.String-double:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>void set(<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> rowLabel, |
| double[] rowData)</pre> |
| <div class="block">Sets the row values at the given row label</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowLabel</code> - a String row label</dd> |
| <dd><code>rowData</code> - a double[] array of row data</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-java.lang.String-int-double:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>void set(<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> rowLabel, |
| int row, |
| double[] rowData)</pre> |
| <div class="block">Sets the row values at the given row index and updates the row labels</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowLabel</code> - the String row label</dd> |
| <dd><code>row</code> - an int the row index</dd> |
| <dd><code>rowData</code> - a double[] array of row data</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="viewPart-int:A-int:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>viewPart</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> viewPart(int[] offset, |
| int[] size)</pre> |
| <div class="block">Return a view into part of a matrix. Changes to the view will change the |
| original matrix.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>offset</code> - an int[2] offset into the receiver</dd> |
| <dd><code>size</code> - the int[2] size of the desired result</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a matrix that shares storage with part of the original matrix.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/CardinalityException.html" title="class in org.apache.mahout.math">CardinalityException</a></code> - if the length is greater than the cardinality of the receiver</dd> |
| <dd><code><a href="../../../../org/apache/mahout/math/IndexException.html" title="class in org.apache.mahout.math">IndexException</a></code> - if the offset is negative or the offset+length is outside of the receiver</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="viewPart-int-int-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>viewPart</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Matrix.html" title="interface in org.apache.mahout.math">Matrix</a> viewPart(int rowOffset, |
| int rowsRequested, |
| int columnOffset, |
| int columnsRequested)</pre> |
| <div class="block">Return a view into part of a matrix. Changes to the view will change the |
| original matrix.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rowOffset</code> - The first row of the view</dd> |
| <dd><code>rowsRequested</code> - The number of rows in the view</dd> |
| <dd><code>columnOffset</code> - The first column in the view</dd> |
| <dd><code>columnsRequested</code> - The number of columns in the view</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a matrix that shares storage with part of the original matrix.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/mahout/math/CardinalityException.html" title="class in org.apache.mahout.math">CardinalityException</a></code> - if the length is greater than the cardinality of the receiver</dd> |
| <dd><code><a href="../../../../org/apache/mahout/math/IndexException.html" title="class in org.apache.mahout.math">IndexException</a></code> - if the offset is negative or the offset+length is outside of the |
| receiver</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="viewRow-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>viewRow</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a> viewRow(int row)</pre> |
| <div class="block">Return a reference to a row. Changes to the view will change the original matrix.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>row</code> - The index of the row to return.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A vector that shares storage with the original.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="viewColumn-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>viewColumn</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a> viewColumn(int column)</pre> |
| <div class="block">Return a reference to a column. Changes to the view will change the original matrix.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>column</code> - The index of the column to return.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A vector that shares storage with the original.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="viewDiagonal--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>viewDiagonal</h4> |
| <pre><a href="../../../../org/apache/mahout/math/Vector.html" title="interface in org.apache.mahout.math">Vector</a> viewDiagonal()</pre> |
| <div class="block">Returns a reference to the diagonal of a matrix. Changes to the view will change |
| the original matrix.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A vector that shares storage with the original matrix.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFlavor--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getFlavor</h4> |
| <pre><a href="../../../../org/apache/mahout/math/flavor/MatrixFlavor.html" title="interface in org.apache.mahout.math.flavor">MatrixFlavor</a> getFlavor()</pre> |
| <div class="block">Get matrix structural flavor (operations performance hints). This is optional operation, may |
| throw <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a>.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Matrix.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/mahout/math/Matrices.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/mahout/math/MatrixSlice.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/mahout/math/Matrix.html" target="_top">Frames</a></li> |
| <li><a href="Matrix.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2008–2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |