code: public static DMatrixRMaj wrap(int numRows , int numCols , double []data ) {
          DMatrixRMaj s = new DMatrixRMaj();
          s.data = data;
          s.numRows = numRows;
          s.numCols = numCols;
  
          return s;
      }
docs: Creates a new DMatrixRMaj around the provided data.  The data must encode
  a row-major matrix.  Any modification to the returned matrix will modify the
  provided data.
  
  @param numRows Number of rows in the matrix.
  @param numCols Number of columns in the matrix.
  @param data Data that is being wrapped. Referenced Saved.
  @return A matrix which references the provided data internally.