2017年10月31日火曜日
登録:
コメントの投稿 (Atom)
myPlayer
-- pipe.hs import System.Process import System.Environment main :: IO () a:_ IO [FilePath] randomize lst = do let c = length lst ...
-
ライプニッツの公式 実行結果 $ runghc l.hs 3.140592653839793 マチンの公式によるπ 参考にしたページ http://handasse.blogspot.com/2011/12/1.html Parallel版...
-
2の平方根 $ runghc nroot.hs 2 2 | tee a 2の立方根 $ runghc nroot.hs 2 3 | tee b 猛列な勢いで計算しますので適当なファイルに保存もしています。(Ctrl-Cで停止) なお√2に...
-
pbmファイルに書き出してマンデルブロ集合を描きます。(画像サイズは1000x1000に固定しています。) コンパイルします。 $ ghc -O2 -threaded -rtsopts --make -XFlexibleContexts -eventlog mandel....

0 件のコメント:
コメントを投稿