<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>numpy  |  AboeBlog</title>
	<atom:link href="https://aboeblog.com/category/program/python/numpy/feed/" rel="self" type="application/rss+xml" />
	<link>https://aboeblog.com</link>
	<description>全日本人プログラミング可能計画</description>
	<lastBuildDate>Wed, 10 Oct 2018 10:27:04 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.5</generator>
	<atom:link rel='hub' href='https://aboeblog.com/?pushpress=hub'/>
<site xmlns="com-wordpress:feed-additions:1">139919897</site>	<item>
		<title>[Numpy][Python] numpy.arange()とは</title>
		<link>https://aboeblog.com/program/python/numpypython-numpy-arange%e3%81%a8%e3%81%af/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=numpypython-numpy-arange%25e3%2581%25a8%25e3%2581%25af</link>
					<comments>https://aboeblog.com/program/python/numpypython-numpy-arange%e3%81%a8%e3%81%af/#respond</comments>
		
		<dc:creator><![CDATA[aboeuser]]></dc:creator>
		<pubDate>Wed, 10 Oct 2018 10:27:04 +0000</pubDate>
				<category><![CDATA[numpy]]></category>
		<category><![CDATA[python]]></category>
		<guid isPermaLink="false">https://aboeblog.com/?p=731</guid>

					<description><![CDATA[pythonのライブラリのnumpyのnumpy.arange()って何って思って調べました。 &#160; 目次 numpy.arange()は配列の形で等差数列を作成する関数numpy.arange()の解説 num [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>pythonのライブラリのnumpyのnumpy.arange()って何って思って調べました。</p>
<p>&nbsp;</p>

  <div id="toc" class="toc tnt-number toc-center border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">numpy.arange()は配列の形で等差数列を作成する関数</a></li><li><a href="#toc2" tabindex="0">numpy.arange()の解説</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">numpy.arange()は配列の形で等差数列を作成する関数</span></h2>
<pre class="brush: python; title: ; notranslate">

import numpy as np

x=np.arange(1.0,  10.0,   2.0)

print(x)

</pre>
<p>とすると、出力結果は</p>
<pre class="brush: python; title: ; notranslate">

x=[1 3 5 7 9]

</pre>
<p>となります。</p>
<h2><span id="toc2">numpy.arange()の解説</span></h2>
<p>numpy.arnge(初期値、終了値、ステップ、型)という風になっています。</p>
<p>&nbsp;</p>
<p>ステップは、等差数列でいう公差です。</p>
<p>&nbsp;</p>
<p>終了値以外はすべて省略できます。</p>
<p>省略した場合、初期値は、0、ステップは1、型はnone(初期値、終了値で入力したデータの型)になります。</p>
<p>&nbsp;</p>
<p>実行した場合、初期値から、終了値までの範囲で、交差がステップの等差数列の各項の値が配列に入って返ってきます。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://aboeblog.com/program/python/numpypython-numpy-arange%e3%81%a8%e3%81%af/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">731</post-id>	</item>
	</channel>
</rss>
