code: public double[] getRow(int row) {
          double[] values = m.getRow(row);
          for (int i = 0; i < values.length; ++i)
              values[i] *= scales.get(i);
          return values;
      }
docs: {@inheritDoc}