⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 doublevector.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<A NAME="minus(double)"><!-- --></A><H3>minus</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>minus</B>(double&nbsp;x)</PRE><DL><DD>Subtracts a value<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value</DL></DD></DL><HR><A NAME="minusEquals(double)"><!-- --></A><H3>minusEquals</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>minusEquals</B>(double&nbsp;x)</PRE><DL><DD>Subtracts a value in place<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value</DL></DD></DL><HR><A NAME="minus(weka.core.matrix.DoubleVector)"><!-- --></A><H3>minus</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>minus</B>(<A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Subtracts another DoubleVector element by element<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the second DoubleVector</DL></DD></DL><HR><A NAME="minusEquals(weka.core.matrix.DoubleVector)"><!-- --></A><H3>minusEquals</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>minusEquals</B>(<A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Subtracts another DoubleVector element by element in place<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the second DoubleVector</DL></DD></DL><HR><A NAME="times(double)"><!-- --></A><H3>times</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>times</B>(double&nbsp;s)</PRE><DL><DD>Multiplies a scalar<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - scalar<DT><B>Returns:</B><DD>s * v</DL></DD></DL><HR><A NAME="timesEquals(double)"><!-- --></A><H3>timesEquals</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>timesEquals</B>(double&nbsp;s)</PRE><DL><DD>Multiply a vector by a scalar in place, u = s * u<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - scalar<DT><B>Returns:</B><DD>replace u by s * u</DL></DD></DL><HR><A NAME="times(weka.core.matrix.DoubleVector)"><!-- --></A><H3>times</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>times</B>(<A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Multiplies another DoubleVector element by element<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the second DoubleVector</DL></DD></DL><HR><A NAME="timesEquals(weka.core.matrix.DoubleVector)"><!-- --></A><H3>timesEquals</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>timesEquals</B>(<A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Multiplies another DoubleVector element by element in place<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the second DoubleVector</DL></DD></DL><HR><A NAME="dividedBy(weka.core.matrix.DoubleVector)"><!-- --></A><H3>dividedBy</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>dividedBy</B>(<A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Divided by another DoubleVector element by element<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the second DoubleVector</DL></DD></DL><HR><A NAME="dividedByEquals(weka.core.matrix.DoubleVector)"><!-- --></A><H3>dividedByEquals</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>dividedByEquals</B>(<A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Divided by another DoubleVector element by element in place<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the second DoubleVector</DL></DD></DL><HR><A NAME="isEmpty()"><!-- --></A><H3>isEmpty</H3><PRE>public boolean <B>isEmpty</B>()</PRE><DL><DD>Checks if it is an empty vector<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="cumulate()"><!-- --></A><H3>cumulate</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>cumulate</B>()</PRE><DL><DD>Returns a vector that stores the cumulated values of the original vector<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="cumulateInPlace()"><!-- --></A><H3>cumulateInPlace</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>cumulateInPlace</B>()</PRE><DL><DD>Cumulates the original vector in place<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="indexOfMax()"><!-- --></A><H3>indexOfMax</H3><PRE>public int <B>indexOfMax</B>()</PRE><DL><DD>Returns the index of the maximum. <p> If multiple maximums exist, the index of the first is returned.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="unsorted()"><!-- --></A><H3>unsorted</H3><PRE>public boolean <B>unsorted</B>()</PRE><DL><DD>Returns true if vector not sorted<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="cat(weka.core.matrix.DoubleVector)"><!-- --></A><H3>cat</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>cat</B>(<A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Combine two vectors together<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the second vector</DL></DD></DL><HR><A NAME="swap(int, int)"><!-- --></A><H3>swap</H3><PRE>public void <B>swap</B>(int&nbsp;i,                 int&nbsp;j)</PRE><DL><DD>Swaps the values stored at i and j<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the index i<DD><CODE>j</CODE> - the index j</DL></DD></DL><HR><A NAME="max()"><!-- --></A><H3>max</H3><PRE>public double <B>max</B>()</PRE><DL><DD>Returns the maximum value of all elements<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="map(java.lang.String, java.lang.String)"><!-- --></A><H3>map</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>map</B>(java.lang.String&nbsp;className,                        java.lang.String&nbsp;method)</PRE><DL><DD>Applies a method to the vector<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>className</CODE> - the class name<DD><CODE>method</CODE> - the method</DL></DD></DL><HR><A NAME="rev()"><!-- --></A><H3>rev</H3><PRE>public <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>rev</B>()</PRE><DL><DD>Returns the reverse vector<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="random(int)"><!-- --></A><H3>random</H3><PRE>public static <A HREF="../../../weka/core/matrix/DoubleVector.html" title="class in weka.core.matrix">DoubleVector</A> <B>random</B>(int&nbsp;n)</PRE><DL><DD>Returns a random vector of uniform distribution<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - the size of the vector</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Convert the DoubleVecor to a string<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString(int, boolean)"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>(int&nbsp;digits,                                 boolean&nbsp;trailing)</PRE><DL><DD>Convert the DoubleVecor to a string<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>digits</CODE> - the number of digits after decimal point<DD><CODE>trailing</CODE> - true if trailing zeros are to be shown</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[]&nbsp;args)</PRE><DL><DD><DL></DL></DD><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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../weka/core/matrix/CholeskyDecomposition.html" title="class in weka.core.matrix"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/core/matrix/EigenvalueDecomposition.html" title="class in weka.core.matrix"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?weka/core/matrix/DoubleVector.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DoubleVector.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -