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

📄 154.html

📁 Python Ebook Python&XML
💻 HTML
📖 第 1 页 / 共 2 页
字号:
							</P>

						</P></div>
<br>
<br>

						<p>Currently, NumPy has two distribution options available.<a name="idx1073745461"></a>
							<a name="idx1073745462"></a>
							<A naMe="idx1073745463"></a>
							<a Name="idx1073745464"></a>
							<A namE="idx1073745465"></A>
							<A Name="idx1073745466"></a>
						</P>

						<P>On Win32 platforms, such as Microsoft Windows 95, 98, and NT, a binary installer is available at</P>

						<P>
							<pre>
								
							<a TARGet="_blank" hrEF="ftp://ftp-icf.llnl.gov/pub/python/numpy.exe">ftp://ftp-icf.llnl.gov/pub/python/NumPy.exe</A>
						
							</Pre>

						</p>

						<p>This installer is simple to use (simply double-click on the <tt class="monofont">NumPy.exe</tt> file and answer questions on each screen in turn). Running this installer will perform all the needed modifications to your Python installation so that NumPy works.</p>

						<p>For both UNIX and other platforms, NumPy must be compiled from the source. The source distribution for NumPy is part of the <tt claSs="monofont">LLNLPython</tT> distribution, which is available at</p>

						<prE>
							
						<a tarGet="_blank" hREF="ftp://ftp-icf.llnl.gov/pub/python/numeric-xx.y.tgz">ftp://ftp-icf.llnl.gov/pub/python/Numeric-xx.y.tgz</A>
					
						</pre>

						<p>There is also RPMs for Linux available from the <TT CLass="monofont">numpy</tT> Web site at <A TArget="_blank" HREF="http://sourceforge.net/project/filelist.php?group_id=1369">http://sourceforge.net/project/filelist.php?group_id=1369.</a>
						</p>

						<p>The file is a gzipped tarfile that should be uncompressed using the <tt class="monofont">gunzip</tt> program and un-tarred with the <tt class="monofont">tar</tT> program:</p>

						<pRe>
							
