<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8579863614794110968</id><updated>2024-09-02T15:56:46.120+09:00</updated><category term="Java"/><category term="Fedora"/><category term="Mac"/><category term="HTML"/><category term="Python"/><category term="CSS"/><category term="その他"/><category term="スマートフォン"/><title type='text'>ただのメモ</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-4023942565702258062</id><published>2012-07-06T13:09:00.001+09:00</published><updated>2012-07-06T13:09:28.565+09:00</updated><title type='text'>JUnitを使ってみる</title><content type='html'>JUnitを使ってみる。&lt;br /&gt;
使ったのはJUnit4.10。&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://www.junit.org/&quot; target=&quot;_blank&quot;&gt;公式サイト&lt;/a&gt;から[Download JUnit]にすすみ、「junit-4.10.jar」をダウンロード&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://code.google.com/p/hamcrest/&quot; target=&quot;_blank&quot;&gt;hamcrest&lt;/a&gt;のページから[Download]に「hamcrest-all-1.3.0RC1.jar」をダウンロード&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;便利なのでこれも入れる&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Eclipseのプロジェクトのオプションで2つのjarファイルを追加&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
hamcrestにあるMatrcherの簡単な使い方については、&lt;a href=&quot;http://d.hatena.ne.jp/daisuke-m/20090710/1247181113&quot; target=&quot;_blank&quot;&gt;hamcrestのMatcherメモ - 都元ダイスケ IT-PRESS&lt;/a&gt;の記事がまとまっていた。&lt;/div&gt;
&lt;div&gt;
この記事を参考にすれば、ある程度はテストをかけそう。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
任意の例外が発生するかを確かめるテストの場合は、&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;brush: java;&quot;&gt;@Test(expected = ArithmeticException.class)
public void testA() throws Exception {
	int a = 3 / 0;
}
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;
もしくは、&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;brush: java;&quot;&gt;@Test
public void testA() throws Exception {
	try {
		int a = 3 / 0;
		fail(&quot;失敗&quot;);
	} catch (ArithmeticException e){}
}
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;
のような形にする。&lt;br /&gt;
&lt;br /&gt;
ここ1年くらいで出たJUnitの入門書のようなものがあればいいが、あまり見つからなかった。&lt;br /&gt;
とりあえず、&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4774151041/ref=as_li_tf_tl?ie=UTF8&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4774151041&amp;amp;linkCode=as2&amp;amp;tag=osamu3673-22&quot; style=&quot;background-color: white;&quot;&gt;WEB+DB PRESS Vol.69&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.jp/e/ir?t=osamu3673-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4774151041&quot; style=&quot;background-color: white; border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;にJUnitの入門記事があったのでこれを参考にする。&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/4023942565702258062/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2012/07/junit.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/4023942565702258062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/4023942565702258062'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2012/07/junit.html' title='JUnitを使ってみる'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-5127409525277343139</id><published>2012-07-03T08:04:00.000+09:00</published><updated>2012-07-03T08:04:09.465+09:00</updated><title type='text'>Eclipse 4.2 Juno</title><content type='html'>Eclipseの4.x系列の安定版が出ていたのでインストール。&lt;br /&gt;
とりあえず、Windows 7のマシンに入れた。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://www.eclipse.org/&quot; target=&quot;_blank&quot;&gt;公式サイト&lt;/a&gt;-Downloadsより、Eclipse IDE for Java Developersの64bit版をダウンロード&lt;/li&gt;
&lt;li&gt;ダウンロードしたファイルを適当なとこに解凍&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://mergedoc.sourceforge.jp/&quot; target=&quot;_blank&quot;&gt;Eclipse 日本語化 | MergeDoc Project&lt;/a&gt;より、Pleiadesをダウンロードし、解凍&lt;/li&gt;
&lt;li&gt;解凍されたPleiadesの中身をEclipseのフォルダに移動&lt;/li&gt;
&lt;li&gt;eclipse.iniの最後に-javaagent:plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jarを追加&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
起動して最初に思ったこと&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;見た目が少し変わった&lt;/li&gt;
&lt;li&gt;Gitが最初から使える（EGitが最初からインストールされている）&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/5127409525277343139/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2012/07/eclipse-42-juno.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/5127409525277343139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/5127409525277343139'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2012/07/eclipse-42-juno.html' title='Eclipse 4.2 Juno'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-8576126283346034209</id><published>2012-03-26T04:25:00.003+09:00</published><updated>2012-03-26T04:31:38.244+09:00</updated><title type='text'>Bloggerでソースコードを表示する</title><content type='html'>&lt;a href=&quot;http://wada811.blogspot.com/2012/02/bloggersyntaxhighlighter.html&quot;&gt;この&lt;/a&gt;サイトを参考にソースコードをきれいに表示してくれるSyntaxHighlighterを導入してみる.&lt;br /&gt;
&lt;br /&gt;
導入&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://www.way2blogging.org/widget-generators/syntax-highlighter-scripts-generator&quot; target=&quot;_blank&quot;&gt;SYNTAX HIGHLIGHTER SCRIPTS GENERATOR&lt;/a&gt;にて, 必要な言語を選択. テーマは&lt;a href=&quot;http://alexgorbatchev.com/SyntaxHighlighter/manual/themes/&quot; target=&quot;_blank&quot;&gt;ここ&lt;/a&gt;で確認できる(以下のサンプルではEclipseのテーマを利用).&lt;/li&gt;
&lt;li&gt;生成されたスクリプトをコピー.&lt;/li&gt;
&lt;li&gt;[テンプレート]-&amp;gt;[HTML の編集]より, head部分にコピーしたスクリプトを貼付ける.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
使用方法&lt;br /&gt;
Javaの場合の適用例を示す. 他の言語の場合は&lt;a href=&quot;http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/&quot; target=&quot;_blank&quot;&gt;ここ&lt;/a&gt;を参考にして「&quot;brush: java&quot;」の部分を適切に変更する.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;
preタグを利用
&lt;ul&gt;
&lt;li&gt;
記述例
&lt;pre class=&quot;brush: html;&quot;&gt;&amp;lt;pre class=&quot;brush: java;&quot;&amp;gt;
  public class Test {
    public static void main(String args[]) {
      System.out.println(&quot;Hello, world!&quot;);
    }
  }
