code: public static void conjugate(ZMatrixD1 input , ZMatrixD1 output ) {
          if( input.numCols != output.numCols || input.numRows != output.numRows ) {
              throw new IllegalArgumentException("The matrices are not all the same dimension.");
          }
  
          final int length = input.getDataLength();
  
          for( int i = 0; i < length; i += 2 ) {
              output.data[i] = input.data[i];
              output.data[i+1] = -input.data[i+1];
          }
      }
docs: <p>
  Computes the complex conjugate of the input matrix.<br>
  <br>
  real<sub>i,j</sub> = real<sub>i,j</sub><br>
  imaginary<sub>i,j</sub> = -1*imaginary<sub>i,j</sub><br>
  </p>
  
  @param input Input matrix.  Not modified.
  @param output The complex conjugate of the input matrix.  Modified.