Estuarine and Coastal Engieering, Coastal Environment 海岸工学 環境水工学 沿岸環境 水環境 国際開発学
Blog

月別アーカイブ: 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 …

PAGETOP