# File lib/extras/as_rectarray.rb, line 66
        def index(row, col)
                if( (0...@rows) === row and (0...@cols) === col)
                        return col + row*@cols
                else
                        raise ArgumentError, 'Bad index'
                end
        end