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

📄 doublevector.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 5 页
字号:
public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>copy</B>()</PRE><DL><DD>Makes a deep copy of the vector<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Clones the DoubleVector object.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="innerProduct(weka.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>innerProduct</H3><PRE>public double <B>innerProduct</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Returns the inner product of two DoubleVectors<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the second DoubleVector<DT><B>Returns:</B><DD>the product</DL></DD></DL><HR><A NAME="sign()"><!-- --></A><H3>sign</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>sign</B>()</PRE><DL><DD>Returns the signs of all elements in terms of -1, 0 and +1.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="sum()"><!-- --></A><H3>sum</H3><PRE>public double <B>sum</B>()</PRE><DL><DD>Returns the sum of all elements in the vector.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="sum2()"><!-- --></A><H3>sum2</H3><PRE>public double <B>sum2</B>()</PRE><DL><DD>Returns the squared sum of all elements in the vector.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="norm1()"><!-- --></A><H3>norm1</H3><PRE>public double <B>norm1</B>()</PRE><DL><DD>Returns the L1-norm of the vector<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="norm2()"><!-- --></A><H3>norm2</H3><PRE>public double <B>norm2</B>()</PRE><DL><DD>Returns the L2-norm of the vector<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="sum2(weka.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>sum2</H3><PRE>public double <B>sum2</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Returns ||u-v||^2<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the second vector</DL></DD></DL><HR><A NAME="subvector(int, int)"><!-- --></A><H3>subvector</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>subvector</B>(int&nbsp;i0,                              int&nbsp;i1)</PRE><DL><DD>Returns a subvector.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i0</CODE> - the index of the first element<DD><CODE>i1</CODE> - the index of the last element<DT><B>Returns:</B><DD>v[i0:i1]</DL></DD></DL><HR><A NAME="subvector(weka.classifiers.functions.pace.IntVector)"><!-- --></A><H3>subvector</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>subvector</B>(<A HREF="../../../../weka/classifiers/functions/pace/IntVector.html" title="class in weka.classifiers.functions.pace">IntVector</A>&nbsp;index)</PRE><DL><DD>Returns a subvector.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - stores the indices of the needed elements<DT><B>Returns:</B><DD>v[index]</DL></DD></DL><HR><A NAME="unpivoting(weka.classifiers.functions.pace.IntVector, int)"><!-- --></A><H3>unpivoting</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>unpivoting</B>(<A HREF="../../../../weka/classifiers/functions/pace/IntVector.html" title="class in weka.classifiers.functions.pace">IntVector</A>&nbsp;index,                               int&nbsp;length)</PRE><DL><DD>Returns a vector from the pivoting indices. Elements not indexed are  set to zero.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - stores the pivoting indices<DD><CODE>length</CODE> - the total number of the potential elements<DT><B>Returns:</B><DD>the subvector</DL></DD></DL><HR><A NAME="plus(double)"><!-- --></A><H3>plus</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>plus</B>(double&nbsp;x)</PRE><DL><DD>Adds a value to all the elements<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value</DL></DD></DL><HR><A NAME="plusEquals(double)"><!-- --></A><H3>plusEquals</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>plusEquals</B>(double&nbsp;x)</PRE><DL><DD>Adds a value to all the elements 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="plus(weka.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>plus</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>plus</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Adds another vector element by element<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the second vector</DL></DD></DL><HR><A NAME="plusEquals(weka.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>plusEquals</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>plusEquals</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Adds another vector in place element by element<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the second vector</DL></DD></DL><HR><A NAME="minus(double)"><!-- --></A><H3>minus</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">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/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">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.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>minus</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>minus</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">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.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>minusEquals</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A> <B>minusEquals</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">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/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">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/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">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>

⌨️ 快捷键说明

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