Method: Matrix#to_csv
- Defined in:
- lib/m500.rb
#to_csv ⇒ Object
3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 |
# File 'lib/m500.rb', line 3165 def to_csv t = "" (1..@nsize).to_a.each{|a| (1..@msize).to_a.each{|b| t << eval("at_#{a}_#{b}").to_s unless b == @msize then t << 44 end } t << 10 } t end |