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

📄 statistics.delta.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Statistics.Delta()"><!-- --></A><H3>Statistics.Delta</H3><PRE>public <B>Statistics.Delta</B>()</PRE><DL><DD>Construct an initially empty set of statistics. All statistical values are initialized to <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html#NaN" title="class or interface in java.lang"><CODE>Double.NaN</CODE></A>.<P></DL><HR><A NAME="Statistics.Delta(org.geotools.math.Statistics)"><!-- --></A><H3>Statistics.Delta</H3><PRE>public <B>Statistics.Delta</B>(<A HREF="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math">Statistics</A>&nbsp;delta)</PRE><DL><DD>Construct an initially empty set of statistics using the specified object for <A HREF="../../../org/geotools/math/Statistics.Delta.html#getDeltaStatistics()"><CODE>delta</CODE></A> statistics. This method allows chaining different kind of statistics objects. For example, one could write: <blockquote><pre> new Statistics.Delta(new Statistics.Delta()); </pre></blockquote> Which would compute statistics of sample values, statistics of difference between consecutive sample values, and statistics of difference of difference between consecutive sample values. Other kinds of <A HREF="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math"><CODE>Statistics</CODE></A> object could be chained as well.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getDeltaStatistics()"><!-- --></A><H3>getDeltaStatistics</H3><PRE>public <A HREF="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math">Statistics</A> <B>getDeltaStatistics</B>()</PRE><DL><DD>Returns the statistics about difference between consecutives values. Given a series of sample values <var>s<sub>0</sub></var>, <var>s<sub>1</sub></var>, <var>s<sub>2</sub></var>, <var>s<sub>3</sub></var>..., this is statistics for <var>s<sub>1</sub></var>-<var>s<sub>0</sub></var>, <var>s<sub>2</sub></var>-<var>s<sub>1</sub></var>, <var>s<sub>3</sub></var>-<var>s<sub>2</sub></var>...,<P><DD><DL></DL></DD></DL><HR><A NAME="reset()"><!-- --></A><H3>reset</H3><PRE>public void <B>reset</B>()</PRE><DL><DD>Reset the statistics to their initial <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html#NaN" title="class or interface in java.lang"><CODE>NaN</CODE></A> values. This method reset this object state as if it was just created.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/math/Statistics.html#reset()">reset</A></CODE> in class <CODE><A HREF="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math">Statistics</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="add(double)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(double&nbsp;sample)</PRE><DL><DD>Update statistics for the specified sample. The <A HREF="../../../org/geotools/math/Statistics.Delta.html#getDeltaStatistics()"><CODE>delta</CODE></A> statistics are updated with <code>sample - sample<sub>last</sub></code> value, where <code>sample<sub>last</sub></code> is the last value given to the previous call of an  method.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/math/Statistics.html#add(double)">add</A></CODE> in class <CODE><A HREF="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math">Statistics</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sample</CODE> - The sample value. <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html#NaN" title="class or interface in java.lang"><CODE>NaN</CODE></A> values are ignored.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/math/Statistics.html#add(long)"><CODE>Statistics.add(long)</CODE></A>, <A HREF="../../../org/geotools/math/Statistics.html#add(org.geotools.math.Statistics)"><CODE>Statistics.add(Statistics)</CODE></A></DL></DD></DL><HR><A NAME="add(long)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(long&nbsp;sample)</PRE><DL><DD>Update statistics for the specified sample. The <A HREF="../../../org/geotools/math/Statistics.Delta.html#getDeltaStatistics()"><CODE>delta</CODE></A> statistics are updated with <code>sample - sample<sub>last</sub></code> value, where <code>sample<sub>last</sub></code> is the last value given to the previous call of an  method.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/math/Statistics.html#add(long)">add</A></CODE> in class <CODE><A HREF="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math">Statistics</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sample</CODE> - The sample value.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/math/Statistics.html#add(double)"><CODE>Statistics.add(double)</CODE></A>, <A HREF="../../../org/geotools/math/Statistics.html#add(org.geotools.math.Statistics)"><CODE>Statistics.add(Statistics)</CODE></A></DL></DD></DL><HR><A NAME="add(org.geotools.math.Statistics)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math">Statistics</A>&nbsp;stats)         throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></PRE><DL><DD>Update statistics with all samples from the specified . Invoking this method is equivalent (except for rounding errors)  to invoking <A HREF="../../../org/geotools/math/Statistics.Delta.html#add(double)"><CODE>add</CODE></A> for all samples that were added to .  The  argument must be an instance of .<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/math/Statistics.html#add(org.geotools.math.Statistics)">add</A></CODE> in class <CODE><A HREF="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math">Statistics</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stats</CODE> - The statistics to be added to ,         or  if none.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - If  is not an instance of         .</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>clone</B>()</PRE><DL><DD>Returns a clone of this statistics.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>clone</CODE> in interface <CODE>Cloneable</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/math/Statistics.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math">Statistics</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;obj)</PRE><DL><DD>Test this statistics with the specified object for equality.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/math/Statistics.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math">Statistics</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash code value for this statistics.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/math/Statistics.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math">Statistics</A></CODE></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>&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="class-use/Statistics.Delta.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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>  </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="../../../org/geotools/math/Statistics.html" title="class in org.geotools.math"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Statistics.Delta.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;<A HREF="#nested_classes_inherited_from_class_org.geotools.math.Statistics">NESTED</A>&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>Copyright &copy; 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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