📄 sparsematrix.html
字号:
double a)</PRE>
<DL>
<DD>adds a to the specified element, growing the matrix if necessary.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - <DD><CODE>j</CODE> - <DD><CODE>a</CODE> -
<DT><B>Returns:</B><DD>new value</DL>
</DD>
</DL>
<HR>
<A NAME="normalise(double)"><!-- --></A><H3>
normalise</H3>
<PRE>
public <A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseVector.html" title="class in net.sf.javaml.clustering.mcl">SparseVector</A> <B>normalise</B>(double rowsum)</PRE>
<DL>
<DD>normalise rows to rowsum
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rowsum</CODE> - for each row
<DT><B>Returns:</B><DD>vector of old row sums</DL>
</DD>
</DL>
<HR>
<A NAME="normaliseRows()"><!-- --></A><H3>
normaliseRows</H3>
<PRE>
public void <B>normaliseRows</B>()</PRE>
<DL>
<DD>normalise by major dimension (rows)
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="normaliseCols()"><!-- --></A><H3>
normaliseCols</H3>
<PRE>
public void <B>normaliseCols</B>()</PRE>
<DL>
<DD>normalise by minor dimension (columns), expensive.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="copy()"><!-- --></A><H3>
copy</H3>
<PRE>
public <A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseMatrix.html" title="class in net.sf.javaml.clustering.mcl">SparseMatrix</A> <B>copy</B>()</PRE>
<DL>
<DD>copy the matrix and its elements
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="times(net.sf.javaml.clustering.mcl.SparseVector)"><!-- --></A><H3>
times</H3>
<PRE>
public <A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseVector.html" title="class in net.sf.javaml.clustering.mcl">SparseVector</A> <B>times</B>(<A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseVector.html" title="class in net.sf.javaml.clustering.mcl">SparseVector</A> v)</PRE>
<DL>
<DD>immutable multiply this times the vector: A * x, i.e., rowwise.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>v</CODE> -
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="vectorTimes(net.sf.javaml.clustering.mcl.SparseVector)"><!-- --></A><H3>
vectorTimes</H3>
<PRE>
public <A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseVector.html" title="class in net.sf.javaml.clustering.mcl">SparseVector</A> <B>vectorTimes</B>(<A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseVector.html" title="class in net.sf.javaml.clustering.mcl">SparseVector</A> v)</PRE>
<DL>
<DD>immutable multiply the vector times this: x' * A, i.e., colwise.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>v</CODE> -
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="timesTransposed(net.sf.javaml.clustering.mcl.SparseMatrix)"><!-- --></A><H3>
timesTransposed</H3>
<PRE>
public <A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseMatrix.html" title="class in net.sf.javaml.clustering.mcl">SparseMatrix</A> <B>timesTransposed</B>(<A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseMatrix.html" title="class in net.sf.javaml.clustering.mcl">SparseMatrix</A> m)</PRE>
<DL>
<DD>mutable multiply this matrix (A) with M : A * M'
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>m</CODE> -
<DT><B>Returns:</B><DD>modified this</DL>
</DD>
</DL>
<HR>
<A NAME="times(net.sf.javaml.clustering.mcl.SparseMatrix)"><!-- --></A><H3>
times</H3>
<PRE>
public <A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseMatrix.html" title="class in net.sf.javaml.clustering.mcl">SparseMatrix</A> <B>times</B>(<A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseMatrix.html" title="class in net.sf.javaml.clustering.mcl">SparseMatrix</A> m)</PRE>
<DL>
<DD>immutable multiply this matrix (A) with M : A * M
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>m</CODE> -
<DT><B>Returns:</B><DD>matrix product</DL>
</DD>
</DL>
<HR>
<A NAME="matrixTimes(net.sf.javaml.clustering.mcl.SparseMatrix)"><!-- --></A><H3>
matrixTimes</H3>
<PRE>
public <A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseMatrix.html" title="class in net.sf.javaml.clustering.mcl">SparseMatrix</A> <B>matrixTimes</B>(<A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseMatrix.html" title="class in net.sf.javaml.clustering.mcl">SparseMatrix</A> m)</PRE>
<DL>
<DD>immutable multiply matrix M with this (A) : M * A
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>m</CODE> -
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="transpose()"><!-- --></A><H3>
transpose</H3>
<PRE>
public <A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseMatrix.html" title="class in net.sf.javaml.clustering.mcl">SparseMatrix</A> <B>transpose</B>()</PRE>
<DL>
<DD>immutable transpose.
<P>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="getColum(int)"><!-- --></A><H3>
getColum</H3>
<PRE>
public <A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseVector.html" title="class in net.sf.javaml.clustering.mcl">SparseVector</A> <B>getColum</B>(int i)</PRE>
<DL>
<DD>get a column of the sparse matrix (expensive).
<P>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="hadamardProduct(net.sf.javaml.clustering.mcl.SparseMatrix)"><!-- --></A><H3>
hadamardProduct</H3>
<PRE>
public void <B>hadamardProduct</B>(<A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseMatrix.html" title="class in net.sf.javaml.clustering.mcl">SparseMatrix</A> m)</PRE>
<DL>
<DD>mutable Hadamard product
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>m</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="hadamardPower(double)"><!-- --></A><H3>
hadamardPower</H3>
<PRE>
public void <B>hadamardPower</B>(double s)</PRE>
<DL>
<DD>mutable m2 = m .^ s
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>s</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.util.AbstractCollection<<A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseVector.html" title="class in net.sf.javaml.clustering.mcl">SparseVector</A>></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toStringDense()"><!-- --></A><H3>
toStringDense</H3>
<PRE>
public java.lang.String <B>toStringDense</B>()</PRE>
<DL>
<DD>prints a dense representation
<P>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="prune(double)"><!-- --></A><H3>
prune</H3>
<PRE>
public void <B>prune</B>(double threshold)</PRE>
<DL>
<DD>prune all values whose magnitude is below threshold
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SparseMatrix.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../net/sf/javaml/clustering/mcl/MCL.html" title="class in net.sf.javaml.clustering.mcl"><B>PREV CLASS</B></A>
<A HREF="../../../../../net/sf/javaml/clustering/mcl/SparseVector.html" title="class in net.sf.javaml.clustering.mcl"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?net/sf/javaml/clustering/mcl/SparseMatrix.html" target="_top"><B>FRAMES</B></A>
<A HREF="SparseMatrix.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_java.util.AbstractList">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright © 2006-2007 - Thomas Abeel - All Rights Reserved.</i>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -