median.html

来自「数据结构词典(英文)」· HTML 代码 · 共 50 行

HTML
50
字号
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>median</TITLE>
<META name="description"
  content="Definition of median,
	possibly with links to more information and implementations.">
<META name="keywords" content="median">
</HEAD>
<BODY BGCOLOR="#FFFFFF">

<H1>median</H1>
<P>
(definition)

<P>
<strong>Definition:</strong>
The value which has an equal number of values greater and less than it.  For an even number of values, it is the <a href="mean.html" tppabs="http://hissa.nist.gov/dads/HTML/mean.html"><em>mean</em></a> of the two middle values.
<P><strong>See also</strong>
<a href="mean.html" tppabs="http://hissa.nist.gov/dads/HTML/mean.html"><em>mean</em></a>, <a href="mode.html" tppabs="http://hissa.nist.gov/dads/HTML/mode.html"><em>mode</em></a>.
<P><em>Note:
The median is the "middle" value.  The median of 1, 1, 3, 50, and 60 is 3 since two elements (1 and 1) are less than it and two elements (50 and 60) are greater.  The median of 1, 1, 2, 3, 3, and 4 is 2.5, the mean of 2 and 3.</em>
<P>Author: <a href="terms.html#authorPEB" tppabs="http://hissa.nist.gov/dads/terms.html#authorPEB">PEB</a>
<H2>Implementation</H2>
<A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.sunysb.edu/%7Ealgorith/files/median.shtml  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.sunysb.edu/%7Ealgorith/files/median.shtml'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.sunysb.edu/%7Ealgorith/files/median.shtml">find median (Pascal and C++)</A>

<hr>

Go to the
<A HREF="terms.html" tppabs="http://hissa.nist.gov/dads/terms.html">Algorithms, Data Structures, and Problems</A>
home page.

<hr>

If you have suggestions, corrections, or comments, please get in touch
with
<a href="javascript:if(confirm('http://hissa.nist.gov/~black/black.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://hissa.nist.gov/~black/black.html'" tppabs="http://hissa.nist.gov/~black/black.html">Paul E. Black</a>
&nbsp;(<a href="mailto:paul.black@nist.gov">paul.black@nist.gov</a>).

<p>
Entry modified Tue Dec 28 10:57:44 1999.<BR>
HTML page formatted Tue Dec 28 10:58:18 1999.

<P>
This page's URL is
<A href="median.html" tppabs="http://hissa.nist.gov/dads/HTML/median.html">http://hissa.nist.gov/dads/HTML/median.html</A>

</BODY>
</HTML>

⌨️ 快捷键说明

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