code: public IVector getVectorFromRow(int index) {
          IVector result = new IVector(columns);
          for (int i = 0; i < columns; i++) {
              result.realvector[i] = realmatrix[index][i];
              result.imagvector[i] = imagmatrix[index][i];
          }
          return result;
      }
docs: Creates a vector with the content of a row from this matrix