I wrote the following scripts from section (2) here:
http://ruby.gfd-dennou.org/tutorial/gokuraku/index-e.html

require "rubygems" # Not in the example
require "narray"
ary1 = NArray.sfloat(3,4)

When I tried to display the result using

print ary1

It did NOT show anything.

While when I used:

p ary1

I got the result displayed?

Why is that?

Thanks.
-- 
Posted via http://www.ruby-forum.com/.