📄 doublevector.html
字号:
</DL><HR><A NAME="times(weka.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>times</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>times</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> 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.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>timesEquals</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>timesEquals</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> 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.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>dividedBy</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>dividedBy</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> 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.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>dividedByEquals</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>dividedByEquals</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> 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/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">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/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">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.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>cat</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>cat</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> 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 i, int 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/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>map</B>(java.lang.String className, java.lang.String 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/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">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/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>random</B>(int 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></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 digits, boolean 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[] 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=3 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="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="../../../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><FONT CLASS="NavBarFont1"><B>Weka's home</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="../../../../weka/classifiers/functions/pace/DiscreteFunction.html" title="class in weka.classifiers.functions.pace"><B>PREV CLASS</B></A> <A HREF="../../../../weka/classifiers/functions/pace/ExponentialFormat.html" title="class in weka.classifiers.functions.pace"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="DoubleVector.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 | FIELD | <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></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -