2012年7月

コンピュータ
ffmpeg and ImageMagick on Scientific Linux 6.1 x86-64

To create a movie from images, “convert” and “ffmpeg” would be often used. “convert” is useful to create GIF a […]

続きを読む
コンピュータ
Set search path for Ruby scripts

Suppose that the search path is ~/ruby. Add the following line in .bashrc. export RUBYPATH=~/ruby Put ruby scr […]

続きを読む
コンピュータ
Find index for the minimum value of NArray element in Ruby

Suppose that a[1.1, 1.3, 0.2, 3.1] is a NArray. a.min #=> 0.2 a.eq(a.min) #=> [0, 0, 1, 0] a.eq(a.min).w […]

続きを読む