docs: public static void elementMultiply(ZMatrixD1 input , double real , double imaginary, ZMatrixD1 output )
      {
          if( input.numCols != output.numCols || input.numRows != output.numRows ) {
              throw new IllegalArgumentException("The 'input' and 'output' matrices do not have compatible dimensions");
          }
  
          int N = input.getDataLength();
          for (int i = 0; i < N; i += 2 ) {
              double inReal = input.data[i];
              double intImag = input.data[i+1];
  
              output.data[i] = inReal*real - intImag*imaginary;
              output.data[i+1] = inReal*imaginary + intImag*real;
          }
      }