&amp;lt;/pre&amp;gt;
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
表示
&lt;pre class=&quot;brush: java;&quot;&gt;
public class Test {
  public static void main(String args[]) {
    System.out.println(&quot;Hello, world!&quot;);
  }
}
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;メモ：「&amp;lt;」は&amp;amp;lt;に置き換える必要がある&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
scriptタグを利用
&lt;ul&gt;
&lt;li&gt;記述例
&lt;script class=&quot;brush: html&quot; type=&quot;syntaxhighlighter&quot;&gt;
&lt;![CDATA[
&lt;script type=&quot;syntaxhighlighter&quot; class=&quot;brush: java&quot;&gt;&amp;gt;![CDATA[
  public class Test {
    public static void main(String args[]) {
      System.out.println(&quot;Hello, world!&quot;);
    }
  }
]]&amp;gt;&amp;lt;/script&amp;gt;
]]&gt;
&lt;/script&gt;
&lt;/li&gt;
&lt;li&gt;表示&lt;/li&gt;
&lt;script class=&quot;brush: java&quot; type=&quot;syntaxhighlighter&quot;&gt;
public class Test {
  public static void main(String args[]) {
    System.out.println(&quot;Hello, world!&quot;);
  }
}
]]&gt;
&lt;/script&gt;
&lt;li&gt;メモ：scriptタグが読み込まれるまで表示されない. scriptタグを利用できない環境下では表示されない.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
外部リンク&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://alexgorbatchev.com/SyntaxHighlighter/&quot; target=&quot;_blank&quot;&gt;SyntaxHighlighter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://wada811.blogspot.com/2012/02/bloggersyntaxhighlighter.html&quot; target=&quot;_blank&quot;&gt;DevAchieve: BloggerにソースコードをハイライトするSyntaxHighlighterを導入する&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/8576126283346034209/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2012/03/blogger.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/8576126283346034209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/8576126283346034209'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2012/03/blogger.html' title='Bloggerでソースコードを表示する'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-6721275822573462068</id><published>2011-11-02T03:15:00.002+09:00</published><updated>2011-11-02T03:15:42.328+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>Mac LionにHomebrewでgnuplotをインストール</title><content type='html'>Homebrewでgnuplotをインストールしたときにちょっと詰まったので、インストール方法を書いておく。&lt;br /&gt;
&lt;br /&gt;
$ brew install gnuplot&lt;br /&gt;
&lt;br /&gt;
とすると、エラーが起きてインストールできない。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
「ld: lto: could not merge in .libs/cairo-analysis-surface.o because Unknown instruction for architecture x86_64」&lt;br /&gt;
&lt;br /&gt;
という部分が原因みたいなので、調べると同じような人がいた。&lt;br /&gt;
とりあえず、&lt;br /&gt;
&lt;br /&gt;
$ brew install gnuplot --use-clang&lt;br /&gt;
&lt;br /&gt;
とすればインストールできる。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/mxcl/homebrew/issues/8144&quot;&gt;参考サイト&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/6721275822573462068/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/11/mac-lionhomebrewgnuplot.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/6721275822573462068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/6721275822573462068'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/11/mac-lionhomebrewgnuplot.html' title='Mac LionにHomebrewでgnuplotをインストール'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-5822173289128622267</id><published>2011-10-26T03:51:00.000+09:00</published><updated>2011-10-26T03:51:37.471+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Mac Lionの開発環境を整える</title><content type='html'>Mac Lionでの開発環境のインストールログ&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Xcode&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;gccとかの開発に必要なものがいくつか一緒にインストールされる&lt;/li&gt;
&lt;li&gt;インストール方法&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;App Storeよりインストーラをダウンロード&lt;/li&gt;
&lt;li&gt;Applicationsにあるインストーラよりインストール&lt;/li&gt;
&lt;/ol&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b&gt;Java&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;ターミナルで「$ javac」&lt;/li&gt;
&lt;li&gt;自動的にソフトウェアアップデートが立ち上がり、Javaランタイムをインストールするかを聞かれるのではいを選択&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Homebrew&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;MacのUNIXツールをインストールするためのパッケージ管理システム&lt;/li&gt;
&lt;li&gt;MacPortsより軽量？&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;比較(と使い方)の参考：&lt;a href=&quot;http://tech.caph.jp/2011/04/06/homebrew%E3%81%AE%E5%B0%8E%E5%85%A5%E3%81%A8%E4%BD%BF%E3%81%84%E6%96%B9/&quot;&gt;Homebrewの導入と使い方 | CAPH TECH&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;インストール方法&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;ターミナルで「$&amp;nbsp;ruby -e &quot;$(curl -fsSL &lt;a href=&quot;https://raw.github.com/gist/323731&quot;&gt;&lt;span class=&quot;s2&quot;&gt;https://raw.github.com/gist/323731&lt;/span&gt;&lt;/a&gt;)&quot;」&lt;/li&gt;
&lt;li&gt;参考：&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre-wrap;&quot;&gt;&lt;a href=&quot;http://blog.cohtan.org/2011/07/lionhomebrewsnowleopard.html&quot;&gt;cohtan blog: Lion - Mac OS X 10.7でHomebrewする方法（SnowLeopardからアップグレードした場合）&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b&gt;Homebrewを利用していれたもの&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Cocoa Emacs&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;ターミナルで「$ brew install --cocoa emacs」&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;s1&quot;&gt;ターミナルで「$&amp;nbsp;&lt;/span&gt;/usr/local/Cellar/emacs/23.3a/Emacs.app/Contents/MacOS/Emacs -nw&lt;span class=&quot;s1&quot;&gt;」と入力し、起動チェック&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;s1&quot;&gt;「$&amp;nbsp;&lt;/span&gt;sudo mv /usr/local/Cellar/emacs/23.3a/Emacs.app/ /Applications/&lt;span class=&quot;s1&quot;&gt;」と入力して、Applicationsに移動。すでにある場合は事前に削除。&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;デフォルトではPython 2.7.1が入っているが、2.7.2に変更&lt;/li&gt;
&lt;li&gt;インストール方法&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;ターミナルで「$ brew install python」&lt;/li&gt;
&lt;li&gt;~/.bash_profileに「export PATH=/usr/local/Cellar/python/2.7.2/bin/:$PATH」を追加。ファイルがない場合は作成&lt;/li&gt;
&lt;/ol&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div&gt;
R関連&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;本体のインストール&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;公式サイトよりパッケージをダウンロード&lt;/li&gt;
&lt;li&gt;ダウンロードしたパッケージよりインストール&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;開発環境RStudioのインストール&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://rstudio.org/&quot;&gt;公式サイト&lt;/a&gt;よりダウンロード&lt;/li&gt;
&lt;li&gt;ダウンロードしたファイルを開き、appファイルをApplicationsにコピー&lt;/li&gt;
&lt;/ol&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
その他&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Eclipse:&lt;a href=&quot;http://osamu-tadanomemo.blogspot.com/2011/07/eclipse-37.html&quot;&gt;過去の記事&lt;/a&gt;を参照&lt;/li&gt;
&lt;li&gt;NumPy/SciPy/matplotlib:&lt;a href=&quot;http://osamu-tadanomemo.blogspot.com/2011/10/mac-lionnumpyscipymatplotlib.html&quot;&gt;過去の記事&lt;/a&gt;を参照&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/5822173289128622267/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/10/mac-lion.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/5822173289128622267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/5822173289128622267'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/10/mac-lion.html' title='Mac Lionの開発環境を整える'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-5862261464507405369</id><published>2011-10-20T00:54:00.001+09:00</published><updated>2011-10-26T03:52:15.051+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Mac lionでNumPy/SciPy/matplotlibをインストール</title><content type='html'>機械学習関連のプログラムを書くときに利用してみようと思ったのでインストールしてみる&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
事前準備&lt;/div&gt;
&lt;div&gt;
インストールしたときの状況を覚えていないもの&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;最初から入っているやつではなく、公式サイトからダウンロードしたもの&lt;/li&gt;
&lt;li&gt;SciPyとかのサイトに入れ直した方がいいみたいなことが書いてあった&lt;/li&gt;
&lt;li&gt;ダウンロードは&lt;a href=&quot;http://www.python.org/download/&quot;&gt;ここ&lt;/a&gt;から&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;gccとか&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;XcodeをApp Storeからインストールしておく&lt;/li&gt;
&lt;li&gt;gccとかいろいろ開発関連のものがインストールされるはず&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;fortran&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;SciPy関連で必要らしい&lt;/li&gt;
&lt;li&gt;SciPyのサイトで紹介されてた「&lt;a href=&quot;http://r.research.att.com/gfortran-lion-5666-3.pkg&quot;&gt;http://r.research.att.com/gfortran-lion-5666-3.pkg&lt;/a&gt;」をダウンロードしてインストールした&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;その他&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;必要なものが他にもあるかもしれない・・・&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div&gt;
export&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;$ export CC=gcc-4.2&lt;/li&gt;
&lt;li&gt;$ export CXX=g++-4.2&lt;/li&gt;
&lt;li&gt;$ export FFLAGS=-ff2c&lt;/li&gt;
&lt;/ol&gt;
以下、実行ディレクトリは適切な場所で&lt;br /&gt;
NumPy&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;$ git clone &lt;span class=&quot;s2&quot;&gt;&lt;a href=&quot;https://github.com/numpy/numpy.git&quot;&gt;https://github.com/numpy/numpy.git&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;$ cd numpy&lt;/li&gt;
&lt;li&gt;$ python setup.py build&lt;/li&gt;
&lt;li&gt;$ sudo python setup.py install&lt;/li&gt;
&lt;/ol&gt;
SciPy&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;$ git clone&amp;nbsp;&lt;span class=&quot;s2&quot;&gt;&lt;a href=&quot;https://github.com/numpy/numpy.git&quot;&gt;https://github.com/scipy/scipy.git&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;$ cd scipy&lt;/li&gt;
&lt;li&gt;$ python setup.py build&lt;/li&gt;
&lt;li&gt;$ sudo python setup.py install&lt;/li&gt;
&lt;/ol&gt;
matplotlib&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;$ git clone&amp;nbsp;&lt;span class=&quot;s2&quot;&gt;&lt;a href=&quot;https://github.com/numpy/numpy.git&quot;&gt;https://github.com/matplotlib/matplotlib.git&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;$ cd matplotlib&lt;/li&gt;
&lt;li&gt;$ python setup.py build&lt;/li&gt;
&lt;li&gt;$ sudo python setup.py install&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div&gt;
テスト&lt;br /&gt;
&lt;a href=&quot;http://typea.info/tips/wiki.cgi?page=Python+matplotlib&quot;&gt;このページ&lt;/a&gt;の使用例より&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #77756b; font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; from pylab import *&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #77756b; font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; x = range(10)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #77756b; font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; y = [y1**2 for y1 in x]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #77756b; font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; plot(x, y, &#39;ro&#39;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #77756b; font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;[&amp;lt;matplotlib.lines.Line2D object at 0x104118590&amp;gt;]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #77756b; font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; savefig(&#39;test.png&#39;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #77756b; font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&amp;gt;&amp;gt;&amp;gt; show()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG88eJctujl2KeJTlWtMSqdouw9CE3JTKHXKtQhQac-0SPxoXEw7eyKAUELN5WQZzHzB_0vbiZV8KWsTk3g-1_CwVY_Vu_NUe10bP6NWMlyUxhLlke1vGf4MsFcaWQzJMYh3Y7thd-e62L/s1600/test.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG88eJctujl2KeJTlWtMSqdouw9CE3JTKHXKtQhQac-0SPxoXEw7eyKAUELN5WQZzHzB_0vbiZV8KWsTk3g-1_CwVY_Vu_NUe10bP6NWMlyUxhLlke1vGf4MsFcaWQzJMYh3Y7thd-e62L/s320/test.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #77756b; font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #77756b; font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
参考URL&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://scipy.org/&quot;&gt;SciPy.org&lt;/a&gt;:SciPyの公式サイト&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.scipy.org/Installing_SciPy/Mac_OS_X&quot;&gt;インストール方法のページ&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href=&quot;http://matplotlib.sourceforge.net/&quot;&gt;matplotlib&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://d.hatena.ne.jp/gigi-net/20110731/1312050461&quot;&gt;Mac OS X 10.7 LionでMatplotlibを入れようとしたらハマった - 5.1さらうどん&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #77756b; font-family: monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 140px; position: absolute; top: 187px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=Numpy&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 117px; position: absolute; top: 357px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=SciPy&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 108px; position: absolute; top: 352px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=SciPy&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 109px; position: absolute; top: 352px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=SciPy&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 286px; position: absolute; top: 357px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=com&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 286px; position: absolute; top: 357px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=rhttp&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 286px; position: absolute; top: 357px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=com&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 101px; position: absolute; top: 401px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=SciPy&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 96px; position: absolute; top: 508px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=export&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 80px; position: absolute; top: 419px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=NumPy&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 168px; position: absolute; top: 484px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=g&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 170px; position: absolute; top: 475px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=g&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 170px; position: absolute; top: 479px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=g&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 122px; position: absolute; top: 601px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=cd&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 122px; position: absolute; top: 601px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=cd&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 122px; position: absolute; top: 601px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=cd&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 122px; position: absolute; top: 601px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=cd&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 122px; position: absolute; top: 601px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=cd&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 122px; position: absolute; top: 601px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=cd&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 122px; position: absolute; top: 601px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=cd&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 119px; position: absolute; top: 818px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=git&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 140px; position: absolute; top: 837px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=scipy&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 238px; position: absolute; top: 884px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=setup&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 140px; position: absolute; top: 544px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=export&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 50px; position: absolute; top: 564px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=NumPy&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 174px; position: absolute; top: 502px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=CC&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 73px; position: absolute; top: 458px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=export&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 57px; position: absolute; top: 453px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=export&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 57px; position: absolute; top: 314px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=fortran&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 57px; position: absolute; top: 314px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=fortran&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 234px; position: absolute; top: 985px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=setup&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 334px; position: absolute; top: 859px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=matplotlib&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div id=&quot;extensionsWeblioEjBx&quot; style=&quot;display: none; left: 108px; position: absolute; top: 1088px; z-index: 2147483647;&quot;&gt;
&lt;iframe border=&quot;0&quot; frameborder=&quot;0&quot; height=&quot;60&quot; name=&quot;weblioExtensionsFrame&quot; onmouseout=&quot;localStorage[&#39;weblioObjFlg&#39;] = 2;&quot; onmouseover=&quot;localStorage[&#39;weblioObjFlg&#39;] = 1;&quot; scrolling=&quot;no&quot; src=&quot;http://api.weblio.jp/act/quote/v_1_0/e/?q=matplotlib&amp;amp;type=emicro&amp;amp;opul=chrome-extension%3A%2F%2Foingodpdjohhkelnginmkagmkbplgema%2Foptions.html&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/5862261464507405369/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/10/mac-lionnumpyscipymatplotlib.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/5862261464507405369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/5862261464507405369'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/10/mac-lionnumpyscipymatplotlib.html' title='Mac lionでNumPy/SciPy/matplotlibをインストール'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG88eJctujl2KeJTlWtMSqdouw9CE3JTKHXKtQhQac-0SPxoXEw7eyKAUELN5WQZzHzB_0vbiZV8KWsTk3g-1_CwVY_Vu_NUe10bP6NWMlyUxhLlke1vGf4MsFcaWQzJMYh3Y7thd-e62L/s72-c/test.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-4353316292883009120</id><published>2011-08-07T19:53:00.000+09:00</published><updated>2011-08-07T19:53:49.794+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>JAMAの固有値分解の実行時間</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Javaで簡単に行列計算を行うことができるJAMAライブラリの実行速度を調べてみた。&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;対象行列の固有値分解がやりたいので、その実行時間を図った。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;実行環境&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;OS &amp;nbsp; &amp;nbsp;: Windows7 Professional(64bit)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;メモリ: 4GB&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;CPU &amp;nbsp;: Intel(R) Core(TM) i5 CPU &amp;nbsp;M460 @ 2.53GHz 2.54GHz&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;実験方法&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;乱数を使って対象行列を作成し、固有値分解のみの実行時間をSystem.currentTimeMillis()を使って、&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;long start = System.currentTimeMillis();&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;matrix.eig();&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;long end = System.currentTimeMillis();&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;long time = end - start;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;で測定。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;対象行列のサイズを変更したときの、処理時間の変化をみる。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;下が実行結果(両対数グラフ）&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEituJlRJyVqu7Nsj4XfrAVvVUjmnHcPJBfz0gBTOOT0rLeIQBNyXW14BKKCKz5KS9OwxlxMthgjedUq97r2Q_cerBKXqSLym91VYFfH9qY6l27YjaehMyE9NwZhyphenhyphenuEuL0w8q6vwLDmBnpfs/s1600/JamaTime.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEituJlRJyVqu7Nsj4XfrAVvVUjmnHcPJBfz0gBTOOT0rLeIQBNyXW14BKKCKz5KS9OwxlxMthgjedUq97r2Q_cerBKXqSLym91VYFfH9qY6l27YjaehMyE9NwZhyphenhyphenuEuL0w8q6vwLDmBnpfs/s320/JamaTime.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;サイズが5000(グラフの右端）のとき、約2.8時間処理にかかった。&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;これが遅いのかはわからないので、時間があるときに他のライブラリもためす&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;trebuchet ms&#39;, verdana, arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/4353316292883009120/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/08/jama.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/4353316292883009120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/4353316292883009120'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/08/jama.html' title='JAMAの固有値分解の実行時間'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEituJlRJyVqu7Nsj4XfrAVvVUjmnHcPJBfz0gBTOOT0rLeIQBNyXW14BKKCKz5KS9OwxlxMthgjedUq97r2Q_cerBKXqSLym91VYFfH9qY6l27YjaehMyE9NwZhyphenhyphenuEuL0w8q6vwLDmBnpfs/s72-c/JamaTime.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-8626135060993204628</id><published>2011-07-31T21:06:00.001+09:00</published><updated>2011-07-31T21:06:47.724+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Eclipse 3.7をインストール</title><content type='html'>Eclipse 3.7をインストール。&lt;br /&gt;
&lt;div&gt;本体のインストールと日本語化は&lt;a href=&quot;http://osamu-tadanomemo.blogspot.com/2011/06/eclipse36windows.html&quot;&gt;3.6のとき&lt;/a&gt;と同じ。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Verdana, Geneva, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;「&lt;a href=&quot;http://www.eclipse.org/windowbuilder/&quot; style=&quot;color: #0000cc; text-decoration: none;&quot;&gt;WindowBuilder&lt;/a&gt;」や「&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Verdana, Geneva, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;&lt;a href=&quot;http://www.eclipse.org/egit/&quot; style=&quot;color: #0000cc; text-decoration: underline;&quot;&gt;EGit&lt;/a&gt;」あたりを入れようと思う。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Verdana, Geneva, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;ただ、Gitは使ったことがないのでSubversiveにするかも。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Verdana, Geneva, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Verdana, Geneva, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;インストールしたら設定などをメモしておく。&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/8626135060993204628/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/07/eclipse-37.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/8626135060993204628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/8626135060993204628'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/07/eclipse-37.html' title='Eclipse 3.7をインストール'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-4935487569115598550</id><published>2011-06-04T22:50:00.001+09:00</published><updated>2011-06-04T23:19:37.144+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Eclipse3.6をWindowsにインストール</title><content type='html'>Eclipseを使用した開発環境を再度構築することになったのでメモしておく．&lt;br /&gt;
&lt;br /&gt;
導入するのは``Eclipse IDE for Java Developers(Eclipse Helios (3.6.2))&#39;&#39;と``Pleiades(1.3.2(現時点での安定版))&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Eclipseのダウンロードとインストール&lt;/li&gt;
&lt;ol&gt;&lt;li&gt;Eclipseの&lt;a href=&quot;http://www.eclipse.org/downloads/&quot;&gt;公式サイト&lt;/a&gt;から&lt;br /&gt;
「Eclipse IDE for Java Developers」をダウンロード&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;ダウンロードしたファイルを解凍し，適当な場所(C:\など)に解凍したフォルダを配置．&lt;br /&gt;
これでEclipseのインストールは完了．&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;li&gt;Eclipseの日本語化&lt;/li&gt;
&lt;ol&gt;&lt;li&gt;Pleiades」を&lt;a href=&quot;http://mergedoc.sourceforge.jp/&quot;&gt;配布サイト&lt;/a&gt;から安定版の本体のみをダウンロード．&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;ダウンロードしたファイルを解凍し，``plugins&#39;&#39;と``features&#39;&#39;のディレクトリをEclipseを配置したディレクトリにある同名のものと統合する．&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Eclipseのディレクトリ内にある``eclipse.ini&#39;&#39;の最後の行に「-javaagent:plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar」を追加&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=osamu3673-22&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=qf_sp_asin_til&amp;amp;asins=4822222667&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/4935487569115598550/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/06/eclipse36windows.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/4935487569115598550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/4935487569115598550'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/06/eclipse36windows.html' title='Eclipse3.6をWindowsにインストール'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-5677349514658684759</id><published>2011-05-07T22:24:00.000+09:00</published><updated>2011-05-07T22:24:49.726+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Javaで行列計算(JAMA)</title><content type='html'>Javaで簡単に行列計算を行う方法を探した結果，JAMAライブラリを使うことに決めた．&lt;br /&gt;
&lt;br /&gt;
JAMAは行列計算の他にCholesky分解，LU分解，QR分解，Eigenvalue分解，Singular Value分解，rankや行列式の計算ができる．&lt;br /&gt;
&lt;br /&gt;
計算精度や計算速度はよく分からないが，使いやすくプログラムに組み込みやすい ．&lt;br /&gt;
&lt;br /&gt;
参考URL&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://math.nist.gov/javanumerics/jama/&quot;&gt;JAMA: Java Matrix Package&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/5677349514658684759/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/05/javajama.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/5677349514658684759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/5677349514658684759'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/05/javajama.html' title='Javaで行列計算(JAMA)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-717671927754818278</id><published>2011-04-06T17:29:00.000+09:00</published><updated>2011-04-06T17:29:40.404+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>デバイスごとに違うCSSを読み込む</title><content type='html'>外部のCSSを読み込む際，デバイス毎に違うCSSを読み込む方法．&lt;br /&gt;
&lt;br /&gt;
cssを読み込むlinkタグにmediaを追加&lt;br /&gt;
例．&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;mobile.css&quot;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;media=&quot;screen and (max-device-width: 320px)&quot;&amp;gt;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;min-device-width，max-device-widthによってデバイスの幅で指定や，&lt;/pre&gt;&lt;pre&gt;orientation:portrait(端末が縦向き)，orientation:landscape(端末が横向き)&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;などで指定する．&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;参考URL&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;ul&gt;&lt;li&gt;&lt;pre&gt;&lt;a href=&quot;http://havelog.ayumusato.com/develop/css/entry-95.html&quot;&gt;iPadやiPhoneなど、デバイスごとに最適化したCSSを読み込む Media Queries ::ハブろぐ&lt;/a&gt;&amp;nbsp;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;pre&gt;&lt;a href=&quot;http://d.hatena.ne.jp/amachang/20080425/1209139140&quot;&gt;MediaQuery まとめ - IT戦記&lt;/a&gt; &lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/717671927754818278/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/04/css.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/717671927754818278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/717671927754818278'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/04/css.html' title='デバイスごとに違うCSSを読み込む'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-276284443973133063</id><published>2011-04-05T22:36:00.002+09:00</published><updated>2011-04-05T22:38:53.871+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="スマートフォン"/><title type='text'>viewportによるスマートフォンなどに合わせたHTMLの記述</title><content type='html'>自分向けにスマートフォンなどで見る文書の形式は何が最適か分からないが，&lt;br /&gt;
今のところPDFとHTMLで悩んでいるので，とりあえずHTMLの勉強．&lt;br /&gt;
&lt;br /&gt;
Webページの表示する領域を指定するのにviewportを利用．&lt;br /&gt;
例． &lt;br /&gt;
&amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1, user-scalable=yes&quot;&amp;gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
width=device-width : 幅をデバイスの幅に合わせる&lt;br /&gt;
initial-scale=1 : 倍率の初期値を1にする&lt;br /&gt;
user-scalable=yes : 拡大縮小を許可する&lt;br /&gt;
&lt;br /&gt;
その他のプロパティにはheight，minimum-scale，maximum-scaleがある．&lt;br /&gt;
&lt;br /&gt;
参考URL&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://ipn3g.com/web/study3.html&quot;&gt;Viewport [iPhone生活]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.serendip.ws/archives/5043&quot;&gt;スマートフォン用（iPhone・Android）Webページデザイン、viewport の指定 : Serendip - Webデザイン・プログラミング&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;pre&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/276284443973133063/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/04/viewporthtml.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/276284443973133063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/276284443973133063'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2011/04/viewporthtml.html' title='viewportによるスマートフォンなどに合わせたHTMLの記述'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-2157414216709512992</id><published>2010-07-31T21:58:00.000+09:00</published><updated>2010-07-31T21:58:03.293+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Fedora13でEclipseをインストール</title><content type='html'>Eclipseをインストール&lt;br /&gt;
Eclipse IDE for Java Developersをインストールする。ついでに日本語化も。&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Eclipseをダウンロード&lt;/li&gt;
&lt;a href=&quot;http://www.eclipse.org/&quot;&gt;公式サイト&lt;/a&gt;  からEclipse IDE for Java Developersをダウンロード(2010.7.19: eclipse-java-helios-linux-gtk.tar.gz)
&lt;li&gt;ダウンロードしたファイルを展開&lt;/li&gt;
ダウンロードしたファイルを適当なディレクトリに移動して、展開する。 $ mv ダウンロードしたディレクトリ/eclipse-java-helios-linux-gtk.tar.gz 展開するディレクトリ $ tar zxvf eclipse-java-helios-linux-gtk.tar.gz
&lt;li&gt;Pleiadesをダウンロードして解凍&lt;/li&gt;
&lt;a href=&quot;http://mergedoc.sourceforge.jp/&quot;&gt;Pleiades&lt;/a&gt;  をダウンロードして、適当なディレクトリに解凍
&lt;li&gt;featuresとpluginsをコピー&lt;/li&gt;
Pleiadesのfeaturesとpluginsの中をEclipseにコピー $ cp -a /Pleiadesを解凍したディレクトリ/features/* /Eclipseを展開したディレクトリ/eclipse/features/ $ $ cp -a /Pleiadesを解凍したディレクトリ/plugins/* /Eclipseを展開したディレクトリ/eclipse/plugins/
&lt;li&gt;eclipse.iniの書き換え&lt;/li&gt;
eclipseディレクトリ内にあるeclipse.iniの最後の行に 「javaagent:plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar」 を付け加える&lt;/ol&gt;Eclipseを起動して確かめる</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/2157414216709512992/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2010/07/fedora13eclipse.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/2157414216709512992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/2157414216709512992'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2010/07/fedora13eclipse.html' title='Fedora13でEclipseをインストール'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-3873588366644123066</id><published>2010-07-31T21:56:00.001+09:00</published><updated>2010-07-31T21:56:58.455+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>Fedora13でJavaをインストール</title><content type='html'>&lt;ol&gt;&lt;li&gt;jdkをダウンロード&lt;/li&gt;
Sunのホームページからjdkをダウンロード(2010.7.19現在 jdk-6u21-linux-i586-rpm.bin)
&lt;li&gt;ターミナルでダウンロードした場所に移動&lt;/li&gt;
ターミナルを開き、cdコマンドでダウンロードしたディレクトリに移動 $ cd Downloads/
&lt;li&gt;ファイルに実行権限の付与&lt;/li&gt;
ダウンロードしたファイルに実行権限を与える $ chmod a+x jdk-6u21-linux-i586-rpm.bin
&lt;li&gt;実行してインストール&lt;/li&gt;
ファイルを実行してインストール$ ./jdk-6u21-linux-i586-rpm.bin 権限がないというような内容のエラーがでた場合、管理者権限で実行 $ su (パスワードを聞かれるので入力) $ ./jdk-6u21-linux-i586-rpm.bin $ exit &lt;/ol&gt;終わったら、「java -version」と「javac -version」でインストールできているかを確認</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/3873588366644123066/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2010/07/fedora13.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/3873588366644123066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/3873588366644123066'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2010/07/fedora13.html' title='Fedora13でJavaをインストール'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-7667715883473352378</id><published>2010-07-31T21:54:00.001+09:00</published><updated>2010-07-31T21:54:56.061+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fedora"/><title type='text'>Fedora 13のgccのインストール</title><content type='html'>&amp;nbsp;&lt;span class=&quot;theme&quot;&gt;&lt;!-- google_ad_section_end(name=s2) --&gt;&lt;/span&gt;        &lt;br /&gt;
&lt;div class=&quot;contents&quot;&gt; &lt;div class=&quot;subContents&quot;&gt; &lt;!-- google_ad_section_start(name=s1, weight=.9) --&gt; Fedora 13でgccをインストール&lt;br /&gt;
&lt;br /&gt;
どれが必要なのかわからないので、gccのインストールを、&lt;br /&gt;
&lt;br /&gt;
$ yum install gcc*&lt;br /&gt;
&lt;br /&gt;
で行いました。&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/7667715883473352378/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2010/07/fedora-13gcc_31.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/7667715883473352378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/7667715883473352378'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2010/07/fedora-13gcc_31.html' title='Fedora 13のgccのインストール'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8579863614794110968.post-8858057619668268348</id><published>2010-07-31T21:30:00.001+09:00</published><updated>2010-07-31T21:33:07.380+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="その他"/><title type='text'>Amebaより</title><content type='html'>Amebaブログより移転。&lt;br /&gt;
&lt;br /&gt;
複数のラベルをどうすればいいのかわからなかったので。</content><link rel='replies' type='application/atom+xml' href='http://osamu-tadanomemo.blogspot.com/feeds/8858057619668268348/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2010/07/ameba.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/8858057619668268348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8579863614794110968/posts/default/8858057619668268348'/><link rel='alternate' type='text/html' href='http://osamu-tadanomemo.blogspot.com/2010/07/ameba.html' title='Amebaより'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>