code: public static void fill(ZMatrixD1 a, double real, double imaginary)
      {
          int N = a.getDataLength();
          for (int i = 0; i < N; i += 2) {
              a.data[i] = real;
              a.data[i+1] = imaginary;
          }
      }
docs: <p>
  Sets every element in the matrix to the specified value.<br>
  <br>
  a<sub>ij</sub> = value
  <p>
  
  @param a A matrix whose elements are about to be set. Modified.
  @param real The real component
  @param imaginary The imaginary component