code: public static void outerProd(DMatrixD1 x, DMatrixD1 y, DMatrix1Row A ) {
          int m = A.numRows;
          int n = A.numCols;
  
          int index = 0;
          for( int i = 0; i < m; i++ ) {
              double xdat = x.get(i);
              for( int j = 0; j < n; j++ ) {
                  A.set(index++ ,  xdat*y.get(j) );
              }
          }
      }
docs: <p>
  Sets A &isin; &real; <sup>m &times; n</sup> equal to an outer product multiplication of the two
  vectors.  This is also known as a rank-1 operation.<br>
  <br>
  A = x * y'
  where x &isin; &real; <sup>m</sup> and y &isin; &real; <sup>n</sup> are vectors.
  </p>
  <p>
  Which is equivalent to: A<sub>ij</sub> = x<sub>i</sub>*y<sub>j</sub>
  </p>
  
  <p>
  These functions are often used inside of highly optimized code and therefor sanity checks are
  kept to a minimum.  It is not recommended that any of these functions be used directly.
  </p>
  
  @param x A vector with m elements. Not modified.
  @param y A vector with n elements. Not modified.
  @param A A Matrix with m by n elements. Modified.