# File lib/linalg/dmatrix/main.rb, line 211
      def exchange_rows(p, q)
         tmp = self.row(p)
         replace_row(p, self.row(q))
         replace_row(q, tmp)
      end