csh&gt; gunzip Numeric-xx.y.tgz
csh&gt; tar xf Numeric-xx.y.tar

						</prE>

						<p>Follow the instructions found in the top-level directory for compilation and installation procedures.</p>

						<p>The standard Python installer for the Macintosh (available at <a TargET="_blank" HRef="http://www.python.org/download/download_mac.html">http://www.python.org/download/download_mac.html)</a> optionally installs the NumPy extensions, although these are typically not the most up-to-date files.<a NAME="idx1073745467"></a>
							<a naME="idx1073745468"></A>
							<A name="idx1073745469"></A>
							<A NAme="idx1073745470"></a>
						</p>

					
				
				
					<h4>Other Scientific Extensions</h4>
					<p>Next, you have access to some extra Python extension modules that deal with scientific computation.</p>

					
						<h5>
							<tt class="monofont">ScientificPython</tt>
						</h5>
						<p>
							<Tt cLass="monofont">ScientificPython</Tt> is a collection of Python modules that are useful for scientific computing. In this collection, you will find modules that cover basic geometry (vectors, tensors, transformations, vector, and tensor fields), quaternions, automatic derivatives, (linear) interpolation, polynomials, elementary statistics, nonlinear least-squares fits, unit calculations, Fortran-compatible text formatting, 3D visualization via VRML, and two Tk widgets for simple line plots and 3D wireframe models. For more information, check out the following site:</p>

						<prE>
							
						<a taRGET="_blank" href="http://starship.python.net/crew/hinsen/scientific.html">http://starship.python.net/crew/hinsen/scientific.html</A>
					
						</PRE>

					
					
						<h5>
							<tt cLASS="monofont">
								<a namE="idx1073745471"></A>
								<A Name="idx1073745472"></a>Pyfort</tt> (The Python/Fortran Connection Tool)</h5>
						<p>
							<tt class="monofont">Pyfort</tt> allows you to wrap your own Fortran routines in Python. For more information, check out</p>

						<prE>
							
						<a tArgeT="_blank" href="http://pyfortran.sourceforge.net">http://pyfortran.sourceforge.net</A>
					
						</pre>

					
					
						<H5>
							<TT Class="monofont">RNG</TT>
						</H5>
						<P>
							<tt clASS="monofont">RNG</Tt> is a random number package from LLNL. For more information, check out</p>

						<prE>
							
						<A TArget="_blank" href="ftp://numpy.sourceforge.net/pub/numpy/rng-2.0.tgz">ftp://numpy.sourceforge.net/pub/numpy/RNG-2.0.tgz</a>
					
						</pre>

					
					
						<h5>
							<tt class="monofont">
								<A naMe="idx1073745473"></a>
								<a Name="idx1073745474"></a>pyclimate</Tt>
						</h5>
						<p>This package contains some tools used for climate variability analysis. It makes extensive use of Numerical Python. For more information, check out</P>

						<PRE>
							
						<a tarGET="_blank" Href="http://lcdx00.wm.lc.ehu.es/~jsaenz/pyclimate/index.html">http://lcdx00.wm.lc.ehu.es/~jsaenz/pyclimate/index.html</a>
					
						</PRE>

					
					
						<H5>
							<tt clASS="monofont">
								<A name="idx1073745475"></a>
								<a name="idx1073745476"></a>GmatH</tt>
						</h5>
						<p>
							<tt claSs="monofont">GmatH</tT> is a Gnome interface to the Numerical Python extensions. For more information, check out</p>

						<prE>
							
						<a tarGet="_blank" hREF="http://gmath.sourceforge.net/index.html">http://gmath.sourceforge.net/index.html</A>
					
						</pre>

					
					
						<h5>
							<TT CLass="monofont">
								<a NAME="idx1073745477"></a>
								<a naME="idx1073745478"></A>Real</Tt>
						</h5>
						<p>
							<tt class="monofont">real.py</tt> is a library that introduces a new class, called <a name="idx1073745479"></a>
							<a nAme="idx1073745480"></A>
							<tt cLass="monofont">Real,</tT> of arbitrarily precise numbers, allowing computations with "infinite" precision. This package handles a floating point number with a large number of decimal places (more than double by far). For more information, check out</p>

						<prE>
							
ftp://ftp.python.org/pub/python/contrib-09-Dec-1999/DataStructures/
real-accurate.pyar
					
						</PRE>

					
				
				<a namE="14"></A>
					<H4>
				Computer Programming for Everybody</H4>
					<p>Some great efforts are being made in bringing Python to classrooms in order to prepare young people for our new computer reality.<a naME="idx1073745481"></A>
						<A name="idx1073745482"></A>
						<A NAme="idx1073745483"></a>
					</p>

					<p>Bringing a computer language to the class is not a new idea. Many schools already teach some kind of programming language. However, Python is a very high-level language, a human-readable language, not just computer-readable, it has a more up-to-date design, and what you learn from Python can be adapted to other languages.</p>

					<p>Everyone needs to know a little about computers these days, no matter what profession is chosen. It is said that some day in the near future, everyone will have to know how to code a computer program. Python is a great language that possesses all the features required for teaching computer logic to tomorrow's scientists.</p>

					<p>For more information, see the following:</p>

					<blockquote>
<P>
							<p>Computer Programming for Everybody, by Guido van Rossum</p>

						</P>
<p>
							<p>
								<pRe>
									
								<a taRget="_blank" HREF="http://www.python.org/doc/essays/cp4e.html">http://www.python.org/doc/essays/cp4e.html</a>
							
								</pre>

							</P>

						</P>
<P>
							<P>EDU-SIG: Python in Education</p>

						</p>
<p>
							<p>
								<PRE>
									
								<A targET="_blank" HRef="http://www.python.org/sigs/edu-sig/">http://www.python.org/sigs/edu-sig/</a>
							
								</pre>

							</p>

						</p>
</blockquote>
					<p>Check out the following four-part essay entitled <a NamE="idx1073745484"></a>
						<i>Numeracy + Computer Literacy</i> series by <A name="idx1073745485"></A>Kirby Urner, who uses Python to teach various math concepts in the <a naME="idx1073745486"></A>
						<I>Oregon Curriculum Network.</i> This material will give you a clear idea of how Python can be approached for education.</p>

					<prE>
						
					<A TArget="_blank" HREF="http://www.inetarena.com/~pdx4d/ocn/cp4e.html">http://www.inetarena.com/~pdx4d/ocn/cp4e.html</a>
				
					</pre>

				
			</FONT>
<P><TABLE width="100%" border=0><TR valign="top"><TD><font size=1 color="#C0C0C0"><br></font></TD><TD align=right><font size=1 color="#C0C0C0">Last updated on 1/30/2002<br>Python Developer's Handbook, &copy;&nbsp;2002 Sams Publishing</font></TD></TR></TABLE></P>
<TABLE border=0 width="100%" cellspacing=0 cellpadding=0><TR><td align=left width="15%" class="headingsubbarbg"><a href="153.html" title="Restricted Execution Mode"><font size="1">&lt;&nbsp;BACK</font></a></td><td align=center width="70%" class="headingsubbarbg"><font size="1"><a href="popanote.asp?pubui=oreilly&bookname=0672319942&snode=154" target="_blank" title="Make a public or private annnotation">Make Note</a> | <a href="154.html" title="Use a Safari bookmark to remember this section">Bookmark</a></font></td><td align=right width="15%" class="headingsubbarbg"><a href="155.html" title="Regular Expressions"><font size="1">CONTINUE&nbsp;&gt;</font></a></td></TR></TABLE>
</TD></TR></TABLE>
<br><TABLE width=100% bgcolor=white border=0 cellspacing=0 cellpadding=5><TR><TD><H4 class=Title>Index terms contained in this section</H4>
<font size=2>
applications<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745458">Distutils</a><BR>
 <a href="#idx1073745427">array objects</a><BR>
arrays<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745419">one-dimensional</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745421">two-dimensional</a><BR>
classes<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745480">Real</a><BR>
classrooms<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745483">bringing Python to</a><BR>
computing<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scientific<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745414">use of Python in</a> <a href="#idx1073745423">2nd</a> <a href="#idx1073745444">3rd</a> <a href="#idx1073745453">4th</a> <a href="#idx1073745462">5th</a> <a href="#idx1073745482">6th</a><BR>
 <a href="#idx1073745457">Distutils package</a><BR>
extensions<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745425">Numerical Python (NumPy)</a> <a href="#idx1073745446">2nd</a> <a href="#idx1073745455">3rd</a> <a href="#idx1073745464">4th</a> <a href="#idx1073745468">5th</a><BR>
 <a href="#idx1073745437">fast_umath module</a><BR>
 <a href="#idx1073745439">FFT.py module</a><BR>
 <a href="#idx1073745441">fftpack module</a><BR>
functions<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745430">universal</a><BR>
 <a href="#idx1073745476">GmatH module</a><BR>
 <a href="#idx1073745416">Hugunin, Jim</a><BR>
installing<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745466">NumPy</a> <a href="#idx1073745470">2nd</a><BR>
 <a href="#idx1073745450">lapack_litemodule module</a><BR>
 <a href="#idx1073745417">Lawrence Livermore National Library</a><BR>
 <a href="#idx1073745448">LinearAlgebra.py module</a><BR>
modules<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745438">fast_umath</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745440">FFT.py</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745442">fftpack</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745475">GmatH</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745451">lapack_litemodule</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745449">LinearAlgebra.py</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745434">multiarray</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745432">Numeric.py</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745473">pyclimate</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745471">Pyfort</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745477">real.py</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745436">umath</a><BR>
 <a href="#idx1073745433">multiarray module</a><BR>
 <a href="#idx1073745484">Numeracy + Computer Literacy</a><BR>
 <a href="#idx1073745431">Numeric.py module</a><BR>
 <a href="#idx1073745424">Numerical Python (NumPy) extensions</a> <a href="#idx1073745445">2nd</a> <a href="#idx1073745454">3rd</a> <a href="#idx1073745463">4th</a> <a href="#idx1073745467">5th</a><BR>
 <a href="#idx1073745426">NumPy (Numerical Python)</a> <a href="#idx1073745447">2nd</a> <a href="#idx1073745456">3rd</a> <a href="#idx1073745465">4th</a> <a href="#idx1073745469">5th</a><BR>
objects<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745428">array</a><BR>
 <a href="#idx1073745418">one-dimensional arrays</a><BR>
 <a href="#idx1073745486">Oregon Curriculum Network</a><BR>
 <a href="#idx1073745415">Plotting Special Interest Group</a><BR>
programs<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745459">Distutils</a><BR>
 <a href="#idx1073745474">pyclimate module</a><BR>
 <a href="#idx1073745472">Pyfort module</a><BR>
 <a href="#idx1073745479">Real class</a><BR>
 <a href="#idx1073745478">real.py module</a><BR>
scientific computing<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745413">use of Python in</a> <a href="#idx1073745422">2nd</a> <a href="#idx1073745443">3rd</a> <a href="#idx1073745452">4th</a> <a href="#idx1073745461">5th</a> <a href="#idx1073745481">6th</a><BR>
software<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073745460">Distutils</a><BR>
 <a href="#idx1073745420">two-dimensional arrays</a><BR>
 <a href="#idx1073745435">umath module</a><BR>
 <a href="#idx1073745429">universal functions</a><BR>
 <a href="#idx1073745485">Urner, Kirby</a><BR>
<BR>
</font></TD></TR></TABLE>




<!--EndOfBrowse-->

</TD></TR></TABLE>
<table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#990000><tr><td><p align=center><font size=1 face="verdana,arial,helvetica" color=white>

⌨️ 快捷键说明

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